On Wed, Aug 12, 2020 at 01:55:02PM -0700, Jim Gill wrote: > A large number of outstanding scsi commands can > completely fill up the allowable DMA size. Typically this happens with > SWIOTLB and SEV encryption active. While this is harmless for the scsi middle > layer, it floods the kernel log with error messages and can cause other > device drivers to error. Reduce the number of ring pages to 1 if we detect > DMA size restrictions. Umm, no. Drivers have absolutely no business checking mem_encrypt_active().