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-09 09:39:13 -07:00
2020-06-11 15:15:14 +02:00
2020-06-11 15:15:24 +02:00
2020-06-01 14:09:26 -07:00
2020-06-11 15:15:29 +02:00
2020-03-25 11:50:48 +01:00
2020-06-11 15:14:54 +02:00
2020-06-09 09:39:13 -07:00
2020-03-17 10:25:58 +01:00
2020-05-27 13:05:59 +02:00
2019-03-23 12:11:49 +01:00
2019-05-24 17:39:02 +02:00
2020-03-30 19:14:28 -07:00
2020-06-11 15:15:23 +02:00
2020-03-08 09:58:17 +01:00
2020-05-19 18:03:07 +02:00
2018-11-23 07:59:59 +01:00
2019-05-30 11:25:17 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2019-08-09 22:52:10 +10:00
2020-01-09 14:40:03 +01:00
2018-11-23 07:59:59 +01:00
2020-06-11 15:15:03 +02:00
2020-04-14 14:24:05 +02:00
2020-06-11 15:15:23 +02:00
2020-06-09 09:39:13 -07:00
2020-04-15 11:21:54 +02:00
2020-06-09 09:39:13 -07:00
2019-11-29 12:17:58 +01:00
2019-06-19 17:09:07 +02:00
2020-06-09 09:39:13 -07:00
2020-04-30 20:14:34 +02:00
2020-06-11 15:14:37 +02:00
2020-05-18 13:09:37 +03:00
2018-11-20 09:43:10 +01:00
2020-06-09 09:39:13 -07:00
2020-02-22 23:37:37 +01:00
2020-06-11 15:15:16 +02:00
2020-01-06 09:45:59 +01:00
2020-06-11 15:15:22 +02:00
2019-05-30 11:26:32 -07:00
2019-06-29 11:35:35 +02:00
2020-06-09 09:39:13 -07:00
2020-06-11 15:15:26 +02:00
2020-02-26 15:21:22 +01:00
2019-05-24 08:46:06 +02:00
2020-05-28 21:36:20 +02:00
2020-06-11 15:15:12 +02:00
2020-06-11 15:15:07 +02:00
2020-06-11 15:15:14 +02:00
2020-06-11 15:15:15 +02:00
2019-10-18 11:58:33 +02:00
2020-06-09 09:39:13 -07:00
2020-04-27 02:07:40 -04:00
2019-10-10 15:43:59 +02:00
2020-03-27 11:05:41 +01:00
2019-11-12 16:21:15 +01:00
2020-02-23 21:59:42 +01:00
2019-07-25 16:12:00 +02:00
2019-11-12 16:21:15 +01:00
2020-06-11 15:15:09 +02:00
2020-02-17 14:40:23 +01:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-06-04 11:13:03 -07:00
2020-06-09 09:39:13 -07:00
2019-07-16 23:13:48 +02:00
2019-08-19 21:54:16 -07:00
2020-06-11 15:15:24 +02:00
2019-04-29 16:05:49 +02:00
2018-09-03 16:50:35 +02:00
2020-06-09 09:39:13 -07:00
2019-11-28 11:16:43 -08:00
2019-09-03 08:36:30 +02:00
2019-06-24 19:19:24 +02:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-06-05 11:18:53 -07:00
2019-10-01 20:31:35 +02:00
2020-06-09 09:39:13 -07:00
2020-02-17 14:40:23 +01:00
2020-01-06 09:45:59 +01:00
2020-06-09 09:39:13 -07:00
2019-10-18 09:53:19 +02:00
2020-03-25 18:28:28 +01:00
2020-06-02 10:59:12 -07:00
2020-04-27 09:28:16 +02:00
2020-06-01 16:21:46 -07:00
2020-06-11 15:15:16 +02:00
2020-06-09 09:39:13 -07:00
2020-02-15 17:26:26 -05:00
2020-06-03 16:59:21 -04:00
2020-03-21 16:03:25 +01:00
2019-07-22 10:47:11 +02:00
2020-01-20 10:57:53 +01:00
2019-05-30 11:26:32 -07:00
2020-06-09 09:39:14 -07:00
2020-05-07 16:06:20 +02:00
2019-06-27 23:48:04 +02:00
2019-05-30 11:29:21 -07:00
2020-03-25 12:59:35 +01:00
2020-06-11 15:15:16 +02:00
2020-06-11 15:15:28 +02:00
2020-03-30 19:55:39 -07:00
2020-02-16 20:58:06 +01:00
2020-05-21 23:07:00 +02:00
2020-04-15 11:13:12 +02:00
2020-06-11 15:15:29 +02:00
2019-05-21 10:50:45 +02:00
2020-05-22 19:55:17 +02:00
2019-10-27 09:00:28 +01:00
2019-10-18 10:04:04 +02:00
2020-06-09 09:39:14 -07:00
2020-06-11 15:15:29 +02:00
2019-06-05 17:37:08 +02:00
2020-05-19 15:53:57 +02:00