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 CDF6DD8023C for ; Tue, 28 Jan 2025 22:06:42 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=kYT4SMPbbCQQOZcp5b4dKXUUPLdrCFOWW+pjY/V65E4=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240830; t=1738102002; v=1; x=1738361201; b=mRxkOF+NdUB6DjU+eiocCZnM98lr9EApyXdEReIuWo15db6frdqMC9EsipGQxBBp4gp1xSJC wl6XOAUqHMUhBWmeZxiLmxcpzOPMk1i6O89GWLlxLTaLVjsCELJO66tL1s50lIQCqBQstAwBH4f 9v4K7p+Y/fBtjpB/v6+bLt457jmVOg3saGfz2L0ESJNegGnruU4pK9DuxxIRJ6BsJBO6NK6rS6o Q4Qm46MKvEJHrYif61Hj4820BIbf+A3Mqz2ldk2lixx0gMQbFdCYrbXGrmmJnIJUDntUUuK6Bjl pTR8DOJtQ5pohNz+5sF8CvDL9F7Kitkx9cgQEjJjwNEOQ== X-Received: by 127.0.0.2 with SMTP id Bg4BYY7687511x6PAdgYITfk; Tue, 28 Jan 2025 14:06:41 -0800 X-Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mx.groups.io with SMTP id smtpd.web11.34270.1737370238780829538 for ; Mon, 20 Jan 2025 02:50:39 -0800 X-Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5d0ac27b412so5828653a12.1 for ; Mon, 20 Jan 2025 02:50:38 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVh7jDywDxz4cQBnuztzcNsZ73o4rPCvvMd/cMkOg8Sf/D9ZtfIAo5Alpl1Xl5sz1Xq6Y92Nw==@edk2.groups.io X-Gm-Message-State: j0JYFeSTSJ8lnm4I6AKMqG76x7686176AA= X-Gm-Gg: ASbGncusiGG2FKRgFzz76JoB6pBMAhYMtEFFJSsohbn29ZrhCBBCNLCOqvSTArjLIbV BT1UbTDz9DvRuCm2IMUYQicDNFiYyDGfVxH8Rg3BkmDP4I6zHiiFl2xLFjJcax0At/zC4UssUKD 61wjtsamuYmiGD03ReRkIksinBh9uZd1ZkoKtAW4PsJ+bAGlrI+uWYvuKPZTIyxlxeFiRXz/E3/ ReUSzkB7e89e1iNpB0PYSSfc9lRXwpkC99/ugzYlhaYFmNWPcGrkUqDJwAPEd5JojQ3MN6hBZTF fmgsAY6/mOj0DZn6dtIwMuJ53avauJo0Bw8U/nvG8w== X-Google-Smtp-Source: AGHT+IEfQmVx9GpJWJfTlLH80cfETPz5J1C9ldYz3kOPo2J5JEcL6IpRnaJ7zYabNOUfjAuH2RcU4w== X-Received: by 2002:a05:6402:3550:b0:5d3:ce7f:abee with SMTP id 4fb4d7f45d1cf-5db7db08623mr11542181a12.25.1737370236978; Mon, 20 Jan 2025 02:50:36 -0800 (PST) X-Received: from ?IPV6:2a03:83e0:1126:4:829:739b:3caa:6500? ([2620:10d:c092:500::4:4372]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5db73670cf8sm5607948a12.19.2025.01.20.02.50.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jan 2025 02:50:36 -0800 (PST) Message-ID: <029cff22-f2e0-4796-9c27-1df056e08f8f@gmail.com> Date: Mon, 20 Jan 2025 10:50:36 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption To: Ard Biesheuvel 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 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> From: "Usama Arif via groups.io" In-Reply-To: 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: Tue, 28 Jan 2025 14:06:40 -0800 Resent-From: usamaarif642@gmail.com Reply-To: devel@edk2.groups.io,usamaarif642@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=mRxkOF+N; 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 20/01/2025 10:32, Ard Biesheuvel wrote: > 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 fi= x the warning >> and corruption during kexec as done in this series or not initialize mem= ory attributes >> table at all in kexec boot? I would prefer fixing the issues as in this = series. >> >=20 > I would prefer kexec boot on x86 to disregard the memory attributes > table entirely. Would you like Dave to send something like https://lore.kernel.org/all/CALu+AoS8tb=3DHgaybDw5OG4A1QbOXHvuidpu0ynmz-nE1= nBqzTA@mail.gmail.com/ on the mailing list (wrapped in ifdef CONFIG_X86_64) or we could do https://lore.kernel.org/all/fd63613c-fd26-42de-b5ed-cc734f72eb36@gmail.com/ as well. Or if there is any other way you prefer, I am happy to implement and test. Thanks, Usama -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121054): https://edk2.groups.io/g/devel/message/121054 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-