summaryrefslogtreecommitdiff
path: root/drivers/acpi/irq.c
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-10-26 20:55:17 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-11-01 05:26:49 -0400
commitef76eb83a17e803a66b64ac95b36ae48b3d17c22 (patch)
treecddb37b68035c2a0ccbba294f073c1b01f5a7efc /drivers/acpi/irq.c
parent1138b9818efa8a3a9670680a1d75134a4f2758ce (diff)
downloadlinux-ef76eb83a17e803a66b64ac95b36ae48b3d17c22.tar.gz
linux-ef76eb83a17e803a66b64ac95b36ae48b3d17c22.tar.bz2
linux-ef76eb83a17e803a66b64ac95b36ae48b3d17c22.zip
vdpa/mlx5: Fix clearing of VIRTIO_NET_F_MAC feature bit
Cited patch in the fixes tag clears the features bit during reset. mlx5 vdpa device feature bits are static decided by device capabilities. These feature bits (including VIRTIO_NET_F_MAC) are initialized during device addition time. Clearing features bit in reset callback cleared the VIRTIO_NET_F_MAC. Due to this, MAC address provided by the device is not honored. Fix it by not clearing the static feature bits during reset. Fixes: 0686082dbf7a ("vdpa: Add reset callback in vdpa_config_ops") Signed-off-by: Parav Pandit <parav@nvidia.com> Reviewed-by: Eli Cohen <elic@nvidia.com> Link: https://lore.kernel.org/r/20211026175519.87795-7-parav@nvidia.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/acpi/irq.c')
0 files changed, 0 insertions, 0 deletions