2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-08 21:53:54 +08:00
linux-next/arch/s390
Heiko Carstens 69700fb438 s390/cmm: add missing virt_to_phys() conversion
diag10_range() expects a pfn, however the current cmm code is shifting
a virtual address, instead of a physical address by PAGE_SHIFT bits,
which would give a wrong result in case if V!=R.

Use virt_to_pfn() to fix this.

Note: this currently doesn't fix a real bug, since virtual addresses
are indentical to physical ones.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-12-10 16:14:25 +01:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot s390/boot: simplify and fix kernel memory layout setup 2021-11-16 12:29:19 +01:00
configs s390/crypto: add SIMD implementation for ChaCha20 2021-12-06 14:42:24 +01:00
crypto s390/crypto: add SIMD implementation for ChaCha20 2021-12-06 14:42:24 +01:00
hypfs s390: rename dma section to amode31 2021-08-05 14:10:53 +02:00
include s390/diag: use pfn_to_phys() instead of open coding 2021-12-10 16:14:25 +01:00
kernel s390/nmi: add missing __pa/__va address conversion of extended save area 2021-12-06 14:42:26 +01:00
kvm KVM: s390: Cap KVM_CAP_NR_VCPUS by num_online_cpus() 2021-11-18 02:12:15 -05:00
lib s390/test_unwind: use raw opcode instead of invalid instruction 2021-11-25 13:38:31 +01:00
mm s390/cmm: add missing virt_to_phys() conversion 2021-12-10 16:14:25 +01:00
net s390: introduce nospec_uses_trampoline() 2021-10-26 15:21:29 +02:00
pci s390/pci: use physical addresses in DMA tables 2021-12-06 14:42:26 +01:00
purgatory s390: enable KCSAN 2021-07-30 17:09:23 +02:00
tools s390/disassembler: add instructions 2021-07-27 09:39:19 +02:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig ftrace/samples: add s390 support for ftrace direct multi sample 2021-11-18 17:50:54 +01:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile s390/vdso: filter out -mstack-guard and -mstack-size 2021-11-16 12:29:19 +01:00