Page MenuHomeFreeBSD

amd64: gate WRMSRNS immediate form on compiler support
Needs ReviewPublic

Authored by brooks on Fri, Sep 25, 12:45 PM.
Tags
None
Referenced Files
F173384075: D60023.diff
Fri, Sep 25, 2:46 PM
F173382292: D60023.id187669.diff
Fri, Sep 25, 2:27 PM
F173374833: D60023.id187669.diff
Fri, Sep 25, 1:15 PM
F173374188: D60023.diff
Fri, Sep 25, 1:08 PM
Subscribers

Details

Reviewers
kib
markj
Summary

This support was introduced in LLVM 20 and we still support releases
with LLVM 19 so it's too early to require LLVM 20. Gate definition
of the immediate form macros on and appropriate clang.

Fixes: 20c09e6fece2 ("amd64: use WRMSRNS immediate form to update splitlock control, when available")
Sponsored by: Innovate UK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 77320
Build 74203: arc lint + arc unit

Event Timeline

Ideally there would be a GCC gate as well, but I couldn't immediately find when support was added.