diff options
| author | Nico Boehr <[email protected]> | 2022-10-20 14:31:56 +0000 |
|---|---|---|
| committer | Janosch Frank <[email protected]> | 2022-10-26 12:27:41 +0000 |
| commit | 6b33e68ab30949f9657e2acc59766977ae63e1cc (patch) | |
| tree | 61e7050f3d62cf8f8f2e5049fb8cfcbe32fa6908 /arch/s390/include/asm/stacktrace.h | |
| parent | s390/mm: gmap: sort out physical vs virtual pointers usage (diff) | |
| download | kernel-6b33e68ab30949f9657e2acc59766977ae63e1cc.tar.gz kernel-6b33e68ab30949f9657e2acc59766977ae63e1cc.zip | |
s390/entry: sort out physical vs virtual pointers usage in sie64a
Fix virtual vs physical address confusion (which currently are the
same).
sie_block is accessed in entry.S and passed it to hardware, which is why
both its physical and virtual address are needed. To avoid every caller
having to do the virtual-physical conversion, add a new function sie64a()
which converts the virtual address to physical.
Signed-off-by: Nico Boehr <[email protected]>
Reviewed-by: Alexander Gordeev <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Message-Id: <[email protected]>
Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'arch/s390/include/asm/stacktrace.h')
| -rw-r--r-- | arch/s390/include/asm/stacktrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/stacktrace.h b/arch/s390/include/asm/stacktrace.h index b23c658dce77..1802be5abb5d 100644 --- a/arch/s390/include/asm/stacktrace.h +++ b/arch/s390/include/asm/stacktrace.h @@ -46,6 +46,7 @@ struct stack_frame { unsigned long sie_savearea; unsigned long sie_reason; unsigned long sie_flags; + unsigned long sie_control_block_phys; }; }; unsigned long gprs[10]; |
