On Wed, Oct 16, 2013 at 10:29 AM, Olivier Martin <olivier.mar...@arm.com> wrote:
> Not changed:
> ------------
> - Endianness: All the architectures supported by the UEFI spec
>   are in 'little endian' mode.
> - Keep the PCI 64bit read/write break down into two 32bit accesses:
>   The VirtiIo BlockIo driver makes (at least) one non 8-byte aligned
>   access when trying to access the 'VIRTIO_BLK_CONFIG.Capacity' attribute.
>   VIRTIO_BLK_CONFIG.Capacity is a 64bit field at the offset 0x0 of the
>   device specific region. This region starts at the offset 20 (0x14) of
>   the I/O region when there is no MSI-X capability.

The caller making this I/O access has idea they are making an unaligned access?

If the caller knows that it is unaligned and they know that it is okay
(based on device specific knowledge) to split accesses apart, then the
caller should split the access.

-Jordan

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to