From nobody Fri Nov 22 09:04:47 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; dkim=pass; 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; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1727958002; cv=none; d=zohomail.com; s=zohoarc; b=fZwCthCjWxtL938cbXEgul8CspsercyHsnYn/hG8jp7OfIxfx2KJMMH8kLGHHBeqH1+mc0iEsZDbQcC2WhWeqeYXO8LjwCFaWzjHe08qAnl7BaHHIDg8YM+jEO86dGqBxT5NULE4qWgNu9yo2VoMl3ClDZmvIWqH0ShxBDEY1+Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1727958002; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=hmh1hzNwt6VpdcbBHHPmRW3VApkcv+IYe7HOfAX1NVQ=; b=PP5gHsCE7mJ6NKCOGGL5nX5lHP2e+pDmB3I9NtTVGNWjBfk/3pLBpmzOhxu+4ibLpQ2JFGLnchrFZBTO41jwGRoWyWoRlFKgU5cg8XbtS3GSCA2Id0Ze8s0+05rFxjWOpqiVplNKVX6zKPJdM56f4mlGFC7OZ51lRVUDiVZ8dI4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1727958002337473.6884482502861; Thu, 3 Oct 2024 05:20:02 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.809337.1221687 (Exim 4.92) (envelope-from ) id 1swKny-00072H-CL; Thu, 03 Oct 2024 12:19:38 +0000 Received: by outflank-mailman (output) from mailman id 809337.1221687; Thu, 03 Oct 2024 12:19:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1swKnx-00070b-Ig; Thu, 03 Oct 2024 12:19:37 +0000 Received: by outflank-mailman (input) for mailman id 809337; Thu, 03 Oct 2024 12:19:35 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1swKnu-00043u-VA for xen-devel@lists.xenproject.org; Thu, 03 Oct 2024 12:19:34 +0000 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [2a00:1450:4864:20::636]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id bf1f19c6-8181-11ef-99a2-01e77a169b0f; Thu, 03 Oct 2024 14:19:33 +0200 (CEST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a8a897bd4f1so106769366b.3 for ; Thu, 03 Oct 2024 05:19:33 -0700 (PDT) Received: from fziglio-desktop.. ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a991047319asm77328366b.184.2024.10.03.05.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 05:19:31 -0700 (PDT) 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: bf1f19c6-8181-11ef-99a2-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1727957972; x=1728562772; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hmh1hzNwt6VpdcbBHHPmRW3VApkcv+IYe7HOfAX1NVQ=; b=KKKEk97g6DDw6RwXmfdBy9VlmdyWJizI1qNwrjwhyQuovpIopbjXPoDxBl5cwzWK7b 37a4yubnMSZlWgF3KRIzAB3LvRRHRwiEksZOefcx+kNWYWz88wB04MyspzuIUQRnftan wJD3qmq9IFu/+mPZtya4RThvTFxZqsdDwCS38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727957972; x=1728562772; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hmh1hzNwt6VpdcbBHHPmRW3VApkcv+IYe7HOfAX1NVQ=; b=xVFrQ7jK0vpV+c+wZBW2AguwT2dBqei4XH6Ae5zirf4Qfn4KYIFOx2x5bcPzfZoyJ0 w9XyVEUBwoiuHoGuc7Y6NjFfJLR3E0crPfQB39MWKkvZKDEeOahKZrIkGxDd4jurb0ZR c+3t/Ro1CUmvgecdlabrvPUcemoXp5cqY2cLglKMvmelwh+x+IFkgwRcEib2QmxROOOb Oxll7ADvCeHdOTyEYP0baPygTOJ34tuAYDy5zHd5KQCCZHoGKoN8HyIEaqRmHSuNiTkl SbnpWfMm+2pUd4Ob5+8zGko7fdx+i9+P7Xv2/fRTAMLw7PyYjHkdBqBMMf8bWiX55QWw +Htg== X-Gm-Message-State: AOJu0Yzok6dEGSb3CzsQp7WCsbVOe2akYL0cE8pK9M6qgTMcFCx/ZWOA gESrLFJUbNTIwL1S+4td2FVdB0GSdOL9/NyObI5RwsboFJrPmqUj11gsMs3s9RewO/j/j+J+muk u X-Google-Smtp-Source: AGHT+IEdGHOCMwruRO3RFvoh0Dm/Pgnu/ic/KapmaTnR1Qd9BbgLwzjpr+PhC/BCNyRBD/eyK+CvPA== X-Received: by 2002:a17:906:6a04:b0:a86:851e:3a2b with SMTP id a640c23a62f3a-a98f825a9famr650030666b.29.1727957972159; Thu, 03 Oct 2024 05:19:32 -0700 (PDT) From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Ross Lagerwall , Jan Beulich , Andrew Cooper Subject: [PATCH 13/20] xen: Update header guards - Live patch Date: Thu, 3 Oct 2024 13:19:01 +0100 Message-Id: <20241003121908.362888-14-frediano.ziglio@cloud.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241003121908.362888-1-frediano.ziglio@cloud.com> References: <20241003121908.362888-1-frediano.ziglio@cloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1727958004420116600 Content-Type: text/plain; charset="utf-8" Updated headers related to live patching. Signed-off-by: Frediano Ziglio --- xen/arch/x86/include/asm/livepatch.h | 6 +++--- xen/include/xen/livepatch.h | 6 +++--- xen/include/xen/livepatch_elf.h | 6 +++--- xen/include/xen/livepatch_payload.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/xen/arch/x86/include/asm/livepatch.h b/xen/arch/x86/include/as= m/livepatch.h index 00aefd2d63..7f838f418d 100644 --- a/xen/arch/x86/include/asm/livepatch.h +++ b/xen/arch/x86/include/asm/livepatch.h @@ -3,8 +3,8 @@ * */ =20 -#ifndef __XEN_X86_LIVEPATCH_H__ -#define __XEN_X86_LIVEPATCH_H__ +#ifndef ASM__X86__LIVEPATCH_H +#define ASM__X86__LIVEPATCH_H =20 #include /* For SZ_* macros. */ =20 @@ -12,7 +12,7 @@ #define ARCH_LIVEPATCH_RANGE SZ_2G #define LIVEPATCH_FEATURE X86_FEATURE_ALWAYS =20 -#endif /* __XEN_X86_LIVEPATCH_H__ */ +#endif /* ASM__X86__LIVEPATCH_H */ =20 /* * Local variables: diff --git a/xen/include/xen/livepatch.h b/xen/include/xen/livepatch.h index d074a5bebe..69220ece21 100644 --- a/xen/include/xen/livepatch.h +++ b/xen/include/xen/livepatch.h @@ -3,8 +3,8 @@ * */ =20 -#ifndef __XEN_LIVEPATCH_H__ -#define __XEN_LIVEPATCH_H__ +#ifndef XEN__LIVEPATCH_H +#define XEN__LIVEPATCH_H =20 struct livepatch_elf; struct livepatch_elf_sec; @@ -167,7 +167,7 @@ static inline bool is_patch(const void *addr) } #endif /* CONFIG_LIVEPATCH */ =20 -#endif /* __XEN_LIVEPATCH_H__ */ +#endif /* XEN__LIVEPATCH_H */ =20 /* * Local variables: diff --git a/xen/include/xen/livepatch_elf.h b/xen/include/xen/livepatch_el= f.h index 842111e145..bb221aeaa0 100644 --- a/xen/include/xen/livepatch_elf.h +++ b/xen/include/xen/livepatch_elf.h @@ -2,8 +2,8 @@ * Copyright (C) 2016 Citrix Systems R&D Ltd. */ =20 -#ifndef __XEN_LIVEPATCH_ELF_H__ -#define __XEN_LIVEPATCH_ELF_H__ +#ifndef XEN__LIVEPATCH_ELF_H +#define XEN__LIVEPATCH_ELF_H =20 #include #include @@ -52,7 +52,7 @@ static inline bool livepatch_elf_ignore_section(const Elf= _Shdr *sec) { return !(sec->sh_flags & SHF_ALLOC); } -#endif /* __XEN_LIVEPATCH_ELF_H__ */ +#endif /* XEN__LIVEPATCH_ELF_H */ =20 /* * Local variables: diff --git a/xen/include/xen/livepatch_payload.h b/xen/include/xen/livepatc= h_payload.h index c6dc7cb5fa..f35d8b9d83 100644 --- a/xen/include/xen/livepatch_payload.h +++ b/xen/include/xen/livepatch_payload.h @@ -2,8 +2,8 @@ * Copyright (C) 2016 Citrix Systems R&D Ltd. */ =20 -#ifndef __XEN_LIVEPATCH_PAYLOAD_H__ -#define __XEN_LIVEPATCH_PAYLOAD_H__ +#ifndef XEN__LIVEPATCH_PAYLOAD_H +#define XEN__LIVEPATCH_PAYLOAD_H #include =20 /* To contain the ELF Note header. */ @@ -140,7 +140,7 @@ struct payload { livepatch_actioncall_t *__attribute__((weak, used)) \ const livepatch_revert_data_##_fn __section(".livepatch.hooks.reve= rt") =3D _fn; =20 -#endif /* __XEN_LIVEPATCH_PAYLOAD_H__ */ +#endif /* XEN__LIVEPATCH_PAYLOAD_H */ =20 /* * Local variables: --=20 2.34.1