Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1225720rwo; Wed, 2 Aug 2023 10:29:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlHNzzXevNA0TMeBY2Bo1LODy4y+Ci3bgt6QZPraUrtAYIMwvhb73DQdVqBr7TDvAbCaCERL X-Received: by 2002:aca:1b08:0:b0:3a3:76c6:a46f with SMTP id b8-20020aca1b08000000b003a376c6a46fmr16843883oib.38.1690997364747; Wed, 02 Aug 2023 10:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690997364; cv=none; d=google.com; s=arc-20160816; b=IaGe7wdlQArqsVi5lMY7SsjMg5uqERC3jZ4WKh5ATU10WzY8yEmFjgj7hFvRTvR+Do t5Kk8pPlUlQNbqEw7aPfUSzV7KqhCz3Vh5oyx36j58MuR3AYk7SrCODnY5jhNrRzaU7k N7PunGkOoX0DVUrCWx6U4mb1qSxkPy6NNqKBU+prIevQPlVGoHDd847xe35xKk7JgMM1 szF2ippohnzxmwxiDP9YbyBVgs2bVYmE0Bc/ETpjqE+ORfKmXRA7P8ktvE8qtRH/bi9Q sy2TsClbLeH0QY7T0HqOQpshQzr61R9G6JTIL8jAq1Dw62JbdPOPI0LrEedGGFXLjgoL 3ETg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=4Ix5zDGj/AnSytX9MQHc5/WTKPNGfN8exUCjp+sgZ80=; fh=smwlySTEPN7NbtuvxBDR0YLYw0n8sfL/zSNxRQmJRvQ=; b=imxIB76eCHsELNeFlnEVxJgw1FP5kKv7qjq1VthZIiKrSiCpNqwfDVPWZHA+A5zKg/ DrVeqTPxVH0z6nmVY7eCxPpfEeUoOMIqo42b8IHmX/OIxM3FCv3HWP7TPy8LgTTNdKyf N8afTHA0WIiYppmYHPtGkgIqAE3Ff45hB8l5R0/6drHxc9s4FGg3G+J5IIK/C3opfcSK wmZN8UGRyZcA3/Wu01IKeCav7Uvjh25FU/zErAG138GdXdscaVcc7cDmw+1qayyXnBqn p/qCYzlvQhHnXo5O2daFTt/XL88iatx1vV2GYraVs6xumHKjl62eLpgK6i8jwIKnBvRf VVTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Xj3xxvmG; dkim=pass header.i=@alien8.de header.s=alien8 header.b=kz64U4MO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j71-20020a63804a000000b0055beccef366si1406489pgd.727.2023.08.02.10.29.06; Wed, 02 Aug 2023 10:29:24 -0700 (PDT) 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=@alien8.de header.s=dkim header.b=Xj3xxvmG; dkim=pass header.i=@alien8.de header.s=alien8 header.b=kz64U4MO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235439AbjHBPzw (ORCPT + 99 others); Wed, 2 Aug 2023 11:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235431AbjHBPze (ORCPT ); Wed, 2 Aug 2023 11:55:34 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74C6E2701; Wed, 2 Aug 2023 08:55:25 -0700 (PDT) Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7865F1EC053F; Wed, 2 Aug 2023 17:55:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1690991724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=4Ix5zDGj/AnSytX9MQHc5/WTKPNGfN8exUCjp+sgZ80=; b=Xj3xxvmGvhJt/U23Kc8ElpFtFbhpZjmlF9CFWGNhBmQfogIaJCUdYE4PnPs4vmcE51BtZr 08j6VPEE667AAxouDs7nf/CtCkZ46VxTRe5ZomHQTeOI1EjkIej9qKt13IfAq0K96MBP2X IyKfRB2q00uXUFDu0BOOcr7nk9WelyA= X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0Qx9PwxlHf18; Wed, 2 Aug 2023 15:55:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1690991721; bh=4Ix5zDGj/AnSytX9MQHc5/WTKPNGfN8exUCjp+sgZ80=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kz64U4MONqF0z/eLh63O76J8JHb0SCKmXIbAVHS/+eVoWHvfhFVe0tug9D5PDjYlv 8ZvZ97hTdSyLDJUrVk23joB4o7ekENAxFGO+c2qMOx70ERSIR3/ayQZNkCualAvBN9 FAN6MvpQzoA3ljQPh13rCTt8xkjy0HA4BMgm/x7i7HBHTIbnUGuXNf5hhB9bhGRBBd ewA2q3hagiVF0WumZW1MKk+QV7RRdO1+SmTLh2D/BLXLADgthe78FuD9n+n6JW361j vmDF/N51bJ1VdF/+ahH5XgAys7OPJDNNOcnuQnzZN6TnyUdMQtWLsv0cW/KKlKzLN5 Po+/VLpVLrx+U8sQdfMVgmdRPUjCjdmERKjAiW9DAB14zgo8ItLt3xfrKLWfyWqrLa PTqLnuDf9uLDu3zXpQuZEiUrEf2s0AEZ7PEy/Mtkv6HGEDwBl4pocdnQQXu1Q0NMHx Kygf7sYD58H1HC3PF/gOWCDeolpdeqcbfL9SyxFWTv5U/DZbYlYkHviUX6ZRs1Qj7P cY0JplgCIG3L7RiR+Twkvh7+19HknNdqzD1NRfZ3pm48TW3pvqYzOEe6BCxug5rDyf rTpruCyRy8JvKBWVDLycg8gzmhkpqj9mrptHtxAYUokR/4OxrKXGWU2yYQ5+TeJaEf KC3sLyKP/cCLK8ul2OqBFTW0= Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 9E4EA40E01FF; Wed, 2 Aug 2023 15:55:02 +0000 (UTC) Date: Wed, 2 Aug 2023 17:55:01 +0200 From: Borislav Petkov To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Evgeniy Baskov , Andy Lutomirski , Dave Hansen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexey Khoroshilov , Peter Jones , Gerd Hoffmann , Dave Young , Mario Limonciello , Kees Cook , Tom Lendacky , "Kirill A . Shutemov" , Linus Torvalds , Joerg Roedel Subject: Re: [PATCH v7 22/22] x86/efistub: Avoid legacy decompressor when doing EFI boot Message-ID: <20230802155501.GDZMp8VfLCXCJog+vt@fat_crate.local> References: <20230728090916.1538550-1-ardb@kernel.org> <20230728090916.1538550-23-ardb@kernel.org> <20230802102600.GIZMovOIUDAJAXu0F5@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wed, Aug 02, 2023 at 12:47:24PM +0200, Ard Biesheuvel wrote: > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=x86-efistub-cleanup-v8 > > I'll prepare the v8 based on this branch after doing some more tests > on bare metal. I'll probably send it out later today. Thx, I'll run it here too. > It depends on the timing. If we take the whole thing now, it should > ideally go through -tip. Now's fine, if it passes testing. > There is a conflict with the kexec sev patch you just suggested on the > list, though. I'll rebase onto that in any case, but if that causes > any problems, we might decide to take everything except the last two > (or three *) patches now, and defer those for later. Right. > * 'efi/libstub: Add limit argument to efi_random_alloc()' may conflict > with some changes that may arrive via the RISC-V tree. That patch is > completely independent, so perhaps I should put it on a shared stable > branch in the EFI tree. Or alternatively, depending on how you decide > to organize the branches, you could put it at the beginning of the > topic branch where the RISC-V tree can merge it in. I could simply give them the tip branch with the stuff and they can merge it. It'll be immutable ofc. > Or we might just ignore the conflict - it just adds a function > argument to a function call that gets moved from one source file to > the another in the conflicting branch, so it should be rather > straight-forward to resolve. That's also a possibility. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette