From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 32B02D80061 for ; Wed, 15 Jan 2025 18:52:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qrIVsdLPxyZBNO6NuuvUVbz6sgOs7MgYW0A/8WP7k3g=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1736967122; v=1; x=1737226321; b=q5MaXGgx2XQrz0gTdcib1SUkYwDonaJp3RScKLFESwd6ygGhUXBJwyGBlBnqDnNK4QLqVmLC Ti1WH0vD4oN+Q6KEjr0eRayCW/v7h8LI38eEK6Ljxalvkhn4olJD7FQJj0ekH8bU+wOQbeABGj8 pug5IUkSTC1C8AcDQWsXK/x7H/pNnIMCHgwQqSBtREoc1Tk0OlRIofn1bqDGxMGl4TTw/YR6Y81 Xx42NRsD8OYc2okmtyg3YJqIQxmd8wToKFR7OxWTaVvIJ/2Gt2YKjfyU2VabATGunOF2HPY5rms P2xUX+NijMTCNJgrMyRxXjFSrywXwMJtDpvBaX9QdANMQ== X-Received: by 127.0.0.2 with SMTP id mbOdYY7687511xSrH5xk7Lw1; Wed, 15 Jan 2025 10:52:01 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.10737.1736477429135986800 for ; Thu, 09 Jan 2025 18:50:29 -0800 X-Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-634-fGUxH94HMa2M4nl5HyvW-A-1; Thu, 09 Jan 2025 21:50:26 -0500 X-MC-Unique: fGUxH94HMa2M4nl5HyvW-A-1 X-Mimecast-MFC-AGG-ID: fGUxH94HMa2M4nl5HyvW-A X-Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-3a9d303a5ccso27405435ab.3 for ; Thu, 09 Jan 2025 18:50:26 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUGu+/6/eXo8se7aEsOgUyXw9wtKOaG06O9HSLhArdfSjCzDqv9u1N7PNn8N8e+nW1NbXb3MQ==@edk2.groups.io X-Gm-Message-State: 4DVtHsodhSxpiDuIUeOtflWwx7686176AA= X-Gm-Gg: ASbGnctZ2pG1XcQSwdVs4u5FsXDr5zEe8cgdARGI+fz0km9c3EL97Jjny2MO3ipkFLU QXJIRFOIh8GltELRBSQwwPTEIElJQz3tNxDyKnTQ= X-Received: by 2002:a05:6e02:1b03:b0:3a7:e539:c27b with SMTP id e9e14a558f8ab-3ce3a8bebd1mr56015735ab.17.1736477426104; Thu, 09 Jan 2025 18:50:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDGtliUz8u4ArhQvsNK3hU4dY2KdsRiD/CY4zDcby6FNqeeWso+rG5xRZbGE13XAQ77Nf1qFOrtPh284YbRLQ= X-Received: by 2002:a05:6e02:1b03:b0:3a7:e539:c27b with SMTP id e9e14a558f8ab-3ce3a8bebd1mr56015555ab.17.1736477425788; Thu, 09 Jan 2025 18:50:25 -0800 (PST) MIME-Version: 1.0 References: <20250108215957.3437660-1-usamaarif642@gmail.com> <20250108215957.3437660-3-usamaarif642@gmail.com> In-Reply-To: <20250108215957.3437660-3-usamaarif642@gmail.com> From: "Dave Young via groups.io" Date: Fri, 10 Jan 2025 10:50:30 +0800 X-Gm-Features: AbW1kvYxA86BWuq5GqR14CbuyK2tb5JSgfWl1vXKLE_oVV-bgv-0DWHCSCe-nz4 Message-ID: Subject: Re: [edk2-devel] [RFC 2/2] efi/memattr: add efi_mem_attr_table as a reserved region in 820_table_firmware To: Usama Arif Cc: linux-efi@vger.kernel.org, devel@edk2.groups.io, kexec@lists.infradead.org, ardb@kernel.org, hannes@cmpxchg.org, x86@kernel.org, linux-kernel@vger.kernel.org, leitao@debian.org, gourry@gourry.net, kernel-team@meta.com X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: YhxxPNjF5MgS65yYl4PrK95zyW-oKUKhv8y8pqXfO2M_1736477426 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 15 Jan 2025 10:52:01 -0800 Resent-From: dyoung@redhat.com Reply-To: devel@edk2.groups.io,dyoung@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=q5MaXGgx; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io Hi Usama, On Thu, 9 Jan 2025 at 06:00, Usama Arif wrote: > > When this area is not reserved, it comes up as usable in > /sys/firmware/memmap. This means that kexec, which uses that memmap > to find usable memory regions, can select the region where > efi_mem_attr_table is and overwrite it and relocate_kernel. Is the attr table BOOT SERVICE DATA? If so, does efi_mem_reserve() work for you? Just refer to esrt.c. Thanks Dave -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120996): https://edk2.groups.io/g/devel/message/120996 Mute This Topic: https://groups.io/mt/110518541/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-