* [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:68: error: expected ';' before '}' token
@ 2026-06-10 8:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-10 8:52 UTC (permalink / raw)
To: Sean Christopherson; +Cc: oe-kbuild-all
tree: https://github.com/sean-jc/linux x86/kvmclock_vs_tsc
head: 03e00f8b41e58b5dd5ceef21940a62e5d8e08766
commit: 744956b9c18116e3ae2e098633a6a5ee1e144591 [10/51] x86/tdx: Force TSC frequency with CPUID-based info provided by the TDX-Module
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260610/202606101015.4bd77SEJ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260610/202606101015.4bd77SEJ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606101015.4bd77SEJ-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/x86/coco/tdx/tdx.c: In function 'tdx_tsc_init':
>> arch/x86/coco/tdx/tdx.c:1210:68: error: expected ';' before '}' token
1210 | return info.crystal_khz * info.numerator / info.denominator
| ^
| ;
1211 | }
| ~
vim +1210 arch/x86/coco/tdx/tdx.c
1196
1197 unsigned int __init tdx_tsc_init(void)
1198 {
1199 struct cpuid_tsc_info info;
1200
1201 if (WARN_ON_ONCE(cpuid_get_tsc_info(&info) || !info.crystal_khz))
1202 return 0;
1203
1204 apic_set_timer_period_khz(info.crystal_khz, "TDX-Module via CPUID");
1205
1206 /* TSC is the only reliable clock in TDX guest */
1207 setup_force_cpu_cap(X86_FEATURE_TSC_RELIABLE);
1208 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ);
1209
> 1210 return info.crystal_khz * info.numerator / info.denominator
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 8:52 [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:68: error: expected ';' before '}' token kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.