From nobody Mon Feb 19 16:44:47 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 4TdpKr1P1rz5C8xj; Mon, 19 Feb 2024 16:44:48 +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 4TdpKq2TJMz4Ztr; Mon, 19 Feb 2024 16:44:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361087; 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=f6jcuBSrXhVFPatcLj0jsDyc5otFH82Zl/tXZ0olgng=; b=IlnoWYHn8V13KLQuN3JcHNvx9Cfo6KrdHMl/+j5iukLaiSMAqFDLrRqnkGd3mjBzUygbzU X9h7ux/iu1h7lp5qfngXQ6RfNyeF4bjncLEzudVpoNE8UYtYXmbjSO/KevRDHFUTzgRJyu Y6dym8g4wTwZCJRW4FeUlNPCVtKPWNmgmiQ1M9X2/PWwPgcRufhtunN/0RWCSMtCNC/X4s GnGaVBKH4eYgSXYUMqLlxEDlvNc05MV2OUJWJ/GQaLibWQiw/aH/aQqwiqh9DCHTVYTIFT LggSJMFYedPyQ6wJaellykYAg2QS1mWIGQqiiuhc8H3/CzmTjdj4ReILFZTXjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361087; 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=f6jcuBSrXhVFPatcLj0jsDyc5otFH82Zl/tXZ0olgng=; b=maYFRVT2GQUMCRmxH8PXqTdAEZTYWOK+Zt2DaiHQpphkFMhL9Cgsu2LerCyyoMXyOlrGBX 5zUPAOmjquQo9jEz+Jf+oLnDDVmOaQ2rrelqP1A3q3LpF2104IwwNH7w5VQN/HxJNRo3Jq ate0KSmO+Wg1i95jfHfkxegQ/VzGDL7Gf+eX90klPJPyVf/k1XV/yIkX2t6JUMbUS41T4+ z4+JSjHaDQQczUMBDOYwBsi0tc5DBQgiu9u3qOAgC/yaOdFwAWw6ZlV7ReFqtEPJ9rSPtM yqAWUxMzlF5gi8YnSK3z07OrUJ1SJ644B1kr41/BKUnh2H7eDa60d7OnBrlgPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708361087; a=rsa-sha256; cv=none; b=l7Zpj1BFNEe2WNkmbUNk4kU66sMSfseJjH3FZj8NL69sn7/lgIJQRADVlhsAesDEhlSzie y3+BHFIsd9lrgUjFS9/9IcJZcDFG+ma07QCE+aCvkVeynzgDEECc81CjgsohSKtOcRmLpF a68/niQK3w0n5b4aovRy0rZXHmjdAeffADiJ+KFyn9HGqIF0JRrTeu4Wpf/YQZOFUBzN1q 23zzqz2VewF5hBBACShamNEs0nfLL3W3JxHQuIH9qedX/0Ev5PZTiH8rxSLqXhblOJxdrn /ugZDWYYaMr8uk+gvPNUmPnLrbi1D7hkZ14cnXHhbc/GjAGIqe2j77RRKbriZQ== 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 4TdpKq1YPwzjDJ; Mon, 19 Feb 2024 16:44:47 +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 41JGiloU093865; Mon, 19 Feb 2024 16:44:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JGil2o093862; Mon, 19 Feb 2024 16:44:47 GMT (envelope-from git) Date: Mon, 19 Feb 2024 16:44:47 GMT Message-Id: <202402191644.41JGil2o093862@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: 371bcfc8a245 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 371bcfc8a2450fbf0dd741dd0f25a5dccbc4b984 Auto-Submitted: auto-generated The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=371bcfc8a2450fbf0dd741dd0f25a5dccbc4b984 commit 371bcfc8a2450fbf0dd741dd0f25a5dccbc4b984 Author: Andrew Turner AuthorDate: 2023-09-08 13:27:15 +0000 Commit: Andrew Turner CommitDate: 2024-02-19 12:38:03 +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 314330021495..be070a451691 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -2086,7 +2086,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)