linux-stable/arch/powerpc/include/asm
Chao Peng 20ec3ebd70 KVM: Rename mmu_notifier_* to mmu_invalidate_*
The motivation of this renaming is to make these variables and related
helper functions less mmu_notifier bound and can also be used for non
mmu_notifier based page invalidation. mmu_invalidate_* was chosen to
better describe the purpose of 'invalidating' a page that those
variables are used for.

  - mmu_notifier_seq/range_start/range_end are renamed to
    mmu_invalidate_seq/range_start/range_end.

  - mmu_notifier_retry{_hva} helper functions are renamed to
    mmu_invalidate_retry{_hva}.

  - mmu_notifier_count is renamed to mmu_invalidate_in_progress to
    avoid confusion with mn_active_invalidate_count.

  - While here, also update kvm_inc/dec_notifier_count() to
    kvm_mmu_invalidate_begin/end() to match the change for
    mmu_notifier_count.

No functional change intended.

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Message-Id: <20220816125322.1110439-3-chao.p.peng@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-08-19 04:05:41 -04:00
..
book3s powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
nohash powerpc/44x: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') 2022-07-27 21:36:06 +10:00
vdso powerpc/vdso: Move cvdso_call macro into gettimeofday.S 2022-02-12 22:47:44 +11:00
8xx_immap.h
accounting.h
agp.h agp: define proper stubs for empty helpers 2022-01-29 22:24:25 +01:00
archrandom.h Bitmap patches for v6.0-rc1 2022-08-07 17:52:35 -07:00
asm-compat.h powerpc/vdso: augment VDSO32 functions to support 64 bits build 2022-02-12 22:47:43 +11:00
asm-const.h powerpc/asm: Remove UPD_CONSTR after GCC 4.9 removal 2021-10-09 00:15:59 +11:00
asm-offsets.h
asm-prototypes.h powerpc: Update asm-prototypes.h comment 2022-06-26 10:29:43 +10:00
async_tx.h
atomic.h powerpc: Make eh value more explicit when using lwarx 2022-08-10 15:32:20 +10:00
backlight.h
barrier.h powerpc/44x: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') 2022-07-27 21:36:06 +10:00
bitops.h powerpc: Don't hide eh field of lwarx behind a macro 2022-08-10 15:32:02 +10:00
bootx.h
bpf_perf_event.h powerpc/bpf: Fix use of user_pt_regs in uapi 2022-06-29 20:43:04 +10:00
btext.h powerpc/kernel: Add __init attribute to eligible functions 2021-12-23 22:33:10 +11:00
bug.h bug: Use normal relative pointers in 'struct bug_entry' 2022-05-19 23:46:10 +02:00
bugs.h
cache.h
cacheflush.h powerpc/mem: Inline flush_dcache_page() 2021-04-14 23:04:19 +10:00
cell-pmu.h
cell-regs.h
checksum.h powerpc: Use rol32() instead of opencoding in csum_fold() 2022-05-08 22:15:40 +10:00
clocksource.h powerpc/vdso: Prepare for switching VDSO to generic C implementation. 2020-12-04 01:01:10 +11:00
cmpxchg.h locking/atomic: powerpc: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
code-patching-asm.h
code-patching.h powerpc/ftrace: Minimise number of #ifdefs 2022-05-22 15:58:26 +10:00
compat.h asm-generic: compat: Cleanup duplicate definitions 2022-04-26 13:35:54 -07:00
context_tracking.h context_tracking: Split user tracking Kconfig 2022-06-29 17:04:09 -07:00
copro.h
cpm.h
cpm1.h powerpc/8xx: Fix early debug when SMC1 is relocated 2020-12-09 17:00:54 +11:00
cpm2.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
cpu_has_feature.h powerpc: Force inlining of cpu_has_feature() to avoid build failure 2021-03-14 20:32:24 +11:00
cpu_setup_power.h
cpufeature.h
cpuidle.h powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
cputable.h powerpc: Remove remaining parts of oprofile 2022-07-27 21:36:05 +10:00
cputhreads.h powerpc: remove cpu_online_cores_map function 2021-11-29 22:48:32 +11:00
cputime.h powerpc: Include asm/firmware.h in all users of firmware_has_feature() 2022-06-29 16:45:05 +10:00
crashdump-ppc64.h
current.h
dbdma.h
dbell.h
dcr-generic.h
dcr-mmio.h
dcr-native.h powerpc/4xx: Fix build errors from mfdcr() 2021-03-01 12:33:31 +11:00
dcr-regs.h
dcr.h
debug.h powerpc: convert interrupt handlers to use wrappers 2021-02-09 00:02:12 +11:00
delay.h
device.h powerpc/papr_scm: Add perf interface support 2022-03-09 17:50:50 -08:00
disassemble.h
dma-direct.h
dma.h PCI: Move isa_dma_bridge_buggy out of asm/dma.h 2022-07-22 17:24:47 -05:00
drmem.h powerpc: Add missing declaration in asm/drmem.h 2022-05-06 00:00:21 +10:00
dt_cpu_ftrs.h
dtl.h
edac.h
eeh.h powerpc/eeh: Remove unused inline functions 2022-05-04 21:44:02 +10:00
eeh_event.h
ehv_pic.h
elf.h powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ 2022-05-19 23:11:26 +10:00
elfnote.h
emergency-restart.h
emulated_ops.h
epapr_hcalls.h powerpc/epapr: Fix parmeters typo 2022-02-03 21:35:56 +11:00
exception-64e.h powerpc/code-patching: Move patch_exception() outside code-patching.c 2021-12-23 22:36:55 +11:00
exception-64s.h KVM: PPC: Book3S 64: Move hcall early register setup to KVM 2021-06-10 22:12:12 +10:00
exec.h
extable.h powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm goto 2021-08-15 13:49:24 +10:00
fadump-internal.h powerpc/fadump: save CPU reg data in vmcore when PHYP terminates LPAR 2022-04-26 22:36:57 +10:00
fadump.h
fb.h
feature-fixups.h powerpc/64s: fix scv entry fallback flush vs interrupt 2021-01-20 15:58:19 +11:00
firmware.h powerpc/pseries: add FW_FEATURE_WATCHDOG flag 2022-07-20 21:57:39 +10:00
fixmap.h powerpc/fixmap: Fix VM debug warning on unmap 2022-01-24 17:29:05 +11:00
floppy.h powerpc/floppy: Remove usage of the deprecated "pci-dma-compat.h" API 2022-01-04 16:00:59 +11:00
fs_pd.h
fsl_gtm.h
fsl_hcalls.h
fsl_lbc.h
fsl_pamu_stash.h iommu/fsl_pamu: replace DOMAIN_ATTR_FSL_PAMU_STASH with a direct call 2021-04-07 10:56:52 +02:00
fsl_pm.h
ftrace.h powerpc/ftrace: Remove ftrace init tramp once kernel init is complete 2022-05-22 15:58:29 +10:00
futex.h powerpc/futex: Switch to user_access block 2021-03-26 23:19:43 +11:00
grackle.h
hardirq.h
head-64.h powerpc/64/asm: Do not reassign labels 2021-12-23 22:35:12 +11:00
heathrow.h
highmem.h powerpc/mm/highmem: use __set_pte_at() for kmap_local() 2021-01-24 10:34:53 -08:00
hmi.h
hugetlb.h powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
hvcall.h powerpc/pseries: define driver for Platform KeyStore 2022-07-28 16:22:13 +10:00
hvconsole.h powerpc/pseries: Move hvc_vio_init_early() prototype to shared location 2021-03-24 14:09:30 +11:00
hvcserver.h
hvsi.h
hw_breakpoint.h powerpc/inst: Move ppc_inst_t definition in asm/reg.h 2021-12-09 22:41:21 +11:00
hw_irq.h powerpc/irq: remove inline assembly in hard_irq_disable macro 2022-06-29 16:57:25 +10:00
hydra.h powerpc/chrp: Make hydra_init() static 2021-03-24 14:09:29 +11:00
i8259.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
ibmebus.h
icswx.h
ide.h
idle.h
imc-pmu.h
immap_cpm2.h
inst.h powerpc/64: Drop ppc_inst_as_str() 2022-06-29 19:37:07 +10:00
interrupt.h powerpc: Include asm/firmware.h in all users of firmware_has_feature() 2022-06-29 16:45:05 +10:00
io-defs.h
io-workarounds.h
io.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
io_event_irq.h
iommu.h KVM: PPC: Book3s: Retire H_PUT_TCE/etc real mode handlers 2022-05-19 00:44:01 +10:00
ipic.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
irq.h powerpc/irq: Make __do_irq() static 2022-06-29 16:58:27 +10:00
irq_work.h
irqflags.h
isa-bridge.h
jump_label.h powerpc: Fix initrd corruption with relative jump labels 2021-06-15 23:35:57 +10:00
kasan.h powerpc/64e: KASAN Full support for BOOK3E/64 2022-06-29 17:04:15 +10:00
Kbuild powerpc/syscalls: switch to generic syscalltbl.sh 2021-04-14 23:04:16 +10:00
kdebug.h
kdump.h
kexec.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
kexec_ranges.h powerpc/64s: Fix build failure when CONFIG_PPC_64S_HASH_MMU is not set 2022-03-05 20:42:21 +11:00
keylargo.h
kfence.h powerpc: Enable KFENCE for PPC32 2021-03-24 14:09:30 +11:00
kgdb.h
kprobes.h powerpc/probes: Remove ppc_opcode_t 2022-07-27 21:36:05 +10:00
kup.h powerpc/kuap: Remove unused inline function __kuap_assert_locked() 2022-05-04 19:37:46 +10:00
kvm_asm.h KVM: PPC: Book3S HV Nested: Avoid extra mftb() in nested entry 2021-11-24 21:09:02 +11:00
kvm_book3s.h KVM: PPC: Book3s HV: Remove unused function kvmppc_bad_interrupt 2022-07-20 22:28:12 +10:00
kvm_book3s_32.h
kvm_book3s_64.h KVM: Rename mmu_notifier_* to mmu_invalidate_* 2022-08-19 04:05:41 -04:00
kvm_book3s_asm.h KVM: PPC: Book3S HV: Remove KVMPPC_NR_LPIDS 2022-05-13 21:33:34 +10:00
kvm_book3s_uvmem.h
kvm_booke.h
kvm_booke_hv_asm.h
kvm_fpu.h
kvm_guest.h powerpc/kernel: Add __init attribute to eligible functions 2021-12-23 22:33:10 +11:00
kvm_host.h KVM: PPC: Align pt_regs in kvm_vcpu_arch structure 2022-06-29 19:21:33 +10:00
kvm_para.h powerpc: Reintroduce is_kvm_guest() as a fast-path check 2020-12-04 01:01:22 +11:00
kvm_ppc.h KVM: PPC: Book3s: Remove real mode interrupt controller hcalls handlers 2022-05-19 00:44:28 +10:00
libata-portmap.h
linkage.h powerpc: Replace PPC64_ELF_ABI_v{1/2} by CONFIG_PPC64_ELF_ABI_V{1/2} 2022-05-19 23:11:29 +10:00
livepatch.h livepatch: Remove klp_arch_set_pc() and asm/livepatch.h 2022-05-24 08:46:37 +02:00
local.h
lppaca.h
lv1call.h
machdep.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
macio.h
mc146818rtc.h
mce.h powerpc/mce: Avoid using irq_work_queue() in realmode 2022-03-08 00:05:00 +11:00
mediabay.h
mem_encrypt.h treewide: Replace the use of mem_encrypt_active() with cc_platform_has() 2021-10-04 11:47:24 +02:00
membarrier.h powerpc/non-smp: Unconditionaly call smp_mb() on switch_mm 2021-08-10 23:14:55 +10:00
mman.h powerpc: Include asm/firmware.h in all users of firmware_has_feature() 2022-06-29 16:45:05 +10:00
mmiowb.h
mmu.h powerpc/64e: Remove MMU_FTR_USE_TLBRSRV and MMU_FTR_USE_PAIRED_MAS 2022-06-29 17:04:14 +10:00
mmu_context.h KVM: PPC: Book3s: Retire H_PUT_TCE/etc real mode handlers 2022-05-19 00:44:01 +10:00
mmzone.h mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA 2021-06-29 10:53:55 -07:00
module.h powerpc/ftrace: Minimise number of #ifdefs 2022-05-22 15:58:26 +10:00
module.lds.h
mpc5xxx.h powerpc/mpc5xxx: Switch mpc5xxx_get_bus_frequency() to use fwnode 2022-06-22 12:51:49 +10:00
mpc6xx.h
mpc52xx.h powerpc: Remove asm/prom.h from asm/mpc52xx.h and asm/pci.h 2022-07-28 16:22:12 +10:00
mpc52xx_psc.h
mpc85xx.h
mpc5121.h
mpc8260.h
mpic.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
mpic_msgr.h
mpic_timer.h
msi_bitmap.h
nmi.h powerpc/watchdog: introduce a NMI watchdog's factor 2022-07-27 21:36:02 +10:00
nvram.h
ohare.h
opal-api.h powerpc/xive: Activate StoreEOI on P10 2021-11-25 11:25:30 +11:00
opal.h powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
paca.h powerpc/64: Include cache.h directly in paca.h 2022-05-27 22:20:09 +10:00
page.h powerpc/64: Only WARN if __pa()/__va() called with bad addresses 2022-05-22 15:58:28 +10:00
page_32.h powerpc/32s: Cleanup around PTE_FLAGS_OFFSET in hash_low.S 2020-12-09 23:48:14 +11:00
page_64.h
paravirt.h powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted() 2021-10-09 00:15:59 +11:00
parport.h powerpc: Don't include asm/prom.h in asm/parport.h 2022-05-06 00:00:20 +10:00
pasemi_dma.h
pci-bridge.h powerpc/pci: Hide pci_create_OF_bus_map() for non-chrp code 2022-07-27 21:36:03 +10:00
pci.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
percpu.h
perf_event.h powerpc/perf: Expose Performance Monitor Counter SPR's as part of extended regs 2021-02-09 01:09:44 +11:00
perf_event_fsl_emb.h
perf_event_server.h powerpc/perf: Add __init attribute to eligible functions 2021-12-23 22:33:11 +11:00
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable-be-types.h
pgtable-types.h powerpc/32: Don't use a struct based type for pte_t 2021-10-22 15:22:06 +11:00
pgtable.h powerpc/mm: move protection_map[] inside the platform 2022-07-17 17:14:37 -07:00
pkeys.h powerpc/pkeys: Remove unused code 2021-02-09 01:09:44 +11:00
plpar_wrappers.h powerpc/irq: Replace #ifdefs by IS_ENABLED() 2022-06-29 16:57:09 +10:00
pmac_feature.h powerpc/machdep: Move sys_ctrler_t definition into pmac_feature.h 2022-02-07 21:02:20 +11:00
pmac_low_i2c.h
pmac_pfunc.h
pmc.h KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live 2021-08-25 16:37:18 +10:00
pmi.h
pnv-ocxl.h ocxl: Initiate a TLB invalidate command 2020-12-04 01:01:30 +11:00
pnv-pci.h powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
powernv.h
ppc-opcode.h powerpc/ppc-opcode: Fix PPC_RAW_TW() 2022-08-10 15:39:37 +10:00
ppc-pci.h powerpc/eeh: Use dev_driver_string() instead of struct pci_dev->driver->name 2021-10-12 17:50:12 -05:00
ppc4xx.h
ppc_asm.h powerpc: Replace PPC64_ELF_ABI_v{1/2} by CONFIG_PPC64_ELF_ABI_V{1/2} 2022-05-19 23:11:29 +10:00
probes.h powerpc/ppc-opcode: Define and use PPC_RAW_TRAP() and PPC_RAW_TW() 2022-07-27 21:36:05 +10:00
processor.h powerpc/mm: Convert to default topdown mmap layout 2022-05-05 22:11:58 +10:00
prom.h powerpc: Finally remove unnecessary headers from asm/prom.h 2022-07-28 16:22:12 +10:00
ps3.h powerpc/ps3: Add dma_mask to ps3_dma_region 2021-06-10 21:44:58 +10:00
ps3av.h
ps3gpu.h
ps3stor.h
pte-walk.h powerpc: Fix reverse map real-mode address lookup with huge vmalloc 2021-05-28 22:54:27 +10:00
ptrace.h powerpc: Replace PPC64_ELF_ABI_v{1/2} by CONFIG_PPC64_ELF_ABI_V{1/2} 2022-05-19 23:11:29 +10:00
qspinlock.h locking/atomic: powerpc: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
qspinlock_paravirt.h
reg.h KVM: PPC: Book3S HV: Update LPID allocator init for POWER9, Nested 2022-05-13 21:33:33 +10:00
reg_8xx.h
reg_a2.h
reg_booke.h powerpc/32: Handle bookE debugging in C in syscall entry/exit 2021-02-11 23:35:12 +11:00
reg_fsl_emb.h
rheap.h
rio.h
rtas-types.h powerpc/rtas: remove unused rtas_suspend_me_data 2020-12-08 21:41:02 +11:00
rtas.h powerpc/pseries: make pseries_devicetree_update() static 2022-02-12 22:47:44 +11:00
runlatch.h
seccomp.h
sections.h asm-generic: Refactor dereference_[kernel]_function_descriptor() 2022-02-16 23:25:11 +11:00
secure_boot.h
security_features.h powerpc/security: Add a helper to query stf_barrier type 2021-10-07 19:52:58 +11:00
secvar.h
serial.h
set_memory.h powerpc: Add set_memory_{p/np}() and remove set_memory_attr() 2022-02-12 22:47:42 +11:00
setjmp.h
setup.h powerpc/powermac: Remove empty function note_scsi_host() 2022-06-26 10:29:44 +10:00
sfp-machine.h
shmparam.h
signal.h powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ 2022-05-19 23:11:26 +10:00
simple_spinlock.h powerpc: Fix eh field when calling lwarx on PPC32 2022-08-10 15:27:44 +10:00
simple_spinlock_types.h locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h 2021-12-07 15:14:12 +01:00
smp.h powerpc/smp: Remove unused inline functions 2022-05-04 19:37:46 +10:00
smu.h powerpc/powermac: Add __init attribute to eligible functions 2021-12-23 22:33:14 +11:00
sparsemem.h
spinlock.h powerpc/spinlock: Define smp_mb__after_spinlock only once 2021-03-26 23:19:43 +11:00
spinlock_types.h locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h 2021-12-07 15:14:12 +01:00
spu.h powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
spu_csa.h
spu_info.h
spu_priv1.h
sstep.h powerpc/inst: Define ppc_inst_t 2021-12-09 22:41:21 +11:00
stackprotector.h
stacktrace.h
static_call.h static_call: Properly initialise DEFINE_STATIC_CALL_RET0() 2022-04-05 09:59:38 +02:00
string.h
svm.h powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
swab.h
swiotlb.h swiotlb: add a SWIOTLB_ANY flag to lift the low memory restriction 2022-04-18 07:21:12 +02:00
switch_to.h powerpc: Fix missing declaration of [en/dis]able_kernel_altivec() 2022-05-04 19:37:46 +10:00
synch.h powerpc/44x: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') 2022-07-27 21:36:06 +10:00
syscall.h powerpc/audit: Fix syscall_get_arch() 2022-01-15 12:21:26 +11:00
syscalls.h powerpc: Move C prototypes out of asm-prototypes.h 2022-03-08 22:06:25 +11:00
task_size_32.h
task_size_64.h powerpc/mm: Use generic_get_unmapped_area() and call it from arch_get_unmapped_area() 2022-05-05 22:11:57 +10:00
tce.h powerpc/pseries/iommu: Replace hard-coded page shift 2021-08-27 00:56:54 +10:00
termios.h
thread_info.h powerpc/kasan: Force thread size increase with KASAN 2022-06-02 22:56:47 +10:00
time.h powerpc/time: Fix sparse warnings 2022-05-04 19:37:42 +10:00
timex.h powerpc: define get_cycles macro for arch-override 2022-05-13 23:59:23 +02:00
tlb.h mmu_gather: Remove per arch tlb_{start,end}_vma() 2022-07-21 10:50:13 -07:00
tlbflush.h
tm.h
topology.h powerpc/numa: Associate numa node to its cpu earlier 2022-05-22 15:58:30 +10:00
trace.h
trace_clock.h
tsi108.h
tsi108_irq.h
tsi108_pci.h
types.h powerpc: Finalise cleanup around ABI use 2022-05-19 23:11:29 +10:00
uaccess.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
udbg.h powerpc/powermac: Add __init attribute to eligible functions 2021-12-23 22:33:14 +11:00
uic.h
ultravisor-api.h
ultravisor.h
uninorth.h
unistd.h fs: stat: compat: Add __ARCH_WANT_COMPAT_STAT 2022-04-26 13:35:45 -07:00
uprobes.h powerpc/probes: Remove ppc_opcode_t 2022-07-27 21:36:05 +10:00
user.h asm/user.h: killed unused macros 2022-01-30 21:17:00 -05:00
vas.h powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr 2022-05-22 15:58:27 +10:00
vdso.h powerpc/vdso: Cleanup vdso.h 2020-12-04 01:01:19 +11:00
vdso_datapage.h powerpc/vdso: Add support for time namespaces 2021-04-14 23:04:44 +10:00
vermagic.h
vga.h
vio.h powerpc/pseries: Add shutdown() to vio_driver and vio_bus 2021-04-20 14:22:24 +10:00
vmalloc.h mm/vmalloc: provide fallback arch huge vmap support functions 2021-04-30 11:20:40 -07:00
word-at-a-time.h powerpc: Don't include asm/ppc_asm.h in other headers 2022-06-29 16:45:13 +10:00
xics.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
xive-regs.h KVM: PPC: Book3S HV: XIVE: Add support for automatic save-restore 2021-08-10 23:15:02 +10:00
xive.h KVM: PPC: Book3S HV: XIVE: Add support for automatic save-restore 2021-08-10 23:15:02 +10:00
xmon.h powerpc/xmon: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
xor.h
xor_altivec.h lib/xor: make xor prototypes more friendly to compiler vectorization 2022-02-11 20:39:39 +11:00