On Tue, Nov 21, 2023 at 11:02 PM Ilya Leoshkevich <i...@linux.ibm.com> wrote: > > s390 uses assembly code to initialize ftrace_regs and call > kprobe_ftrace_handler(). Therefore, from the KMSAN's point of view, > ftrace_regs is poisoned on kprobe_ftrace_handler() entry. This causes > KMSAN warnings when running the ftrace testsuite. > > Fix by trusting the assembly code and always unpoisoning ftrace_regs in > kprobe_ftrace_handler(). > > Signed-off-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Alexander Potapenko <gli...@google.com>
- [PATCH v2 03/33] kmsan: Disable KMSAN when DEFERRED_ST... Ilya Leoshkevich
- [PATCH v2 17/33] mm: kfence: Disable KMSAN when checki... Ilya Leoshkevich
- Re: [PATCH v2 17/33] mm: kfence: Disable KMSAN wh... Alexander Potapenko
- Re: [PATCH v2 17/33] mm: kfence: Disable KMSA... Alexander Potapenko
- [PATCH v2 22/33] s390: Use a larger stack for KMSAN Ilya Leoshkevich
- [PATCH v2 24/33] s390/checksum: Add a KMSAN check Ilya Leoshkevich
- Re: [PATCH v2 24/33] s390/checksum: Add a KMSAN c... Alexander Potapenko
- [PATCH v2 23/33] s390/boot: Add the KMSAN runtime stub Ilya Leoshkevich
- Re: [PATCH v2 23/33] s390/boot: Add the KMSAN run... Alexander Potapenko
- [PATCH v2 26/33] s390/ftrace: Unpoison ftrace_regs in ... Ilya Leoshkevich
- Re: [PATCH v2 26/33] s390/ftrace: Unpoison ftrace... Alexander Potapenko
- [PATCH v2 28/33] s390/string: Add KMSAN support Ilya Leoshkevich
- Re: [PATCH v2 28/33] s390/string: Add KMSAN suppo... Alexander Potapenko
- [PATCH v2 25/33] s390/cpacf: Unpoison the results of c... Ilya Leoshkevich
- Re: [PATCH v2 25/33] s390/cpacf: Unpoison the res... Alexander Potapenko
- [PATCH v2 31/33] s390/unwind: Disable KMSAN checks Ilya Leoshkevich
- [PATCH v2 29/33] s390/traps: Unpoison the kernel_stack... Ilya Leoshkevich
- [PATCH v2 32/33] s390: Implement the architecture-spec... Ilya Leoshkevich
- Re: [PATCH v2 32/33] s390: Implement the architec... Alexander Potapenko
- Re: [PATCH v2 32/33] s390: Implement the arch... Ilya Leoshkevich
- Re: [PATCH v2 32/33] s390: Implement the ... Alexander Potapenko