[PATCH 0/2] powerpc: Fix a whole bunch of spelling mistakes

Link Mauve
2026-04-21T12:14:39Z

I’ve done this using the typos tool[1]. It is a one-off as I don’t
expect typos to accumulate too much, but maybe we could setup a periodic
run of this tool? Future versions will likely catch more mistakes for
instance.

I’ve manually reviewed every single one of these changes, but mistakes
can obviously happen with these automated tools so it might be sensible
to review them thoroughly anyway.

I’ve also tested that this kernel builds and boots on a Wii.

[1] https://github.com/crate-ci/typos

Link Mauve (2):
powerpc: Add a typos.toml file
powerpc: Run typos -w

arch/powerpc/boot/crt0.S | 2 +-
arch/powerpc/boot/dts/fsl/ppa8548.dts | 2 +-
arch/powerpc/boot/dts/kuroboxHD.dts | 2 +-
arch/powerpc/boot/dts/kuroboxHG.dts | 2 +-
arch/powerpc/boot/dts/mgcoge.dts | 2 +-
arch/powerpc/boot/dts/mpc8308_p1m.dts | 4 +-
arch/powerpc/boot/rs6000.h | 4 +-
arch/powerpc/crypto/aes-gcm-p10.S | 6 +-
arch/powerpc/crypto/aes-spe-glue.c | 2 +-
arch/powerpc/crypto/aesp10-ppc.pl | 2 +-
arch/powerpc/crypto/ghashp10-ppc.pl | 2 +-
arch/powerpc/include/asm/book3s/64/hash-64k.h | 6 +-
arch/powerpc/include/asm/book3s/64/mmu-hash.h | 12 +-
arch/powerpc/include/asm/book3s/64/radix.h | 2 +-
arch/powerpc/include/asm/cpm1.h | 2 +-
arch/powerpc/include/asm/cpm2.h | 2 +-
arch/powerpc/include/asm/cputable.h | 2 +-
arch/powerpc/include/asm/delay.h | 2 +-
arch/powerpc/include/asm/epapr_hcalls.h | 2 +-
arch/powerpc/include/asm/fsl_hcalls.h | 4 +-
arch/powerpc/include/asm/head-64.h | 4 +-
arch/powerpc/include/asm/heathrow.h | 2 +-
arch/powerpc/include/asm/highmem.h | 2 +-
arch/powerpc/include/asm/io.h | 4 +-
arch/powerpc/include/asm/kvm_booke.h | 2 +-
arch/powerpc/include/asm/machdep.h | 2 +-
arch/powerpc/include/asm/mediabay.h | 2 +-
arch/powerpc/include/asm/mpic.h | 2 +-
arch/powerpc/include/asm/mpic_msgr.h | 2 +-
arch/powerpc/include/asm/nohash/32/mmu-8xx.h | 2 +-
arch/powerpc/include/asm/nohash/32/pte-8xx.h | 2 +-
arch/powerpc/include/asm/nohash/mmu-e500.h | 2 +-
arch/powerpc/include/asm/page_64.h | 2 +-
arch/powerpc/include/asm/paravirt.h | 2 +-
arch/powerpc/include/asm/pci-bridge.h | 4 +-
arch/powerpc/include/asm/pmac_feature.h | 4 +-
arch/powerpc/include/asm/ppc_asm.h | 2 +-
arch/powerpc/include/asm/prom.h | 4 +-
arch/powerpc/include/asm/ps3.h | 2 +-
arch/powerpc/include/asm/ps3av.h | 2 +-
arch/powerpc/include/asm/reg.h | 2 +-
arch/powerpc/include/asm/reg_booke.h | 2 +-
arch/powerpc/include/asm/reg_fsl_emb.h | 2 +-
arch/powerpc/include/asm/sfp-machine.h | 4 +-
arch/powerpc/include/asm/smu.h | 12 +-
arch/powerpc/include/asm/tce.h | 2 +-
arch/powerpc/include/asm/thread_info.h | 2 +-
arch/powerpc/include/asm/tsi108_irq.h | 2 +-
arch/powerpc/include/asm/uninorth.h | 4 +-
arch/powerpc/include/uapi/asm/bootx.h | 2 +-
arch/powerpc/include/uapi/asm/sigcontext.h | 2 +-
arch/powerpc/kernel/85xx_entry_mapping.S | 2 +-
arch/powerpc/kernel/cputable.c | 2 +-
arch/powerpc/kernel/eeh.c | 4 +-
arch/powerpc/kernel/eeh_driver.c | 8 +-
arch/powerpc/kernel/eeh_event.c | 2 +-
arch/powerpc/kernel/eeh_pe.c | 2 +-
arch/powerpc/kernel/entry_32.S | 2 +-
arch/powerpc/kernel/exceptions-64e.S | 4 +-
arch/powerpc/kernel/exceptions-64s.S | 6 +-
arch/powerpc/kernel/fadump.c | 8 +-
arch/powerpc/kernel/head_44x.S | 14 +--
arch/powerpc/kernel/head_85xx.S | 6 +-
arch/powerpc/kernel/head_book3s_32.S | 2 +-
arch/powerpc/kernel/hw_breakpoint.c | 2 +-
arch/powerpc/kernel/idle_book3s.S | 4 +-
arch/powerpc/kernel/interrupt.c | 2 +-
arch/powerpc/kernel/irq_64.c | 2 +-
arch/powerpc/kernel/legacy_serial.c | 2 +-
arch/powerpc/kernel/nvram_64.c | 2 +-
arch/powerpc/kernel/paca.c | 2 +-
arch/powerpc/kernel/pci_dn.c | 2 +-
arch/powerpc/kernel/prom.c | 4 +-
arch/powerpc/kernel/prom_init_check.sh | 2 +-
arch/powerpc/kernel/ptrace/ptrace-adv.c | 2 +-
arch/powerpc/kernel/ptrace/ptrace-decl.h | 2 +-
arch/powerpc/kernel/ptrace/ptrace-tm.c | 10 +-
arch/powerpc/kernel/setup_64.c | 4 +-
arch/powerpc/kernel/signal_32.c | 2 +-
arch/powerpc/kernel/signal_64.c | 2 +-
arch/powerpc/kernel/smp.c | 2 +-
arch/powerpc/kernel/switch.S | 2 +-
arch/powerpc/kernel/time.c | 2 +-
arch/powerpc/kernel/traps.c | 4 +-
arch/powerpc/kernel/watchdog.c | 2 +-
arch/powerpc/kexec/core_64.c | 2 +-
arch/powerpc/kexec/file_load_64.c | 4 +-
arch/powerpc/kvm/book3s_hv.c | 6 +-
arch/powerpc/kvm/book3s_hv_p9_entry.c | 2 +-
arch/powerpc/kvm/book3s_hv_uvmem.c | 4 +-
arch/powerpc/kvm/book3s_pr.c | 2 +-
arch/powerpc/kvm/book3s_xive.c | 42 +++----
arch/powerpc/kvm/book3s_xive.h | 4 +-
arch/powerpc/kvm/booke.h | 2 +-
arch/powerpc/kvm/bookehv_interrupts.S | 4 +-
arch/powerpc/kvm/e500_mmu.c | 2 +-
arch/powerpc/kvm/e500mc.c | 2 +-
arch/powerpc/kvm/powerpc.c | 2 +-
arch/powerpc/lib/copyuser_power7.S | 4 +-
arch/powerpc/lib/memcmp_64.S | 2 +-
arch/powerpc/lib/memcpy_power7.S | 4 +-
arch/powerpc/lib/rheap.c | 4 +-
arch/powerpc/mm/book3s64/hash_native.c | 6 +-
arch/powerpc/mm/book3s64/hash_pgtable.c | 2 +-
arch/powerpc/mm/book3s64/hash_tlb.c | 2 +-
arch/powerpc/mm/book3s64/hash_utils.c | 8 +-
arch/powerpc/mm/book3s64/hugetlbpage.c | 2 +-
arch/powerpc/mm/book3s64/radix_pgtable.c | 2 +-
arch/powerpc/mm/book3s64/radix_tlb.c | 10 +-
arch/powerpc/mm/book3s64/slb.c | 2 +-
arch/powerpc/mm/ioremap.c | 2 +-
arch/powerpc/mm/mem.c | 2 +-
arch/powerpc/mm/nohash/kaslr_booke.c | 2 +-
arch/powerpc/mm/nohash/tlb.c | 2 +-
arch/powerpc/mm/nohash/tlb_low_64e.S | 4 +-
arch/powerpc/perf/hv-24x7.c | 2 +-
arch/powerpc/perf/hv-gpci-requests.h | 2 +-
arch/powerpc/perf/hv-gpci.c | 2 +-
arch/powerpc/perf/imc-pmu.c | 4 +-
arch/powerpc/perf/isa207-common.h | 4 +-
arch/powerpc/perf/vpa-dtl.c | 4 +-
arch/powerpc/platforms/44x/uic.c | 2 +-
arch/powerpc/platforms/512x/clock-commonclk.c | 2 +-
arch/powerpc/platforms/512x/mpc512x_shared.c | 2 +-
arch/powerpc/platforms/52xx/lite5200_pm.c | 2 +-
arch/powerpc/platforms/52xx/mpc52xx_pci.c | 4 +-
arch/powerpc/platforms/8xx/pic.c | 4 +-
arch/powerpc/platforms/book3s/vas-api.c | 4 +-
arch/powerpc/platforms/cell/spufs/context.c | 4 +-
.../platforms/cell/spufs/spu_restore_crt0.S | 2 +-
arch/powerpc/platforms/cell/spufs/switch.c | 8 +-
arch/powerpc/platforms/powermac/bootx_init.c | 2 +-
arch/powerpc/platforms/powermac/cache.S | 2 +-
arch/powerpc/platforms/powermac/feature.c | 2 +-
arch/powerpc/platforms/powermac/low_i2c.c | 2 +-
arch/powerpc/platforms/powermac/pci.c | 2 +-
arch/powerpc/platforms/powermac/pfunc_base.c | 2 +-
arch/powerpc/platforms/powermac/setup.c | 2 +-
arch/powerpc/platforms/powermac/sleep.S | 2 +-
arch/powerpc/platforms/powernv/eeh-powernv.c | 2 +-
arch/powerpc/platforms/powernv/opal-lpc.c | 2 +-
.../platforms/powernv/opal-memory-errors.c | 2 +-
arch/powerpc/platforms/powernv/opal.c | 6 +-
arch/powerpc/platforms/powernv/pci-ioda.c | 2 +-
arch/powerpc/platforms/powernv/pci-sriov.c | 2 +-
arch/powerpc/platforms/powernv/vas-fault.c | 2 +-
arch/powerpc/platforms/powernv/vas.h | 4 +-
arch/powerpc/platforms/ps3/interrupt.c | 4 +-
arch/powerpc/platforms/ps3/platform.h | 4 +-
arch/powerpc/platforms/pseries/eeh_pseries.c | 2 +-
arch/powerpc/platforms/pseries/iommu.c | 8 +-
arch/powerpc/platforms/pseries/lpar.c | 4 +-
arch/powerpc/platforms/pseries/msi.c | 2 +-
arch/powerpc/platforms/pseries/papr-indices.c | 2 +-
arch/powerpc/platforms/pseries/papr_scm.c | 2 +-
.../platforms/pseries/rtas-work-area.c | 2 +-
arch/powerpc/platforms/pseries/suspend.c | 2 +-
arch/powerpc/platforms/pseries/vas-sysfs.c | 2 +-
arch/powerpc/platforms/pseries/vas.c | 4 +-
arch/powerpc/platforms/pseries/vas.h | 2 +-
arch/powerpc/sysdev/fsl_pci.c | 4 +-
arch/powerpc/sysdev/indirect_pci.c | 2 +-
arch/powerpc/sysdev/xics/icp-native.c | 2 +-
arch/powerpc/sysdev/xics/xics-common.c | 2 +-
arch/powerpc/sysdev/xive/common.c | 6 +-
arch/powerpc/tools/unrel_branch_check.sh | 2 +-
arch/powerpc/typos.toml | 109 ++++++++++++++++++
arch/powerpc/xmon/ppc-opc.c | 6 +-
arch/powerpc/xmon/ppc.h | 2 +-
lib/crypto/powerpc/ghashp8-ppc.pl | 2 +-
170 files changed, 392 insertions(+), 283 deletions(-)
create mode 100644 arch/powerpc/typos.toml

--
2.54.0