[SRU focal/linux-gcp 0/1] LP: #1958416 (IO failures on SEV GCP instances)

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Wed Nov 9 17:06:51 UTC 2022


[Impact]
Small SWIOTLB might cause DMA failures during High IO on GCP instances using SEV.

[Test case]
Boot n2d-standard-2 or n2d-standard-64 instances on GCP, issue a lot of IO,
and look for DMA overflow or full swiotlb messages on dmesg.

[Potential regression]
Boot failures should not be discarded when SWIOTLB cannot be allocated.

Ashish Kalra (1):
  x86,swiotlb: Adjust SWIOTLB bounce buffer size for SEV guests

 arch/x86/include/asm/mem_encrypt.h |  2 ++
 arch/x86/kernel/setup.c            |  6 ++++++
 arch/x86/mm/mem_encrypt.c          | 31 ++++++++++++++++++++++++++++++
 include/linux/swiotlb.h            |  8 ++++++++
 kernel/dma/swiotlb.c               | 20 +++++++++++++++++--
 5 files changed, 65 insertions(+), 2 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list