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 A16FBD8114D for ; Mon, 20 Jan 2025 10:32:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=fvjHGXDF7VNO++9cHYMTmXWxtBHCA7yeKDm20Bo7jN4=; 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=1737369155; v=1; x=1737628354; b=kMmTFxKbqnPdx1zRaoLmUZLs8cN2E4tjCdCP4ppsWPRwvw0KAo2lrUZ/SMyytcdzdngeib9S Yx790oIjDK8PZrH9toXry0ZSI0jS6ugebnQ+RDUeqLaEnV1UzNfmWvcWjcXmZ0Sut1NrUsiCZUW UBGDHy+aSAr6jDUECxehYsLML7s61TJkKNoCmp9K2fM30V8I51GBHRUSGMSVK09UJYWugpw67Bs YakcRylfSttDgk865TsS7rhUfRbfPXfPMgav0QRN5aR5RadjD6Pk2TzEiwCAY2mIcN5k3jV6X5P FGmmXwBB9faPcOYPIAIw2xFUimAALVCXZ0WmSB1BQOauw== X-Received: by 127.0.0.2 with SMTP id xzXYYY7687511xY9al6AwLXA; Mon, 20 Jan 2025 02:32:34 -0800 X-Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by mx.groups.io with SMTP id smtpd.web10.34166.1737369153437558599 for ; Mon, 20 Jan 2025 02:32:33 -0800 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id CA8A6A40DDB for ; Mon, 20 Jan 2025 10:30:44 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5F15C4CEE5 for ; Mon, 20 Jan 2025 10:32:31 +0000 (UTC) X-Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5401c68b89eso4095185e87.0 for ; Mon, 20 Jan 2025 02:32:31 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVkNZ0uaXnkPjNtWmgJyFvI+3SI5Ss/K0lJRwNuO9pV6WLoli6z+ISfMrl5ZeoiiSCgIfRKwg==@edk2.groups.io X-Gm-Message-State: JDiYegJurVCx1uZpkVj9FgKpx7686176AA= X-Google-Smtp-Source: AGHT+IHx9QEuYpomCSuy/AQ5ViuNCow0gDRQDlzuXyvnGAsOyS0+452OrfOi+IpmB8bQ9WARQeP3HuK6mgnW2rxwtkI= X-Received: by 2002:a05:6512:1045:b0:542:8a7c:509f with SMTP id 2adb3069b0e04-542abf503d2mr6892244e87.2.1737369150134; Mon, 20 Jan 2025 02:32:30 -0800 (PST) MIME-Version: 1.0 References: <20250108215957.3437660-1-usamaarif642@gmail.com> <20250108215957.3437660-2-usamaarif642@gmail.com> <8613563a-ee7c-4271-b1f0-4d1ac365ad3a@gmail.com> <138f28ec-341e-4c48-a14b-4371a8198de8@gmail.com> In-Reply-To: From: "Ard Biesheuvel via groups.io" Date: Mon, 20 Jan 2025 11:32:19 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AbW1kvbSiocF5LdXALV9g5C9SpoIRpL6JzzoTt3_wpE-me8DVnzqOJgG_TGGx4s Message-ID: Subject: Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption To: Usama Arif Cc: linux-efi@vger.kernel.org, devel@edk2.groups.io, kexec@lists.infradead.org, hannes@cmpxchg.org, x86@kernel.org, linux-kernel@vger.kernel.org, leitao@debian.org, gourry@gourry.net, kernel-team@meta.com, Dave Young 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: Mon, 20 Jan 2025 02:32:33 -0800 Resent-From: ardb@kernel.org Reply-To: devel@edk2.groups.io,ardb@kernel.org 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=kMmTFxKb; 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 On Mon, 20 Jan 2025 at 11:27, Usama Arif wrote: > > ... > Hi Ard, > > Just wanted to check how should we proceed forward? Should we try and fix the warning > and corruption during kexec as done in this series or not initialize memory attributes > table at all in kexec boot? I would prefer fixing the issues as in this series. > I would prefer kexec boot on x86 to disregard the memory attributes table entirely. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121031): https://edk2.groups.io/g/devel/message/121031 Mute This Topic: https://groups.io/mt/110517813/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-