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]
Date:   Fri,  3 May 2019 20:50:38 +0300
From:   Serge Semin <>
To:     Ralf Baechle <>,
        Paul Burton <>,
        James Hogan <>,
        Mike Rapoport <>,
        Andrew Morton <>,
        Michal Hocko <>,
        Greg Kroah-Hartman <>,
        Thomas Bogendoerfer <>,
        Huacai Chen <>,
        Stefan Agner <>,
        Stephen Rothwell <>,
        Alexandre Belloni <>,
        Juergen Gross <>
Cc:     Serge Semin <>,,,
        Matt Redfearn <>
Subject: [PATCH v2 2/5] mips: Perform early low memory test

memblock subsystem provides a method to optionally test the passed
memory region in case if it was requested via special kernel boot
argument. Lets add the function at the bottom of the arch_mem_init()
method. Testing at this point in the boot sequence should be safe since all
critical areas are now reserved and a minimum of allocations have been

Reviewed-by: Matt Redfearn <>
Signed-off-by: Serge Semin <>
 arch/mips/kernel/setup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index ca493fdf69b0..fbd216b4e929 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -826,6 +826,8 @@ static void __init arch_mem_init(char **cmdline_p)
 		__pa_symbol(&__nosave_end) - __pa_symbol(&__nosave_begin));
+	early_memtest(PFN_PHYS(min_low_pfn), PFN_PHYS(max_low_pfn));
 static void __init resource_init(void)

Powered by blists - more mailing lists