mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 11:22:33 +07:00
86ec2da037
pmd_present() is expected to test positive after pmdp_mknotpresent() as the PMD entry still points to a valid huge page in memory. pmdp_mknotpresent() implies that given PMD entry is just invalidated from MMU perspective while still holding on to pmd_page() referred valid huge page thus also clearing pmd_present() test. This creates the following situation which is counter intuitive. [pmd_present(pmd_mknotpresent(pmd)) = true] This renames pmd_mknotpresent() as pmd_mkinvalid() reflecting the helper's functionality more accurately while changing the above mentioned situation as follows. This does not create any functional change. [pmd_present(pmd_mkinvalid(pmd)) = true] This is not applicable for platforms that define own pmdp_invalidate() via __HAVE_ARCH_PMDP_INVALIDATE. Suggestion for renaming came during a previous discussion here. https://patchwork.kernel.org/patch/11019637/ [anshuman.khandual@arm.com: change pmd_mknotvalid() to pmd_mkinvalid() per Will] Link: http://lkml.kernel.org/r/1587520326-10099-3-git-send-email-anshuman.khandual@arm.com Suggested-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Will Deacon <will@kernel.org> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Russell King <linux@armlinux.org.uk> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Paul Mackerras <paulus@samba.org> Link: http://lkml.kernel.org/r/1584680057-13753-3-git-send-email-anshuman.khandual@arm.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
crypto | ||
e820 | ||
fpu | ||
numachip | ||
trace | ||
uv | ||
vdso | ||
xen | ||
acenv.h | ||
acpi.h | ||
acrn.h | ||
agp.h | ||
alternative-asm.h | ||
alternative.h | ||
amd_nb.h | ||
apb_timer.h | ||
apic.h | ||
apicdef.h | ||
apm.h | ||
arch_hweight.h | ||
archrandom.h | ||
asm-offsets.h | ||
asm-prototypes.h | ||
asm.h | ||
atomic64_32.h | ||
atomic64_64.h | ||
atomic.h | ||
audit.h | ||
barrier.h | ||
bios_ebda.h | ||
bitops.h | ||
boot.h | ||
bootparam_utils.h | ||
bug.h | ||
bugs.h | ||
cache.h | ||
cacheflush.h | ||
cacheinfo.h | ||
ce4100.h | ||
checksum_32.h | ||
checksum_64.h | ||
checksum.h | ||
clocksource.h | ||
cmdline.h | ||
cmpxchg_32.h | ||
cmpxchg_64.h | ||
cmpxchg.h | ||
compat.h | ||
cpu_device_id.h | ||
cpu_entry_area.h | ||
cpu.h | ||
cpufeature.h | ||
cpufeatures.h | ||
cpuidle_haltpoll.h | ||
cpumask.h | ||
crash.h | ||
current.h | ||
debugreg.h | ||
delay.h | ||
desc_defs.h | ||
desc.h | ||
device.h | ||
disabled-features.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
dmi.h | ||
doublefault.h | ||
dwarf2.h | ||
edac.h | ||
efi.h | ||
elf.h | ||
emergency-restart.h | ||
emulate_prefix.h | ||
entry_arch.h | ||
espfix.h | ||
exec.h | ||
extable.h | ||
fb.h | ||
fixmap.h | ||
floppy.h | ||
frame.h | ||
fsgsbase.h | ||
ftrace.h | ||
futex.h | ||
gart.h | ||
GEN-for-each-reg.h | ||
genapic.h | ||
geode.h | ||
hardirq.h | ||
highmem.h | ||
hpet.h | ||
hugetlb.h | ||
hw_breakpoint.h | ||
hw_irq.h | ||
hyperv-tlfs.h | ||
hypervisor.h | ||
i8259.h | ||
ia32_unistd.h | ||
ia32.h | ||
imr.h | ||
inat_types.h | ||
inat.h | ||
init.h | ||
insn-eval.h | ||
insn.h | ||
inst.h | ||
intel_ds.h | ||
intel_mid_vrtc.h | ||
intel_pconfig.h | ||
intel_pt.h | ||
intel_punit_ipc.h | ||
intel_scu_ipc_legacy.h | ||
intel_scu_ipc.h | ||
intel_telemetry.h | ||
intel-family.h | ||
intel-mid.h | ||
invpcid.h | ||
io_apic.h | ||
io_bitmap.h | ||
io.h | ||
iomap.h | ||
iommu_table.h | ||
iommu.h | ||
iosf_mbi.h | ||
irq_regs.h | ||
irq_remapping.h | ||
irq_vectors.h | ||
irq_work.h | ||
irq.h | ||
irqdomain.h | ||
irqflags.h | ||
ist.h | ||
jailhouse_para.h | ||
jump_label.h | ||
kasan.h | ||
kaslr.h | ||
kbdleds.h | ||
Kbuild | ||
kdebug.h | ||
kexec-bzimage64.h | ||
kexec.h | ||
kgdb.h | ||
kmap_types.h | ||
kprobes.h | ||
kvm_host.h | ||
kvm_page_track.h | ||
kvm_para.h | ||
kvm_vcpu_regs.h | ||
kvmclock.h | ||
linkage.h | ||
livepatch.h | ||
local64.h | ||
local.h | ||
mach_timer.h | ||
mach_traps.h | ||
math_emu.h | ||
mc146818rtc.h | ||
mce.h | ||
mcsafe_test.h | ||
mem_encrypt.h | ||
memtype.h | ||
microcode_amd.h | ||
microcode_intel.h | ||
microcode.h | ||
misc.h | ||
mmconfig.h | ||
mmu_context.h | ||
mmu.h | ||
mmx.h | ||
mmzone_32.h | ||
mmzone_64.h | ||
mmzone.h | ||
module.h | ||
mpspec_def.h | ||
mpspec.h | ||
mshyperv.h | ||
msi.h | ||
msidef.h | ||
msr-index.h | ||
msr-trace.h | ||
msr.h | ||
mtrr.h | ||
mwait.h | ||
nmi.h | ||
nops.h | ||
nospec-branch.h | ||
numa_32.h | ||
numa.h | ||
olpc_ofw.h | ||
olpc.h | ||
orc_lookup.h | ||
orc_types.h | ||
page_32_types.h | ||
page_32.h | ||
page_64_types.h | ||
page_64.h | ||
page_types.h | ||
page.h | ||
paravirt_types.h | ||
paravirt.h | ||
parport.h | ||
pci_x86.h | ||
pci-direct.h | ||
pci-functions.h | ||
pci.h | ||
percpu.h | ||
perf_event_p4.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable_32_areas.h | ||
pgtable_32_types.h | ||
pgtable_32.h | ||
pgtable_64_types.h | ||
pgtable_64.h | ||
pgtable_areas.h | ||
pgtable_types.h | ||
pgtable-2level_types.h | ||
pgtable-2level.h | ||
pgtable-3level_types.h | ||
pgtable-3level.h | ||
pgtable-invert.h | ||
pgtable.h | ||
pkeys.h | ||
platform_sst_audio.h | ||
pm-trace.h | ||
posix_types.h | ||
preempt.h | ||
probe_roms.h | ||
processor-cyrix.h | ||
processor-flags.h | ||
processor.h | ||
prom.h | ||
proto.h | ||
pti.h | ||
ptrace.h | ||
purgatory.h | ||
pvclock-abi.h | ||
pvclock.h | ||
qrwlock.h | ||
qspinlock_paravirt.h | ||
qspinlock.h | ||
realmode.h | ||
reboot_fixups.h | ||
reboot.h | ||
required-features.h | ||
resctrl.h | ||
rmwcc.h | ||
seccomp.h | ||
sections.h | ||
segment.h | ||
serial.h | ||
set_memory.h | ||
setup_arch.h | ||
setup.h | ||
shmparam.h | ||
sigcontext.h | ||
sigframe.h | ||
sighandling.h | ||
signal.h | ||
simd.h | ||
smap.h | ||
smp.h | ||
sparsemem.h | ||
spec-ctrl.h | ||
special_insns.h | ||
spinlock_types.h | ||
spinlock.h | ||
sta2x11.h | ||
stackprotector.h | ||
stacktrace.h | ||
string_32.h | ||
string_64.h | ||
string.h | ||
suspend_32.h | ||
suspend_64.h | ||
suspend.h | ||
svm.h | ||
swiotlb.h | ||
switch_to.h | ||
sync_bitops.h | ||
sync_core.h | ||
syscall_wrapper.h | ||
syscall.h | ||
syscalls.h | ||
sysfb.h | ||
text-patching.h | ||
thread_info.h | ||
time.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbbatch.h | ||
tlbflush.h | ||
topology.h | ||
trace_clock.h | ||
traps.h | ||
tsc.h | ||
uaccess_32.h | ||
uaccess_64.h | ||
uaccess.h | ||
umip.h | ||
unaligned.h | ||
unistd.h | ||
unwind_hints.h | ||
unwind.h | ||
uprobes.h | ||
user32.h | ||
user_32.h | ||
user_64.h | ||
user.h | ||
vdso.h | ||
vermagic.h | ||
vga.h | ||
vgtod.h | ||
virtext.h | ||
vm86.h | ||
vmalloc.h | ||
vmware.h | ||
vmx.h | ||
vmxfeatures.h | ||
vsyscall.h | ||
vvar.h | ||
word-at-a-time.h | ||
x86_init.h | ||
xor_32.h | ||
xor_64.h | ||
xor_avx.h | ||
xor.h |