android_kernel_oneplus_msm8998/arch
Alexander Potapenko 5bd8877ad8 UPSTREAM: x86, kasan, ftrace: Put APIC interrupt handlers into .irqentry.text
Dmitry Vyukov has reported unexpected KASAN stackdepot growth:

  https://github.com/google/kasan/issues/36

... which is caused by the APIC handlers not being present in .irqentry.text:

When building with CONFIG_FUNCTION_GRAPH_TRACER=y or CONFIG_KASAN=y, put the
APIC interrupt handlers into the .irqentry.text section. This is needed
because both KASAN and function graph tracer use __irqentry_text_start and
__irqentry_text_end to determine whether a function is an IRQ entry point.

Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: aryabinin@virtuozzo.com
Cc: kasan-dev@googlegroups.com
Cc: kcc@google.com
Cc: rostedt@goodmis.org
Link: http://lkml.kernel.org/r/1468575763-144889-1-git-send-email-glider@google.com
[ Minor edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>

Bug: 64145065
(cherry-picked from 469f00231278da68062a809306df0bac95a27507)
Change-Id: Ibca3dce99f9d36c048bce7e59c25064eb36fed6f
Signed-off-by: Paul Lawrence <paullawrence@google.com>
2017-12-14 08:26:12 -08:00
..
alpha alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ 2017-09-07 08:34:09 +02:00
arc ARC: Re-enable MMU upon Machine Check exception 2017-09-27 11:00:16 +02:00
arm This is the 4.4.105 stable release 2017-12-10 14:42:29 +01:00
arm64 ARM: 8481/2: drivers: psci: replace psci firmware calls 2017-12-02 06:53:26 +00:00
avr32 avr32: off by one in at32_init_pio() 2016-10-07 15:23:45 +02:00
blackfin net: smc91x: fix SMC accesses 2016-09-30 10:18:37 +02:00
c6x Merge 4.4.59 into android-4.4 2017-04-06 19:01:38 +00:00
cris cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected 2017-01-12 11:22:48 +01:00
frv mm: larger stack guard gap, between vmas 2017-06-26 07:13:11 +02:00
h8300 Merge 4.4.59 into android-4.4 2017-04-06 19:01:38 +00:00
hexagon hexagon: fix strncpy_from_user() error return 2016-09-24 10:07:44 +02:00
ia64 UPSTREAM: kbuild: Consolidate header generation from ASM offset information 2017-10-09 14:00:12 -07:00
m32r m32r: fix __get_user() 2016-09-24 10:07:43 +02:00
m68k m68k: Fix ndelay() macro 2016-12-15 08:49:23 -08:00
metag metag/uaccess: Check access_ok in strncpy_from_user 2017-05-25 14:30:16 +02:00
microblaze microblaze: fix copy_from_user() 2016-09-24 10:07:43 +02:00
mips This is the 4.4.103 stable release 2017-11-30 15:43:08 +00:00
mn10300 UPSTREAM: Clarify naming of thread info/stack allocators 2017-08-09 15:23:22 +01:00
nios2 nios2: reserve boot memory for device tree 2017-04-12 12:38:34 +02:00
openrisc openrisc: Add _text symbol to fix ksym build error 2017-08-06 19:19:45 -07:00
parisc This is the 4.4.103 stable release 2017-11-30 15:43:08 +00:00
powerpc This is the 4.4.103 stable release 2017-11-30 15:43:08 +00:00
s390 s390/pci: do not require AIS facility 2017-12-09 18:42:39 +01:00
score score: fix copy_from_user() and friends 2016-09-24 10:07:44 +02:00
sh serial: sh-sci: Fix register offsets for the IRDA serial port 2017-11-15 17:13:10 +01:00
sparc This is the 4.4.99 stable release 2017-11-18 17:24:24 +01:00
tile UPSTREAM: Clarify naming of thread info/stack allocators 2017-08-09 15:23:22 +01:00
um um: Don't discard .text.exit section 2016-09-07 08:32:38 +02:00
unicore32
x86 UPSTREAM: x86, kasan, ftrace: Put APIC interrupt handlers into .irqentry.text 2017-12-14 08:26:12 -08:00
xtensa mm: larger stack guard gap, between vmas 2017-06-26 07:13:11 +02:00
.gitignore
Kconfig UPSTREAM: Clarify naming of thread info/stack allocators 2017-08-09 15:23:22 +01:00