mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Horvath <s.horvath@outlook.com.au>
To: kernel test robot <lkp@intel.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	"x86@kernel.org" <x86@kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH] x86/tsc: Read AMD CPU frequency from Core::X86::Msr::PStateDef
Date: Thu, 14 Aug 2025 17:40:07 +1000	[thread overview]
Message-ID: <SY4P282MB306320D794B9E1407D0CE5D2C535A@SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <202508141439.JO8YA6fq-lkp@intel.com>

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

  reply	other threads:[~2025-08-14  7:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-13 11:23 Stephen Horvath
2025-08-14  6:36 ` kernel test robot
2025-08-14  7:40   ` Stephen Horvath [this message]
2025-08-14 15:25 ` Borislav Petkov
2025-08-15  1:53   ` Stephen Horvath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SY4P282MB306320D794B9E1407D0CE5D2C535A@SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM \
    --to=s.horvath@outlook.com.au \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mingo@redhat.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®