]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: Implement _ioremap_attr for riscv
authorJessica Clarke <jrtc27@FreeBSD.org>
Sun, 17 Oct 2021 14:32:20 +0000 (15:32 +0100)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sun, 24 Oct 2021 18:51:12 +0000 (19:51 +0100)
commitfeb3031f0ae878b72b48488fe3ba13884ae58b7f
tree5e9f0cbf3d3e84f56d073b106ce845515603914b
parentaf818612a5d3941763b1b0c620b929df89bc6c4d
LinuxKPI: Implement _ioremap_attr for riscv

Now that riscv implements pmap_mapdev_attr we can enable the non-stub
implementation for riscv, which is needed for drm-kmod to not fail at
run time for drivers that need to map I/O regions.

Reviewed by: hselasky, bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D32446

(cherry picked from commit 60d962e0410340f107d062e8f4389c0d467613a2)
sys/compat/linuxkpi/common/include/linux/io.h
sys/compat/linuxkpi/common/src/linux_compat.c