mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 11:06:49 +07:00
powerpc/mm: Add missing tracepoint for tlbie
commit0428491cba
("powerpc/mm: Trace tlbie(l) instructions") added tracepoints for tlbie calls, but _tlbil_va() was forgotten Fixes:0428491cba
("powerpc/mm: Trace tlbie(l) instructions") Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
3ff38e1874
commit
cf4a608515
@ -22,6 +22,7 @@
|
||||
#include <asm/mmu.h>
|
||||
|
||||
#ifdef CONFIG_PPC_MMU_NOHASH
|
||||
#include <asm/trace.h>
|
||||
|
||||
/*
|
||||
* On 40x and 8xx, we directly inline tlbia and tlbivax
|
||||
@ -55,6 +56,7 @@ static inline void _tlbil_va(unsigned long address, unsigned int pid,
|
||||
unsigned int tsize, unsigned int ind)
|
||||
{
|
||||
asm volatile ("tlbie %0; sync" : : "r" (address) : "memory");
|
||||
trace_tlbie(0, 0, address, pid, 0, 0, 0);
|
||||
}
|
||||
#elif defined(CONFIG_PPC_BOOK3E)
|
||||
extern void _tlbil_va(unsigned long address, unsigned int pid,
|
||||
|
Loading…
Reference in New Issue
Block a user