From nobody Fri May 13 17:58:41 2022 X-Original-To: dev-commits-src-all@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 1C1231AE8DEC; Fri, 13 May 2022 17:58:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L0Gbj4fZ5z4Wg3; Fri, 13 May 2022 17:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652464721; 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=DZr4fA66L5gfASqoxVSmmFEZbK+m2x7iWMT/xJZlf4o=; b=O6tOynwRWPdHhbYy+IfG08JcDhlaWCoNFyBLWC0WBH/oz/lLCO4jE+CvCGsu/QDM/5wkqM sL8TRsqvQKwfEk1wg0E6D0Zmq+7QZgpielWqO6ANwvSaOEuKrcnYwOqyPCZr47wanWXViL k/JVtzXJdBWdxqFE2BsTTcTqyl5nR9w0EvEijIL1p9JDm642OBW9/gOArDny5M1UYKrJi+ 8XBDhwDolubfT3znyhAulnnclYlQLwClo5Ya5aN0ClkPhaCluOZFczP7C0pplwZyte3xpD cgNqHlNKfigIzdrUwH73IRVkNzDYkezV8PxuA9dDWsiRfzZhcDW0XwbkEHQ/HQ== 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 6B1C1271EA; Fri, 13 May 2022 17:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DHwfbH069393; Fri, 13 May 2022 17:58:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DHwf21069392; Fri, 13 May 2022 17:58:41 GMT (envelope-from git) Date: Fri, 13 May 2022 17:58:41 GMT Message-Id: <202205131758.24DHwf21069392@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 6dcb516ba69a - stable/13 - bnhd: Write out updated resource dependencies from the table. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6dcb516ba69aea3e8e3fa6ef8baf63ae3f14fdec Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652464721; 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=DZr4fA66L5gfASqoxVSmmFEZbK+m2x7iWMT/xJZlf4o=; b=baidoDLhVqrpH/NnoNcTNeqSsC+Rj01sxh3CS4h9udpywtxgwUBwpeU9fdvbgtxaX6UzAm 9+3PCKG+7rb5XqbxWBeuEygrGIOxmk6Mje+BmdUsMJRT8cCUbeKyaymbZ2dP72oB3UyYk/ fWwYne3Req+GypRt0p23dJWClwK+lUfLamS/OyADAuRRi1oqGORN3a99EK52zhXH8OLxq6 rbOZ4OvS8KXpVu25d9tTHaUg+zUUyy8t2LGQQCzgaRT66t5EiQJBQ0or4JQ3jdWolSuqgq PK4qavfZ69h/ytCJ2wsai3YDUvre8Jqr/t5t9/c6jMyNg8Ob3WrNFA2dlzv9lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652464721; a=rsa-sha256; cv=none; b=XcIKtEMpUldviB1CggxmEjKIH5oaOqvOFDZsq+Max9Mu1c84ZHIGa8Vp3VWfGrapxzMSEE tUKgHRMS7DwRw562xaUsE+BslXkdMNjc4Z0k/WH7Ffawq2owFesKwpjRotGsY8hT81Ug7E FLM6NV4UKtmjWPlAkGQs1tF1CNXA7eaqpiZeNTtexgLUux+/NP/d3BWfJVq34i6GANnmsy +kewlBpwEoIyIl/tBi1oZ96DeYFE/8rJ+8pXA+a7VGOXiOOP+1GZNoAOVR0xVzQKSH7vzj A7ZAZtJMo4ilyv3yg5Fg+RoAEa/5eXaQikgIm3cp5KOR4f8fxsATuJQJY3dn2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6dcb516ba69aea3e8e3fa6ef8baf63ae3f14fdec commit 6dcb516ba69aea3e8e3fa6ef8baf63ae3f14fdec Author: John Baldwin AuthorDate: 2022-04-07 17:46:19 +0000 Commit: John Baldwin CommitDate: 2022-05-13 17:43:14 +0000 bnhd: Write out updated resource dependencies from the table. The driver parsed the table to update the relevant resource map registers, but failed to write the new register value after computing it. Reported by: -Wunused-but-set-variable Reviewed by: landonf, imp Differential Revision: https://reviews.freebsd.org/D34814 (cherry picked from commit 3cebca152b183a87c48a3d36610569f2b4865261) --- sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c index b93110176d2f..bb3f03b12d77 100644 --- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c +++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c @@ -1091,7 +1091,8 @@ bhnd_pmu_res_init(struct bhnd_pmu_softc *sc) break; } - + BHND_PMU_WRITE_4(sc, BHND_PMU_RES_DEP_MASK, + depend_mask); } }