From nobody Mon Feb 19 16:44:58 2024 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 4TdpL32kQJz5C9MT; Mon, 19 Feb 2024 16:44:59 +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 4TdpL30fhwz4b3R; Mon, 19 Feb 2024 16:44:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361099; 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=GdfSLUejTRsaMsFva3YVEE6etnNpOdndTygx4KryYZw=; b=VM+iBFwtSa+ImDovAW01aYdMV+jThbD56JEEIwByfYr++7TNPSLeD6uiQ//2sKtRs7vnsK lPJc3su5Ra0dRa6sXMtWZVvk5uNOViM+4/NBYVwiaJJxRfHjFxGu17hNu9ee2HTuUua6Vx W4GO3dCp/FB91Nbq3BDtpV3TVF7dNDQVuGuieLL65cu6E5N8IVg93cixzKAE4l6lVo7a1N nl8rLT0KSB3Br7tCu6F921SvuseNF4TzAwO1Hy++YGk0NZ0WXjeyRZxfGYE5d7ivZXqKt4 /p53n9hbvU4ZqyXIMxxxwZBZbqGXGQQ5M9iR348ePLTRTErxXiLR+9K+vrtsjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361099; 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=GdfSLUejTRsaMsFva3YVEE6etnNpOdndTygx4KryYZw=; b=eb6bPtzjj3TN+pru6XalsTLEe5xLncbJsURTuV6VSHcXn2+g3sMuzOTyDOeR0ZQkhrLanU tSq/sMUVwJZFEx/whEGHP0UBTK87kASiL+W0/oJzRecPZvsvWhDSQ4+P9nljVfnxRGA7M2 Q7CwGSqWLSzFuL3U0uB+ybyGsQVi2YzpZnIqEWu3w2oPxavGPM4tuIDrKGhvDLRK9aRg5W 2BMozLcZfUJHTClst3U/tX4z0LMNF7ALCciAd8hICg6+ELyN8fdxOQaAjJfeYBrv0+sQtJ ha2A42PiNljUXjnf5x+r/08XnAYWnVDxlZrr1A4MQxIxg5cnF6y4JnphKwchhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708361099; a=rsa-sha256; cv=none; b=OjvKC/Lj3NSPd/9xXQ28qsTYhJj7Vnmqt6AtUGlyTsaUleEwuxPBbTJtwxXc0Gc81G04VC c2ITCMeeS1p8wNwgkmG3Q9Ix6QEyGmBvXuTsrqD2WVC8229SjZ1KPhEI9Ze3k2ekXUuQT7 5j4gvQYM+vgaQAmEsEYOd+Y7uKr96K65p9DV7xzHgEM6whnAJDaNujqN6lJXhR15CUT5cz Gwh0ylVMnQY0chqEl8YNolcAFwEtWh8MVzVPlQEt4dRbGmgl82ih5XQEHAPeInFO2+UDry HJl1D03Sjy7NBsXkSkPIhNgnXpD4gkx7RQIN/ib//YqCjjYE5bKW9ZGCy9hVbg== 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 4TdpL26t4kzjDM; Mon, 19 Feb 2024 16:44:58 +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 41JGiwmb094672; Mon, 19 Feb 2024 16:44:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JGiwad094669; Mon, 19 Feb 2024 16:44:58 GMT (envelope-from git) Date: Mon, 19 Feb 2024 16:44:58 GMT Message-Id: <202402191644.41JGiwad094669@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: 7a64b05196bb - stable/14 - arm64: Fix the TCR_TBI0 macro to use UL 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7a64b05196bb713fb8ad48ebcbd251d0baae036e Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=7a64b05196bb713fb8ad48ebcbd251d0baae036e commit 7a64b05196bb713fb8ad48ebcbd251d0baae036e Author: Andrew Turner AuthorDate: 2023-09-08 13:27:15 +0000 Commit: Andrew Turner CommitDate: 2024-02-19 13:08:12 +0000 arm64: Fix the TCR_TBI0 macro to use UL This needs to be 1UL to ensure the type is large enough for the shift. Sponsored by: Arm Ltd (cherry picked from commit aea540538991dd9e8cf21c6ca06e09f706bf2d18) --- sys/arm64/include/armreg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index 034504727b39..3ae2f24c2a56 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -2127,7 +2127,7 @@ #define TCR_TBI1_SHIFT 38 #define TCR_TBI1 (1UL << TCR_TBI1_SHIFT) #define TCR_TBI0_SHIFT 37 -#define TCR_TBI0 (1U << TCR_TBI0_SHIFT) +#define TCR_TBI0 (1UL << TCR_TBI0_SHIFT) #define TCR_ASID_SHIFT 36 #define TCR_ASID_WIDTH 1 #define TCR_ASID_16 (1UL << TCR_ASID_SHIFT)