From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f42.google.com (mail-dl1-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA098266581 for ; Sun, 21 Jun 2026 17:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782063187; cv=none; b=d4YN23rMib5OOMARSOrlcRdWVEGyRbbhh+sCf2WN6U7of4Wi4H5fEKJPCWL7MMA5zC1icEsWk9n2u9wK3cQiSqmP6I8va7btI5XWWZx9VDaeG1ywI0dkYOrbmcOTF4Njegw5aWRuVtK3OwSkOj3s+qDOlgMOslx1qIYuy8qEW8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782063187; c=relaxed/simple; bh=gzrrEiwtcJ9ivwLoJnL+m8n0FS7ubVze2VOLPpakTLw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cNtRJowedFa5jgV+tEGxdvuh7s+OFsdpRbm5mlqNjtdzzOK8/CNdRUCm/Du0Uy6FZ4RqDMqisP+iue9qfsAZD2vWh6oZ8ZAixjMY4LUhRxS87hwp8AFqsd1M8jAVyvCVLy0LCZctYiqsEyWPxWQbEO3TIu4yTYJCwT51/A528i0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Bb45bJJO; arc=none smtp.client-ip=74.125.82.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Bb45bJJO" Received: by mail-dl1-f42.google.com with SMTP id a92af1059eb24-139a5f4ca15so2066895c88.1 for ; Sun, 21 Jun 2026 10:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782063185; x=1782667985; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8/VThkN0DzvQ1cJGYXECCnKHRSweermGUmHPNf82Maw=; b=Bb45bJJOnW2gZI/MoOH2aN6SFbgp+FgFBKX92TLNsDLD2NeNUy9T0FpU5kbAQvQJQa d6JZWpJD+IOGQzvaifzCalDgOanoH5IUXpHBVd4EMz69EadslkOwg0oDNW9CG2RQc5WK 2+2O2w23mC2EtLJ2ui5ryuk+HfgWhIKdLN/+ME1PB2FWgDCZXf+k+W93ESqUMtE9CPh2 SykioqLqsTdTx+6ezE5CcXiUlSPzjmOZcwRd9hOnI3pAxQbRqmD+VcnbxUKJVVcLBI3q hXhBWBybOGdFIw67KHUco4InnoG2xox5HiKx3v9ZeGrNkilFYCLGKanzvmF19RWZksSP fkHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782063185; x=1782667985; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=8/VThkN0DzvQ1cJGYXECCnKHRSweermGUmHPNf82Maw=; b=NSzLrR7Ho+XGVtu5dxOKT2Zz9gSh2K29Be+oYT4AnugnF+BFpT5hgUe0wxAD6zixJz 8IJ3EuRc6yjiA4jtVCGERPbzesw9wW0AOFdcfRyvsIm1/zG7g4AXyx+CjviqpOVizm8R znoMMiTC2QmXQMa2Wq4bkcJBanfM/VoFsQRyW/L1we6xUA9IPnCG9Ffl3nTot3uTkiLV tXuerQeIhMlM+J0WwAWSn+tC0cE02LZrGencyxhmZHnE/qJVhhWsRGG8FE0VP80slCTG c9HBJZEIlpfhk8gnv7cETFx8xlRUO+LCxQPDcozQBUVkua0paTqCrz4JthUTY7efLmkr P6gw== X-Forwarded-Encrypted: i=1; AFNElJ/ZNpWL4m/46AzDUsIvGh9un9HCTgiPWbW/w4hzn7z7ICjDjf1ZUa6PjMf5D+KhTJSql2NMIfYDI9FbFsc=@vger.kernel.org X-Gm-Message-State: AOJu0YyKH3LNnLP+mYzhKHNSMFjkJN6mgS14R9neJomUrlW0nN6Ps4Ac dvCaKO9WH3fp94gRpje5ha3BmxGf1hh+4CZ/lwjeDtynuRBvkPvSd+Ze X-Gm-Gg: AfdE7ckDkfQ3zY0JbTS1PQVwz14qWkg3Lbo2ypGg4nk3o0SYwrH0Pgv4s46ZJ8bmbUj gcyIsNhbtuCkbD6SKAD0gWJbHENgf2MkWCOGOUh8oSdH0nSUwj3fG2+5dGVq+PQblFvQ4QHQmn8 ECrTmg4HJBCsP7mDa0BVhGFegbxKsdlQPV9KYgf0zNlN6abzM3ySZ0xAoOeruqLrB4DrQHu0mfd eYCKvXF0a4nVKpvyGDIzuDzsBCpByJN++mLZcBSkxRvhjNz3M6CEo8rW0CoHE+5EXFsLy2XOCFV SvJt11hDuBbxG8O/+xqIPsOxWEj6wGv7KcfmZuw70WWGnfrAwuD+sbyI1eIeXC8+4KOUc6Wmjy6 KPJlqxDeanGtoqr1nhrwnOFyUwp5XC8Ct4FBL4OS9kmkkKz0b2Qa1Y3yfHnqIPnm7VRrBiNy+iL K+dyl+u/HldbR0FgNg8lSvXOC3cbREGMQ2Pw== X-Received: by 2002:a05:7022:608:b0:137:fad9:3a30 with SMTP id a92af1059eb24-139a365c5a0mr5970356c88.19.1782063184980; Sun, 21 Jun 2026 10:33:04 -0700 (PDT) Received: from localhost.localdomain ([188.253.121.152]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-139add6d76dsm5495591c88.12.2026.06.21.10.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2026 10:33:02 -0700 (PDT) From: Zhenzhong Wu To: bpf@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, menglong8.dong@gmail.com, eddyz87@gmail.com, shung-hsi.yu@suse.com, stable@vger.kernel.org, mykolal@fb.com, tamird@kernel.org Subject: [PATCH stable 6.6.y v4 4/4] selftests/bpf: Update comments find_equal_scalars->sync_linked_regs Date: Mon, 22 Jun 2026 01:27:35 +0800 Message-ID: <20260621172735.409355-5-jt26wzz@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260621172735.409355-1-jt26wzz@gmail.com> References: <20260621172735.409355-1-jt26wzz@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Eduard Zingerman [ Upstream commit cfbf25481d6dec0089c99c9d33a2ea634fe8f008 ] find_equal_scalars() is renamed to sync_linked_regs(), this commit updates existing references in the selftests comments. Signed-off-by: Eduard Zingerman Signed-off-by: Andrii Nakryiko Link: https://lore.kernel.org/bpf/20240718202357.1746514-5-eddyz87@gmail.com [ zhenzhong: only two pre-existing comments still needed updating in 6.6.y. ] Signed-off-by: Zhenzhong Wu --- tools/testing/selftests/bpf/progs/verifier_spill_fill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/verifier_spill_fill.c b/tools/testing/selftests/bpf/progs/verifier_spill_fill.c index 1f71f596d33f..07a2527a8f47 100644 --- a/tools/testing/selftests/bpf/progs/verifier_spill_fill.c +++ b/tools/testing/selftests/bpf/progs/verifier_spill_fill.c @@ -392,7 +392,7 @@ __naked void spill_32bit_of_64bit_fail(void) *(u32*)(r10 - 8) = r1; \ /* 32-bit fill r2 from stack. */ \ r2 = *(u32*)(r10 - 8); \ - /* Compare r2 with another register to trigger find_equal_scalars.\ + /* Compare r2 with another register to trigger sync_linked_regs.\ * Having one random bit is important here, otherwise the verifier cuts\ * the corners. If the ID was mistakenly preserved on spill, this would\ * cause the verifier to think that r1 is also equal to zero in one of\ @@ -431,7 +431,7 @@ __naked void spill_16bit_of_32bit_fail(void) *(u16*)(r10 - 8) = r1; \ /* 16-bit fill r2 from stack. */ \ r2 = *(u16*)(r10 - 8); \ - /* Compare r2 with another register to trigger find_equal_scalars.\ + /* Compare r2 with another register to trigger sync_linked_regs.\ * Having one random bit is important here, otherwise the verifier cuts\ * the corners. If the ID was mistakenly preserved on spill, this would\ * cause the verifier to think that r1 is also equal to zero in one of\ -- 2.43.0