]> git.dujemihanovic.xyz Git - u-boot.git/commit
virtio: Expose VIRTIO_F_IOMMU_PLATFORM in device features
authorWill Deacon <willdeacon@google.com>
Wed, 29 Mar 2023 14:24:55 +0000 (22:24 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 15:53:15 +0000 (11:53 -0400)
commit7804306c800112390a35af9c777bda86465a7be5
treea7148261cb9620439c2bf2ffa2cc75cba9984254
parent6a11fdf0536e02ac9cd4a3da0535a271c694715f
virtio: Expose VIRTIO_F_IOMMU_PLATFORM in device features

If we detect the VIRTIO_F_IOMMU_PLATFORM transport feature for a device,
then expose it in the device features.

Signed-off-by: Will Deacon <willdeacon@google.com>
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Link: https://android.googlesource.com/platform/external/u-boot/+/9693bd26bfcfe77d6a1295a561420e08c5daf019
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/virtio/virtio-uclass.c