acrn-kernel/arch/parisc/kernel
Helge Deller 71602d95ae parisc/firmware: Fix F-extend for PDC addresses
commit 735ae74f73e55c191d48689bd11ff4a06ea0508f upstream.

When running with narrow firmware (64-bit kernel using a 32-bit
firmware), extend PDC addresses into the 0xfffffff0.00000000
region instead of the 0xf0f0f0f0.00000000 region.

This fixes the power button on the C3700 machine in qemu (64-bit CPU
with 32-bit firmware), and my assumption is that the previous code was
really never used (because most 64-bit machines have a 64-bit firmware),
or it just worked on very old machines because they may only decode
40-bit of virtual addresses.

Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-31 16:16:59 -08:00
..
syscalls
vdso32
vdso64
.gitignore
Makefile
alternative.c parisc: Use num_present_cpus() in alternative patching code 2023-05-30 14:03:18 +01:00
asm-offsets.c
audit.c
cache.c parisc: Fix flush_dcache_page() for usage from irq context 2023-05-30 14:03:18 +01:00
compat_audit.c
drivers.c parisc: drivers: Fix sparse warning 2023-10-06 14:56:51 +02:00
entry.S parisc/pgtable: Do not drop upper 5 address bits of physical address 2023-11-28 17:07:14 +00:00
firmware.c parisc/firmware: Fix F-extend for PDC addresses 2024-01-31 16:16:59 -08:00
ftrace.c
hardware.c
head.S parisc: Prevent booting 64-bit kernels on PA1.x machines 2023-11-28 17:07:14 +00:00
hpmc.S
inventory.c
irq.c parisc: irq: Make irq_stack_union static to avoid sparse warning 2023-10-06 14:56:51 +02:00
jump_label.c
kexec.c
kexec_file.c
kgdb.c
kprobes.c
module.c
pa7300lc.c
pacache.S parisc: Ensure page alignment in flush functions 2023-05-11 23:03:38 +09:00
parisc_ksyms.c
patch.c
pci-dma.c parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu() 2023-06-21 16:00:53 +02:00
pci.c
pdc_chassis.c
pdc_cons.c
pdt.c
perf.c
perf_asm.S
perf_images.h
process.c parisc: Allow to reboot machine after system halt 2023-05-30 14:03:18 +01:00
processor.c parisc: Fix /proc/cpuinfo output for lscpu 2023-09-13 09:43:02 +02:00
ptrace.c
real2.S
relocate_kernel.S
setup.c
signal.c
signal32.c
signal32.h
smp.c parisc: Fix crash with nr_cpus=1 option 2023-10-10 22:00:44 +02:00
stacktrace.c
sys_parisc.c parisc: sys_parisc: parisc_personality() is called from asm code 2023-09-02 09:16:19 +02:00
sys_parisc32.c
syscall.S
time.c
toc.c
toc_asm.S
topology.c
traps.c parisc: Handle kprobes breakpoints only in kernel context 2023-05-30 14:03:18 +01:00
unaligned.c
unwind.c
vdso.c
vmlinux.lds.S parisc: Ensure 32-bit alignment on parisc unwind section 2023-12-08 08:51:16 +01:00