Bug 28912 - RDPID support incorrectly reported on x86
Summary: RDPID support incorrectly reported on x86
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-21 08:31 UTC by Florian Weimer
Modified: 2022-02-21 08:31 UTC (History)
1 user (show)

See Also:
Host:
Target: x86_64-*-linux-gnu
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Weimer 2022-02-21 08:31:10 UTC
RDPID requires that the kernel set ups an MSR before it can be used. Hardware support by itself is not enough. I think this line

  CPU_FEATURE_SET_ACTIVE (cpu_features, RDPID);

needs to be removed from sysdeps/x86/cpu-features.c.