From nobody Wed Oct 29 17:53:33 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cxZby0hbcz6F51y; Wed, 29 Oct 2025 17:53:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cxZbx75bzz3lQD; Wed, 29 Oct 2025 17:53:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761760414; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b9HwvBRaEtieT1FTvP/PlGVIpuv81K/mRYMjj3mRxAI=; b=x4yUoeVOzvsBjc6K1CCgIg2UkHVO8RMU2SgWrWqLZyuGTCijSeCO/EEoWeNtuaJnbwcqCb 0hWZactaGaDPw8WEM/ud/TNSIR5w3rXCktlWU4jPskaeMEI/JdGVkWuuUzUdnlSTXX13oO BFlAMWdju7nhjpCEPdgxi2FppTwTdI2wWcL4DEgoqu1moMxRwJtsqqfFadTYuDL7QGH9Yb wJIXy/pv05v+vUPxMstYalZ9egPxXAVLZRbdmY33WSK0n9E8GhEAMRQgPab30hSV3QME8Q DlVa+/V8ghkO/RfIy3sdtUDRSBpxvZUo+0/OR9mWJ0NuK9JVHfxes7vU18NAUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761760414; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b9HwvBRaEtieT1FTvP/PlGVIpuv81K/mRYMjj3mRxAI=; b=PPLMXi+ouDFK1yVRkG/T+/xU8WWzOgG2XmMqPaqpC0sYUuU00xAhzRjjS9pGTR5KHAFPGl 8QekNwPbJzLyW9HoeWXbdYkyNrr3zMkVibkD39HZf4mv+n/b2qggUFbUldhcD5qDONHYs8 KRHU60jhKpw8VYYd9UQ63zU3sBfcmrTMp6sdyatgSIT1p+kymkhCmqw9tjbX4ZIPjxDpKp TfQgTJ8CVyj6V1mMxyYJcnfzf0HJZIbtW4bwyzxzsPwdaREDtQvH5g4VnM7yb+f3FhdkDu QMBPoQEDL6Y6HP0XWcWsIfkrY9YonykDeJd4UEPbxYcpgGxyz3DAbe8kNHXp1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761760414; a=rsa-sha256; cv=none; b=wKkWaaBlFpZZRtYNXxd7h0CkEg+ebgB0HH1YGGSQbVyUloAFRJH+isuGBpy2BPngqU19Zz erXm11KWNBohqhQlW6ISH/h8oAx7Yy91Ys6QMwg/te/7Rp4HVuN786jfieniGe48QuAc+2 ph2Y65Cx+imLSFMtGF7qnuKRae+cJcTOzsuU86DG+reO6k3HSqlyxHG50Na4Z1rd81QPsz A1/mjVrmagdo7VwFGYDQ2slDPJTO2Bo24pXeRGo5xMfguIzUK4LDWWutKK+HzmJH24ugJv hhtLXI8hIq6mUMU6FGugQSxBTjRFGiBwXFZm2YN4ulvkZibjkz9cfg86nWrJgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cxZbx6W4gznKN; Wed, 29 Oct 2025 17:53:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59THrX9p094757; Wed, 29 Oct 2025 17:53:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59THrXsD094754; Wed, 29 Oct 2025 17:53:33 GMT (envelope-from git) Date: Wed, 29 Oct 2025 17:53:33 GMT Message-Id: <202510291753.59THrXsD094754@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konrad Witaszczyk Subject: git: 2acdec9e4d91 - main - dtrace/arm64: properly traverse the symbol table List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: def X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2acdec9e4d915ec61d0ca45b408f9beb7aa4b772 Auto-Submitted: auto-generated The branch main has been updated by def: URL: https://cgit.FreeBSD.org/src/commit/?id=2acdec9e4d915ec61d0ca45b408f9beb7aa4b772 commit 2acdec9e4d915ec61d0ca45b408f9beb7aa4b772 Author: Konrad Witaszczyk AuthorDate: 2025-10-28 16:09:24 +0000 Commit: Konrad Witaszczyk CommitDate: 2025-10-29 17:52:42 +0000 dtrace/arm64: properly traverse the symbol table LINKER_EACH_FUNCTION_NAMEVAL() stops processing the symbol table if a callback function returns a non-zero value. The fbt_provide_module_function() callback should not return 1 when ignoring symbols. Instead, always return 0, as in dtrace/x86. Fixes: 30b68ecda84e ("Changes that improve DTrace FBT reliability on freebsd/arm64:") Reviewed by: markj, oshogbo Approved by: oshogbo (mentor) Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D53399 --- sys/cddl/dev/fbt/aarch64/fbt_isa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cddl/dev/fbt/aarch64/fbt_isa.c b/sys/cddl/dev/fbt/aarch64/fbt_isa.c index ffe2f37a6d16..6c789530442d 100644 --- a/sys/cddl/dev/fbt/aarch64/fbt_isa.c +++ b/sys/cddl/dev/fbt/aarch64/fbt_isa.c @@ -104,7 +104,7 @@ fbt_provide_module_function(linker_file_t lf, int symindx, */ if (strcmp(name, "handle_el1h_sync") == 0 || strcmp(name, "do_el1h_sync") == 0) - return (1); + return (0); instr = (uint32_t *)(symval->value); limit = (uint32_t *)(symval->value + symval->size);