Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-15 Thread Laszlo Ersek
On 08/15/17 22:44, Brijesh Singh wrote: > > > On 08/15/2017 03:39 PM, Laszlo Ersek wrote: >> On 08/15/17 22:26, Brijesh Singh wrote: >>> >>> >>> On 08/15/2017 02:48 PM, Laszlo Ersek wrote: On 08/15/17 21:32, Brijesh Singh wrote: > Hi Laszlo, > > On 08/15/2017 05:42 AM, Laszlo

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-15 Thread Brijesh Singh
On 08/15/2017 03:39 PM, Laszlo Ersek wrote: On 08/15/17 22:26, Brijesh Singh wrote: On 08/15/2017 02:48 PM, Laszlo Ersek wrote: On 08/15/17 21:32, Brijesh Singh wrote: Hi Laszlo, On 08/15/2017 05:42 AM, Laszlo Ersek wrote: [snip] I have been following the steps from

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-15 Thread Laszlo Ersek
On 08/15/17 22:26, Brijesh Singh wrote: > > > On 08/15/2017 02:48 PM, Laszlo Ersek wrote: >> On 08/15/17 21:32, Brijesh Singh wrote: >>> Hi Laszlo, >>> >>> On 08/15/2017 05:42 AM, Laszlo Ersek wrote: >>> [snip] >>> > > I have been following the steps from >

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-15 Thread Brijesh Singh
On 08/15/2017 02:48 PM, Laszlo Ersek wrote: On 08/15/17 21:32, Brijesh Singh wrote: Hi Laszlo, On 08/15/2017 05:42 AM, Laszlo Ersek wrote: [snip] I have been following the steps from https://wiki.linaro.org/LEG/UEFIforQEMU qemu-system-aarch64 \ -m 1024 \ -cpu cortex-a57 \ -M

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-15 Thread Laszlo Ersek
On 08/12/17 00:22, Brijesh Singh wrote: > > > On 08/09/2017 12:56 PM, Laszlo Ersek wrote: > >>> >>> Sure, I will make the necessary changes in VirtioMmioDeviceLib and try >>> do the build test but I don't have aarch64 platform to verify at the >>> runtime. >> >> Actually, dependent on your

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-11 Thread Brijesh Singh
On 08/09/2017 12:56 PM, Laszlo Ersek wrote: Sure, I will make the necessary changes in VirtioMmioDeviceLib and try do the build test but I don't have aarch64 platform to verify at the runtime. Actually, dependent on your GNU/Linux distribution, it is pretty easy to do on x86_64 too. It

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-10 Thread Laszlo Ersek
On 08/10/17 00:44, Brijesh Singh wrote: > > > On 08/09/2017 05:38 PM, Laszlo Ersek wrote: >> On 08/07/17 13:58, Brijesh Singh wrote: >>> Currently, virtio drivers provides the system physical address to the >>> device. >>> However, some systems may feature an IOMMU that requires the drivers >>>

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-09 Thread Brijesh Singh
On 08/09/2017 05:38 PM, Laszlo Ersek wrote: On 08/07/17 13:58, Brijesh Singh wrote: Currently, virtio drivers provides the system physical address to the device. However, some systems may feature an IOMMU that requires the drivers to pass the device addresses to the device - which are then

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-09 Thread Laszlo Ersek
On 08/07/17 13:58, Brijesh Singh wrote: > Currently, virtio drivers provides the system physical address to the device. > However, some systems may feature an IOMMU that requires the drivers to pass > the device addresses to the device - which are then translated by the IOMMU > into physical

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-09 Thread Laszlo Ersek
On 08/09/17 19:56, Laszlo Ersek wrote: > Build instructions for ArmVirtQemu, and usage hints for the QEMU command > line, can be found in the Linaro Wiki: > > https://wiki.linaro.org/LEG/UEFIforQEMU It's visible in the Wiki article, but I'd like to point it out nevertheless, that you can

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-09 Thread Brijesh Singh
On 08/09/2017 09:39 AM, Laszlo Ersek wrote: On 08/07/17 13:58, Brijesh Singh wrote: Currently, virtio drivers provides the system physical address to the device. However, some systems may feature an IOMMU that requires the drivers to pass the device addresses to the device - which are then

Re: [edk2] [PATCH v1 00/14] OvmfPkg/Virtio: Add APIs to map system physical to device address

2017-08-09 Thread Laszlo Ersek
On 08/07/17 13:58, Brijesh Singh wrote: > Currently, virtio drivers provides the system physical address to the device. > However, some systems may feature an IOMMU that requires the drivers to pass > the device addresses to the device - which are then translated by the IOMMU > into physical