Dave Anderson <[email protected]> writes:
> but we stopped supporting 32-bit x86 in RHEL7. And nobody ever
> reported it from any other x86 kernel sources.
Ah, I see. I didn't know RHEL7 dropped support of x86.
> I also note that in linux-3.15 the data structure name and variables were
> changed to:
>
> struct irq_stack {
> u32 stack[THREAD_SIZE/sizeof(u32)];
> } __aligned(THREAD_SIZE);
>
> DECLARE_PER_CPU(struct irq_stack *, hardirq_stack);
> DECLARE_PER_CPU(struct irq_stack *, softirq_stack);
>
> So your patch would need more work for 3.15 and later kernels.
Right. That patch is for "per_cpu + irq_ctx" kernel.
Supporting irq_stack itself would be easy. But current x86 crash doesn't
work for v4.9 (still using irq_stack), this is because current kernel
changed switch_to() stack frame format (need to do similar with x86_64).
Thanks.
--
OGAWA Hirofumi <[email protected]>
--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility