Re: [PATCH] virtio: fix get_config / set_config for legacy VirtIO targets

2024-02-17 Thread Dmitry Baryshkov
On Mon, 12 Feb 2024 at 09:37, Dmitry Baryshkov wrote: > > The functions virtio_pci_get_config() and virtio_pci_set_config() don't > take the offset into account when reading the config space. For example > this manifests when U-Boot tries to read the MAC address of the VirtIO &g

[PATCH] virtio: fix get_config / set_config for legacy VirtIO targets

2024-02-12 Thread Dmitry Baryshkov
those functions by taking the offset in the config space into account. Fixes: 4135e10732a0 ("virtio: Add virtio over pci transport driver") Signed-off-by: Dmitry Baryshkov --- drivers/virtio/virtio_pci_legacy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a