Page MenuHomeFreeBSD

LinuxKPI: Implement _ioremap_attr for riscv
ClosedPublic

Authored by jrtc27 on Oct 10 2021, 7:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 23, 8:23 AM
Unknown Object (File)
Tue, Mar 18, 7:14 PM
Unknown Object (File)
Feb 23 2025, 9:45 PM
Unknown Object (File)
Feb 16 2025, 11:15 PM
Unknown Object (File)
Feb 16 2025, 4:45 AM
Unknown Object (File)
Jan 29 2025, 8:09 PM
Unknown Object (File)
Jan 17 2025, 9:50 PM
Unknown Object (File)
Dec 13 2024, 12:33 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 11 2021, 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