Page MenuHomeFreeBSD

linuxkpi: Define `pat_enabled()`
ClosedPublic

Authored by dumbbell on Mar 13 2023, 2:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 9:01 AM
Unknown Object (File)
Oct 3 2024, 12:15 AM
Unknown Object (File)
Sep 21 2024, 8:05 PM
Unknown Object (File)
Sep 21 2024, 8:04 AM
Unknown Object (File)
Sep 19 2024, 11:29 AM
Unknown Object (File)
Sep 18 2024, 12:29 PM
Unknown Object (File)
Sep 17 2024, 4:08 PM
Unknown Object (File)
Sep 17 2024, 6:07 AM

Details

Summary

This new <asm/memtype.h> header is included from <linux/pci.h> because that's how it is included in Linux too. DRM drivers depend on this.

This is part of the update of the DRM drivers to Linux 5.17.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/compat/linuxkpi/common/include/asm/memtype.h
8

Should that be under some #ifdef amd64 ?

dumbbell added inline comments.
sys/compat/linuxkpi/common/include/asm/memtype.h
8

Indeed, fixing it.

dumbbell marked an inline comment as done.

Enable on amd64 & i386 only; addressing @manu comment.

This revision is now accepted and ready to land.Mar 21 2023, 7:30 AM
This revision was automatically updated to reflect the committed changes.