From nobody Mon Feb 9 09:42:43 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=2; a=rsa-sha256; t=1767721862; cv=pass; d=zohomail.com; s=zohoarc; b=QcWiBXhKii9bAc8diXAHib+EPJITvLpGo3lUJS9UeewmJeP1z0dp3tt+IsGdzQp+8QmoWuSTlRHa8mQpu7bw9tQPAC+8KuwjUEbAdNiSZbuIU2VdGRcTdDTLwvHT4g1+s8ZdDECrdYE0pKLD2VuXjytToJ4TzEX+VNJKK3WiCbA= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767721862; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=T4UUPg4ziycQ2CZJTxKm9+cjlQl10naOxSR1r3Y4jNM=; b=E3vYtBb1QuWjzSuj1lhqK9E/aOyrbOXQf5PBNavjSKf3OeB3cmI3ob/Kucszq2ESz1UAng3HHB/PCC4YhQeyUXEsA+7BgxXc4cR2+DpbwwF4NRuRmibAgVHigP3KdFHjHGCIQxhIgsos43/tzNVms0cjP+Uekt0ibxMaZbdiAIM= ARC-Authentication-Results: i=2; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1767721862445878.5061629821822; Tue, 6 Jan 2026 09:51:02 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1196382.1514210 (Exim 4.92) (envelope-from ) id 1vdBCd-0005sU-An; Tue, 06 Jan 2026 17:50:43 +0000 Received: by outflank-mailman (output) from mailman id 1196382.1514210; Tue, 06 Jan 2026 17:50:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vdBCd-0005sN-8B; Tue, 06 Jan 2026 17:50:43 +0000 Received: by outflank-mailman (input) for mailman id 1196382; Tue, 06 Jan 2026 17:50:42 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vdBCc-0005sH-2Q for xen-devel@lists.xenproject.org; Tue, 06 Jan 2026 17:50:42 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 369b17ee-eb28-11f0-b15e-2bf370ae4941; Tue, 06 Jan 2026 18:50:40 +0100 (CET) Received: from nico-ideapad (unknown [46.228.253.214]) (Authenticated sender: nicola) by support.bugseng.com (Postfix) with ESMTPSA id 5A9D54EE3C04; Tue, 6 Jan 2026 18:50:36 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 369b17ee-eb28-11f0-b15e-2bf370ae4941 Authentication-Results: bugseng.com; arc=none smtp.remote-ip=46.228.253.214 ARC-Seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1767721838; b=G3abZtpGtXqYpXFEv3mZ6ALAZkKkeAFTlVjn5qS9o6xJSSgM4qchSuCMtQPTek4LVcMW p0lwZ4rOblVJX1E22edYLsmNY/YebYUq5A7Nk04SK2plR+Fq01Xbcw1/Lqt2Zc8eOEBSq Iv3jUkMypnmljB5uoZpfkkzcn5flBwEs70FET4yGKmxUnf6LbDtYdZAfYxf772vAeUKtE jmeSM+OuXrO7uFgSwSLxFoqieE5OxTPxNp7v4S7RLU0jNiunlZEd9Hn2zhaRKSe1UeDsY Ck7kuK6qVlAbakNwaCCGb2MGLCaUa85kJGzeVfM6rZbV2Wyo7y699nvfXZY/CSxgPQEVP Ql/OcKrozmmDPYfu7MH+NBI26kPL31Ibpd/e07bKPpUlBKsyF+R3yMcRty3sA91ABC1HL EVhBzeqsCWe411SK623lFoX0wwufibG9ypTBKthL+7E7ROjR1i1dXP7mR6foLb3zP8TVs wJwLgmgX0DeBgJZ9b8rWTwPYobWmrM7guh7VkTam3aGeZNfH2bd/BWb72q54JXZ0wGwKD ZN9Pl48SCyatYjh0gQGr1DGIrfLt1E5EScjXurvBLWkKbESS67wuTv2bBYbJ0vAItDJ2r bbK+/RiJ9I2cR4DLt0KaHSTVS/ZmlM1Ll8VnAm222yMx7K/dcvlmCGPzJylCVRY= ARC-Message-Signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1767721838; h=From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=T4UUPg4ziycQ2CZJTxKm9+cjlQl10naOxSR1r3Y4jNM=; b=2C8y3b1P1mIWd7u4YOzXQ/6bF8R5I43+0MYx6fiBlljJC144lZlqVXOF+mjwZ8RLLXP4 MfBE9OGlUKQDqTI7+NI/dBIWAOhLvURWpvpKUgSyKa7Qqgxm0kAn6UX4LQ1o+D8zTQ2ua scEn8E4wcS8/+sOMWRxim/x9Fnh8wWF/RumDHwOcS/2zfUoUlvHaAXjbp0AVhOt/hwpft enPKEopnUgQ6R2xiBC62LWtqcqriXAEGdXPmKm6QpN0bVtl1fhvqss9zaBT6VCCX5zB9R b8gMJYqMiiCzeUB8Q4cOXIqfjEvsGfVxTmmUdIzBGfJczIC0m8fVzfPFEHaFW2hD45zdA ivwuWjJduGBJ6TwSpwoM1Atqi2aO8d5GKF36Kum3WyeT/EncqMcutcx2wA89Fw+9RdUf/ LPMcN+Jf475FPVJkFAVtJbNRrgYmK1gdGkVm9e8q5kGIdD1EV1akf9TdNEayvv5D0vCaw VoEXu440HhgPc5znmAlBs3QEJlYxKPEd0dZFXSdsycRV7VM2cYRKikzLgpQuFG+D4on27 ezzN0boWnlH+/zxcglSs4CJj1iz9ufkuSkQqzHf9X7/jcbHKNKkbyFeSVsKGCrSJbJAWG u9cMHlIaEwu01SDiJqJrSDCrJDbFRsEjjWIafk8ZnS9dC7Jj/FUW676q9cQG1z8= ARC-Authentication-Results: i=1; bugseng.com; arc=none smtp.remote-ip=46.228.253.214 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: Nicola Vetrini , Doug Goldstein , Stefano Stabellini , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH] misra: allow using binary literals in c99 as an extension. Date: Tue, 6 Jan 2026 18:50:08 +0100 Message-ID: <30bb474fbb0e9236728fad9515bca4d160d594b3.1767721635.git.nicola.vetrini@bugseng.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1767721863292158500 Content-Type: text/plain; charset="utf-8" From: Nicola Vetrini There is consensus towards using more binary literals in Xen, so they are enabled both for X86_64 and ARM64. Signed-off-by: Nicola Vetrini Reviewed-by: Andrew Cooper --- automation/eclair_analysis/ECLAIR/toolchain.ecl | 5 +++++ docs/misra/C-language-toolchain.rst | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/automation/eclair_analysis/ECLAIR/toolchain.ecl b/automation/e= clair_analysis/ECLAIR/toolchain.ecl index 4bc88aa029..da00c2198a 100644 --- a/automation/eclair_analysis/ECLAIR/toolchain.ecl +++ b/automation/eclair_analysis/ECLAIR/toolchain.ecl @@ -332,3 +332,8 @@ ext_sizeof_alignof_void_type" -doc_begin=3D"See Section \"4.13 Preprocessing Directives\" of "GCC_MANUAL= " and Section \"11.1 Implementation-defined behavior\" of "CPP_MANUAL"." -config=3DSTD.inclexpd,behavior=3D{c99, GCC_X86_64, "specified"} -doc_end + +-doc_begin=3D"See Section \"6.65 Binary Constants using the '0b' Prefix\" = of "GCC_MANUAL"." +-config=3DSTD.ltrlbin,behavior=3D{c99, GCC_ARM64, "specified"} +-config=3DSTD.ltrlbin,behavior=3D{c99, GCC_X86_64, "specified"} +-doc_end diff --git a/docs/misra/C-language-toolchain.rst b/docs/misra/C-language-to= olchain.rst index ec0c9953be..5d418e262a 100644 --- a/docs/misra/C-language-toolchain.rst +++ b/docs/misra/C-language-toolchain.rst @@ -218,6 +218,10 @@ The table columns are as follows: - All architectures - See Section "6.3 Labels as Values" of GCC_MANUAL. =20 + * - Binary constants + - ARM64, X86_64 + - See Section "6.65 Binary Constants using the '0b' Prefix" + Translation Limits __________________ =20 --=20 2.52.0