Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Thomas Gleixner f0178fc01f x86/entry: Unbreak __irqentry_text_start/end magic
The entry rework moved interrupt entry code from the irqentry to the
noinstr section which made the irqentry section empty.

This breaks boundary checks which rely on the __irqentry_text_start/end
markers to find out whether a function in a stack trace is
interrupt/exception entry code. This affects the function graph tracer and
filter_irq_stacks().

As the IDT entry points are all sequentialy emitted this is rather simple
to unbreak by injecting __irqentry_text_start/end as global labels.

To make this work correctly:

  - Remove the IRQENTRY_TEXT section from the x86 linker script
  - Define __irqentry so it breaks the build if it's used
  - Adjust the entry mirroring in PTI
  - Remove the redundant kprobes and unwinder bound checks

Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2020-06-11 15:15:29 +02:00
..
2020-06-11 15:14:54 +02:00
2020-06-11 15:15:23 +02:00
2020-01-09 14:40:03 +01:00
2020-06-11 15:15:23 +02:00
2020-06-11 15:15:26 +02:00
2019-11-12 16:21:15 +01:00
2019-11-12 16:21:15 +01:00
2019-06-24 19:19:24 +02:00
2020-06-02 10:59:12 -07:00
2020-03-21 16:03:25 +01:00
2020-05-07 16:06:20 +02:00
2020-02-16 20:58:06 +01:00
2020-04-15 11:13:12 +02:00