Page MenuHomeFreeBSD

LinuxKPI: Add in_compat_syscall for amdkfd support
Needs ReviewPublic

Authored by siri_racha.ca on Jul 13 2026, 9:52 PM.
Referenced Files
Unknown Object (File)
Sat, Sep 26, 7:48 PM
Unknown Object (File)
Mon, Sep 21, 1:01 AM
Unknown Object (File)
Sun, Sep 20, 7:17 PM
Unknown Object (File)
Wed, Sep 16, 5:47 PM
Unknown Object (File)
Mon, Sep 14, 12:43 AM
Unknown Object (File)
Sun, Sep 13, 11:02 AM
Unknown Object (File)
Sat, Sep 12, 11:49 PM
Unknown Object (File)
Fri, Sep 11, 10:59 AM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

in_compat_syscall is used by kfd_proces.c, and kfd_chardev.c

Test Plan

Builds on CURRENT

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

siri_racha.ca edited the summary of this revision. (Show Details)
siri_racha.ca edited the test plan for this revision. (Show Details)
sys/compat/linuxkpi/common/include/linux/compat.h
65

powerpc64 also has 32-bit compat; I wonder if we ought to use LP64 here instead?
In practice it doesn't matter right now since this is only applicable to amd64 and arm64 right now.

Made this change, running build test right now.

sys/compat/linuxkpi/common/include/linux/compat.h
65

Good idea, I didn't know LP64 existed. Some people did ask if I can move it over to other archs at some point, probably worth while to use LP64 instead.