From nobody Thu Apr 7 17:47:27 2022 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 A14291A8B9A3; Thu, 7 Apr 2022 17:47:27 +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 4KZ83M3Zh5z4VQY; Thu, 7 Apr 2022 17:47:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649353647; 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=xv3HFpJHyxxc7z/vzastQJMZgKl93sYPTM+TBA/MZTA=; b=dbH9SFW1IV431EbvS5CGBzToNLegB3SySG0Mdkf5GM7KB7KF8n6czWKbZWEF2n/PIlzI5A MV8PtK/RuiIxcvTUMg6exK63J3giXGL+kIHz6SpJVA7SYE8uMvlu56q5e2veW/PKyx9Gpv TTC0ndDcL24h/ZAYO7C0v0R6Xsc1CGinYKcJ7XCi4xaoffj7l9ULBePAmmvG+SWQoMBUxk WxmmVkqJSCBG+29BrGmse/Ow9wqijWpnLLBKFD52amNKiqkE0joxAnqV4S6GSMMHneI7KY 7Ktf/eNLJspjCMbBm6BS1luM+LvnIj4N4pXZrC3Wjii4pBVLTn6/8uzWivo5wA== 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 53D8F14BB6; Thu, 7 Apr 2022 17:47:27 +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 237HlRQ0070749; Thu, 7 Apr 2022 17:47:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 237HlRDN070748; Thu, 7 Apr 2022 17:47:27 GMT (envelope-from git) Date: Thu, 7 Apr 2022 17:47:27 GMT Message-Id: <202204071747.237HlRDN070748@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 3cebca152b18 - main - bnhd: Write out updated resource dependencies from the 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 3cebca152b183a87c48a3d36610569f2b4865261 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649353647; 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=xv3HFpJHyxxc7z/vzastQJMZgKl93sYPTM+TBA/MZTA=; b=P85V3wcEWG6qWSkfcEzIPIJum4DH7wjYvTbu/cfYu0XCKwVXUI5keaxQxhDNnhmbVSyaig zjTPNAe1wyov8bdftlXJ61ce0nmthW13HgVK/OyyD6OOrxgQgZJmnqlYCmT0N9B0CRsqlX fibwdcez0Ee8QNLRYRBWv2nN/diLfQiKl1O2dmnqiAqGurzGkio4KexLmQnvETidRre5iJ 3jDWGALyK/qmhALs2r9mh0hGX5GvUlka/QauZY9V3OSKbD5m6y54zJAlrjzF0HZL+rxvNC mBeawmwgoDWiSrXwTsyZg9DHlRCFw3dNENy9EyVz5o1RWbPzDmivBXx8hFHY+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649353647; a=rsa-sha256; cv=none; b=xkiaA3PrG9sdtPb+wgdLHlGhPbaHcCA84/H/JKdr40oMWSSKvRws+CvJWvgmjjbaEblhwL x/H1y1+NRm4xDXk9WB9kHF4YbN76nOpPrcEVafqdfEszmx/qg90FZbm2+Sh/uBhw9/xebG 4hXt/fyWO2snWZSeGEFJ9Ph16POi7rwkecOKoiabCIaHN4e2KuY88CoEtivthmryH26l99 Nmw3B+Kg0ybWuKcSOV5zy6EKX45BGx1UJHLQdGnSI5ZL6L/N093dfv2XP5Dvm1AzWW/5So YBoAKzCqqlQLMXislIe9kdh9FT6IO1AxmXk+K/QCuw2gSnS3EFRIRa5IrJr02Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3cebca152b183a87c48a3d36610569f2b4865261 commit 3cebca152b183a87c48a3d36610569f2b4865261 Author: John Baldwin AuthorDate: 2022-04-07 17:46:19 +0000 Commit: John Baldwin CommitDate: 2022-04-07 17:46:19 +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 --- 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 33300ff77b2c..85f0495f321e 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); } }