Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'powerpc-5.7-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Michael Ellerman:

- a fix for the recent change to how we restore non-volatile GPRs,
which broke our emulation of reading from the DSCR (Data Stream
Control Register).

- a fix for the recent rewrite of interrupt/syscall exit in C, we need
to exclude KCOV from that code, otherwise it can lead to
unrecoverable faults.

Thanks to Daniel Axtens.

* tag 'powerpc-5.7-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
powerpc/64s: Disable sanitisers for C syscall/interrupt entry/exit code
powerpc/64s: Fix restore of NV GPRs after facility unavailable exception

+5
+3
arch/powerpc/kernel/Makefile
··· 162 162 GCOV_PROFILE_kprobes-ftrace.o := n 163 163 KCOV_INSTRUMENT_kprobes-ftrace.o := n 164 164 UBSAN_SANITIZE_kprobes-ftrace.o := n 165 + GCOV_PROFILE_syscall_64.o := n 166 + KCOV_INSTRUMENT_syscall_64.o := n 167 + UBSAN_SANITIZE_syscall_64.o := n 165 168 UBSAN_SANITIZE_vdso.o := n 166 169 167 170 # Necessary for booting with kcov enabled on book3e machines
+2
arch/powerpc/kernel/exceptions-64s.S
··· 2411 2411 GEN_COMMON facility_unavailable 2412 2412 addi r3,r1,STACK_FRAME_OVERHEAD 2413 2413 bl facility_unavailable_exception 2414 + REST_NVGPRS(r1) /* instruction emulation may change GPRs */ 2414 2415 b interrupt_return 2415 2416 2416 2417 GEN_KVM facility_unavailable ··· 2441 2440 GEN_COMMON h_facility_unavailable 2442 2441 addi r3,r1,STACK_FRAME_OVERHEAD 2443 2442 bl facility_unavailable_exception 2443 + REST_NVGPRS(r1) /* XXX Shouldn't be necessary in practice */ 2444 2444 b interrupt_return 2445 2445 2446 2446 GEN_KVM h_facility_unavailable