diff options
| author | Mark Brown <broonie@kernel.org> | 2026-09-24 12:45:06 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-24 12:45:06 +0100 |
| commit | fbb13f2483e5aff94e1829bb6dd1d0514ddcfccf (patch) | |
| tree | f413664e94c30eada3b187796d83ac0f96be0756 /scripts | |
| parent | 5d35f9be9b54a1b8f7df85ec5261557e43a999bb (diff) | |
| parent | 91094f9c86216898ce92141c26c8fec7e97544c0 (diff) | |
ASoC: SDCA: Power management fixes for the class function driver
Maciej Strozek <mstrozek@opensource.cirrus.com> says:
The first corrects the point at which the suspended flag is set during
system suspend, the second balances the runtime PM reference taken in
probe when one of the later probe steps fails.
Link: https://patch.msgid.link/20260924095458.2683755-1-mstrozek@opensource.cirrus.com
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/generate_rust_target.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/generate_rust_target.rs b/scripts/generate_rust_target.rs index 3bf296581a88..7687b0dd5474 100644 --- a/scripts/generate_rust_target.rs +++ b/scripts/generate_rust_target.rs @@ -224,6 +224,11 @@ fn main() { features += ",+harden-sls-ijmp"; features += ",+harden-sls-ret"; } + if cfg.has("X86_NATIVE_CPU") { + // Prevent the backend from generating APX instructions. The kernel is not yet prepared + // for general in-kernel EGPR use. + features += ",-apxf"; + } ts.push("features", features); ts.push("llvm-target", "x86_64-linux-gnu"); ts.push("supported-sanitizers", ["kcfi", "kernel-address"]); |
