linux_dsm_epyc7002/arch/s390/include/asm
Ilya Leoshkevich a1d863ac3e s390/unwind: fix mixing regs and sp
unwind_for_each_frame stops after the first frame if regs->gprs[15] <=
sp.

The reason is that in case regs are specified, the first frame should be
regs->psw.addr and the second frame should be sp->gprs[8]. However,
currently the second frame is regs->gprs[15], which confuses
outside_of_stack().

Fix by introducing a flag to distinguish this special case from
unwinding the interrupt handler, for which the current behavior is
appropriate.

Fixes: 78c98f9074 ("s390/unwind: introduce stack unwind API")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: stable@vger.kernel.org # v5.2+
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-10-31 17:26:48 +01:00
..
fpu
trace
airq.h s390/airq: use DMA memory for adapter interrupts 2019-06-15 12:25:05 +02:00
alternative-asm.h
alternative.h
ap.h s390/zcrypt: Fix wrong dispatching for control domain CPRBs 2019-05-28 14:49:38 +02:00
appldata.h
archrandom.h
asm-prototypes.h
atomic_ops.h s390/atomic,bitops: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
atomic.h locking/atomic, s390: Use s64 for atomic64 2019-06-03 12:32:56 +02:00
barrier.h
bitops.h s390/atomic,bitops: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
boot_data.h
bug.h
bugs.h
cache.h
ccwdev.h s390/cio: add basic protected virtualization support 2019-06-15 12:25:00 +02:00
ccwgroup.h
checksum.h
chpid.h
cio.h s390/cio: move struct node_descriptor to cio.h 2019-06-19 17:54:27 +02:00
clp.h
cmb.h
cmpxchg.h
compat.h
cpacf.h s390: mark __cpacf_query() as __always_inline 2019-10-04 16:37:33 +02:00
cpcmd.h
cpu_mcf.h
cpu_mf-insn.h
cpu_mf.h s390/cpu_mf: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
cpu.h
cpufeature.h
cputime.h
crw.h
css_chars.h
ctl_reg.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
current.h
debug.h docs: s390: unify and update s390dbf kdocs at debug.c 2019-07-05 13:42:22 +02:00
delay.h
diag.h
dis.h
dma.h
dwarf.h
eadm.h
ebcdic.h
elf.h
exec.h
extable.h
extmem.h
facility.h s390: fix stfle zero padding 2019-06-19 17:54:27 +02:00
fcx.h
ftrace.h
futex.h
gmap.h s390/mm: use refcount_t for refcount 2019-08-21 12:41:43 +02:00
hardirq.h
hugetlb.h s390/mm: fix -Wunused-but-set-variable warnings 2019-10-04 16:37:33 +02:00
hw_irq.h
idals.h s390/idal: use struct_size() in kmalloc() 2019-06-04 15:03:18 +02:00
idle.h
io.h
ipl.h
irq.h
irqflags.h
isc.h
itcw.h
jump_label.h s390/jump_label: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
kasan.h
Kbuild Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb()) 2019-05-06 16:57:52 -07:00
kdebug.h
kexec.h
kprobes.h
kvm_host.h ARM: 2019-07-12 15:35:14 -07:00
kvm_para.h
linkage.h
livepatch.h livepatch: Remove klp_check_compiler_support() 2019-05-10 17:53:29 -04:00
lowcore.h
mem_detect.h s390/mem_detect: provide single get_mem_detect_end 2019-08-26 12:51:18 +02:00
mem_encrypt.h s390/mm: Remove sev_active() function 2019-08-09 22:52:11 +10:00
mmu_context.h
mmu.h
mmzone.h
module.h
nmi.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
nospec-branch.h
nospec-insn.h
numa.h
os_info.h
page-states.h
page.h s390/dma: provide proper ARCH_ZONE_DMA_BITS value 2019-07-26 13:36:12 +02:00
pci_clp.h s390/pci: fix struct definition for set PCI function 2019-05-28 14:49:29 +02:00
pci_debug.h
pci_dma.h
pci_insn.h s390: fix setting of mio addressing control 2019-07-11 20:40:02 +02:00
pci_io.h
pci.h s390/pci: deal with devices that have no support for MIO instructions 2019-07-04 13:13:57 +02:00
percpu.h s390: enforce CONFIG_SMP 2019-06-07 10:09:37 +02:00
perf_event.h s390/cpum_sf: Support ioctl PERF_EVENT_IOC_PERIOD 2019-09-19 12:56:07 +02:00
pgalloc.h
pgtable.h s390/mm: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
pkey.h s390/pkey: pkey cleanup: narrow in-kernel API, fix some variable types 2019-08-21 12:58:53 +02:00
pnet.h
preempt.h
processor.h s390/base: remove unused s390_base_mcck_handler 2019-09-03 13:53:56 +02:00
ptrace.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
purgatory.h
qdio.h s390/qdio: clarify size of the QIB parm area 2019-10-01 09:41:36 +02:00
runtime_instr.h
schid.h
sclp.h s390/ipl: Fix detection of has_secure attribute 2019-07-11 20:40:02 +02:00
scsw.h
seccomp.h
sections.h
serial.h
set_memory.h
setup.h s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
shmparam.h
signal.h
sigp.h
smp.h s390: enforce CONFIG_HOTPLUG_CPU 2019-06-07 10:09:42 +02:00
sparsemem.h
spinlock_types.h
spinlock.h s390: enforce CONFIG_SMP 2019-06-07 10:09:37 +02:00
stacktrace.h s390/unwind: correct stack switching during unwind 2019-06-07 15:20:44 +02:00
stp.h
string.h s390/kasan: provide uninstrumented __strlen 2019-08-21 12:58:52 +02:00
switch_to.h
syscall_wrapper.h
syscall.h audit/stable-5.2 PR 20190507 2019-05-07 19:06:04 -07:00
sysinfo.h
termios.h
thread_info.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
timex.h
tlb.h
tlbflush.h s390: enforce CONFIG_SMP 2019-06-07 10:09:37 +02:00
topology.h
uaccess.h s390/uaccess: avoid (false positive) compiler warnings 2019-10-11 12:27:25 +02:00
unistd.h s390: wire up clone3 system call 2019-07-23 10:45:53 +02:00
unwind.h s390/unwind: fix mixing regs and sp 2019-10-31 17:26:48 +01:00
uprobes.h
user.h
uv.h
vdso.h
vga.h
vmlinux.lds.h
vtime.h
vtimer.h
vx-insn.h
xor.h