virtio_balloon: disable VIOMMU support

virtio balloon bypasses the DMA API entirely so does not support the
VIOMMU right now. It's not clear we need that support, for now let's
just make sure we don't pretend to support it.

Cc: stable@vger.kernel.org
Cc: Wei Wang <wei.w.wang@intel.com>
Fixes: 1a937693993f ("virtio: new feature to detect IOMMU device quirk")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>

Changed files
+7
drivers
+7
drivers/virtio/virtio_balloon.c
··· 663 663 } 664 664 #endif 665 665 666 + static int virtballoon_validate(struct virtio_device *vdev) 667 + { 668 + __virtio_clear_bit(vdev, VIRTIO_F_IOMMU_PLATFORM); 669 + return 0; 670 + } 671 + 666 672 static unsigned int features[] = { 667 673 VIRTIO_BALLOON_F_MUST_TELL_HOST, 668 674 VIRTIO_BALLOON_F_STATS_VQ, ··· 681 675 .driver.name = KBUILD_MODNAME, 682 676 .driver.owner = THIS_MODULE, 683 677 .id_table = id_table, 678 + .validate = virtballoon_validate, 684 679 .probe = virtballoon_probe, 685 680 .remove = virtballoon_remove, 686 681 .config_changed = virtballoon_changed,