Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp698410pxb; Thu, 2 Sep 2021 12:56:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAmGtq9RDOgCfYHbdeFGexjktUMudl8b9qhwj8VdE2LO2NLd2pn8MRZCmu/+xCckG+QbkG X-Received: by 2002:aa7:c884:: with SMTP id p4mr29327eds.203.1630612581705; Thu, 02 Sep 2021 12:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630612581; cv=none; d=google.com; s=arc-20160816; b=lHnZEy4wr/+jH1ubHGlEwcyBRrPiaXzoDxb/jne22rJMw5Mv+Io4bV0DfqKTwiMfEb SC0oksCrspTvFWM+KeCVJ54io1l2/p/6cGTQ6OMLvHf7RSY1hB83kG6jgU4OmRumbdI8 DTr9j/zJsmvTFYeAW8vbAKyOMmlWG0E8T8/RsnAYxClE0py+OSR7es4qFsEmBNzTQOYq Gqn+xlW+lvwnDUHn4odw86mpXp2wOA9LxUMlnexCGZ8WNkbiC6VWlNDzqh6alzBrWGUL rxL2ebv98WnjKWI/WNTBb3ONtWBN/VwAitdgm0F8DSs0GcM1lAsK3s5p3fBPW+r1bL0U dyrQ== 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; bh=8MEGxmWQPn7vM1CQz7iBVTV01OFVHRNCMyD18pnrHMU=; b=AkzStY2DOozzsGuUDrbuiKgZeQB6l5zLvQM1jehqvV6Ad3CWkJdfJ7HDVIU/9bxh/X 8+bukxSMfK385vWrqSbIHefAzPPqirf3z7eCeHRKbxpKR/IY0khgZ/vsZ/tRMxyleLkw +L9U6FUXr3EgU7GThiVHHpmZUee5mu/X8CN32SQWNEfd3YTIE84UzSTidzds5sZDum6h dVgZr382wTNOuU2RU1KlYgTOVXpjBni4Ovum2OlhAf1W2MjNmgmjB3s9DBU4rkQZB+Ms 7wxku15WBvHTwbA+MF+lXKiLIQwOr7bradrXox/CTISnFF94HtYAA5AjlwrRnWmWqWyV +NqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="hBCT8Uo/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si799354ejt.173.2021.09.02.12.55.55; Thu, 02 Sep 2021 12:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="hBCT8Uo/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S242646AbhIBKyY (ORCPT + 99 others); Thu, 2 Sep 2021 06:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231544AbhIBKyW (ORCPT ); Thu, 2 Sep 2021 06:54:22 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEEB6C061575; Thu, 2 Sep 2021 03:53:24 -0700 (PDT) Received: from zn.tnic (p200300ec2f0ed100d115725f57e7001c.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:d100:d115:725f:57e7:1c]) (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 40DE61EC054C; Thu, 2 Sep 2021 12:53:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1630579998; 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=8MEGxmWQPn7vM1CQz7iBVTV01OFVHRNCMyD18pnrHMU=; b=hBCT8Uo/0yz1DU5li4Hs9UtPsjlEm8FmUlzn/tonYVYiGIN/T/kboq1BgbTUZuSI2ukhRi Ws+JOgMzpu2KMb4rGDb6V3inGADA7TGs2Zvh2CjBVtAvObOz+yYSkJumbV2g10a+Mw6cqi 6ZQcJMuehyqettHsgGfQCeAU+K9g0Io= Date: Thu, 2 Sep 2021 12:53:54 +0200 From: Borislav Petkov To: Michael Roth Cc: Brijesh Singh , x86@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-coco@lists.linux.dev, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , Joerg Roedel , Tom Lendacky , "H. Peter Anvin" , Ard Biesheuvel , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Andy Lutomirski , Dave Hansen , Sergio Lopez , Peter Gonda , Peter Zijlstra , Srinivas Pandruvada , David Rientjes , Dov Murik , Tobin Feldman-Fitzthum , Vlastimil Babka , "Kirill A . Shutemov" , Andi Kleen , tony.luck@intel.com, marcorr@google.com, sathyanarayanan.kuppuswamy@linux.intel.com Subject: Re: [PATCH Part1 v5 28/38] x86/compressed/64: enable SEV-SNP-validated CPUID in #VC handler Message-ID: References: <20210820151933.22401-1-brijesh.singh@amd.com> <20210820151933.22401-29-brijesh.singh@amd.com> <20210827164601.fzr45veg7a6r4lbp@amd.com> <20210901010325.3nqw7d44vhsdzryb@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210901010325.3nqw7d44vhsdzryb@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 31, 2021 at 08:03:25PM -0500, Michael Roth wrote: > It was used previously in kernel proper to get at the secrets page later, > but now it's obtained via the cached entry in boot_params.cc_blob_address. > Unfortunately it uses EFI_GUID() macro, so maybe efi.c or misc.h where > it makes more sense to add a copy of the macro? A copy? arch/x86/boot/compressed/efi.c already includes linux/efi.h where that macro is defined. That ship has already sailed. ;-\ -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette