Skip to content

Commit d4a5f3d

Browse files
committed
Merge branch 'main' into fix-4547
2 parents 3784a26 + 81bae9f commit d4a5f3d

File tree

8 files changed

+20
-23
lines changed

8 files changed

+20
-23
lines changed

.buildkite/pipeline_perf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@
124124
pins = {
125125
# TODO: Unpin when performance instability on m6i/5.10 has gone.
126126
"linux_5.10-pinned": {"instance": "m6i.metal", "kv": "linux_5.10"},
127+
# TODO: Unpin when performance instability on m6i/6.1 has gone.
128+
"linux_6.1-pinned": {"instance": "m6i.metal", "kv": "linux_6.1"},
127129
}
128130

129131

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/clippy-tracing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ clap = { version = "4.5.21", features = ["derive"] }
1414
itertools = "0.13.0"
1515
proc-macro2 = { version = "1.0.92", features = ["span-locations"] }
1616
quote = "1.0.37"
17-
syn = { version = "2.0.89", features = ["full", "extra-traits", "visit", "visit-mut", "printing"] }
17+
syn = { version = "2.0.90", features = ["full", "extra-traits", "visit", "visit-mut", "printing"] }
1818
walkdir = "2.5.0"
1919

2020
[dev-dependencies]

src/log-instrument-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bench = false
1313
[dependencies]
1414
proc-macro2 = "1.0.92"
1515
quote = "1.0.37"
16-
syn = { version = "2.0.89", features = ["full", "extra-traits"] }
16+
syn = { version = "2.0.90", features = ["full", "extra-traits"] }
1717

1818
[lints]
1919
workspace = true

tests/framework/utils_cpuid.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class CpuModel(str, Enum):
2525
"""CPU models"""
2626

2727
AMD_MILAN = "AMD_MILAN"
28+
AMD_GENOA = "AMD_GENOA"
2829
ARM_NEOVERSE_N1 = "ARM_NEOVERSE_N1"
2930
ARM_NEOVERSE_V1 = "ARM_NEOVERSE_V1"
3031
INTEL_SKYLAKE = "INTEL_SKYLAKE"
@@ -39,9 +40,7 @@ class CpuModel(str, Enum):
3940
"Intel(R) Xeon(R) Platinum 8259CL CPU": "INTEL_CASCADELAKE",
4041
"Intel(R) Xeon(R) Platinum 8375C CPU": "INTEL_ICELAKE",
4142
},
42-
CpuVendor.AMD: {
43-
"AMD EPYC 7R13": "AMD_MILAN",
44-
},
43+
CpuVendor.AMD: {"AMD EPYC 7R13": "AMD_MILAN", "AMD EPYC 9R14": "AMD_GENOA"},
4544
CpuVendor.ARM: {"0xd0c": "ARM_NEOVERSE_N1", "0xd40": "ARM_NEOVERSE_V1"},
4645
}
4746

tests/integration_tests/functional/test_cpu_features_x86_64.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,14 @@ def test_host_vs_guest_cpu_features_x86_64(uvm_nano):
486486
"hypervisor",
487487
"tsc_known_freq",
488488
}
489+
case CpuModel.AMD_GENOA:
490+
# Return here to allow the test to pass until CPU features to enable are confirmed
491+
return
489492
case _:
490493
if os.environ.get("BUILDKITE") is not None:
491-
assert False, f"Cpu model {cpu_model} is not supported"
494+
assert (
495+
guest_feats == host_feats
496+
), f"Cpu model {cpu_model} is not supported"
492497

493498

494499
# From the `Intel® 64 Architecture x2APIC Specification`

tools/devtool

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,6 @@ PRIV_KEY_PATH=/root/.ssh/id_rsa
127127
# Path to the linux kernel directory, as bind-mounted in the container.
128128
CTR_KERNEL_DIR="${CTR_FC_ROOT_DIR}/.kernel"
129129

130-
# Global options received by $0
131-
# These options are not command-specific, so we store them as global vars
132-
OPT_UNATTENDED=false
133-
134130
# Get the target prefix to avoid repeated calls to uname -m
135131
TARGET_PREFIX="$(uname -m)-unknown-linux-"
136132

@@ -195,7 +191,6 @@ ensure_devctr() {
195191
# download it, if we don't.
196192
[[ $(docker images -q "$DEVCTR_IMAGE" | wc -l) -gt 0 ]] || {
197193
say "About to pull docker image $DEVCTR_IMAGE"
198-
get_user_confirmation || die "Aborted."
199194

200195
# Run docker pull 5 times in case it fails - sleep 3 seconds
201196
# between attempts
@@ -1235,7 +1230,8 @@ main() {
12351230
while [ $# -gt 0 ]; do
12361231
case "$1" in
12371232
-h|--help) { cmd_help; exit 1; } ;;
1238-
-y|--unattended) { OPT_UNATTENDED=true; } ;;
1233+
-y|--unattended) # purposefully ignored
1234+
;;
12391235
-*)
12401236
die "Unknown arg: $1. Please use \`$0 help\` for help."
12411237
;;

tools/functions

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,7 @@ function SGR {
7171
# exit code 0 for successful confirmation
7272
# exit code != 0 if the user declined
7373
#
74-
OPT_UNATTENDED=false
7574
get_user_confirmation() {
76-
77-
# Pass if running unattended
78-
[[ "$OPT_UNATTENDED" = true ]] && return 0
79-
8075
# Fail if STDIN is not a terminal (there's no user to confirm anything)
8176
[[ -t 0 ]] || return 1
8277

0 commit comments

Comments
 (0)