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, Jan 28, 11:38 PM
Unknown Object (File)
Mon, Jan 27, 12:59 AM
Unknown Object (File)
Fri, Jan 24, 5:36 PM
Unknown Object (File)
Thu, Jan 23, 6:27 PM
Unknown Object (File)
Sat, Jan 18, 9:37 PM
Unknown Object (File)
Sat, Jan 18, 9:35 PM
Unknown Object (File)
Dec 5 2024, 6:46 AM
Unknown Object (File)
Dec 2 2024, 8:04 PM

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.