From nobody Fri Nov 22 00:30:12 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 4XvbbS751yz5dnpH; Fri, 22 Nov 2024 00:30:12 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvbbS6Rn1z4Ykv; Fri, 22 Nov 2024 00:30:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732235412; 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=Uf0JGUA6h4kju5Y2SA3IXdy6ZnHUv3na6mYVteD4dJ0=; b=S4k5X8R3AIPAeO+OfrVoAHREnsyHLHx1+7nCwpIfG+zg2heUEC7icvGlu1JONiO6ub6sB+ IJyEIOx7pII618CskE5eKCa8/u6+SzLQL1B4LabN9lk2PFEltXcxkmk1Rer71oNF/szGg7 Wrh9rdGBZtAO+EDAksnl7qzUmbehdDa8eNzo54kQS4buWGPABiwj8ElxB8aM5yXpG8XiVI HivMQSqj/USyDB1w46sdcz+8DjPu6koial83x/x65lq+rYMCXQ0818jAu1wrWNaZVsE/Pw Q+Z6qe3DWk5+ItcR4kEOSIzHFw2zriLvlu7mZ8vF23vfvusTFvGsk74OR8fYlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732235412; 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=Uf0JGUA6h4kju5Y2SA3IXdy6ZnHUv3na6mYVteD4dJ0=; b=c2L1KuAMFRxdd7t9K5SZ1dvxoZX8ss+25xTT+R/s4XAzFzomy+ISVdaD6YmNv903fDhUTs X9/g9kViKaYdh0q7WQ2yI5DGZ756+Z0imasvKQlYzPE0q0hO6vrvf6TrL1JqfugNigb3SI l3efx0y+70JoSv65YdNg0QoRS5c8Vm/AjWqGOA9Kc2V807zTOUi334nhXD+fXL+7EOzkM9 UcYy8FCimSsV7CDKy+/xnTsPJbF8BHCqD10mIs9KVE8OwbSkH0mnbInPelpLfxZzaT8vjz XuNE0fbYlEKBrzjHmHENL9jXuoJ1Z5IgpNv+j8k/hSb7hFKbeSF3VuKJWsSU8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732235412; a=rsa-sha256; cv=none; b=jzhivR0tvJ2TPhOFbFdx4cAx6bZgdsqadDkukw/8TDHWVR4f3s8zfzA6+U1QjsFMX79QBT TckFlJhLdTqa4zhqT/42UPBXYjgpvsWiJaKJCJcQ4N1Rg/bhs2x6rhlahTYkBCNjBuy2Hl glgmwsLJJ2chdih+3yEFwmMNwBwSsEzRaCEIjUAvdtwMzUDeiuMPcNszsdRrVYWhDfMGou Q3AylX02RuPqS+PxrBlTq3zfP2+1aGGROJV6/AwOcrh1s6nASa1VQ4CfE5czQRP9WWRY82 j4jIRYZxQU60ohdVzX+S7EOLA8y6cI40LrjchbcdLY4bgt29mDiBu4E4j7aW1w== 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 4XvbbS63G0z12CF; Fri, 22 Nov 2024 00:30:12 +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 4AM0UCMG039598; Fri, 22 Nov 2024 00:30:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AM0UCP5039586; Fri, 22 Nov 2024 00:30:12 GMT (envelope-from git) Date: Fri, 22 Nov 2024 00:30:12 GMT Message-Id: <202411220030.4AM0UCP5039586@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 56043cbfddfd - main - gicv3: Use the correct mask 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 56043cbfddfd072988fafc88f38a1f3de7707f86 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=56043cbfddfd072988fafc88f38a1f3de7707f86 commit 56043cbfddfd072988fafc88f38a1f3de7707f86 Author: Warner Losh AuthorDate: 2024-11-22 00:04:00 +0000 Commit: Warner Losh CommitDate: 2024-11-22 00:04:00 +0000 gicv3: Use the correct mask Mask off the bits we'll be setting, rather than retaining only those bits. Sponsored by: Netflix --- sys/arm64/arm64/gicv3_its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c index 5ecd9b8c0e94..4b554f2dc30a 100644 --- a/sys/arm64/arm64/gicv3_its.c +++ b/sys/arm64/arm64/gicv3_its.c @@ -444,7 +444,7 @@ gicv3_its_table_page_size(struct gicv3_its_softc *sc, int table) reg = gic_its_read_8(sc, GITS_BASER(table)); while (1) { - reg &= GITS_BASER_PSZ_MASK; + reg &= ~GITS_BASER_PSZ_MASK; switch (page_size) { case PAGE_SIZE_4K: /* 4KB */ reg |= GITS_BASER_PSZ_4K << GITS_BASER_PSZ_SHIFT;