Received: from mail-dl1-f45.google.com (mail-dl1-f45.google.com [74.125.82.45]) (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 D47B32367CF for ; Sun, 21 Jun 2026 17:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782063186; cv=none; b=XSYA3zrgjHEBV7xH/emKe7G3Lk4frAAKFq2a1kgHvk3TAhlNReKsLkOzO/PAewj2LSdYWqV5lSTaPDU2RI7Zn7vdj1zK8Sn6IpV7G7S9UOLxf0bQ2ftEDruiE3yqko6CDJH9810SzKA2T/qCr9uqUxVuBrFQeBlPJLYp6H2HBhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782063186; c=relaxed/simple; bh=gzrrEiwtcJ9ivwLoJnL+m8n0FS7ubVze2VOLPpakTLw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qc1lCtilhJqz7/wN5b9zZo9bS/QpTFqf3dfJJzgP5LYAHgEWeOqPGYLJ2JzZA5dVSgBaXFRrcaAQKUlnKPSeSrWvr8/rLQZJPMHslbuqROfTakUgEbmHj1tcahSaoukx72bnAxn0oMqTUWFwsk1K9MrOAagakaBfdnm4WDkTH1Q= 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.45 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-f45.google.com with SMTP id a92af1059eb24-137335bc3caso5526913c88.0 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=I8TzHi52JjZsNPtKBvu4NNMOiHYsAo6dI1YrthF6Z2XZpp/0YTtbJ1vXdsUsLz6cBp vatjyYXpS4siNE0610ZFhbmlmVCLTMOXn/W5PX0YMuQEEMBQqC9A12F1qiyrcP3omR4x n7DK5qM/XegzEKRHMeCvn7l++HkWQxUpk6lKwYz5s6efnfBokv66ZSv1XDesRFpIz+zs W6KG3n5ZUQ+sIB1L5DH44JP7HR2Qc+pfnnpj9CbE8M/+vg1SJfNaHUH2Vgnwn2etJkN8 ZnL+LPD+RDPL8ZwmYAv+eN7Zhek72n0bXLeIMu2hnYvl1uAmBSTdQjYksDynfPhrhUSO hYjQ== X-Gm-Message-State: AOJu0Yx68hLPTNoOuY+OF/4i4gdUiUothKl2iYnDGPneH9nGuSiN5Cpu 369imPwTZ6ArHfITTwVddA+wUCx/KFkql/WKZT/b2v2yYCk5Iz5wI2xBmlWNaXnC1oo= X-Gm-Gg: AfdE7cnND0jPpbKoFI3Q5gbtqRX2VZWT2qVece/G0OP3q/yMdEZucltznv/7UgXPvup 1D24aoPtLtkFVP1bnHGnwruP8Y19BhQdcoY1lWO38bctGfSDiiMZRPM0V2r2OYZuJb4plPN8ltn 6U58D0TEzrvRgNLi2Wewr2bWWUPVKluMOBUmEwNrcfh72BpfoXjdaZsUR30vvKRdLedt6xysrGJ mCxHUXVG8c97CPS6/6CTCPfFNE76LnpdWo9Tg8TgHg9fzt3H5Goe+3KMFJlDr1SKA7R2ZC/bI9D NaxWtv9jymTv98iEZxmCKC9V2Z/wUlsE3wlksFICmMSMOXDvwf2BuxWHy4b+/YRmxArfBxk1Njp GvWZmJNuxTq2LaGUOnw6+hxNQZ83pYiQymo0UvCREWq73J5gTsQmv7kUgH5GJxLL6vTbymTDxxb I9MEUCyjfif26HF39bM+isQBDxxPvGtRDMiQ== 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: bpf@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