platform_kernel-5.15/arch
Quentin Perret dd2468d119 ANDROID: KVM: arm64: Increase size of FF-A buffer
As it turns out, the kernel's DMA code doesn't enforce the
SG_MAX_SEGMENTS limit on the number of elements in an sglist, which can
confuse the pKVM FF-A proxy which has a buffer sized to contain a
descriptor of at most SG_MAX_SEGMENTS constituents.

As the number of elements in an sglist doesn't seem to have an actual
upper bound, let's paper over the issue for now by increasing the size
of the pKVM buffer based on empirical 'measurements'. Longer term we
might need to make this value configurable on the kernel's cmdline, or
to rework the FF-A proxy to sanely handle large descriptors, although
this is not clear how at the time of writing.

Bug: 221256863
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: If252f01bec8ae71c0fe1f7007a3ca7b037924c84
2022-07-21 05:18:35 +00:00
..
alpha rtc: Check return value from mc146818_get_time() 2022-04-13 20:59:14 +02:00
arc ARC: entry: fix syscall_trace_exit argument 2022-04-27 14:39:00 +02:00
arm UPSTREAM: ARM: dts: socfpga: change qspi to "intel,socfpga-qspi" 2022-05-18 13:02:59 +02:00
arm64 ANDROID: KVM: arm64: Increase size of FF-A buffer 2022-07-21 05:18:35 +00:00
csky uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:24:01 +02:00
h8300
hexagon uaccess: fix integer overflow on access_ok() 2022-03-28 09:58:45 +02:00
ia64 UPSTREAM: elfcore: Replace CONFIG_{IA64, UML} checks with a new option 2022-06-22 22:19:57 +00:00
m68k m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined 2022-04-08 14:23:20 +02:00
microblaze uaccess: fix nios2 and microblaze get_user_8() 2022-04-08 14:23:18 +02:00
mips MIPS: Fix CP0 counter erratum detection for R4k CPUs 2022-05-12 12:30:00 +02:00
nds32 nds32: fix access_ok() checks in get/put_user 2022-03-28 09:58:46 +02:00
nios2 uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:24:01 +02:00
openrisc openrisc: Add clone3 ABI wrapper 2022-01-27 11:04:10 +01:00
parisc Revert "parisc: Mark sched_clock unstable only if clocks are not syncronized" 2022-05-12 12:30:26 +02:00
powerpc ANDROID: powerpc/mm: protect vm_file during speculative page fault handling 2022-06-18 18:28:47 +00:00
riscv RISC-V: relocate DTB if it's outside memory region 2022-05-12 12:30:04 +02:00
s390 This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
sh Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH 2022-01-27 11:05:21 +01:00
sparc uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:24:01 +02:00
um um: fix and optimize xor select template for CONFIG64 and timetravel mode 2022-04-13 20:58:59 +02:00
x86 UPSTREAM: elfcore: Replace CONFIG_{IA64, UML} checks with a new option 2022-06-22 22:19:57 +00:00
xtensa arch: xtensa: platforms: Fix deadlock in rs_close() 2022-05-09 09:14:40 +02:00
.gitignore
Kconfig FROMLIST: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG 2022-04-20 17:38:55 +00:00