Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2845230rwd; Fri, 2 Jun 2023 16:00:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qMKoR2od0UOVWaqDekzJqmR3neJMtr5nFy3rBUC1bsKtanKn1Cpde2RX5vpTjDBEtfjtq X-Received: by 2002:a05:6870:347:b0:19a:7bd0:e260 with SMTP id n7-20020a056870034700b0019a7bd0e260mr3801762oaf.0.1685746819555; Fri, 02 Jun 2023 16:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685746819; cv=none; d=google.com; s=arc-20160816; b=yWcdZKSq2mtxsnpRrAlA8X1cH4a64LPwMZnfnWzRxidSo+Ex0Megc3xmH0tqQiIm6P 8aGL5eXh2EAER5D4ncN+2uZOfugYCDtTvVhxSnzilVE9rcb1Y9PfqOPOYZfjhrj5oriX FAp8yTGnsbn3lPyaS2LPE/uICRWmCYyuYo8l7hEMIUvXn0Rnwmg1uLRRoJwYm/gvs3bW JnL9CrkXTSjV/1rGh6NbE4p8+MpqLIYfIkW7JhRWT2AcIzX8akzoYKXoXOI14/9XjXZd t1Jo1GYoQHMzIOHlhnQ9ETfhccbkd/dkZYK7ksVrxUf1ZQAPtnFUQpk91YFLBHd+wR1P FDkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=O+lOYm8o/ztubCOv6wG8dAhHxFMIV4ERwkRmSjU/3gQ=; b=KJEg3JhIuKb0+0FY+Njz8wIoP9Or8e6db3MsOzIUidra73c0lNtRblT0b0355sywOb rSvkk2wgiAtXWYRk1TT8iibaObtURuWdC1wZwmgl+Gn3rIasUWnJac16zIQKo7+pjKjS 2yYo11vq8hnKVAurjIeYysno8dxlKWkLv47zTdpOKrrtbLOhFhmW6S3JcPW8/q7u9hPe Jm/DFOKs8ZdcD7XymFpP9tWutHly+7PoE20H7tdKGx/xnPcdIosCgJqngwJs37kYjftj 8q4JEbynt03vkaNON8yxPqwhKNjxCByhce29o0oJp3cGHDN6L1LT0+5USRpBxq013pOa N3lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ui1+xlFd; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x71-20020a63864a000000b00542ad9945f2si1097145pgd.647.2023.06.02.16.00.07; Fri, 02 Jun 2023 16:00:19 -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=@kernel.org header.s=k20201202 header.b=ui1+xlFd; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236660AbjFBWwv (ORCPT + 99 others); Fri, 2 Jun 2023 18:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236281AbjFBWwu (ORCPT ); Fri, 2 Jun 2023 18:52:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 275A4E43; Fri, 2 Jun 2023 15:52:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B7D7C6123A; Fri, 2 Jun 2023 22:52:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CA3AC433EF; Fri, 2 Jun 2023 22:52:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685746367; bh=IC0IwOeV5ZGwtS0t1QyQiE7IDxlt6mYpuQxSohJQc+k=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ui1+xlFdv+gQIhUXah52CbPuoOmiwCIF61/1abY4VSHRVhFG3VQ5+2z2S3C+ZVGiv b5fSLksxHEpsqcwfTUV+8HJWtoTe+zsVd+RASVTvOYg1NnvNB3wElvYkYwdasc8ZTi kGWR6e0NTbbMAFTIVoW2ozZlAm9Y4jNPQFHyV3NGxxJme1t2vb0tIhdi/LSIPF+kWP wCoLEgJXvPybU+XlZEHJwab8w+N7xAO2dRz3DnfHmhRcl4GkIVcbft223ByWqLKflY wRKcF1qZPdlxUz7H7lg4ASwmcgFUaKhvdW9osXYDE0UjZbIhIo6tY+LQRFU7PN4vnz ysUNdEL1HuN5A== Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-4f6067a9029so3383218e87.1; Fri, 02 Jun 2023 15:52:47 -0700 (PDT) X-Gm-Message-State: AC+VfDzPDqMBlOg/ijbkeHmmSiSerQlTQYX8DoKNs74c7R9kxM+UZjO0 Vnv9l7N3ZYYDrYmyOQ4n42Q/Jpdx2NKmIyFzJ+E= X-Received: by 2002:a05:6512:48b:b0:4e8:4412:1d95 with SMTP id v11-20020a056512048b00b004e844121d95mr2750978lfq.29.1685746365219; Fri, 02 Jun 2023 15:52:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Sat, 3 Jun 2023 00:52:33 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi: bump efistub version from 1.1 to 3.0 for VZLinuxBootLoader compatibility To: Akihiro Suda Cc: Linux Kernel Mailing List , linux-efi@vger.kernel.org, Linux x86 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, 2 Jun 2023 at 22:30, Akihiro Suda wrote: > > > > I'll queue this as a fix, but I'm going to tweak the comment (and the > > > commit log) a bit, if you don't mind > > Thank you for rewriting my comments, but the new comments seem > slightly incorrect: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=36e4fc57fc1619f462e669e939209c45763bc8f5 > > > efi: Bump stub image version for macOS HVF compatibility > > The commit is about Virtualization.framework, not about > Hypervisor.framework (HVF). > > Virtualization.framework = high-level VMM, similar to QEMU > (/usr/bin/qemu-system-*) > Hypervisor.framework = low-level VMM, similar to kvm.ko > > > The macOS hypervisor framework includes a host-side VMM called VZLinuxBootLoader > > VZLinuxBootLoader is a part of Virtualization.framework, not > Hypervisor.framework. > Also, VZLinuxBootLoader is not a VMM; it is just an API for loading > vmlinuz into Virtualization.framework. > (similar to the `-kernel` and the `-initrd` flags of QEMU) > Apologies for these mistakes. Unfortunately, this patch has been merged now so there is nothing we can do about it. > > On x86, it incorporates a BIOS style loader that does not implement or expose EFI to the loaded kernel. > > AFAICS, it does not seem to use real mode BIOS. > I never mentioned real mode, did I?