Page MenuHomeFreeBSD

LinuxKPI: Added jiffies64_to_msecs for amdkfd compatibility.
AcceptedPublic

Authored by siri_racha.ca on Jul 7 2026, 7:19 AM.
Referenced Files
Unknown Object (File)
Wed, Aug 19, 4:25 AM
Unknown Object (File)
Wed, Aug 19, 4:21 AM
Unknown Object (File)
Mon, Aug 17, 4:37 PM
Unknown Object (File)
Thu, Aug 13, 1:14 AM
Unknown Object (File)
Tue, Aug 11, 11:14 PM
Unknown Object (File)
Mon, Aug 10, 11:40 AM
Unknown Object (File)
Sun, Aug 9, 5:10 PM
Unknown Object (File)
Sat, Aug 8, 7:52 PM
Subscribers

Details

Reviewers
dumbbell
Group Reviewers
linuxkpi
Summary

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

siri_racha.ca edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 9 2026, 10:02 PM

Patch does not apply:

$ git arc patch -c D58075
Applying D58075...
 INFO  Base commit is not in local repository; trying to fetch.
Checking patch sys/compat/linuxkpi/common/include/linux/jiffies.h...
error: while searching for:
extern unsigned long jiffies;  /* defined in sys/kern/subr_ticks.S */
#define        jiffies_64              jiffies /* XXX-MJ wrong on 32-bit platforms */
#define        jiffies_to_msecs(x)     ((unsigned int)(((int64_t)(int)(x)) * 1000 / hz))

#define        MAX_JIFFY_OFFSET        ((LONG_MAX >> 1) - 1)


error: patch failed: sys/compat/linuxkpi/common/include/linux/jiffies.h:39
Applying patch sys/compat/linuxkpi/common/include/linux/jiffies.h with 1 reject...
Rejected hunk #1.

 Patch Failed! 
Usage Exception: Unable to apply patch!

It looks like the patch is on top of a version of this file where tabs have been converted to spaces. Can you please re-generate with whitespace unchanged?