2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/virtio
Paolo Abeni 69b9461512 virtio_pci_modern: allow configuring extended features
The virtio specifications allows for up to 128 bits for the
device features. Soon we are going to use some of the 'extended'
bits features (above 64) for the virtio_net driver.

Extend the virtio pci modern driver to support configuring the full
virtio features range, replacing the unrolled loops reading and
writing the features space with explicit one bounded to the actual
features space size in word and implementing the get_extended_features
callback.

Note that in vp_finalize_features() we only need to cache the lower
64 features bits, to process the transport features.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-07-08 18:05:07 +02:00
..
Kconfig virtio_rtc: Add RTC class driver 2025-05-27 10:27:54 -04:00
Makefile virtio_rtc: Add RTC class driver 2025-05-27 10:27:54 -04:00
virtio_anchor.c virtio: replace restricted mem access flag with callback 2022-08-01 07:42:49 +02:00
virtio_balloon.c virtio_balloon: Use outer variable 'page' 2025-01-08 07:29:05 -05:00
virtio_debug.c virtio: introduce extended features 2025-07-08 18:04:58 +02:00
virtio_dma_buf.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
virtio_input.c virtio: rename virtio_find_vqs_info() to virtio_find_vqs() 2024-07-17 05:20:58 -04:00
virtio_mem.c virtio: mem: Switch to use hrtimer_setup() 2025-02-18 11:19:07 +01:00
virtio_mmio.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
virtio_pci_admin_legacy_io.c virtio-pci: Introduce APIs to execute legacy IO admin commands 2023-12-19 11:51:33 -07:00
virtio_pci_common.c virtio_pci: Add support for PCIe Function Level Reset 2025-01-27 09:39:26 -05:00
virtio_pci_common.h VFIO updates for v6.13 2024-11-27 12:57:03 -08:00
virtio_pci_legacy_dev.c virtio/virtio_pci_legacy_dev: ensure the correct return value 2022-01-14 18:50:53 -05:00
virtio_pci_legacy.c virtio: rename find_vqs_info() op to find_vqs() 2024-07-17 05:20:57 -04:00
virtio_pci_modern_dev.c virtio_pci_modern: allow configuring extended features 2025-07-08 18:05:07 +02:00
virtio_pci_modern.c virtio_pci_modern: allow configuring extended features 2025-07-08 18:05:07 +02:00
virtio_ring.c virtio_ring: Fix error reporting in virtqueue_resize 2025-07-03 11:40:02 +02:00
virtio_rtc_arm.c virtio_rtc: Add Arm Generic Timer cross-timestamping 2025-05-27 10:27:54 -04:00
virtio_rtc_class.c virtio_rtc: Add RTC class driver 2025-05-27 10:27:54 -04:00
virtio_rtc_driver.c virtio_rtc: Add RTC class driver 2025-05-27 10:27:54 -04:00
virtio_rtc_internal.h virtio_rtc: Add RTC class driver 2025-05-27 10:27:54 -04:00
virtio_rtc_ptp.c virtio_rtc: Add PTP clocks 2025-05-27 10:27:54 -04:00
virtio_vdpa.c virtio_vdpa: remove redundant check on desc 2024-11-12 18:07:46 -05:00
virtio.c virtio: introduce extended features 2025-07-08 18:04:58 +02:00