redhat/configs: automotive: debug: enable KASAN_INLINE

The automotive debug kernel currently uses KASAN_OUTLINE, which drastically slows down the kernel. This causes a kernel panic on the NXP S32G-VNP-RDB3:

    Kernel panic - not syncing: hung_task: blocked tasks
    CPU: 5 UID: 0 PID: 96 Comm: khungtaskd Tainted: G             L     ------  ---  6.12.0-248.56.el10iv.aarch64+debug #1 PREEMPT_RT
    Tainted: [L]=SOFTLOCKUP
    Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.04-7.el10_3 04/01/2022
    Call trace:
     show_stack+0x34/0x98 (C)
     dump_stack_lvl+0xa8/0xe8
     dump_stack+0x1c/0x38
     vpanic+0x14c/0x388
     panic+0xbc/0xc8
     check_hung_uninterruptible_tasks+0x684/0x848
     watchdog+0xfc/0x128
     kthread+0x1c4/0x1e8
     ret_from_fork+0x10/0x20
    Kernel Offset: 0x100000 from 0xffff800080000000
    PHYS_OFFSET: 0x80000000
    CPU features: 0x0000000,00000004,00020001,0400421b
    Memory Limit: none
    ---[ end Kernel panic - not syncing: hung_task: blocked tasks ]---

Enable KASAN_INLINE instead, which adds roughly 16M to the kernel but speeds up debug kernel performance significantly and avoids panicking on the S32G.

Downstream CS10 MR: redhat/centos-stream/src/kernel/centos-stream-10!3042 (merged)

Signed-off-by: Jared Kangas jkangas@redhat.com

Merge request reports

Loading
Loading