[GIT PULL] (swiotlb) stable/for-linus-5.11
From: Konrad Rzeszutek Wilk
Date: Mon Dec 14 2020 - 16:15:52 EST
Heya Linus,
Please git pull the following branch:
git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-5.11
which has a generic (but for right now engaged only with AMD SEV) mechanism to adjust a
larger size SWIOTLB based on the total memory of the SEV guests which right now require
the bounce buffer for interacting with the outside world. Normal knobs (swiotlb=XYZ) still work.
Thank you!!
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(-)