From nobody Fri May 17 10:34:25 2024 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; 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 Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1707378979831800.943134344232; Wed, 7 Feb 2024 23:56:19 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.678014.1055021 (Exim 4.92) (envelope-from ) id 1rXzGF-0001lM-Rr; Thu, 08 Feb 2024 07:55:55 +0000 Received: by outflank-mailman (output) from mailman id 678014.1055021; Thu, 08 Feb 2024 07:55:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rXzGF-0001lF-OL; Thu, 08 Feb 2024 07:55:55 +0000 Received: by outflank-mailman (input) for mailman id 678014; Thu, 08 Feb 2024 07:55:54 +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 1rXzGE-0001l9-Lo for xen-devel@lists.xenproject.org; Thu, 08 Feb 2024 07:55:54 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 7b8a708d-c657-11ee-8a4a-1f161083a0e0; Thu, 08 Feb 2024 08:55:53 +0100 (CET) Received: from nico.bugseng.com (unknown [147.123.100.131]) by support.bugseng.com (Postfix) with ESMTPSA id 4C9114EE0739; Thu, 8 Feb 2024 08:55:51 +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: 7b8a708d-c657-11ee-8a4a-1f161083a0e0 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, michal.orzel@amd.com, xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com, consulting@bugseng.com, jbeulich@suse.com, andrew.cooper3@citrix.com, roger.pau@citrix.com, bertrand.marquis@arm.com, julien@xen.org, Nicola Vetrini , George Dunlap , Wei Liu Subject: [XEN PATCH] docs/misra: add x86_64 and arm64 asm-offset.c to exclude-list Date: Thu, 8 Feb 2024 08:55:47 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1707378981443100001 Content-Type: text/plain; charset="utf-8" These two files contain several deliberate violations of MISRA C rules and they are not linked in the final Xen binary, therefore they can be exempted from MISRA compliance. No functional change. Signed-off-by: Nicola Vetrini Acked-by: Julien Grall --- Since the exclude list only contains arm64 and x86 files I reasoned that introducing an entry that would match all architectures would not be desira= ble (e.g., arm32). I'm happy to change that, though. --- docs/misra/exclude-list.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/misra/exclude-list.json b/docs/misra/exclude-list.json index 7971d0e70f5b..bd05478e03e9 100644 --- a/docs/misra/exclude-list.json +++ b/docs/misra/exclude-list.json @@ -17,6 +17,10 @@ "rel_path": "arch/arm/arm64/lib/find_next_bit.c", "comment": "Imported from Linux, ignore for now" }, + { + "rel_path": "arch/arm/arm64/asm-offsets.c", + "comment": "The resulting code is not included in the final Xen = binary, ignore for now" + }, { "rel_path": "arch/x86/acpi/boot.c", "comment": "Imported from Linux, ignore for now" @@ -97,6 +101,10 @@ "rel_path": "arch/x86/x86_64/mmconf-fam10h.c", "comment": "Imported from Linux, ignore for now" }, + { + "rel_path": "arch/x86/x86_64/asm-offsets.c", + "comment": "The resulting code is not included in the final Xen = binary, ignore for now" + }, { "rel_path": "arch/x86/efi/check.c", "comment": "The resulting code is not included in the final Xe= n binary, ignore for now" --=20 2.34.1