android_kernel_xiaomi_sm8350/drivers/virtio
Michael S. Tsirkin c5d4c2c9ce virtio_pci_modern: type-safe io accessors
The spec is very clear on this:

4.1.3.1 Driver Requirements: PCI Device Layout

The driver MUST access each field using the “natural” access method,
i.e. 32-bit accesses for 32-bit fields, 16-bit accesses for 16-bit
fields and 8-bit accesses for 8-bit fields.

Add type-safe wrappers to prevent access with incorrect width.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-04-01 14:37:15 +10:30
..
config.c
Kconfig Add virtio-input driver. 2015-03-29 12:13:52 +10:30
Makefile Add virtio-input driver. 2015-03-29 12:13:52 +10:30
virtio_balloon.c virtio-balloon: do not call blocking ops when !TASK_RUNNING 2015-03-10 11:56:15 +10:30
virtio_input.c Add virtio-input driver. 2015-03-29 12:13:52 +10:30
virtio_mmio.c virtio_mmio: fix access width for mmio 2015-03-17 12:12:21 +10:30
virtio_pci_common.c virtio_pci: add module param to force legacy mode 2015-01-21 16:29:01 +10:30
virtio_pci_common.h virtio_pci: add an option to disable legacy driver 2015-01-21 16:28:59 +10:30
virtio_pci_legacy.c virtio_pci: move probe/remove code to common 2015-01-21 16:28:51 +10:30
virtio_pci_modern.c virtio_pci_modern: type-safe io accessors 2015-04-01 14:37:15 +10:30
virtio_ring.c virtio: Avoid possible kernel panic if DEBUG is enabled. 2015-02-11 15:03:14 +10:30
virtio.c virtio: don't set VIRTIO_CONFIG_S_DRIVER_OK twice. 2015-02-17 16:19:29 +10:30