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)
Jan 16 2024, 7:47 AM
Unknown Object (File)
Dec 20 2023, 7:24 AM
Unknown Object (File)
Dec 12 2023, 5:48 PM
Unknown Object (File)
Sep 18 2023, 1:02 AM
Unknown Object (File)
Aug 13 2023, 4:54 PM
Unknown Object (File)
Aug 3 2023, 10:49 PM
Unknown Object (File)
Jul 21 2023, 10:53 PM
Unknown Object (File)
Jun 20 2023, 12:54 AM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42057
Build 38945: arc lint + arc unit

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