jiffies64_to_msec is used by kfd_process.c https://github.com/torvalds/linux/blob/0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53/drivers/gpu/drm/amd/amdkfd/kfd_process.c#L435
Sponsored By: FreeBSD Foundation
Differential D58075
LinuxKPI: Added jiffies64_to_msecs for amdkfd compatibility. Authored by siri_racha.ca on Jul 7 2026, 7:19 AM. Tags Referenced Files
Details jiffies64_to_msec is used by kfd_process.c https://github.com/torvalds/linux/blob/0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53/drivers/gpu/drm/amd/amdkfd/kfd_process.c#L435 Sponsored By: FreeBSD Foundation
Diff Detail
Event TimelineComment Actions 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? |