From nobody Wed Feb 07 16:39:35 2024 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 4TVQnM5TzMz59gWX; Wed, 7 Feb 2024 16:39:35 +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 4TVQnM50c7z4Wpj; Wed, 7 Feb 2024 16:39:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707323975; 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=LFcLy/dHxCS+wBdNDwruVVyS1FxUIq7aiHKqZr+OD5E=; b=QfdDsCg7mXP9WyRWDyyS+NTWWe1oQA/cEzJXPyUope+Q6uUoSnieWYz5IHQGOecZ46iVAe eMUdoU74bnHDMnIykIyFMCIQdmtF6RRVNHr1KRUZoAEnjQWC0gGFeQTXCOaqg/tJOWPCaq nN0UewiPWJQnQF4jyQWCfEpg3YypkOuu9FDLfVtUNwBLnM/wzPzV1lY2Ql6nldjY7yAulZ TghXZ2qmDuoRSZO3J1yXduj/VeZIT3bMMcDx2NizIRTKxIkly+tI7IF1pfbd5P9RG3kRH/ LcSwcDv0zNHEgp5UxakFGl8n+xb7/XV7sq24OoPfcadK8V1BButMSkB85T+1Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707323975; 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=LFcLy/dHxCS+wBdNDwruVVyS1FxUIq7aiHKqZr+OD5E=; b=BAb/xBxSdLIC2GRUq5z1vVjLKH8Zl7rqFO4HQulBJyp3vlm9fHfTn6Q+jDUJDoBFheCUJo jgDkjw57x3besSNE5LTmYiP1T32rucknSx4mXlXldb8wzKrT4sLWrggtYyoGgV8lQBqM8D hkYoGxhPQwqGI1+B2KXiIQ6oNxLJqhp7U9S1TnflLz26h5IYQ29C5/w8FF56smPxeoUJbD zZjB5TKwcfoNzN5ex6JZ7tz31o+azurrQs1D2QppWtpY21Xw4kaeLecISnHI64Rgsosuec JI8wc8y9IVr1VSU+lGGPYR2Iy5jYM42F1k3fcFur4LA2LzjkXtuvwRA+lH/KTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707323975; a=rsa-sha256; cv=none; b=nLuO4qipw7qTpERxHK4SCLf8Rs5hP5nqCJYjh1cQ2mkscFEkqsF0owlW5vPim0ZveL2L2+ NWyUgmeUVB3gUU27ntrpVZgyg3whLfQtvRQkj/1hZwa34QgEeQgKcfsHVDjzOGjpsYgv48 b0Q6v6isvffnSuo1UdTN32oD8QF+aKE7+jeCcdbVY2YnownGUeGZiNbmbQSjL2cTpff6T4 Nadu5M6PAFaRFG7bfVbknBMl1AqQpL6ZaXLIX5I+j55PrEbK1SGmSdVsBEfIL7Gf7YvMCZ 7z72kQp9pfUq+EdbNvobIXr05UA6NEtf9EZqwAvvfRNGO7vgwhyS9ZOJVklgMA== 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 4TVQnM43pRzDfX; Wed, 7 Feb 2024 16:39:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 417GdZKO004778; Wed, 7 Feb 2024 16:39:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 417GdZvd004775; Wed, 7 Feb 2024 16:39:35 GMT (envelope-from git) Date: Wed, 7 Feb 2024 16:39:35 GMT Message-Id: <202402071639.417GdZvd004775@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: b8afdda360e5 - main - gicv3_its: Drop a couple of redundant vm_offset_t casts 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: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8afdda360e5915be3c2cf0d1438f511779b03db Auto-Submitted: auto-generated The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=b8afdda360e5915be3c2cf0d1438f511779b03db commit b8afdda360e5915be3c2cf0d1438f511779b03db Author: Jessica Clarke AuthorDate: 2024-02-07 16:24:34 +0000 Commit: Jessica Clarke CommitDate: 2024-02-07 16:24:34 +0000 gicv3_its: Drop a couple of redundant vm_offset_t casts These are already vm_offset_t, no need to cast. --- sys/arm64/arm64/gicv3_its.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c index a667d40b4e3e..42a8fb8a9c26 100644 --- a/sys/arm64/arm64/gicv3_its.c +++ b/sys/arm64/arm64/gicv3_its.c @@ -718,8 +718,7 @@ gicv3_its_pendtables_init(struct gicv3_its_softc *sc) 0, LPI_PENDTAB_MAX_ADDR, LPI_PENDTAB_ALIGN, 0); /* Flush so the ITS can see the memory */ - cpu_dcache_wb_range((vm_offset_t)sc->sc_pend_base[i], - LPI_PENDTAB_SIZE); + cpu_dcache_wb_range(sc->sc_pend_base[i], LPI_PENDTAB_SIZE); } } @@ -1329,8 +1328,7 @@ its_device_alloc(struct gicv3_its_softc *sc, int devid) ptable->ptab_page_size, 0); if (!shareable) - cpu_dcache_wb_range((vm_offset_t)l2_table, - ptable->ptab_l2_size); + cpu_dcache_wb_range(l2_table, ptable->ptab_l2_size); table[index] = vtophys(l2_table) | GITS_BASER_VALID; if (!shareable)