All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: Loongson64: Remove ROM Size in LEFI boardinfo
@ 2025-01-10 17:22 Kexy Biscuit
  2025-01-10 17:22 ` [PATCH 1/2] MIPS: Loongson64: remove ROM Size unit in boardinfo Kexy Biscuit
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kexy Biscuit @ 2025-01-10 17:22 UTC (permalink / raw)
  To: Huacai Chen, Jiaxun Yang, Thomas Bogendoerfer, Tiezhu Yang
  Cc: linux-mips, linux-kernel, Kexy Biscuit, Mingcong Bai,
	Icenowy Zheng, stable

In "MIPS: Loongson64: Add /sys/firmware/lefi/boardinfo", "ROM Size" was
added under section "BIOS Info". However, that is incorrect per Appendix
A.7 in Q/LS 0013-2014 (龙芯CPU开发系统固件与内核接口规范 V2.2,
lit. Loongson DevSys Firmware Kernel Interface Specification V2.2),
which defines the size to be the size of this interface itself.

Removing "ROM Size" from boardinfo, and also adding comments to the
struct interface_info to clarify meanings of its members.

Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io>
---
Kexy Biscuit (2):
      MIPS: Loongson64: remove ROM Size unit in boardinfo
      MIPS: Loongson: Add comments for interface_info

 arch/mips/include/asm/mach-loongson64/boot_param.h | 8 ++++----
 arch/mips/loongson64/boardinfo.c                   | 2 --
 2 files changed, 4 insertions(+), 6 deletions(-)
---
base-commit: 2144da25584eb10b84252230319b5783f6a83041
change-id: 20250111-loongson64-boardinfo-no-size-a25dd2a03a8b

Best regards,
-- 
Kexy Biscuit <kexybiscuit@aosc.io>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-11 12:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 17:22 [PATCH 0/2] MIPS: Loongson64: Remove ROM Size in LEFI boardinfo Kexy Biscuit
2025-01-10 17:22 ` [PATCH 1/2] MIPS: Loongson64: remove ROM Size unit in boardinfo Kexy Biscuit
2025-01-10 17:22 ` [PATCH 2/2] MIPS: Loongson: Add comments for interface_info Kexy Biscuit
2025-01-10 18:01 ` [PATCH 0/2] MIPS: Loongson64: Remove ROM Size in LEFI boardinfo Jiaxun Yang
2025-01-11 12:01 ` Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.