Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7362061rwd; Tue, 6 Jun 2023 09:37:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55snBw0kN8GojhiZpegpii7wxwGvpWzgWAH1RIsmm+54oYkyzPDxHF5c+IMVrO/ItJaaIg X-Received: by 2002:a05:620a:8f8c:b0:75b:23a1:8e62 with SMTP id ri12-20020a05620a8f8c00b0075b23a18e62mr226089qkn.51.1686069438235; Tue, 06 Jun 2023 09:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686069438; cv=none; d=google.com; s=arc-20160816; b=wx5FgAJ5IpqIuyX9PCQoME4bNoB8NEMH+WZyzlbW2s6tTSAT+sirgcPfyj+w7ekn1q iCqpdPrMX/3uuwDCDIni1wJQ95SGTe7fvoaatLvtHijZgyPx+iGmaz9ppTOTSWPIiw6V XtPGwvhzzGW0sBkffPeJoX1zHudjP1oaKzZTuxwyeds7h32vinKcgjsyGemKc9J/0ax/ T/EbuZcc4n5/P8mo4oWpPGfZ5Hbun9Dzc3B/jVBj3dyxPVFz9swwkUHoChIuHpxl1E9q v9N6TD6hxQ7M83tjQ1Dnkj3GxHH5MxZOblbT8ICGsND4xHIfLBoz8EsvXdalUNT0vnaE qF/g== 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=Yc8fsBs+xKPd14gOftiVwaYwObAPlOek8WdNbu4B2Xc=; b=QQl0RALLZhqJVG6W1VEo7gyTGqIsbEkHMZsEwpGhdWBHVMATOVbOwXZTLGpCV9R0vY JiJdWZ7LZVg02thObPV+HNs9dLAi4v3ou9NHYjW8pOk3kxnLneRGkskh0mpuBaK3SMhU zX5YObe161aMzvQAI8o3SjnatuYN7l5OnPvcEKRVMwAwtri3Qs4/arqaU21uP+j+TcEZ U3mkHXV+AOfjitkGeS8iczEiB8XZgdeE6Af42nCVKZxy9j1h4E8tughxG02//x12bt1B 9xCNGviQfz7y2ITgNLxemR4rl5Cr0bMmVVWKU5wwg1ecUy9dFefbpnrAH/UidMHHkt5H YkTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@alien8.de header.s=dkim header.b=QOuL9ObS; 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=fail (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 p28-20020a05620a113c00b0074e4a5d1edfsi6033466qkk.706.2023.06.06.09.37.02; Tue, 06 Jun 2023 09:37:18 -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=temperror (no key for signature) header.i=@alien8.de header.s=dkim header.b=QOuL9ObS; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237056AbjFFQZz (ORCPT + 99 others); Tue, 6 Jun 2023 12:25:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238288AbjFFQZv (ORCPT ); Tue, 6 Jun 2023 12:25:51 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 076811707; Tue, 6 Jun 2023 09:25:49 -0700 (PDT) Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (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 7E4A21EC064A; Tue, 6 Jun 2023 18:25:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1686068747; 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=Yc8fsBs+xKPd14gOftiVwaYwObAPlOek8WdNbu4B2Xc=; b=QOuL9ObSvxl7i9nUuh8XAtyi9JrErbcJ9WmVYaji7xlFyIRgQPU3msr4AtfO4nDccTWoam 02ysCMJZqU9QTLHU/ZH557iIegZXgnauZ8/fcSWNSe0TuUxG/G3uL5TAsnSm1Ub02MNryC lNhmZDEhMrfkhPH56jIFtohrl4yCkBs= Date: Tue, 6 Jun 2023 18:25:47 +0200 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Dave Hansen , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Dario Faggioli , Mike Rapoport , David Hildenbrand , Mel Gorman , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, aarcange@redhat.com, peterx@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv14 0/9] mm, x86/cc, efi: Implement support for unaccepted memory Message-ID: <20230606162547.GEZH9eC9bDNkRcU+l4@fat_crate.local> References: <20230606142637.5171-1-kirill.shutemov@linux.intel.com> <20230606161606.GDZH9bxhrGnFkaLl2A@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230606161606.GDZH9bxhrGnFkaLl2A@fat_crate.local> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 Tue, Jun 06, 2023 at 06:16:06PM +0200, Borislav Petkov wrote: > Why does that tdx_kvm_hypercall() thing even depend on CONFIG_KVM_GUEST? Amending with this, obviously: --- diff --git a/arch/x86/include/asm/tdx.h b/arch/x86/include/asm/tdx.h index 234197ec17e4..603e6d1e9d4a 100644 --- a/arch/x86/include/asm/tdx.h +++ b/arch/x86/include/asm/tdx.h @@ -5,6 +5,8 @@ #include #include + +#include #include #include -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette