From: Palmer Dabbelt Date: Fri, 11 Dec 2020 20:30:26 +0000 (-0800) Subject: Add and use a generic version of devmem_is_allowed() X-Git-Tag: v5.15~2122^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d95a88f9254b711a3a95106fc73f6a3a9866a40;p=platform%2Fkernel%2Flinux-starfive.git 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. * palmer/generic-devmem: arm64: Use the generic devmem_is_allowed() arm: Use the generic devmem_is_allowed() RISC-V: Use the new generic devmem_is_allowed() lib: Add a generic version of devmem_is_allowed() --- 7d95a88f9254b711a3a95106fc73f6a3a9866a40