linux/arch/loongarch/kvm
Huacai Chen 4574815abf LoongArch: Use accessors to page table entries instead of direct dereference
As very well explained in commit 20a004e7b0 ("arm64: mm: Use
READ_ONCE/WRITE_ONCE when accessing page tables"), an architecture whose
page table walker can modify the PTE in parallel must use READ_ONCE()/
WRITE_ONCE() macro to avoid any compiler transformation.

So apply that to LoongArch which is such an architecture, in order to
avoid potential problems.

Similar to commit edf9556472 ("riscv: Use accessors to page table
entries instead of direct dereference").

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2024-08-07 17:37:11 +08:00
..
exit.c LoongArch: KVM: Add PV steal time support in host side 2024-07-09 16:25:51 +08:00
interrupt.c LoongArch: KVM: Implement vcpu interrupt operations 2023-10-02 10:01:28 +08:00
Kconfig LoongArch: KVM: Add PV steal time support in host side 2024-07-09 16:25:51 +08:00
main.c LoongArch: KVM: Delay secondary mmu tlb flush until guest entry 2024-07-09 16:25:50 +08:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
mmu.c LoongArch: Use accessors to page table entries instead of direct dereference 2024-08-07 17:37:11 +08:00
switch.S LoongArch changes for v6.9 2024-03-22 10:22:45 -07:00
timer.c LoongArch: KVM: Do not restart SW timer when it is expired 2024-03-06 09:12:13 +08:00
tlb.c LoongArch: KVM: Delay secondary mmu tlb flush until guest entry 2024-07-09 16:25:50 +08:00
trace.h LoongArch: KVM: Add mmio trace events support 2024-05-06 22:00:47 +08:00
vcpu.c KVM generic changes for 6.11 2024-07-16 09:51:36 -04:00
vm.c LoongArch: KVM: Add software breakpoint support 2024-05-06 22:00:47 +08:00