linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Add and use a generic version of devmem_is_allowed()
@ 2020-07-09 21:19 Palmer Dabbelt
  2020-07-09 21:19 ` [PATCH v2 1/5] lib: Add " Palmer Dabbelt
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2020-07-09 21:19 UTC (permalink / raw)
  To: zong.li, linux-riscv, rppt
  Cc: mark.rutland, steve, davidgow, catalin.marinas, linus.walleij,
	brendanhiggins, elver, glider, mchehab+samsung, linux-riscv,
	alex.shi, will, dan.j.williams, linux-arch, uwe, alex,
	takahiro.akashi, paulmck, masahiroy, linux, krzk, ardb,
	bgolaszewski, clabbe, james.morse, kernel-team, pmladek,
	zaslonko, aou, keescook, Arnd Bergmann, rostedt, broonie,
	matti.vaittinen, gregory.0xf0, Paul Walmsley, tglx,
	andriy.shevchenko, gxt, linux-arm-kernel, Greg KH, rdunlap,
	Nick Desaulniers, linux-kernel, changbin.du, mcgrof,
	Palmer Dabbelt, mhiramat, akpm, davem

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 .

Changes since v1 [<20200709200552.1910298-1-palmer@dabbelt.com]:

* Don't have GENERIC_LIB_DEVMEM_IS_ALLOWED select ARCH_HAS_DEVMEM_IS_ALLOWED,
  instead just adapt the users.
* Remove ARCH_HAS_DEVMEM_IS_ALLOWED from the arch Kconfigs, as I forgot to do
  so the first time.



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-12-11 20:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 21:19 Add and use a generic version of devmem_is_allowed() Palmer Dabbelt
2020-07-09 21:19 ` [PATCH v2 1/5] lib: Add " Palmer Dabbelt
2020-07-09 21:19 ` [PATCH v2 2/5] RISC-V: Use the new generic devmem_is_allowed() Palmer Dabbelt
2020-07-09 21:19 ` [PATCH v2 3/5] arm: Use the " Palmer Dabbelt
2020-07-09 21:19 ` [PATCH v2 4/5] arm64: " Palmer Dabbelt
2020-07-14 18:14   ` Catalin Marinas
2020-07-09 21:19 ` [PATCH v2 5/5] unicore32: " Palmer Dabbelt
2020-07-12  6:09 ` Add and use a generic version of devmem_is_allowed() Mike Rapoport
2020-07-29  0:00 ` Luis Chamberlain
2020-12-11 20:32   ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).