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: <20191023.142133.1980049426362664052.davem@davemloft.net>
Date:   Wed, 23 Oct 2019 14:21:33 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     rppt@...nel.org
Cc:     linux-mm@...ck.org, akpm@...ux-foundation.org,
        anton.ivanov@...bridgegreys.com, arnd@...db.de,
        geert@...ux-m68k.org, green.hu@...il.com, gerg@...ux-m68k.org,
        deller@....de, James.Bottomley@...senPartnership.com,
        jdike@...toit.com, kirill@...temov.name,
        torvalds@...ux-foundation.org, msalter@...hat.com,
        mattst88@...il.com, monstr@...str.eu, richard@....at,
        linux@...linux.org.uk, sammy@...my.net, deanbo422@...il.com,
        Vineet.Gupta1@...opsys.com, linux-alpha@...r.kernel.org,
        linux-arch@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-c6x-dev@...ux-c6x.org, linux-kernel@...r.kernel.org,
        linux-m68k@...ts.linux-m68k.org, linux-parisc@...r.kernel.org,
        linux-um@...ts.infradead.org, sparclinux@...r.kernel.org,
        rppt@...ux.ibm.com
Subject: Re: [PATCH v2 09/12] sparc32: use pgtable-nopud instead of
 4level-fixup

From: Mike Rapoport <rppt@...nel.org>
Date: Wed, 23 Oct 2019 22:59:00 +0300

> I've just discovered that I've booted qemu-sparc with the wrong kernel and
> this patch crashes miserably :(
> 
> The better version that does allow qemu-sparc to boot with folded page
> tables is below:
> 
> 
> From a90e1d157b7f8786a4276ffc8553f2167c8bc0e7 Mon Sep 17 00:00:00 2001
> From: Mike Rapoport <rppt@...ux.ibm.com>
> Date: Tue, 1 Oct 2019 17:14:38 +0300
> Subject: [PATCH v2] sparc32: use pgtable-nopud instead of 4level-fixup
> 
> 32-bit version of sparc has three-level page tables and can use
> pgtable-nopud and folding of the upper layers.
> 
> Replace usage of include/asm-generic/4level-fixup.h with
> include/asm-generic/pgtable-nopud.h and adjust page table manipulation
> macros and functions accordingly.
> 
> Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>

Acked-by: David S. Miller <davem@...emloft.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ