git: 6dcb516ba69a - stable/13 - bnhd: Write out updated resource dependencies from the table.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 17:58:41 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6dcb516ba69aea3e8e3fa6ef8baf63ae3f14fdec commit 6dcb516ba69aea3e8e3fa6ef8baf63ae3f14fdec Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-07 17:46:19 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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); } }