Displaying 5 results from an estimated 5 matches for "host_cmd_status".
2020 Sep 16
0
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
...>> +??? mutex_lock(&pci_epf->lock);
>> +??? writeb(command, ioaddr + HOST_CMD);
>> +??? timeout = ktime_add_ms(ktime_get(), COMMAND_TIMEOUT);
>> +??? while (1) {
>> +??? ??? timedout = ktime_after(ktime_get(), timeout);
>> +??? ??? status = readb(ioaddr + HOST_CMD_STATUS);
>> +
>>
>> Several questions:
>>
>> - It's not clear to me how the synchronization is done between the RC
>> and EP. E.g how and when the value of HOST_CMD_STATUS can be changed.
> The HOST_CMD (commands sent to the EP) is serialized by using mutex.
>...
2020 Sep 18
0
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
...gt;lock);
>>>> +??? writeb(command, ioaddr + HOST_CMD);
>>>> +??? timeout = ktime_add_ms(ktime_get(), COMMAND_TIMEOUT);
>>>> +??? while (1) {
>>>> +??? ??? timedout = ktime_after(ktime_get(), timeout);
>>>> +??? ??? status = readb(ioaddr + HOST_CMD_STATUS);
>>>> +
>>>>
>>>> Several questions:
>>>>
>>>> - It's not clear to me how the synchronization is done between the RC
>>>> and EP. E.g how and when the value of HOST_CMD_STATUS can be changed.
>>> The HOST_CMD (com...
2020 Sep 15
0
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
...io_pci_epf(vp_dev);
+??? ioaddr = vp_dev->ioaddr;
+
+??? mutex_lock(&pci_epf->lock);
+??? writeb(command, ioaddr + HOST_CMD);
+??? timeout = ktime_add_ms(ktime_get(), COMMAND_TIMEOUT);
+??? while (1) {
+??? ??? timedout = ktime_after(ktime_get(), timeout);
+??? ??? status = readb(ioaddr + HOST_CMD_STATUS);
+
Several questions:
- It's not clear to me how the synchronization is done between the RC
and EP. E.g how and when the value of HOST_CMD_STATUS can be changed.?
If you still want to introduce a new transport, a virtio spec patch
would be helpful for us to understand the device API.
- Yo...
2020 Jul 02
11
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote:
> This series enhances Linux Vhost support to enable SoC-to-SoC
> communication over MMIO. This series enables rpmsg communication between
> two SoCs using both PCIe RC<->EP and HOST1-NTB-HOST2
>
> 1) Modify vhost to use standard Linux driver model
> 2) Add support in vring to access virtqueue over
2020 Jul 02
11
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote:
> This series enhances Linux Vhost support to enable SoC-to-SoC
> communication over MMIO. This series enables rpmsg communication between
> two SoCs using both PCIe RC<->EP and HOST1-NTB-HOST2
>
> 1) Modify vhost to use standard Linux driver model
> 2) Add support in vring to access virtqueue over