Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1592730rwb; Thu, 19 Jan 2023 12:45:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXv9m25bfhmYs4wpg4zkB4D/iu5x3dYGMqAXfQeCl4yj1RIKToKf+CCaPw1uHma/gRR2ndj8 X-Received: by 2002:a17:902:b713:b0:194:3fa4:3f46 with SMTP id d19-20020a170902b71300b001943fa43f46mr11320268pls.29.1674161106120; Thu, 19 Jan 2023 12:45:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674161106; cv=none; d=google.com; s=arc-20160816; b=X62OTfAEZ2JT2DdJhPW1W9cLZxOtaVfHw7FpqC4y8ZkWAXwRoFjZ457omr6gLBfwCZ ziCeSvj1LN0kx0Zb1ntLnfoJf/NpkqJoGGdZW7bTwWPix8PhXcLQHIldeBQICeKkz/1F RJa6Rg8nFd4a8MdQiWxmsaWGBnFEINQOJPznegV5fC3oX0WC7Zwie7wBb6kiCnIrbYoR Yf4Eu+cdv+KRfza7YApPKvUTKmNvaix98UyjrvcLzZdVh4/URLWjkhWF3ClnaZBcuvAH i6MwujLe6R0/cfg+/UT8Jgfl3Sa7MfommqhydRtraIMJqDa14vKdVVxaiT8f983BGGOo JsDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=DWSmhiY53c1fCxHo8+QDF152rmPtSJZJfbosjDMfwaA=; b=zeiPEXlKCLsLqNHRAF6Io9OsvoE5okRxawQ3B+zqby1wxtlawSK01wfZ19jRU/0cBd srt0sKxfW1J712XR3Mr49ZaJWnX8OFIcQkanzONcQwqLhuI0THb9GL7CfD7vcGkXL9zK n5pN570KUx/Yzfwef/uyCtTKniEierNxAfYkHbO69QoZgdYVBaFfaGgGiLe1xDTtuyRw viXRi9rfPdwBdxx8x3n6dXfnN20hglK1dvaDg++66mYwDaYzkmGAUIJuf8oIXJD0zXIt CWheJsL10Pu6eg316RoPN9RvRvxGX7NH5hWbgqm5SZADlq9HWFAjFrXoLwYHOqlVt6WE 6M7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@invisiblethingslab.com header.s=fm3 header.b=mIINDxvz; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=UoYj+qts; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a170902a71400b00194b1c44205si6844710plq.523.2023.01.19.12.44.58; Thu, 19 Jan 2023 12:45:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@invisiblethingslab.com header.s=fm3 header.b=mIINDxvz; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=UoYj+qts; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231266AbjASTGg (ORCPT + 46 others); Thu, 19 Jan 2023 14:06:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231223AbjASTGB (ORCPT ); Thu, 19 Jan 2023 14:06:01 -0500 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 917D29AA9B; Thu, 19 Jan 2023 11:05:13 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2CAD05C0164; Thu, 19 Jan 2023 14:04:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 19 Jan 2023 14:04:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1674155050; x=1674241450; bh=DWSmhiY53c1fCxHo8+QDF152rmPtSJZJfbo sjDMfwaA=; b=mIINDxvzEWW1TOvsfQmK1217TTk1+rcauO+ev2im7SruFDL9Z+x I55qi7LfuGXU580EJe6mvU4RT7u0J3pg94ZMtAuJIISKsDjBgGYHm/1qUR0H4mpD WM4Jwzgadwn5ZNCtd7cLSP4GryJwgDS5tcqiZ2WuF0VFHlEmP0H12XXwgw/bA2VM D+ORqlOnF1PXQlBxQpvla9356m5aUhMW3cuir7ViyU9szXwO4+XtoqBT5aEiz5Z7 ql0MnXUoqLcmdaq7T/SdfozkryrUH03Gdwqm8AVPB3xW7HVRnQ1y36b9h4dUJvWi 8I5N/bGK0y223R25ysBur+t/EufqWCdd5Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1674155050; x=1674241450; bh=DWSmhiY53c1fC xHo8+QDF152rmPtSJZJfbosjDMfwaA=; b=UoYj+qtsnWGUKKUdT4zCotFPuyjZs ve1NZ2BaZwMeJ+xH9VClymTkxYMPmU8X6ky3uNjs14U7UyKqCuY0gNGW2nslmRFU JUOc0SzGRsxNmQZaJICDHvnanyJeSIJyq4qJkHvlVH3rsKnzOV1ip8oWbCSaK/G8 ZY9p2YKLdoisEOPKoIY3YBttNmwp4onjcG0Dc/YQgOE8g5iwuzNH4KQRhZ8Ndq46 AQQxtVI952u5yMcNOzkWIpTc5U6zwE7GrpHabea+8R2Jb14xo/lgRPS8yRNckDYK xqsdEcZAaBe7PJvXkRN6eOLjM/CMAUiJKFHP4rsN0Aq6KfFvwaO0XFURQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddutddguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeffvghm ihcuofgrrhhivgcuqfgsvghnohhurhcuoeguvghmihesihhnvhhishhisghlvghthhhinh hgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpeejffejgffgueegudevvdejkefg hefghffhffejteekleeufeffteffhfdtudehteenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpeguvghmihesihhnvhhishhisghlvghthhhinhhg shhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: iac594737:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Jan 2023 14:04:09 -0500 (EST) From: Demi Marie Obenour To: Ard Biesheuvel , Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko Cc: Demi Marie Obenour , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Subject: [PATCH v3 0/5] efi: Support ESRT under Xen Date: Thu, 19 Jan 2023 14:03:55 -0500 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: <20221003112625.972646-1-ardb@kernel.org> References: <20221003112625.972646-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series fixes handling of EFI tables when running under Xen. These fixes allow the ESRT to be loaded when running paravirtualized in dom0, making the use of EFI capsule updates possible. Demi Marie Obenour (5): efi: memmap: Disregard bogus entries instead of returning them efi: xen: Implement memory descriptor lookup based on hypercall efi: Apply allowlist to EFI configuration tables when running under Xen efi: Actually enable the ESRT under Xen efi: Warn if trying to reserve memory under Xen drivers/firmware/efi/efi.c | 22 ++++++++++++- drivers/firmware/efi/esrt.c | 15 +++------ drivers/xen/efi.c | 61 +++++++++++++++++++++++++++++++++++++ include/linux/efi.h | 3 ++ 4 files changed, 90 insertions(+), 11 deletions(-) -- Sincerely, Demi Marie Obenour (she/her/hers) Invisible Things Lab