From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FCA1C433F5 for ; Tue, 5 Oct 2021 14:15:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1914C6113A for ; Tue, 5 Oct 2021 14:15:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235687AbhJEOQt (ORCPT ); Tue, 5 Oct 2021 10:16:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236044AbhJEOQi (ORCPT ); Tue, 5 Oct 2021 10:16:38 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F132C0613A9 for ; Tue, 5 Oct 2021 07:13:35 -0700 (PDT) Received: from zn.tnic (p200300ec2f0d20008b62c5101b4e88fa.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:2000:8b62:c510:1b4e:88fa]) (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 75FF41EC0489; Tue, 5 Oct 2021 16:13:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1633443213; 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=TZDsK7uD6ilbY716/Z/oiqMMpjwE4xNkz465mBr6hOs=; b=mcCer/3Sa/QYbD/Joz2lcsp/eL5jpoprpN0f7bgw54JfeL8LCWWYivKrsvIXC7dra/EnQf Ds+C4NL/k4maeuzLiu7ZSZNLt9FKL9zJ2hz3NO3/lwbkMQvqK1nJmy1lfYRT1xmdwWJdZh Xx2TiJ4HLaCT+fUpISvkdr8jRyo3HRc= Date: Tue, 5 Oct 2021 16:13:26 +0200 From: Borislav Petkov To: Sathyanarayanan Kuppuswamy Natarajan Cc: Randy Dunlap , Kuppuswamy Sathyanarayanan , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Paolo Bonzini , David Hildenbrand , Andrea Arcangeli , Josh Poimboeuf , Juergen Gross , Deep Shah , VMware Inc , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Linux Kernel Mailing List Subject: Re: [PATCH v8 02/11] x86/tdx: Introduce INTEL_TDX_GUEST config option Message-ID: References: <20211005025205.1784480-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20211005025205.1784480-3-sathyanarayanan.kuppuswamy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 05, 2021 at 06:29:43AM -0700, Sathyanarayanan Kuppuswamy Natarajan wrote: > For the TDX guest, x2apic will be emulated. So it will exist in our > case. Even if x2apic or TDX guest is not supported by CPU, it will > boot just fine. Sure but why is it "select" and not "depends"? Why does X86_X2APIC need to be selected while the others are "depends"? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette