]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc/64s/hash: Add some SLB debugging tests
authorNicholas Piggin <npiggin@gmail.com>
Tue, 2 Oct 2018 14:27:59 +0000 (00:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 14 Oct 2018 07:04:09 +0000 (18:04 +1100)
commite15a4fea4dee2771c6989862527546b2b3326799
tree4b72c1e73035e40274e5c79f3b81766af4831462
parent94ee42727ce06522787a28476465becace1c238b
powerpc/64s/hash: Add some SLB debugging tests

This adds CONFIG_DEBUG_VM checks to ensure:
  - The kernel stack is in the SLB after it's flushed and bolted.
  - We don't insert an SLB for an address that is aleady in the SLB.
  - The kernel SLB miss handler does not take an SLB miss.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/paca.h
arch/powerpc/mm/slb.c