linux/arch/powerpc/include/asm
Hari Bathini 353d7a84c2 powerpc/64s/radix/kfence: map __kfence_pool at page granularity
When KFENCE is enabled, total system memory is mapped at page level
granularity. But in radix MMU mode, ~3GB additional memory is needed
to map 100GB of system memory at page level granularity when compared
to using 2MB direct mapping.This is not desired considering KFENCE is
designed to be enabled in production kernels [1].

Mapping only the memory allocated for KFENCE pool at page granularity is
sufficient to enable KFENCE support. So, allocate __kfence_pool during
bootup and map it at page granularity instead of mapping all system
memory at page granularity.

Without patch:
  # cat /proc/meminfo
  MemTotal:       101201920 kB

With patch:
  # cat /proc/meminfo
  MemTotal:       104483904 kB

Note that enabling KFENCE at runtime is disabled for radix MMU for now,
as it depends on the ability to split page table mappings and such APIs
are not currently implemented for radix MMU.

All kfence_test.c testcases passed with this patch.

[1] https://lore.kernel.org/all/20201103175841.3495947-2-elver@google.com/

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240701130021.578240-1-hbathini@linux.ibm.com
2024-07-04 21:55:18 +10:00
..
book3s mm/treewide: remove pXd_huge() 2024-04-25 20:55:47 -07:00
nohash powerpc: Remove core support for 40x 2024-06-28 22:28:47 +10:00
vdso vdso: Consolidate vdso_calc_delta() 2024-04-08 15:03:06 +02:00
8xx_immap.h powerpc/include: Declare mpc8xx_immr in 8xx_immap.h 2023-08-16 23:54:47 +10:00
accounting.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07: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/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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33 2019-05-24 17:27:11 +02:00
atomic.h locking/atomic: make atomic*_{cmp,}xchg optional 2023-06-05 09:57:14 +02:00
backlight.h arch/powerpc: Remove <linux/fb.h> from backlight code 2024-03-07 13:34:14 +01:00
barrier.h powerpc/kcsan: Memory barriers semantics 2023-02-10 22:19:56 +11:00
bitops.h powerpc: implement arch_xor_unlock_is_negative_byte on 32-bit 2023-10-18 14:34:17 -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 powerpc/kuap: Simplify KUAP lock/unlock on BOOK3S/32 2023-08-02 22:22:18 +10:00
cache.h powerpc: move the ARCH_DMA_MINALIGN definition to asm/cache.h 2023-06-19 16:19:24 -07:00
cacheflush.h powerpc: Replace CONFIG_4xx with CONFIG_44x 2024-06-28 22:28:48 +10:00
cell-pmu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
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/arch: Rename all internal __xchg() names to __arch_xchg() 2023-04-29 09:08:44 +02:00
code-patching-asm.h powerpc/asm: Add a patch_site macro & helpers for patching instructions 2018-08-08 00:32:25 +10:00
code-patching.h powerpc/code-patching: introduce patch_instructions() 2023-10-23 20:33:19 +11: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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07: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: Add static_key_feature_checks_initialized flag 2024-04-15 12:53:39 +10:00
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/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
cputable.h powerpc: Remove core support for 40x 2024-06-28 22:28:47 +10:00
cputhreads.h powerpc: remove cpu_online_cores_map function 2021-11-29 22:48:32 +11:00
cputime.h sched/vtime: Get rid of generic vtime_task_switch() implementation 2024-04-17 13:37:20 +02:00
crashdump-ppc64.h powerpc/kexec_file: Setup backup region for kdump kernel 2020-07-29 23:47:54 +10:00
current.h powerpc/64: allow compiler to cache 'current' 2019-08-20 21:22:15 +10:00
dbdma.h
dbell.h powerpc: Inline doorbell sending functions 2020-07-29 21:02:09 +10:00
dcr-generic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
dcr-mmio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
dcr-native.h powerpc/4xx: Fix build errors from mfdcr() 2021-03-01 12:33:31 +11:00
dcr-regs.h
dcr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
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 powerpc/papr_scm: Add perf interface support 2022-03-09 17:50:50 -08:00
disassemble.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 266 2019-06-05 17:30:28 +02:00
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 powerpc: clean inclusions of asm/feature-fixups.h 2018-07-30 22:48:17 +10:00
dtl.h powerpc/pseries: Move hcall_vphn() prototype into vphn.h 2023-08-24 22:33:16 +10:00
edac.h
eeh_event.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
eeh.h powerpc/eeh: Fix spelling of the word "auxillary" and update comment 2024-05-08 00:16:02 +10:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
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: setup additional parameters for dump capture kernel 2024-05-10 16:36:10 +10:00
fadump.h powerpc/fadump: pass additional parameters when fadump is active 2024-05-10 16:36:10 +10:00
feature-fixups.h powerpc: Add static_key_feature_checks_initialized flag 2024-04-15 12:53:39 +10:00
firmware.h powerpc/pseries: Add FW_FEATURE_PLPKS feature flag 2023-04-20 13:21:46 +10:00
fixmap.h powerpc: Untangle fixmap.h and pgtable.h and mmu.h 2023-10-19 17:12:44 +11:00
floppy.h powerpc/floppy: Remove usage of the deprecated "pci-dma-compat.h" API 2022-01-04 16:00:59 +11:00
fpu.h powerpc: implement ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:18 -07:00
fsl_gtm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
fsl_hcalls.h
fsl_lbc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ftrace.h powerpc/ftrace: Ignore ftrace locations in exit text sections 2024-02-14 14:24:06 +11:00
futex.h powerpc/futex: Switch to user_access block 2021-03-26 23:19:43 +11:00
grackle.h
guest-state-buffer.h KVM: PPC: Add support for nestedv2 guests 2023-09-14 22:04:24 +10:00
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/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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114 2019-05-24 17:39:01 +02:00
hugetlb.h powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
hvcall.h powerpc/pseries: Enforce hcall result buffer validity and size 2024-04-29 23:51:16 +10:00
hvconsole.h tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
hvcserver.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
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/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +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 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/64: Drop ppc_inst_as_str() 2022-06-29 19:37:07 +10:00
interrupt.h powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt. 2024-04-15 12:55:48 +10:00
io_event_irq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
io-defs.h
io-workarounds.h powerpc/mm: rework io-workaround invocation. 2019-08-27 13:03:34 +10:00
io.h powerpc: Fix typos 2024-05-08 00:21:30 +10:00
iommu.h powerpc/iommu: Reimplement the iommu_table_group_ops for pSeries 2024-06-28 17:03:40 +10:00
ipic.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
irq_work.h arch: consolidate arch_irq_work_raise prototypes 2023-11-23 11:32:29 +01:00
irq.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
irqflags.h powerpc/64: Remove asm interrupt tracing call helpers 2022-12-02 17:54:07 +11:00
isa-bridge.h
jump_label.h work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
kasan.h powerpc: use CONFIG_EXECMEM instead of CONFIG_MODULES where appropriate 2024-05-14 00:31:44 -07:00
Kbuild sched/vtime: Do not include <asm/vtime.h> header 2024-04-17 13:37:23 +02:00
kdebug.h
kdump.h
kexec_ranges.h powerpc/crash: add crash memory hotplug support 2024-04-23 15:00:04 +10:00
kexec.h powerpc/kexec_file: fix extra size calculation for kexec FDT 2024-06-17 22:48:45 +10:00
keylargo.h
kfence.h powerpc/64s/radix/kfence: map __kfence_pool at page granularity 2024-07-04 21:55:18 +10:00
kgdb.h powerpc: Change CONFIG_E500 to CONFIG_PPC_E500 2022-09-26 23:00:13 +10:00
kprobes.h kprobes: unify kprobes_exceptions_nofify() prototypes 2023-11-10 19:59:05 +09:00
kup.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +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_32.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 266 2019-06-05 17:30:28 +02:00
kvm_book3s_64.h KVM: PPC: Book3S HV nestedv2: Register the VPA with the L0 2023-12-07 23:33:08 +11:00
kvm_book3s_asm.h powerpc/kvm: Remove unused references for MMCR3/SIER2/SIER3 registers 2022-11-24 23:31:47 +11:00
kvm_book3s_uvmem.h KVM: PPC: Book3S HV: Migrate hot plugged memory 2020-07-28 12:34:52 +10:00
kvm_book3s.h KVM: PPC: Book3S HV nestedv2: Avoid reloading the tb offset 2023-12-07 23:33:07 +11:00
kvm_booke_hv_asm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
kvm_booke.h KVM: PPC: Introduce FPR/VR accessor functions 2023-09-14 22:04:23 +10:00
kvm_fpu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 266 2019-06-05 17:30:28 +02:00
kvm_guest.h powerpc/kernel: Add __init attribute to eligible functions 2021-12-23 22:33:10 +11:00
kvm_host.h Merge branch 'kvm-guestmemfd' into HEAD 2023-11-14 08:31:31 -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 KVM: delete .change_pte MMU notifier callback 2024-04-11 13:18:27 -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 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT 2023-08-24 22:33:17 +10:00
lv1call.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
machdep.h powerpc/machdep: Define 'compatibles' property in ppc_md and use it 2024-03-03 22:20:29 +11:00
macio.h powerpc/macio: Make remove callback of macio driver void returned 2024-03-07 23:06:19 +11:00
mc146818rtc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
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 arch: Remove dummy mmiowb() definitions from arch code 2019-04-08 12:09:27 +01:00
mmu_context.h powerpc/64s: Use dec_mm_active_cpus helper 2023-08-02 22:22:18 +10:00
mmu.h powerpc: Remove core support for 40x 2024-06-28 22:28:47 +10:00
mmzone.h powerpc/mm: Fix build failures due to arch_reserved_kernel_pages() 2023-12-01 21:15:33 +11:00
module.h powerpc/module: Remove arch specific module bug stuff 2024-05-03 20:46:51 +10:00
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_psc.h
mpc52xx.h powerpc: Drop MPC5200 LocalPlus bus FIFO driver 2023-05-15 23:25:56 +10:00
mpc85xx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40 2019-05-24 17:27:12 +02:00
mpc5121.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 449 2019-06-05 17:37:18 +02:00
mpic_msgr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
mpic_timer.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpic.h powerpc: mpic: make mpic_subsys const 2024-02-15 00:14:06 +11:00
msi_bitmap.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
nmi.h powerpc: move arch_trigger_cpumask_backtrace from nmi.h to irq.h 2023-06-23 17:04:04 -07:00
nvram.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ohare.h
opal-api.h powerpc: Fix typos 2024-05-08 00:21:30 +10:00
opal.h tty: hvc: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
paca.h powerpc: Remove duplicate/unnecessary ifdefs 2024-02-21 15:15:40 +11:00
page_32.h powerpc: move the ARCH_DMA_MINALIGN definition to asm/cache.h 2023-06-19 16:19:24 -07:00
page_64.h mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00
page.h arch: simplify architecture specific page size configuration 2024-03-06 19:29:03 +01:00
papr-sysparm.h powerpc/pseries/papr-sysparm: use u8 arrays for payloads 2024-02-05 17:01:25 +11:00
paravirt_api_clock.h powerpc/pseries: Implement CONFIG_PARAVIRT_TIME_ACCOUNTING 2022-09-05 14:14:02 +10:00
paravirt.h powerpc/sched: Cleanup vcpu_is_preempted() 2023-12-15 13:50:39 +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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
pci-bridge.h powerpc/iommu: Add iommu_ops to report capabilities and allow blocking domains 2023-03-15 00:51:46 +11:00
pci.h powerpc: Remove file parameter from phys_mem_access_prot() 2023-11-06 15:21:33 +11:00
percpu.h powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt. 2024-04-15 12:55:48 +10:00
perf_event_fsl_emb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
perf_event_server.h powerpc/perf: Set cpumode flags using sample address 2024-06-17 22:47:16 +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
pgalloc.h powerpc: add pte_free_defer() for pgtables sharing page 2023-08-18 10:12:23 -07:00
pgtable-be-types.h powerpc: Rely on generic definition of hugepd_t and is_hugepd when unused 2022-09-26 20:58:18 +10:00
pgtable-masks.h powerpc: Support execute-only on all powerpc 2023-10-19 17:12:47 +11:00
pgtable-types.h powerpc: Rely on generic definition of hugepd_t and is_hugepd when unused 2022-09-26 20:58:18 +10:00
pgtable.h mm/treewide: drop pXd_large() 2024-03-06 13:04:19 -08:00
pkeys.h powerpc/pkeys: Remove unused code 2021-02-09 01:09:44 +11:00
plpar_wrappers.h powerpc/pseries: Remove unused cede related functions 2024-06-03 12:39:12 +10:00
plpks.h powerpc/pseries: make max polling consistent for longer H_CALLs 2024-04-22 23:37:51 +10:00
pmac_feature.h powerpc: Fix typos 2024-05-08 00:21:30 +10:00
pmac_low_i2c.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pmac_pfunc.h powerpc/powermac: Move pmac_pfunc_base_install prototype to header file 2018-05-25 12:04:41 +10:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
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 powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
ppc_asm.h powerpc: Replace CONFIG_4xx with CONFIG_44x 2024-06-28 22:28:48 +10:00
ppc-opcode.h powerpc/bpf/32: Fix failing test_bpf tests 2024-05-07 22:17:02 +10:00
ppc-pci.h powerpc/pseries/iommu: DLPAR add doesn't completely initialize pci_controller 2024-02-19 16:16:34 +11:00
ppc4xx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40 2019-05-24 17:27:12 +02: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/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
prom.h powerpc: export the CPU node count 2022-12-07 20:14:49 +11:00
ps3.h powerpc/ps3: move udbg_shutdown_ps3gelic prototype 2023-11-21 12:06:50 +11:00
ps3av.h powerpc/ps3: remove orphan declarations from ps3av.h 2022-09-15 22:55:46 +10:00
ps3gpu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
ps3stor.h powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
pte-walk.h powerpc: Remove find_current_mm_pte() 2022-11-24 23:12:18 +11:00
ptrace.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
qspinlock_types.h powerpc/qspinlock: provide accounting and options for sleepy locks 2022-12-02 17:48:50 +11:00
qspinlock.h powerpc/qspinlock: add compile-time tuning adjustments 2022-12-02 17:48:50 +11:00
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: Remove core support for 40x 2024-06-28 22:28:47 +10:00
reg_fsl_emb.h powerpc/fsl: Fix mfpmr() asm constraint error 2024-03-07 00:13:28 +11:00
reg.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
rheap.h powerpc: Add missing prototype 2018-05-25 12:04:43 +10:00
rio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
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/rtas: use correct function name for resetting TCE tables 2024-02-23 17:21:12 +11:00
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/secvar: Allow backend to populate static list of variable names 2023-02-12 22:12:37 +11:00
serial.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
set_memory.h powerpc: Implement set_memory_rox() 2024-02-22 21:55:33 +11:00
setjmp.h powerpc: Make setjmp/longjmp signature standard 2020-04-01 14:30:51 +11:00
setup.h powerpc: Drop zalloc_maybe_bootmem() 2023-08-24 22:33:16 +10:00
sfp-machine.h powerpc/math-emu: Update macros from GCC 2018-12-04 19:45:01 +11:00
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_types.h locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h 2021-12-07 15:14:12 +01:00
simple_spinlock.h powerpc/kcsan: Properly instrument arch_spin_unlock() 2023-06-09 23:29:51 +10:00
smp.h powerpc/smp: Remap boot CPU onto core 0 if >= nr_cpu_ids 2024-02-15 00:14:05 +11:00
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_types.h powerpc/qspinlock: powerpc qspinlock implementation 2022-12-02 17:48:02 +11:00
spinlock.h powerpc/qspinlock: powerpc qspinlock implementation 2022-12-02 17:48:02 +11:00
spu_csa.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
spu_info.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
spu_priv1.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
spu.h powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
sstep.h powerpc/inst: Define ppc_inst_t 2021-12-09 22:41:21 +11:00
stackprotector.h stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
stacktrace.h powerpc: Add show_user_instructions() 2018-08-08 00:32:30 +10:00
static_call.h static_call: Properly initialise DEFINE_STATIC_CALL_RET0() 2022-04-05 09:59:38 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
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: Change CONFIG_E500 to CONFIG_PPC_E500 2022-09-26 23:00:13 +10:00
syscall_wrapper.h powerpc: Don't add __powerpc_ prefix to syscall entry points 2022-10-07 00:59:54 +11:00
syscall.h powerpc: Provide syscall wrapper 2022-09-28 19:22:09 +10:00
syscalls_32.h powerpc: Include all arch-specific syscall prototypes 2022-09-28 19:22:08 +10:00
syscalls.h powerpc/32: fix syscall wrappers with 64-bit arguments 2022-11-01 10:24:09 +11:00
task_size_32.h powerpc: Avoid circular header inclusion in mmu-hash.h 2019-02-23 22:31:39 +11:00
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
thread_info.h powerpc/kasan: Limit KASAN thread size increase to 32KB 2024-02-14 14:24:06 +11:00
time.h powerpc: Remove core support for 40x 2024-06-28 22:28:47 +10:00
timex.h powerpc: define get_cycles macro for arch-override 2022-05-13 23:59:23 +02:00
tlb.h mm/mmu_gather: add tlb_remove_tlb_entries() 2024-02-22 15:27:17 -08:00
tlbflush.h powerpc: split asm/tlbflush.h 2018-07-30 22:48:21 +10:00
tm.h powerpc: Export tm_enable()/tm_disable/tm_abort() APIs 2018-05-24 16:04:02 +10:00
topology.h powerpc: Add HOTPLUG_SMT support 2023-08-02 22:49:43 +10:00
trace_clock.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
tsi108_irq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
tsi108_pci.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
tsi108.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
types.h powerpc: Finalise cleanup around ABI use 2022-05-19 23:11:29 +10:00
uaccess.h powerpc/uaccess: Use YZ asm constraint for ld 2024-05-30 22:57:27 +10:00
udbg.h powerpc: Remove core support for 40x 2024-06-28 22:28:47 +10:00
uic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
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: Use generic fallocate compatibility syscall 2022-09-26 23:00:15 +10: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_datapage.h powerpc/vdso: Add support for time namespaces 2021-04-14 23:04:44 +10:00
vdso.h powerpc/vdso: Don't map VDSO at a fixed address on PPC32 2022-08-22 13:36:59 +10:00
vermagic.h powerpc/ftrace: Add support for -fpatchable-function-entry 2023-08-22 00:09:06 +10:00
vga.h
video.h arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
vio.h powerpc: vio: make vio_bus_type const 2024-02-15 00:14:06 +11: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 powerpc/sysdev: remove unused xics_ipi_dispatch() declaration 2022-09-15 22:55:46 +10: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_altivec.h lib/xor: make xor prototypes more friendly to compiler vectorization 2022-02-11 20:39:39 +11:00
xor.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00