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]
Date:   Thu,  9 Jul 2020 13:05:47 -0700
From:   Palmer Dabbelt <palmer@...belt.com>
To:         linux-riscv@...ts.infradead.org, zong.li@...ive.com
Cc:     linux@...linux.org.uk, catalin.marinas@....com, will@...nel.org,
        Paul Walmsley <paul.walmsley@...ive.com>,
        Palmer Dabbelt <palmer@...belt.com>, aou@...s.berkeley.edu,
        gxt@....edu.cn, Arnd Bergmann <arnd@...db.de>,
        akpm@...ux-foundation.org, linus.walleij@...aro.org,
        rppt@...ux.ibm.com, mchehab+samsung@...nel.org,
        gregory.0xf0@...il.com, masahiroy@...nel.org,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        bgolaszewski@...libre.com, tglx@...utronix.de, steve@....org,
        keescook@...omium.org, mcgrof@...nel.org, alex@...ti.fr,
        mark.rutland@....com, james.morse@....com,
        andriy.shevchenko@...ux.intel.com, alex.shi@...ux.alibaba.com,
        davem@...emloft.net, rdunlap@...radead.org, broonie@...nel.org,
        uwe@...ine-koenig.org, rostedt@...dmis.org,
        dan.j.williams@...el.com, mhiramat@...nel.org,
        matti.vaittinen@...rohmeurope.com, zaslonko@...ux.ibm.com,
        krzk@...nel.org, willy@...radead.org, paulmck@...nel.org,
        pmladek@...e.com, glider@...gle.com, elver@...gle.com,
        davidgow@...gle.com, ardb@...nel.org, takahiro.akashi@...aro.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        linux-riscv@...ts.infradead.org, linux-arch@...r.kernel.org,
        kernel-team@...roid.com
Subject: Add and use a generic version of devmem_is_allowed()

As part of adding STRICT_DEVMEM support to the RISC-V port, Zong provided an
implementation of devmem_is_allowed() that's exactly the same as the version in
a handful of other ports.  Rather than duplicate code, I've put a generic
version of this in lib/ and used it for the RISC-V port.

I've put those first two patches on riscv/for-next, which I'm targeting for 5.9
(though this is the first version, so they're unreviewed).  The other three
obviously depend on the first one going on, but I'm not putting them in the
RISC-V tree as I don't want to step on anyone's toes.  If you want me to take
yours along with the others then please say something, as otherwise I'll
probably forget.

I've put the whole thing at
ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git -b
generic-devmem .


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ