1
linux/arch/powerpc/include/asm
Linus Torvalds c2a96b7f18 Driver core changes for 6.11-rc1
Here is the big set of driver core changes for 6.11-rc1.
 
 Lots of stuff in here, with not a huge diffstat, but apis are evolving
 which required lots of files to be touched.  Highlights of the changes
 in here are:
   - platform remove callback api final fixups (Uwe took many releases to
     get here, finally!)
   - Rust bindings for basic firmware apis and initial driver-core
     interactions.  It's not all that useful for a "write a whole driver
     in rust" type of thing, but the firmware bindings do help out the
     phy rust drivers, and the driver core bindings give a solid base on
     which others can start their work.  There is still a long way to go
     here before we have a multitude of rust drivers being added, but
     it's a great first step.
   - driver core const api changes.  This reached across all bus types,
     and there are some fix-ups for some not-common bus types that
     linux-next and 0-day testing shook out.  This work is being done to
     help make the rust bindings more safe, as well as the C code, moving
     toward the end-goal of allowing us to put driver structures into
     read-only memory.  We aren't there yet, but are getting closer.
   - minor devres cleanups and fixes found by code inspection
   - arch_topology minor changes
   - other minor driver core cleanups
 
 All of these have been in linux-next for a very long time with no
 reported problems.
 
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCZqH+aQ8cZ3JlZ0Brcm9h
 aC5jb20ACgkQMUfUDdst+ymoOQCfVBdLcBjEDAGh3L8qHRGMPy4rV2EAoL/r+zKm
 cJEYtJpGtWX6aAtugm9E
 =ZyJV
 -----END PGP SIGNATURE-----

Merge tag 'driver-core-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core updates from Greg KH:
 "Here is the big set of driver core changes for 6.11-rc1.

  Lots of stuff in here, with not a huge diffstat, but apis are evolving
  which required lots of files to be touched. Highlights of the changes
  in here are:

   - platform remove callback api final fixups (Uwe took many releases
     to get here, finally!)

   - Rust bindings for basic firmware apis and initial driver-core
     interactions.

     It's not all that useful for a "write a whole driver in rust" type
     of thing, but the firmware bindings do help out the phy rust
     drivers, and the driver core bindings give a solid base on which
     others can start their work.

     There is still a long way to go here before we have a multitude of
     rust drivers being added, but it's a great first step.

   - driver core const api changes.

     This reached across all bus types, and there are some fix-ups for
     some not-common bus types that linux-next and 0-day testing shook
     out.

     This work is being done to help make the rust bindings more safe,
     as well as the C code, moving toward the end-goal of allowing us to
     put driver structures into read-only memory. We aren't there yet,
     but are getting closer.

   - minor devres cleanups and fixes found by code inspection

   - arch_topology minor changes

   - other minor driver core cleanups

  All of these have been in linux-next for a very long time with no
  reported problems"

* tag 'driver-core-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (55 commits)
  ARM: sa1100: make match function take a const pointer
  sysfs/cpu: Make crash_hotplug attribute world-readable
  dio: Have dio_bus_match() callback take a const *
  zorro: make match function take a const pointer
  driver core: module: make module_[add|remove]_driver take a const *
  driver core: make driver_find_device() take a const *
  driver core: make driver_[create|remove]_file take a const *
  firmware_loader: fix soundness issue in `request_internal`
  firmware_loader: annotate doctests as `no_run`
  devres: Correct code style for functions that return a pointer type
  devres: Initialize an uninitialized struct member
  devres: Fix memory leakage caused by driver API devm_free_percpu()
  devres: Fix devm_krealloc() wasting memory
  driver core: platform: Switch to use kmemdup_array()
  driver core: have match() callback in struct bus_type take a const *
  MAINTAINERS: add Rust device abstractions to DRIVER CORE
  device: rust: improve safety comments
  MAINTAINERS: add Danilo as FIRMWARE LOADER maintainer
  MAINTAINERS: add Rust FW abstractions to FIRMWARE LOADER
  firmware: rust: improve safety comments
  ...
2024-07-25 10:42:22 -07:00
..
book3s powerpc/64s: use contiguous PMD/PUD instead of HUGEPD 2024-07-12 15:52:19 -07:00
nohash - 875fa64577da ("mm/hugetlb_vmemmap: fix race with speculative PFN 2024-07-21 17:15:46 -07: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
archrandom.h
asm-compat.h
asm-const.h
asm-offsets.h
asm-prototypes.h
asm.h
async_tx.h
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
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
btext.h
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
cell-regs.h
checksum.h
clocksource.h
cmpxchg.h locking/arch: Rename all internal __xchg() names to __arch_xchg() 2023-04-29 09:08:44 +02:00
code-patching-asm.h
code-patching.h powerpc/code-patching: introduce patch_instructions() 2023-10-23 20:33:19 +11:00
compat.h
context_tracking.h
copro.h
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
cpm.h
cpu_has_feature.h powerpc: Check only single values are passed to CPU/MMU feature checks 2024-07-11 17:31:55 +10:00
cpu_setup.h
cpufeature.h
cpuidle.h
cputable.h powerpc: Remove core support for 40x 2024-06-28 22:28:47 +10:00
cputhreads.h
cputime.h sched/vtime: Get rid of generic vtime_task_switch() implementation 2024-04-17 13:37:20 +02: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
delay.h
device.h
disassemble.h
dma-direct.h
dma.h
drmem.h
dt_cpu_ftrs.h
dtl.h powerpc/pseries: Move hcall_vphn() prototype into vphn.h 2023-08-24 22:33:16 +10:00
edac.h
eeh_event.h
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
emergency-restart.h
emulated_ops.h
epapr_hcalls.h
exception-64e.h
exception-64s.h
exec.h
extable.h
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
fixmap.h powerpc: Untangle fixmap.h and pgtable.h and mmu.h 2023-10-19 17:12:44 +11:00
floppy.h
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
fsl_pm.h
ftrace.h function_graph: Everyone uses HAVE_FUNCTION_GRAPH_RET_ADDR_PTR, remove it 2024-06-11 11:18:24 -04:00
futex.h
grackle.h
guest-state-buffer.h KVM: PPC: Book3S HV nestedv2: Add DPDES support in helper library for Guest state buffer 2024-06-06 22:38:10 +10:00
hardirq.h
head-64.h
heathrow.h
highmem.h
hmi.h
hugetlb.h powerpc/mm: remove hugepd leftovers 2024-07-12 15:52:19 -07: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
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
i8259.h
ibmebus.h powerpc: ibmebus: make ibmebus_bus_type const 2024-02-15 00:14:06 +11:00
icswx.h
idle.h
imc-pmu.h powerpc: Annotate endianness of various variables and functions 2023-10-19 17:12:47 +11:00
immap_cpm2.h
inst.h
interrupt.h powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt. 2024-04-15 12:55:48 +10:00
io_event_irq.h
io-defs.h
io-workarounds.h
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
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
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
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_book3s_32.h
kvm_book3s_64.h KVM: PPC: Book3S HV nestedv2: Add support for reading VPA counters for pseries guests 2024-06-03 22:06:28 +10:00
kvm_book3s_asm.h
kvm_book3s_uvmem.h
kvm_book3s.h KVM: PPC: Book3S HV nestedv2: Add DPDES support in helper library for Guest state buffer 2024-06-06 22:38:10 +10:00
kvm_booke_hv_asm.h
kvm_booke.h KVM: PPC: Introduce FPR/VR accessor functions 2023-09-14 22:04:23 +10:00
kvm_fpu.h
kvm_guest.h
kvm_host.h ARM: 2024-07-20 12:41:03 -07:00
kvm_para.h
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
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
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
mce.h
mediabay.h
mem_encrypt.h
membarrier.h
mman.h
mmiowb.h
mmu_context.h powerpc/64s: Use dec_mm_active_cpus helper 2023-08-02 22:22:18 +10:00
mmu.h powerpc: Check only single values are passed to CPU/MMU feature checks 2024-07-11 17:31:55 +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
mpc5xxx.h
mpc6xx.h
mpc52xx_psc.h
mpc52xx.h powerpc: Drop MPC5200 LocalPlus bus FIFO driver 2023-05-15 23:25:56 +10:00
mpc85xx.h
mpc5121.h
mpic_msgr.h
mpic_timer.h
mpic.h powerpc: mpic: make mpic_subsys const 2024-02-15 00:14:06 +11:00
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: 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
page.h powerpc/mm: remove hugepd leftovers 2024-07-12 15:52:19 -07: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
paravirt.h powerpc/sched: Cleanup vcpu_is_preempted() 2023-12-15 13:50:39 +11:00
parport.h
pasemi_dma.h
pci-bridge.h
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
perf_event_server.h powerpc/perf: Set cpumode flags using sample address 2024-06-17 22:47:16 +10:00
perf_event.h
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/mm: remove hugepd leftovers 2024-07-12 15:52:19 -07:00
pgtable.h powerpc/8xx: rework support for 8M pages using contiguous PTE entries 2024-07-12 15:52:17 -07:00
pkeys.h
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
pmac_pfunc.h
pmc.h
pmi.h
pnv-ocxl.h
pnv-pci.h
powernv.h
ppc4xx.h
ppc_asm.h powerpc: Replace CONFIG_4xx with CONFIG_44x 2024-06-28 22:28:48 +10:00
ppc-opcode.h powerpc64/bpf: jit support for signed division and modulo 2024-07-11 15:40:21 +10:00
ppc-pci.h powerpc/pseries/iommu: DLPAR add doesn't completely initialize pci_controller 2024-02-19 16:16:34 +11:00
probes.h
processor.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
prom.h
ps3.h driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
ps3av.h
ps3gpu.h
ps3stor.h
pte-walk.h
ptrace.h powerpc/4xx: Remove CONFIG_BOOKE_OR_40x 2024-06-28 22:28:48 +10:00
qspinlock_types.h
qspinlock.h
reg_8xx.h
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
rio.h
rtas-types.h
rtas-work-area.h
rtas.h powerpc/rtas: use correct function name for resetting TCE tables 2024-02-23 17:21:12 +11:00
runlatch.h
seccomp.h
sections.h powerpc/ftrace: Ignore ftrace locations in exit text sections 2024-02-14 14:24:06 +11:00
secure_boot.h
security_features.h
secvar.h
serial.h
set_memory.h powerpc: Implement set_memory_rox() 2024-02-22 21:55:33 +11:00
setjmp.h
setup.h powerpc: Drop zalloc_maybe_bootmem() 2023-08-24 22:33:16 +10:00
sfp-machine.h
shmparam.h
signal.h
simple_spinlock_types.h
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
sparsemem.h
spinlock_types.h
spinlock.h
spu_csa.h
spu_info.h
spu_priv1.h
spu.h
sstep.h
stackprotector.h
stacktrace.h
static_call.h
string.h
svm.h
swab.h
swiotlb.h
switch_to.h powerpc/83xx: Fix build failure with FPU=n 2024-03-07 23:06:19 +11:00
synch.h
syscall_wrapper.h
syscall.h
syscalls_32.h
syscalls.h
task_size_32.h
task_size_64.h
tce.h
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
tlb.h mm/mmu_gather: add tlb_remove_tlb_entries() 2024-02-22 15:27:17 -08:00
tlbflush.h
tm.h
topology.h powerpc: Add HOTPLUG_SMT support 2023-08-02 22:49:43 +10:00
trace_clock.h
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
tsi108_irq.h
tsi108_pci.h
tsi108.h
types.h
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
ultravisor-api.h
ultravisor.h
uninorth.h powerpc: Fix typos 2024-05-08 00:21:30 +10:00
unistd.h clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
uprobes.h
user.h
vas.h
vdso_datapage.h
vdso.h
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 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
xive-regs.h
xive.h
xmon.h
xor_altivec.h
xor.h