linux_dsm_epyc7002/arch
Huacai Chen 3210e2c279 KVM: MIPS: Introduce and use cpu_guest_has_ldpte
Loongson-3 has lddir/ldpte instructions and their related CP0 registers
are the same as HTW. So we introduce a cpu_guest_has_ldpte flag and use
it to indicate whether we need to save/restore HTW related CP0 registers
(PWBase, PWSize, PWField and PWCtl).

Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <1590220602-3547-7-git-send-email-chenhc@lemote.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-06-04 13:49:00 -04:00
..
alpha alpha: simplify detection of memory zone boundaries 2020-06-03 20:09:43 -07:00
arc mm/thp: rename pmd_mknotpresent() as pmd_mkinvalid() 2020-06-03 20:09:49 -07:00
arm media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
arm64 KVM: let kvm_destroy_vm_debugfs clean up vCPU debugfs directories 2020-06-04 11:00:54 -04:00
c6x mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
csky csky: simplify detection of memory zone boundaries 2020-06-03 20:09:43 -07:00
h8300 mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
hexagon mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
ia64 Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
m68k m68k: mm: simplify detection of memory zone boundaries 2020-06-03 20:09:43 -07:00
microblaze mm: use free_area_init() instead of free_area_init_nodes() 2020-06-03 20:09:43 -07:00
mips KVM: MIPS: Introduce and use cpu_guest_has_ldpte 2020-06-04 13:49:00 -04:00
nds32 mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
nios2 mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
openrisc mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
parisc Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
powerpc Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
riscv Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
s390 Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
sh mm/hugetlb: define a generic fallback for arch_clear_hugepage_flags() 2020-06-03 20:09:46 -07:00
sparc sparc32: register memory occupied by kernel as memblock.memory 2020-06-03 20:09:49 -07:00
um mm: free_area_init: use maximal zone PFNs rather than zone sizes 2020-06-03 20:09:43 -07:00
unicore32 unicore32: simplify detection of memory zone boundaries 2020-06-03 20:09:43 -07:00
x86 KVM: x86: Move MPK feature detection to common code 2020-06-04 12:35:06 -04:00
xtensa Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig scs: Remove references to asm/scs.h from core code 2020-05-18 17:47:45 +01:00