Page MenuHomeFreeBSD

linuxkpi: Define `pat_enabled()`
ClosedPublic

Authored by dumbbell on Mar 13 2023, 2:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 15 2024, 1:58 AM
Unknown Object (File)
Jan 25 2024, 12:41 AM
Unknown Object (File)
Jan 14 2024, 7:29 AM
Unknown Object (File)
Dec 29 2023, 2:49 PM
Unknown Object (File)
Dec 20 2023, 7:06 AM
Unknown Object (File)
Dec 18 2023, 2:49 AM
Unknown Object (File)
Nov 6 2023, 1:58 PM
Unknown Object (File)
Nov 2 2023, 10:36 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

Should that be under some #ifdef amd64 ?

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

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.