linux/arch/powerpc/include/asm
Sayali Patil 6bc9c0a905 powerpc: fix KUAP warning in VMX usercopy path
On powerpc with PREEMPT_FULL or PREEMPT_LAZY and function tracing enabled,
KUAP warnings can be triggered from the VMX usercopy path under memory
stress workloads.

KUAP requires that no subfunctions are called once userspace access has
been enabled. The existing VMX copy implementation violates this
requirement by invoking enter_vmx_usercopy() from the assembly path after
userspace access has already been enabled. If preemption occurs
in this window, the AMR state may not be preserved correctly,
leading to unexpected userspace access state and resulting in
KUAP warnings.

Fix this by restructuring the VMX usercopy flow so that VMX selection
and VMX state management are centralized in raw_copy_tofrom_user(),
which is invoked by the raw_copy_{to,from,in}_user() wrappers.

The new flow is:

  - raw_copy_{to,from,in}_user() calls raw_copy_tofrom_user()
  - raw_copy_tofrom_user() decides whether to use the VMX path
    based on size and CPU capability
  - Call enter_vmx_usercopy() before enabling userspace access
  - Enable userspace access as per the copy direction
    and perform the VMX copy
  - Disable userspace access as per the copy direction
  - Call exit_vmx_usercopy()
  - Fall back to the base copy routine if the VMX copy faults

With this change, the VMX assembly routines no longer perform VMX state
management or call helper functions; they only implement the
copy operations.
The previous feature-section based VMX selection inside
__copy_tofrom_user_power7() is removed, and a dedicated
__copy_tofrom_user_power7_vmx() entry point is introduced.

This ensures correct KUAP ordering, avoids subfunction calls
while KUAP is unlocked, and eliminates the warnings while preserving
the VMX fast path.

Fixes: de78a9c42a ("powerpc: Add a framework for Kernel Userspace Access Protection")
Reported-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Closes: https://lore.kernel.org/all/20260109064917.777587-2-sshegde@linux.ibm.com/
Suggested-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Co-developed-by: Aboorva Devarajan <aboorvad@linux.ibm.com>
Signed-off-by: Aboorva Devarajan <aboorvad@linux.ibm.com>
Signed-off-by: Sayali Patil <sayalip@linux.ibm.com>
Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260304122201.153049-1-sayalip@linux.ibm.com
2026-03-12 11:03:47 +05:30
..
book3s mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
nohash powerpc/e500: Always use 64 bits PTE 2026-03-04 11:05:06 +05:30
vdso powerpc/vdso: Provide clock_getres_time64() 2026-01-14 14:57:39 +01:00
8xx_immap.h powerpc/include: Declare mpc8xx_immr in 8xx_immap.h 2023-08-16 23:54:47 +10:00
Kbuild KVM: Export KVM-internal symbols for sub-modules only 2025-09-30 13:40:02 -04:00
accounting.h
archrandom.h Bitmap patches for v6.0-rc1 2022-08-07 17:52:35 -07:00
asm-compat.h powerpc/atomic: Use YZ constraints for DS-form instructions 2024-09-17 22:17:57 +10:00
asm-const.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
asm-offsets.h
asm-prototypes.h powerpc/64s: early boot machine check handler 2022-09-28 19:22:13 +10:00
asm.h objtool/powerpc: Enable objtool to be built on ppc 2022-11-18 19:00:16 +11:00
async_tx.h
atomic.h powerpc/atomic: Use YZ constraints for DS-form instructions 2024-09-17 22:17:57 +10:00
backlight.h arch/powerpc: Remove <linux/fb.h> from backlight code 2024-03-07 13:34:14 +01:00
barrier.h powerpc/uaccess: Refactor user_{read/write/}_access_begin() 2026-01-07 09:31:04 +05:30
bitops.h powerpc: Add __attribute_const__ to ffs()-family implementations 2025-09-08 14:58:51 -07: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 Merge branch 'objtool/core' 2025-11-21 11:21:20 +01:00
cache.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
cacheflush.h mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
cell-pmu.h powerpc/cell: Remove support for IBM Cell Blades 2025-02-26 21:15:07 +05:30
cell-regs.h powerpc/cell: Remove support for IBM Cell Blades 2025-02-26 21:15:07 +05:30
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/arch: Rename all internal __xchg() names to __arch_xchg() 2023-04-29 09:08:44 +02:00
code-patching-asm.h
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 cxl: Remove driver 2025-03-16 22:04:27 +11:00
cpm.h soc: fsl: move cpm.h from powerpc/include/asm to include/soc/fsl 2019-12-09 13:54:34 -06:00
cpm1.h powerpc: Remove cpm_dp...() macros 2023-10-20 23:18:07 +11:00
cpm2.h powerpc: Remove cpm_dp...() macros 2023-10-20 23:18:07 +11:00
cpu_has_feature.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
cpu_setup.h powerpc/cputable: Move __cpu_setup() prototypes out of cputable.h 2022-09-26 22:26:49 +10:00
cpufeature.h powerpc: Move Power10 feature PPC_MODULE_FEATURE_P10 2023-04-20 18:20:05 +08:00
cpuidle.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
cputable.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
cputhreads.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
cputime.h sched/vtime: Get rid of generic vtime_task_switch() implementation 2024-04-17 13:37:20 +02:00
crash_reserve.h crash: let architecture decide crash memory export to iomem_resource 2025-11-12 10:00:15 -08:00
crashdump-ppc64.h powerpc/kexec_file: Setup backup region for kdump kernel 2020-07-29 23:47:54 +10:00
current.h
dbdma.h
dbell.h powerpc: Remove duplicate definition for ppc_msgsnd_sync() 2025-09-06 17:02:55 +05:30
dcr-native.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
dcr-regs.h
dcr.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
debug.h powerpc: Allow clearing and restoring registers independent of saved breakpoint state 2022-11-30 21:46:48 +11:00
delay.h powerpc/time: Avoid using get_tbl() and get_tbu() internally 2020-10-08 21:17:15 +11:00
device.h cxl: Remove driver 2025-03-16 22:04:27 +11:00
disassemble.h
dma-direct.h dma-direct: rename and cleanup __phys_to_dma 2020-09-11 09:14:43 +02:00
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 powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore 2024-10-29 23:01:36 +11:00
edac.h
eeh.h powerpc/eeh: fix recursive pci_lock_rescan_remove locking in EEH event handling 2026-01-08 17:56:53 +05:30
eeh_event.h
ehv_pic.h
elf.h Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig 2024-04-15 11:02:51 -07:00
elfnote.h powerpc: Add PowerPC Capabilities ELF note 2019-08-30 09:40:15 +10:00
emergency-restart.h
emulated_ops.h
epapr_hcalls.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
exception-64e.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
exception-64s.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
exec.h
extable.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
fadump-internal.h powerpc/fadump: setup additional parameters for dump capture kernel 2024-05-10 16:36:10 +10:00
fadump.h powerpc/fadump: allocate memory for additional parameters early 2024-11-10 22:33:52 +11:00
feature-fixups.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
firmware.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
fixmap.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
floppy.h floppy: Remove unused CROSS_64KB() macro from arch/ code 2025-08-25 14:46:42 -06:00
fprobe.h powerpc/fprobe: fix updated fprobe for function-graph tracer 2025-09-16 16:13:00 +05:30
fpu.h powerpc: implement ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:18 -07:00
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: support CONFIG_FUNCTION_GRAPH_RETVAL 2025-09-16 16:13:00 +05:30
futex.h powerpc/futex: Switch to user_access block 2021-03-26 23:19:43 +11:00
grackle.h
guest-state-buffer.h kvm powerpc/book3s-apiv2: Add support for Hostwide GSB elements 2025-04-16 22:16:09 +05:30
hardirq.h powerpc/64s: Move HMI IRQ stat from percpu variable to paca. 2020-07-29 23:47:53 +10:00
head-64.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
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 mm, arch: consolidate hugetlb CMA reservation 2026-01-26 20:02:19 -08:00
hvcall.h pseries/plpks: expose PowerVM wrapping features via the sysfs 2026-01-30 09:27:26 +05:30
hvconsole.h tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvcserver.h
hvsi.h tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hw_breakpoint.h powerpc/watchpoints: Track perf single step directly on the breakpoint 2023-08-16 23:54:50 +10:00
hw_irq.h powerpc/32: Restore disabling of interrupts at interrupt/syscall exit 2025-12-22 18:25:07 +05:30
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 powerpc: ibmebus: make ibmebus_bus_type const 2024-02-15 00:14:06 +11:00
icswx.h powerpc/nx: Don't pack struct coprocessor_request_block 2020-08-25 01:31:33 +10:00
idle.h powerpc/pseries: Always inline functions called from cpuidle 2023-04-20 13:21:49 +10:00
imc-pmu.h powerpc: Annotate endianness of various variables and functions 2023-10-19 17:12:47 +11:00
immap_cpm2.h
inst.h powerpc: Drop unnecessary initializations in __copy_inst_from_kernel_nofault() 2025-08-28 16:58:44 -07:00
interrupt.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
io-defs.h powerpc/io: Unhook MMIO accessors 2025-02-26 21:15:08 +05:30
io.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
io_event_irq.h
iommu.h powerpc: Convert to physical address DMA mapping 2025-10-29 10:27:30 +01:00
ipic.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
irq.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
irq_work.h arch: consolidate arch_irq_work_raise prototypes 2023-11-23 11:32:29 +01:00
irqflags.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
isa-bridge.h
jump_label.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
kasan.h Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
kdebug.h
kdump.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
kexec.h powerpc/kdump: Add support for crashkernel CMA reservation 2025-11-11 14:11:08 +05:30
kexec_ranges.h powerpc/crash: add crash memory hotplug support 2024-04-23 15:00:04 +10:00
keylargo.h
kfence.h book3s64/radix: Refactoring common kfence related functions 2024-10-23 18:53:20 +11:00
kgdb.h powerpc: kgdb: Remove OUTBUFMAX constant 2026-01-29 09:06:01 +05:30
kprobes.h asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
kup.h powerpc/uaccess: Remove {allow/prevent}_{read/write/read_write}_{from/to/}_user() 2026-01-07 09:31:04 +05:30
kvm_asm.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
kvm_book3s.h KVM: PPC: Use kvm_faultin_pfn() to handle page faults on Book3s PR 2024-10-25 13:00:49 -04:00
kvm_book3s_32.h
kvm_book3s_64.h powerpc/perf: Add per-task/process monitoring to vpa_pmu driver 2024-11-19 14:11:30 +11:00
kvm_book3s_asm.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
kvm_book3s_uvmem.h KVM: PPC: Book3S HV: Migrate hot plugged memory 2020-07-28 12:34:52 +10:00
kvm_booke.h KVM: PPC: Introduce FPR/VR accessor functions 2023-09-14 22:04:23 +10:00
kvm_booke_hv_asm.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
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: Drop kvm_arch_sync_events() now that all implementations are nops 2025-02-26 13:17:23 -05: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 mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
kvm_types.h KVM: Export KVM-internal symbols for sub-modules only 2025-09-30 13:40:02 -04:00
libata-portmap.h
linkage.h powerpc/Kconfig: Select FUNCTION_ALIGNMENT_4B 2023-12-13 21:49:22 +11:00
livepatch.h livepatch: Remove klp_arch_set_pc() and asm/livepatch.h 2022-05-24 08:46:37 +02:00
local.h locking/local, arch: Rewrite local_add_unless() as a static inline function 2023-10-04 11:38:11 +02:00
lppaca.h KVM: PPC: Book3S HV nestedv2: Add support for reading VPA counters for pseries guests 2024-06-03 22:06:28 +10:00
lv1call.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
machdep.h powerpc/machdep: Drop include of dma-mapping.h 2024-10-29 23:01:05 +11:00
macio.h powerpc/macio: Make remove callback of macio driver void returned 2024-03-07 23:06:19 +11:00
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 powerpc/pseries/svm: Make mem_encrypt.h self contained 2025-11-28 08:40:55 +01:00
membarrier.h powerpc/non-smp: Unconditionaly call smp_mb() on switch_mm 2021-08-10 23:14:55 +10:00
mman.h mm: update architecture and driver code to use vm_flags_t 2025-07-09 22:42:14 -07:00
mmiowb.h
mmu.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
mmu_context.h ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
mmzone.h powerpc/pseries/iommu: memory notifier incorrectly adds TCEs for pmemory 2025-02-11 11:39:10 +05:30
module.h powerpc64/modules: replace stub allocation sentinel with an explicit counter 2025-09-15 16:40:52 +05:30
module.lds.h kbuild: preprocess module linker script 2020-09-25 00:36:41 +09:00
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: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
mpc52xx_psc.h
mpc85xx.h
mpc5121.h
mpic.h powerpc: mpic: make mpic_subsys const 2024-02-15 00:14:06 +11:00
mpic_msgr.h
mpic_timer.h
msi_bitmap.h
nmi.h powerpc: move arch_trigger_cpumask_backtrace from nmi.h to irq.h 2023-06-23 17:04:04 -07:00
nvram.h
ohare.h
opal-api.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
opal.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
paca.h powerpc: Remove duplicate/unnecessary ifdefs 2024-02-21 15:15:40 +11:00
page.h treewide: provide a generic clear_user_page() variant 2026-01-20 19:24:39 -08:00
page_32.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
page_64.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
papr-sysparm.h powerpc/pseries: Enable hvpipe with ibm,set-system-parameter RTAS 2025-09-15 13:38:40 +05:30
paravirt.h sched: Move clock related paravirt code to kernel/sched 2026-01-12 15:39:14 +01: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/pseries/msi: Switch to msi_create_parent_irq_domain() 2025-09-06 17:33:19 +05:30
pci.h powerpc: Remove file parameter from phys_mem_access_prot() 2023-11-06 15:21:33 +11:00
percpu.h powerpc: Remove useless config comment in asm/percpu.h 2024-08-07 22:49:19 +10:00
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 perf/core: Hoist perf_instruction_pointer() and perf_misc_flags() 2024-11-14 10:40:01 +01:00
pgalloc.h powerpc: add pte_free_defer() for pgtables sharing page 2023-08-18 10:12:23 -07:00
pgtable-be-types.h powerpc/mm: remove hugepd leftovers 2024-07-12 15:52:19 -07:00
pgtable-masks.h powerpc: Support execute-only on all powerpc 2023-10-19 17:12:47 +11:00
pgtable-types.h powerpc/e500: Always use 64 bits PTE 2026-03-04 11:05:06 +05:30
pgtable.h powerpc/mm: use set_pte_at_unchecked() for internal usages 2026-01-26 20:02:36 -08:00
pkeys.h mm: update architecture and driver code to use vm_flags_t 2025-07-09 22:42:14 -07:00
plpar_wrappers.h powerpc/pseries/htmdump: Add htm flags support to htmdump module 2025-05-04 09:05:47 +05:30
plpks.h pseries/plpks: add HCALLs for PowerVM Key Wrapping Module 2026-01-30 09:27:26 +05:30
pmac_feature.h powerpc: Fix typos 2024-05-08 00:21:30 +10: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
pnv-ocxl.h ocxl: Initiate a TLB invalidate command 2020-12-04 01:01:30 +11:00
pnv-pci.h cxl: Remove driver 2025-03-16 22:04:27 +11:00
powernv.h
ppc-opcode.h powerpc64/bpf: Implement bpf_addr_space_cast instruction 2025-09-06 15:49:43 +05:30
ppc-pci.h powerpc/pseries/iommu: DLPAR add doesn't completely initialize pci_controller 2024-02-19 16:16:34 +11:00
ppc4xx.h
ppc_asm.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
preempt.h powerpc: enable dynamic preemption 2025-04-16 22:30:22 +05:30
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: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
prom.h powerpc: increase MIN RMA size for CAS negotiation 2025-02-11 10:53:00 +05:30
ps3.h driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
ps3av.h powerpc/ps3: remove orphan declarations from ps3av.h 2022-09-15 22:55:46 +10:00
ps3gpu.h
ps3stor.h
pte-walk.h powerpc: Remove find_current_mm_pte() 2022-11-24 23:12:18 +11:00
ptrace.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
qspinlock.h powerpc/qspinlock: add compile-time tuning adjustments 2022-12-02 17:48:50 +11:00
qspinlock_types.h powerpc/qspinlock: provide accounting and options for sleepy locks 2022-12-02 17:48:50 +11:00
reg.h powerpc/32: Restore disabling of interrupts at interrupt/syscall exit 2025-12-22 18:25:07 +05:30
reg_8xx.h powerpc/hw_breakpoints: Rewrite 8xx breakpoints to allow any address range size. 2020-01-23 21:31:14 +11:00
reg_booke.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
reg_fsl_emb.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
rheap.h
rio.h
rtas-types.h powerpc/rtas: ensure 8-byte alignment for struct rtas_args 2023-03-30 23:36:34 +11:00
rtas-work-area.h powerpc/pseries: add RTAS work area allocator 2023-02-13 22:35:02 +11:00
rtas.h powerpc/pseries: Define HVPIPE specific macros 2025-09-15 13:38:40 +05:30
runlatch.h powerpc/64s: Fix irq state management in runlatch functions 2022-09-28 19:22:11 +10:00
seccomp.h powerpc: Enable seccomp architecture tracking 2020-11-20 11:16:35 -08:00
sections.h powerpc/ftrace: Ignore ftrace locations in exit text sections 2024-02-14 14:24:06 +11:00
secure_boot.h powerpc: Detect the trusted boot state of the system 2019-11-12 12:25:49 +11:00
security_features.h powerpc/security: Add a helper to query stf_barrier type 2021-10-07 19:52:58 +11:00
secvar.h powerpc/pseries: move the PLPKS config inside its own sysfs directory 2026-01-30 09:27:26 +05:30
serial.h
set_memory.h powerpc: Add __must_check to set_memory_...() 2024-11-06 23:46:26 +11:00
setjmp.h powerpc: Make setjmp/longjmp signature standard 2020-04-01 14:30:51 +11:00
setup.h arch, mm: consolidate initialization of SPARSE memory model 2026-01-26 20:02:18 -08: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/kcsan: Properly instrument arch_spin_unlock() 2023-06-09 23:29:51 +10:00
simple_spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
smp.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
smu.h powerpc/powermac: Add __init attribute to eligible functions 2021-12-23 22:33:14 +11:00
sparsemem.h mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports 2020-11-22 10:48:22 -08:00
spinlock.h powerpc/qspinlock: powerpc qspinlock implementation 2022-12-02 17:48:02 +11:00
spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
spu.h powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
spu_csa.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
spu_info.h
spu_priv1.h powerpc/cell: Remove support for IBM Cell Blades 2025-02-26 21:15:07 +05:30
sstep.h powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static 2024-11-14 14:17:36 +11:00
stackprotector.h stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
stacktrace.h
static_call.h powerpc/static_call: Implement inline static calls 2025-02-26 21:09:43 +05:30
string.h kasan, powerpc: don't rename memintrinsics if compiler adds prefixes 2023-03-23 17:18:33 -07:00
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/83xx: Fix build failure with FPU=n 2024-03-07 23:06:19 +11:00
synch.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscall_wrapper.h powerpc: Don't add __powerpc_ prefix to syscall entry points 2022-10-07 00:59:54 +11:00
syscalls.h powerpc/32: fix syscall wrappers with 64-bit arguments 2022-11-01 10:24:09 +11:00
syscalls_32.h powerpc: Include all arch-specific syscall prototypes 2022-09-28 19:22:08 +10:00
systemcfg.h powerpc: Split systemcfg struct definitions out from vdso 2024-11-02 12:37:36 +01:00
task_size_32.h powerpc/uaccess: Implement masked user access 2026-01-07 09:31:05 +05:30
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
text-patching.h asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
thread_info.h powerpc/64s: do not re-activate batched TLB flush 2026-01-20 19:24:32 -08:00
time.h powerpc/time: Expose boot_tb via accessor 2025-09-22 14:48:56 +05:30
timex.h powerpc: define get_cycles macro for arch-override 2022-05-13 23:59:23 +02:00
tlb.h mm: convert __HAVE_ARCH_TLB_REMOVE_TABLE to CONFIG_HAVE_ARCH_TLB_REMOVE_TABLE config 2026-02-06 15:47:19 -08:00
tlbflush.h
tm.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
topology.h powerpc/smp: Expose die_id and die_cpumask 2025-11-14 11:12:56 +05:30
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
trace_clock.h
tsi108.h
tsi108_irq.h
tsi108_pci.h
types.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
uaccess.h powerpc: fix KUAP warning in VMX usercopy path 2026-03-12 11:03:47 +05:30
udbg.h powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00
uic.h
ultravisor-api.h KVM: PPC: Book3S HV: Support reset of secure guest 2019-11-28 17:02:31 +11:00
ultravisor.h KVM: PPC: Book3S HV: Support reset of secure guest 2019-11-28 17:02:31 +11:00
uninorth.h powerpc: Fix typos 2024-05-08 00:21:30 +10:00
unistd.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
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: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
vdso_datapage.h powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
vermagic.h powerpc/ftrace: Add support for -fpatchable-function-entry 2023-08-22 00:09:06 +10:00
vga.h asm/vga.h: don't bother with scr_mem{cpy,move}v() unless we need to 2024-11-11 21:51:42 +01:00
video.h arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
vio.h driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
vmalloc.h powerpc: Force inlining of arch_vmap_p{u/m}d_supported() 2024-02-15 00:14:05 +11:00
vphn.h powerpc/pseries: Move hcall_vphn() prototype into vphn.h 2023-08-24 22:33:16 +10:00
word-at-a-time.h kernel.h: removed REPEAT_BYTE from kernel.h 2024-02-01 09:47:59 -08:00
xics.h arch/powerpc: Remove unused function icp_native_cause_ipi_rm() 2025-02-24 12:26:21 +05:30
xive-regs.h KVM: PPC: Book3S HV: XIVE: Add support for automatic save-restore 2021-08-10 23:15:02 +10:00
xive.h powerpc/xive: Untangle xive from child interrupt controller drivers 2025-09-06 17:33:18 +05:30
xmon.h powerpc/xmon: Remove SPU debug and disassembly 2025-02-26 21:15:08 +05:30
xor.h
xor_altivec.h lib/xor: make xor prototypes more friendly to compiler vectorization 2022-02-11 20:39:39 +11:00