linux/arch/mips/loongson64
Kexy Biscuit 9b5922b0fa MIPS: Loongson64: remove ROM Size unit in boardinfo
commit bd2212d658 upstream.

Per Appendix A.7 in Q/LS 0013-2014 (龙芯CPU开发系统固件与内核接口规范 V2.2,
lit. Loongson DevSys Firmware Kernel Interface Specification V2.2),
interface_info.size is size of this interface, not size of the LEFI BIOS
ROM.

In any case, the BIOS ROM Size just cannot be several kilobytes (KB) on
Loongson64 LEFI platforms.

Reported-by: Mingcong Bai <jeffbai@aosc.io>
Suggested-by: Icenowy Zheng <uwu@icenowy.me>
Fixes: 6c1bfbd9df ("MIPS: Loongson64: Add /sys/firmware/lefi/boardinfo")
Cc: stable@vger.kernel.org
Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io>
Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-02-17 10:05:18 +01:00
..
boardinfo.c MIPS: Loongson64: remove ROM Size unit in boardinfo 2025-02-17 10:05:18 +01:00
cop2-ex.c MIPS: Loongson-3: Fix fp register access if MSA enabled 2020-09-22 13:07:22 +02:00
cpucfg-emul.c MIPS: Unify naming style of vendor CP0.Config6 bits 2020-07-08 11:15:53 +02:00
dma.c MIPS: Loongson64: Include bootinfo.h in dma.c 2024-06-11 13:04:11 +02:00
env.c MIPS: Loongson64: env: Hook up Loongsson-2K 2024-06-21 10:22:10 +02:00
hpet.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
init.c mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
Kconfig MIPS: Loongson64: Mark RS780 HPET as broken 2020-04-20 19:37:01 +02:00
Makefile MIPS: Loongson64: Implement PM suspend for LEFI firmware 2024-06-11 13:03:50 +02:00
numa.c arch, mm: pull out allocation of NODE_DATA to generic code 2024-09-03 21:15:28 -07:00
Platform MIPS: Loongson: Move arch cflags to MIPS top level Makefile 2023-04-05 09:45:09 +02:00
pm.c MIPS: Loongson64: Implement PM suspend for LEFI firmware 2024-06-11 13:03:50 +02:00
reset.c MIPS: Loongson64: reset: Prioritise firmware service 2024-06-21 10:22:10 +02:00
setup.c MIPS: Loongson64: Remove CPU_HAS_WB 2023-03-14 17:06:16 +01:00
sleeper.S MIPS: Loongson64: sleeper: Pass ra and sp as arguments 2024-06-21 10:22:10 +02:00
smp.c MIPS: Loongson64: Switch to SYNC_R4K 2024-07-23 09:29:49 +02:00
smp.h MIPS: Loongson64: Move files to the top-level directory 2019-11-01 14:31:28 -07:00
time.c MIPS: Loongson64: Add support for the Loongson-2K1000 to get cpu_clock_freq 2021-03-25 10:44:01 +01:00
vbios_quirk.c PCI/sysfs: Find shadow ROM before static attribute initialization 2022-01-26 10:41:21 -06:00