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-next>] [day] [month] [year] [list]
Message-Id: <20200711035544.2832154-1-palmer@dabbelt.com>
Date:   Fri, 10 Jul 2020 20:55:41 -0700
From:   Palmer Dabbelt <palmer@...belt.com>
To:     mick@....forth.gr
Cc:     linux@...linux.org.uk, catalin.marinas@....com, will@...nel.org,
        Arnd Bergmann <arnd@...db.de>, rppt@...ux.ibm.com,
        akpm@...ux-foundation.org, linus.walleij@...aro.org,
        mchehab+samsung@...nel.org, gregory.0xf0@...il.com,
        masahiroy@...nel.org, Nick Desaulniers <ndesaulniers@...gle.com>,
        bgolaszewski@...libre.com,
        Palmer Dabbelt <palmerdabbelt@...gle.com>, mingo@...nel.org,
        ben-linux@...ff.org, peterz@...radead.org, broonie@...nel.org,
        davem@...emloft.net, rdunlap@...radead.org, uwe@...ine-koenig.org,
        dan.j.williams@...el.com, mhiramat@...nel.org,
        matti.vaittinen@...rohmeurope.com, zaslonko@...ux.ibm.com,
        willy@...radead.org, krzk@...nel.org, paulmck@...nel.org,
        pmladek@...e.com, brendanhiggins@...gle.com, keescook@...omium.org,
        glider@...gle.com, elver@...gle.com, davidgow@...gle.com,
        mark.rutland@....com, ardb@...nel.org, takahiro.akashi@...aro.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        kernel-team@...roid.com
Subject: Add and use a generic copy_oldmem_page()

While adding support for kexec, Nick recently copied the arm64
copy_oldmem_page() into the RISC-V port.  Since this is shared verbatim with
arm and arm64 already, I'd like to add a generic version and so we can use it
instead.  I haven't converted over the MIPS, PPC, or SH ports: while I think we
could figure out how to share a version, they're not exactly the same right
now.  S/390 and x86 are definitely meaningfully different.

Unless there are any objections I'll include the first patch along with the
RISC-V kexec support, which I'm hoping to have for 5.9.  The code, based on
5.8-rc4, is at
ssh://git@...olite.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git -b
copy_oldmem_page .


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ