[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<SY4P282MB306320D794B9E1407D0CE5D2C535A@SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM>
Date: Thu, 14 Aug 2025 17:40:07 +1000
From: Stephen Horvath <s.horvath@...look.com.au>
To: kernel test robot <lkp@...el.com>, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>,
"x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: oe-kbuild-all@...ts.linux.dev
Subject: Re: [PATCH] x86/tsc: Read AMD CPU frequency from
Core::X86::Msr::PStateDef
On 14/8/25 16:36, kernel test robot wrote:
> Hi Stephen,
>
> kernel test robot noticed the following build errors:
>
> All errors (new ones prefixed by >>):
>
> ld: arch/x86/kernel/tsc_msr.o: in function `cpu_khz_from_msr_amd':
>>> arch/x86/kernel/tsc_msr.c:307: undefined reference to `__udivdi3'
>
> > 307 p0_freq = (unsigned long)(p0_freq * 1125ull / 1000);
Thanks! I can replace this with `mul_u64_u32_div(p0_freq, 1125, 1000)`
in the next revision.
Thanks,
Steve
Powered by blists - more mailing lists