Re: [PATCH hyperv-next 6/6] drivers: SCSI: Do not bounce-bufffer for the confidential VMBus

From: Christoph Hellwig
Date: Wed Apr 09 2025 - 06:54:06 EST


On Tue, Apr 08, 2025 at 05:08:35PM -0700, Roman Kisel wrote:
> The device bit that indicates that the device is capable of I/O
> with private pages lets avoid excessive copying in the Hyper-V
> SCSI driver.
>
> Set that bit equal to the confidential external memory one to
> not bounce buffer

Drivers have absolutely no business telling this. The need for bounce
buffering or not is a platform/IOMMU decision and not one specific to
a certain device or driver.