[GIT PULL] parisc architecture fixes for v6.4-rc4

From: Helge Deller
Date: Thu May 25 2023 - 18:04:34 EST


Hi Linus,

please pull the parisc architecture fixes and updates for 6.4-rc4:

Quite a bunch of real bugfixes in here and most of them are tagged for
backporting: A fix for cache flushing from irq context, a kprobes & kgdb
breakpoint handling fix, and a fix in the alternative code patching
function to take care of CPU hotplugging.

parisc now provides LOCKDEP support and comes with a lightweight spinlock
check. Both features helped me to find the cache flush bug.

Additionally writing the AGP gatt has been fixed, the machine allows the
user to reboot after a system halt and arch_sync_dma_for_cpu() has been
optimized for PCXL PCUs.

Thanks,
Helge

---
The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:

Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.4-3

for you to fetch changes up to 61e150fb310729c98227a5edf6e4a3619edc3702:

parisc: Fix flush_dcache_page() for usage from irq context (2023-05-24 19:03:49 +0200)

----------------------------------------------------------------
parisc architecture fixes for kernel v6.4-rc4:

- Fix flush_dcache_page() for usage from irq context
- Handle kprobes breakpoints only in kernel context
- Handle kgdb breakpoints only in kernel context
- Use num_present_cpus() in alternative patching code
- Enable LOCKDEP support
- Add lightweight spinlock checks
- Flush AGP gatt writes and adjust gatt mask in parisc_agp_mask_memory()
- Allow to reboot machine after system halt
- Improve cache flushing for PCXL in arch_sync_dma_for_cpu()

----------------------------------------------------------------
Helge Deller (9):
parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
parisc: Use num_present_cpus() in alternative patching code
parisc: Add lightweight spinlock checks
parisc: Enable LOCKDEP support
parisc: Allow to reboot machine after system halt
parisc: Handle kprobes breakpoints only in kernel context
parisc: Handle kgdb breakpoints only in kernel context
parisc: Fix flush_dcache_page() for usage from irq context

arch/parisc/Kconfig | 4 ++++
arch/parisc/Kconfig.debug | 11 +++++++++
arch/parisc/include/asm/cacheflush.h | 4 ++++
arch/parisc/include/asm/spinlock.h | 39 ++++++++++++++++++++++++++++----
arch/parisc/include/asm/spinlock_types.h | 8 +++++--
arch/parisc/kernel/alternative.c | 2 +-
arch/parisc/kernel/cache.c | 5 ++--
arch/parisc/kernel/pci-dma.c | 18 ++++++++++++++-
arch/parisc/kernel/process.c | 11 ++++++---
arch/parisc/kernel/traps.c | 18 +++++++++++----
drivers/char/agp/parisc-agp.c | 15 +++++++++++-
11 files changed, 116 insertions(+), 19 deletions(-)