Re: Add and use a generic version of devmem_is_allowed()

2020-12-11 Thread Palmer Dabbelt
On Tue, 28 Jul 2020 17:00:30 PDT (-0700), mcg...@kernel.org wrote: On Thu, Jul 09, 2020 at 02:19:20PM -0700, Palmer Dabbelt wrote: 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 handfu

Re: Add and use a generic version of devmem_is_allowed()

2020-07-28 Thread Luis Chamberlain
On Thu, Jul 09, 2020 at 02:19:20PM -0700, Palmer Dabbelt wrote: > 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 gen

Re: Add and use a generic version of devmem_is_allowed()

2020-07-11 Thread Mike Rapoport
On Thu, Jul 09, 2020 at 02:19:20PM -0700, Palmer Dabbelt wrote: > 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 gen

Add and use a generic version of devmem_is_allowed()

2020-07-09 Thread Palmer Dabbelt
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 t

Add and use a generic version of devmem_is_allowed()

2020-07-09 Thread Palmer Dabbelt
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 t