linux/arch/powerpc/include/asm
Linus Torvalds 9d20040d71 arm64 fixes for -rc5
- Fix a sporadic boot failure due to incorrect randomization of the
   linear map on systems that support it
 
 - Fix the zapping (both clearing the entries *and* invalidating the TLB)
   of hugetlb PTEs constructed using the contiguous bit
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCgAuFiEEPxTL6PPUbjXGY88ct6xw3ITBYzQFAmfDdBIQHHdpbGxAa2Vy
 bmVsLm9yZwAKCRC3rHDchMFjNN0GB/9gmEOX1GwMU6wFjPYqvjWlkGCFDwrldO84
 uF9jEUbPaw3P4xHTOFyPCfEWidktqa+yDVbe90mB7GVOM+1eEZ81em1k1hYBEXbz
 Q73Nl5VrNzxX4BjOrdxxoTSaR/TKklUh5mqWfIzy1RxEnBfpr/GuDPtUn1GViCAs
 sU16Ju12UdYXn3tyHFDHpjZS9WYZskfnrvS0QvXinz0LahZrCkeaH+ptYHrTjMFx
 hxyrRQwOlqLnZWvjLOegH9AC6uyRkKDinXKhXqHYvUfcfEkQsKwM7Fpc6cviUD0Q
 X2npLNegnYxPniwmLpXfNXazPDnKVMzxb9lpqw1fZS3nAuh8XOde
 =RqDZ
 -----END PGP SIGNATURE-----

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Will Deacon:
 "Ryan's been hard at work finding and fixing mm bugs in the arm64 code,
  so here's a small crop of fixes for -rc5.

  The main changes are to fix our zapping of non-present PTEs for
  hugetlb entries created using the contiguous bit in the page-table
  rather than a block entry at the level above. Prior to these fixes, we
  were pulling the contiguous bit back out of the PTE in order to
  determine the size of the hugetlb page but this is clearly bogus if
  the thing isn't present and consequently both the clearing of the
  PTE(s) and the TLB invalidation were unreliable.

  Although the problem was found by code inspection, we really don't
  want this sitting around waiting to trigger and the changes are CC'd
  to stable accordingly.

  Note that the diffstat looks a lot worse than it really is;
  huge_ptep_get_and_clear() now takes a size argument from the core code
  and so all the arch implementations of that have been updated in a
  pretty mechanical fashion.

   - Fix a sporadic boot failure due to incorrect randomization of the
     linear map on systems that support it

   - Fix the zapping (both clearing the entries *and* invalidating the
     TLB) of hugetlb PTEs constructed using the contiguous bit"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: hugetlb: Fix flush_hugetlb_tlb_range() invalidation level
  arm64: hugetlb: Fix huge_ptep_get_and_clear() for non-present ptes
  mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear()
  arm64/mm: Fix Boot panic on Ampere Altra
2025-03-01 13:44:51 -08:00
..
book3s powerpc/64s: Rewrite __real_pte() and __rpte_to_hidx() as static inline 2025-02-10 10:01:22 +05:30
nohash powerpc updates for 6.12 2024-09-19 08:03:00 +02:00
vdso powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
8xx_immap.h
Kbuild
accounting.h
archrandom.h
asm-compat.h powerpc/atomic: Use YZ constraints for DS-form instructions 2024-09-17 22:17:57 +10:00
asm-const.h
asm-offsets.h
asm-prototypes.h
asm.h
async_tx.h
atomic.h powerpc/atomic: Use YZ constraints for DS-form instructions 2024-09-17 22:17:57 +10:00
backlight.h
barrier.h
bitops.h
bootx.h
bpf_perf_event.h
btext.h
bug.h
cache.h
cacheflush.h
cell-pmu.h
cell-regs.h
checksum.h
clocksource.h
cmpxchg.h
code-patching-asm.h
compat.h
context_tracking.h
copro.h
cpm.h
cpm1.h
cpm2.h
cpu_has_feature.h
cpu_setup.h
cpufeature.h
cpuidle.h
cputable.h KVM: PPC: Book3S HV: Add Power11 capability support for Nested PAPR guests 2024-11-05 21:07:06 +11:00
cputhreads.h
cputime.h
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: Fix dtl_access_lock to be a rw_semaphore 2024-10-29 23:01:36 +11:00
edac.h
eeh.h powerpc/pseries/eeh: Fix pseries_eeh_err_inject 2024-09-10 11:01:08 +10:00
eeh_event.h
ehv_pic.h
elf.h
elfnote.h
emergency-restart.h
emulated_ops.h
epapr_hcalls.h
exception-64e.h
exception-64s.h
exec.h
extable.h
fadump-internal.h
fadump.h powerpc/fadump: allocate memory for additional parameters early 2024-11-10 22:33:52 +11:00
feature-fixups.h
firmware.h
fixmap.h
floppy.h
fpu.h
fsl_gtm.h
fsl_hcalls.h
fsl_lbc.h
fsl_pamu_stash.h
fsl_pm.h
ftrace.h fprobe: Rewrite fprobe on function-graph tracer 2024-12-26 10:50:05 -05:00
futex.h
grackle.h
guest-state-buffer.h
hardirq.h
head-64.h
heathrow.h
highmem.h
hmi.h
hugetlb.h mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear() 2025-02-27 17:40:57 +00:00
hvcall.h KVM: PPC: Book3S HV: Add Power11 capability support for Nested PAPR guests 2024-11-05 21:07:06 +11:00
hvconsole.h
hvcserver.h
hvsi.h
hw_breakpoint.h
hw_irq.h
hydra.h
i8259.h
ibmebus.h
icswx.h
idle.h
imc-pmu.h
immap_cpm2.h
inst.h
interrupt.h treewide: context_tracking: Rename CONTEXT_* into CT_STATE_* 2024-07-29 07:33:10 +05:30
io-defs.h
io-workarounds.h
io.h asm-generic: provide generic page_to_phys and phys_to_page implementations 2024-10-28 21:44:28 +00:00
io_event_irq.h
iommu.h
ipic.h
irq.h
irq_work.h
irqflags.h
isa-bridge.h
jump_label.h
kasan.h
kdebug.h
kdump.h
kexec.h kexec: Consolidate machine_kexec_mask_interrupts() implementation 2024-12-11 20:32:34 +01:00
kexec_ranges.h
keylargo.h
kfence.h book3s64/radix: Refactoring common kfence related functions 2024-10-23 18:53:20 +11:00
kgdb.h
kprobes.h asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
kup.h
kvm_asm.h
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
kvm_book3s_uvmem.h
kvm_booke.h
kvm_booke_hv_asm.h
kvm_fpu.h
kvm_guest.h
kvm_host.h powerpc/kvm: Add vpa latency counters to kvm_vcpu_arch 2024-11-19 14:11:21 +11:00
kvm_para.h
kvm_ppc.h
libata-portmap.h
linkage.h
livepatch.h
local.h
lppaca.h
lv1call.h
machdep.h powerpc/machdep: Drop include of dma-mapping.h 2024-10-29 23:01:05 +11:00
macio.h
mc146818rtc.h
mce.h
mediabay.h
mem_encrypt.h
membarrier.h
mman.h powerpc/vdso: Wire up getrandom() vDSO implementation on VDSO32 2024-09-13 17:28:36 +02:00
mmiowb.h
mmu.h
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 arch, mm: move definition of node_data to generic code 2024-09-03 21:15:28 -07:00
module.h powerpc/modules: start/end_opd are only needed for ABI v1 2024-11-05 20:47:45 +11:00
module.lds.h
mpc5xxx.h
mpc6xx.h
mpc52xx.h
mpc52xx_psc.h
mpc85xx.h
mpc5121.h
mpic.h
mpic_msgr.h
mpic_timer.h
msi_bitmap.h
nmi.h
nvram.h
ohare.h
opal-api.h
opal.h
paca.h
page.h vdso: Introduce vdso/page.h 2024-10-16 00:13:04 +02:00
page_32.h
page_64.h
papr-sysparm.h
paravirt.h
paravirt_api_clock.h
parport.h
pasemi_dma.h
pci-bridge.h
pci.h
percpu.h powerpc: Remove useless config comment in asm/percpu.h 2024-08-07 22:49:19 +10:00
perf_event.h
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
pgtable-be-types.h
pgtable-masks.h
pgtable-types.h powerpc/mm: Fix return type of pgd_val() 2024-08-22 22:52:38 +10:00
pgtable.h mm: always define pxx_pgprot() 2024-09-17 01:06:59 -07:00
pkeys.h
plpar_wrappers.h
plpks.h
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
pmi.h
pnv-ocxl.h
pnv-pci.h
powernv.h
ppc-opcode.h powerpc64/bpf: Add support for bpf trampolines 2024-10-31 11:00:55 +11:00
ppc-pci.h
ppc4xx.h
ppc_asm.h
probes.h
processor.h
prom.h
ps3.h
ps3av.h
ps3gpu.h
ps3stor.h
pte-walk.h
ptrace.h
qspinlock.h
qspinlock_types.h
reg.h
reg_8xx.h
reg_booke.h
reg_fsl_emb.h
rheap.h
rio.h
rtas-types.h
rtas-work-area.h
rtas.h powerpc/pseries/dlpar: Remove device tree node for DLPAR IO remove 2024-08-30 21:31:25 +10:00
runlatch.h
seccomp.h
sections.h
secure_boot.h
security_features.h
secvar.h
serial.h
set_memory.h powerpc: Add __must_check to set_memory_...() 2024-11-06 23:46:26 +11:00
setjmp.h
setup.h
sfp-machine.h
shmparam.h
signal.h
simple_spinlock.h
simple_spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
smp.h
smu.h
sparsemem.h
spinlock.h
spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
spu.h
spu_csa.h
spu_info.h
spu_priv1.h powerpc/cell: Remove dead extern declaration for spu_priv1_beat_ops 2024-11-13 12:03:28 +11:00
sstep.h powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static 2024-11-14 14:17:36 +11:00
stackprotector.h
stacktrace.h
static_call.h
string.h
svm.h
swab.h
swiotlb.h
switch_to.h
synch.h
syscall.h
syscall_wrapper.h
syscalls.h
syscalls_32.h
systemcfg.h powerpc: Split systemcfg struct definitions out from vdso 2024-11-02 12:37:36 +01:00
task_size_32.h
task_size_64.h
tce.h
text-patching.h asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
thread_info.h powerpc: Add preempt lazy support 2024-12-19 14:21:08 +05:30
time.h powerpc/32: Replace mulhdu() by mul_u64_u64_shr() 2024-12-10 08:15:30 +05:30
timex.h
tlb.h mm: pgtable: introduce generic __tlb_remove_table() 2025-01-25 20:22:23 -08:00
tlbflush.h
tm.h
topology.h powerpc/topology: Check if a core is online 2024-08-13 10:32:17 +10:00
trace.h
trace_clock.h
tsi108.h
tsi108_irq.h
tsi108_pci.h
types.h
uaccess.h powerpc/atomic: Use YZ constraints for DS-form instructions 2024-09-17 22:17:57 +10:00
udbg.h powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00
uic.h
ultravisor-api.h
ultravisor.h
uninorth.h
unistd.h
uprobes.h
user.h
vas.h
vdso.h powerpc/vdso: Flag VDSO64 entry points as functions 2024-10-16 13:37:37 +11:00
vdso_datapage.h powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
vermagic.h
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
vio.h
vmalloc.h
vphn.h
word-at-a-time.h
xics.h
xive-regs.h
xive.h
xmon.h
xor.h
xor_altivec.h