Page MenuHomeFreeBSD

LinuxKPI: Implement _ioremap_attr for riscv
ClosedPublic

Authored by jrtc27 on Sun, Oct 10, 7:09 PM.

Details

Summary

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.

MFC after: 1 week

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mon, Oct 11, 9:23 AM
bz added a subscriber: bz.

I guess we don't wrap lines anymore to looks good.

In D32446#731893, @bz wrote:

I guess we don't wrap lines anymore to looks good.

Yeah, already well over the limit so just left them alone...

This revision was automatically updated to reflect the committed changes.
sys/compat/linuxkpi/common/include/linux/io.h
393

Sorry for the late comment, but can't we just remove this ifdef now? We have no linuxkpi support for arm and mips*, right?

sys/compat/linuxkpi/common/include/linux/io.h
393

sys/modules enables the module unconditionally