lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250105071433.3943289-2-daniel@0x0f.com>
Date: Sun,  5 Jan 2025 16:14:31 +0900
From: Daniel Palmer <daniel@...f.com>
To: geert@...ux-m68k.org,
	fthain@...ux-m68k.org,
	linux-m68k@...ts.linux-m68k.org
Cc: linux-kernel@...r.kernel.org,
	Daniel Palmer <daniel@...f.com>
Subject: [RFC PATCH 1/3] m68k: bootinfo: Add tag for FDT address

Allow bootinfo to carry a pointer to an FDT so that the
bootloader can pass us one.

This allows for devicetree support without changing the
boot protocol too much and breaking unmaintained bootloaders.

Signed-off-by: Daniel Palmer <daniel@...f.com>
---
 arch/m68k/include/uapi/asm/bootinfo.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/m68k/include/uapi/asm/bootinfo.h b/arch/m68k/include/uapi/asm/bootinfo.h
index 024e87d7095f..326f20e82769 100644
--- a/arch/m68k/include/uapi/asm/bootinfo.h
+++ b/arch/m68k/include/uapi/asm/bootinfo.h
@@ -73,6 +73,9 @@ struct mem_info {
 #define BI_RNG_SEED		0x0008
 
 
+/* Pointer to FDT if there is one */
+#define BI_FDT			0x0009
+
     /*
      *  Linux/m68k Architectures (BI_MACHTYPE)
      */
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ