linux/arch/powerpc/include/asm
Russell Currey 86b6c0ae2c powerpc/secvar: Extend sysfs to include config vars
The forthcoming pseries consumer of the secvar API wants to expose a
number of config variables.  Allowing secvar implementations to provide
their own sysfs attributes makes it easy for consumers to expose what
they need to.

This is not being used by the OPAL secvar implementation at present, and
the config directory will not be created if no attributes are set.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Co-developed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230210080401.345462-11-ajd@linux.ibm.com
2023-02-12 22:12:37 +11:00
..
book3s powerpc/64s: Reconnect tlb_flush() to hash__tlb_flush() 2023-02-02 13:25:47 +11:00
nohash powerpc updates for 6.2 2022-12-19 07:13:33 -06:00
vdso powerpc/64s: Make POWER10 and later use pause_short in cpu_relax loops 2022-09-28 19:22:10 +10:00
8xx_immap.h
accounting.h
agp.h
archrandom.h Bitmap patches for v6.0-rc1 2022-08-07 17:52:35 -07:00
asm-compat.h
asm-const.h
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: Make eh value more explicit when using lwarx 2022-08-10 15:32:20 +10:00
backlight.h
barrier.h powerpc/kcsan: Memory barriers semantics 2023-02-10 22:19:56 +11: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
bug.h powerpc: Fix __WARN_FLAGS() for use with Objtool 2022-11-15 20:11:47 +11:00
bugs.h
cache.h
cacheflush.h
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
cmpxchg.h powerpc: add compile-time support for lbarx, lharx 2022-11-24 23:31:47 +11:00
code-patching-asm.h
code-patching.h powerpc/code-patching: Remove protection against patching init addresses after init 2022-12-02 21:59:57 +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
cpm.h
cpm1.h
cpm2.h
cpu_has_feature.h
cpu_setup.h powerpc/cputable: Move __cpu_setup() prototypes out of cputable.h 2022-09-26 22:26:49 +10:00
cpufeature.h
cpuidle.h
cputable.h powerpc: Change CONFIG_E500 to CONFIG_PPC_E500 2022-09-26 23:00:13 +10:00
cputhreads.h
cputime.h powerpc: remove the last remnants of cputime_t 2022-11-24 23:31:48 +11:00
crashdump-ppc64.h
current.h
dbdma.h
dbell.h
dcr-generic.h
dcr-mmio.h
dcr-native.h
dcr-regs.h
dcr.h
debug.h powerpc: Allow clearing and restoring registers independent of saved breakpoint state 2022-11-30 21:46:48 +11:00
delay.h
device.h
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 powerpc/pseries: Move dtl scanning and steal time accounting to pseries platform 2022-09-05 14:14:27 +10:00
edac.h
eeh_event.h
eeh.h powerpc/eeh: Remove unused inline functions 2022-05-04 21:44:02 +10:00
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
exception-64e.h
exception-64s.h
exec.h
extable.h
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
firmware.h Revert "powerpc: Remove unused FW_FEATURE_NATIVE references" 2022-08-26 08:41:54 +10:00
fixmap.h
floppy.h
fs_pd.h
fsl_gtm.h
fsl_hcalls.h
fsl_lbc.h
fsl_pamu_stash.h
fsl_pm.h
ftrace.h powerpc updates for 6.2 2022-12-19 07:13:33 -06:00
futex.h
grackle.h
hardirq.h
head-64.h
heathrow.h
highmem.h
hmi.h
hugetlb.h powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
hvcall.h powerpc/pseries: Fix the H_CALL error code in PLPKS driver 2022-11-24 23:31:50 +11:00
hvconsole.h
hvcserver.h
hvsi.h
hw_breakpoint.h
hw_irq.h Merge branch 'fixes' into next 2023-02-12 22:11:56 +11:00
hydra.h
i8259.h
ibmebus.h
icswx.h
ide.h
idle.h
imc-pmu.h powerpc/imc-pmu: Fix use of mutex in IRQs disabled section 2023-01-11 18:29:09 +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: Consolidate 32-bit and 64-bit interrupt_enter_prepare 2023-02-10 22:17:35 +11:00
io_event_irq.h
io-defs.h
io-workarounds.h
io.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
iommu.h KVM: PPC: Book3s: Retire H_PUT_TCE/etc real mode handlers 2022-05-19 00:44:01 +10:00
ipic.h
irq_work.h
irq.h powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ 2023-01-30 17:53:05 +11: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
kasan.h powerpc/64e: KASAN Full support for BOOK3E/64 2022-06-29 17:04:15 +10:00
Kbuild
kdebug.h
kdump.h
kexec_ranges.h
kexec.h powerpc: Remove CONFIG_FSL_BOOKE 2022-09-26 22:47:37 +10:00
keylargo.h
kfence.h powerpc/64s: Enable KFENCE on book3s64 2022-09-28 19:22:10 +10:00
kgdb.h powerpc: Change CONFIG_E500 to CONFIG_PPC_E500 2022-09-26 23:00:13 +10:00
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_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 powerpc/kvm: Remove unused references for MMCR3/SIER2/SIER3 registers 2022-11-24 23:31:47 +11:00
kvm_book3s_uvmem.h
kvm_book3s.h KVM: PPC: Book3s HV: Remove unused function kvmppc_bad_interrupt 2022-07-20 22:28:12 +10:00
kvm_booke_hv_asm.h
kvm_booke.h
kvm_fpu.h
kvm_guest.h
kvm_host.h powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
kvm_para.h
kvm_ppc.h KVM: PPC: Book3E: Fix CONFIG_TRACE_IRQFLAGS support 2022-11-30 20:40:17 +11:00
libata-portmap.h
linkage.h powerpc: Override __ALIGN and __ALIGN_STR macros 2022-11-15 20:11:47 +11: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 powerpc/pseries: Add wait interval counter definitions to struct lppaca 2022-09-04 22:39:59 +10:00
lv1call.h
machdep.h powerpc: Cleanup idle for e500 2022-09-26 23:00:14 +10:00
macio.h
mc146818rtc.h
mce.h
mediabay.h
mem_encrypt.h
membarrier.h
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_context.h cxl: Use radix__flush_all_mm instead of generic flush_all_mm 2022-11-30 21:46:48 +11:00
mmu.h powerpc: Ignore DSI error caused by the copy/paste instruction 2022-09-28 22:52:32 +10:00
mmzone.h
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_psc.h
mpc52xx.h powerpc: Remove asm/prom.h from asm/mpc52xx.h and asm/pci.h 2022-07-28 16:22:12 +10:00
mpc85xx.h
mpc5121.h
mpc8260.h
mpic_msgr.h
mpic_timer.h
mpic.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
opal.h powerpc/powernv: remove orphan declarations from opal.h 2022-09-15 22:55:46 +10:00
paca.h powerpc/64: Move paca allocation to early_setup() 2023-02-10 22:19:56 +11:00
page_32.h
page_64.h
page.h powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
paravirt_api_clock.h powerpc/pseries: Implement CONFIG_PARAVIRT_TIME_ACCOUNTING 2022-09-05 14:14:02 +10:00
paravirt.h powerpc/pseries: Implement CONFIG_PARAVIRT_TIME_ACCOUNTING 2022-09-05 14:14:02 +10: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: Add option for using pci_to_OF_bus_map 2023-02-07 20:15:23 +11:00
pci.h powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
percpu.h
perf_event_fsl_emb.h
perf_event_server.h
perf_event.h
pgalloc.h
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-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: remove kern_addr_valid() completely 2022-11-08 17:37:18 -08:00
pkeys.h
plpar_wrappers.h powerpc/irq: Replace #ifdefs by IS_ENABLED() 2022-06-29 16:57:09 +10:00
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
pmi.h
pnv-ocxl.h
pnv-pci.h powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
powernv.h
ppc_asm.h powerpc/64: Add interrupt register sanitisation macros 2022-12-02 20:45:57 +11:00
ppc-opcode.h powerpc: add ISA v3.0 / v3.1 wait opcode macro 2022-09-28 19:22:10 +10:00
ppc-pci.h
ppc4xx.h
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: split validate_sp into two functions 2022-12-02 17:54:09 +11:00
prom.h powerpc: export the CPU node count 2022-12-07 20:14:49 +11:00
ps3.h powerpc/ps3: mark ps3_system_bus_type static 2022-11-30 21:46:47 +11: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: remove STACK_FRAME_OVERHEAD 2022-12-02 17:54:09 +11: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
reg_a2.h
reg_booke.h powerpc: Change CONFIG_E500 to CONFIG_PPC_E500 2022-09-26 23:00:13 +10:00
reg_fsl_emb.h
reg.h KVM: PPC: Book3S HV: Update LPID allocator init for POWER9, Nested 2022-05-13 21:33:33 +10:00
rheap.h
rio.h
rtas-types.h powerpc/rtas: remove lock and args fields from global rtas struct 2023-01-30 17:53:05 +11:00
rtas.h powerpc/rtas: document rtas_call() 2022-12-07 22:20:33 +11:00
runlatch.h powerpc/64s: Fix irq state management in runlatch functions 2022-09-28 19:22:11 +10:00
seccomp.h
sections.h powerpc/vmlinux.lds: Add an explicit symbol for the SRWX boundary 2022-09-26 20:58:16 +10:00
secure_boot.h
security_features.h
secvar.h powerpc/secvar: Extend sysfs to include config vars 2023-02-12 22:12:37 +11:00
serial.h
set_memory.h
setjmp.h
setup.h powerpc: Add hardware description string 2022-09-30 18:35:52 +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_types.h
simple_spinlock.h powerpc: Fix eh field when calling lwarx on PPC32 2022-08-10 15:27:44 +10:00
smp.h powerpc/64: Move paca allocation to early_setup() 2023-02-10 22:19:56 +11:00
smu.h
sparsemem.h
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
spu_info.h
spu_priv1.h
spu.h
sstep.h
stackprotector.h stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
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: 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
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
thread_info.h powerpc/kasan: Force thread size increase with KASAN 2022-06-02 22:56:47 +10:00
time.h powerpc/pseries: Move dtl scanning and steal time accounting to pseries platform 2022-09-05 14:14:27 +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_clock.h
trace.h
tsi108_irq.h
tsi108_pci.h
tsi108.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/udbg: Remove extern function prototypes 2022-09-28 19:22:14 +10:00
uic.h
ultravisor-api.h
ultravisor.h
uninorth.h
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
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
vdso.h powerpc/vdso: Don't map VDSO at a fixed address on PPC32 2022-08-22 13:36:59 +10:00
vermagic.h
vga.h
vio.h
vmalloc.h
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: remove unused xics_ipi_dispatch() declaration 2022-09-15 22:55:46 +10:00
xive-regs.h
xive.h
xmon.h
xor_altivec.h
xor.h