diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-11-25 19:59:16 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-12-06 14:42:26 +0100 |
commit | 402ff5a3387dc8ec6987a80d3ce26b0c25773622 (patch) | |
tree | 40d58922ce2087a9bdf3166e7c0993c7694a0cc0 /arch/s390/kernel/smp.c | |
parent | 32ddf3e124ee35b70c86e239b31d30827f993d3f (diff) | |
download | linux-stable-402ff5a3387dc8ec6987a80d3ce26b0c25773622.tar.gz linux-stable-402ff5a3387dc8ec6987a80d3ce26b0c25773622.tar.bz2 linux-stable-402ff5a3387dc8ec6987a80d3ce26b0c25773622.zip |
s390/nmi: add missing __pa/__va address conversion of extended save area
Add missing __pa/__va address conversion of machine check extended
save area designation, which is an absolute address.
Note: this currently doesn't fix a real bug, since virtual addresses
are indentical to physical ones.
Reported-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Tested-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 78a8ea6fd582..2e280e812dfd 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -622,7 +622,7 @@ int smp_store_status(int cpu) return -EIO; if (!MACHINE_HAS_VX && !MACHINE_HAS_GS) return 0; - pa = __pa(lc->mcesad & MCESA_ORIGIN_MASK); + pa = lc->mcesad & MCESA_ORIGIN_MASK; if (MACHINE_HAS_GS) pa |= lc->mcesad & MCESA_LC_MASK; if (__pcpu_sigp_relax(pcpu->address, SIGP_STORE_ADDITIONAL_STATUS, |