Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1404817pxf; Fri, 9 Apr 2021 07:39:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypWAmMV8LTO5IzIqtnox3M6FOrcmrbRz6PpWYXJSG1Puq8ZjKy8zkYRCgmoCPrUuTuDRB8 X-Received: by 2002:a50:ee85:: with SMTP id f5mr15237948edr.203.1617979162368; Fri, 09 Apr 2021 07:39:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617979162; cv=none; d=google.com; s=arc-20160816; b=q+DXMjD7SMhzc7scU1CLTTyXu8qaH6hGHGeAQzAyiZmHKhAFBECZwvbpPc8+jXgvtl 6xDpNfF2gMy7ThwF5Mr3B03DrRhxlM0jJIqwxaXnwJ5Ah4pWt3jcgiXWIeXw9uTN5Pcj li6i6qUZf513K/PCYac94LzE4YDvJfuvtCmF/yeg3R3rFPm3rWQ3xMJPCgBhDVF/OAW7 W9Px33w8gGHX6rkJvfFH8dDL4SvptYGZZGRV1R/7gHdvOch5Iz78n4fy2OXDP6B42P4j ACjOwjZrhfXfTAa0yKbxTLLddxLJWD3AbQGiyQnDHXzEc5yIISfW7VHu5BnSgLRcYE6E H9kw== 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=/tfcyJXvXhNZLReR1htttf0UwfGGssjKO1d9l61G0Cc=; b=0hKC6NRVThFG/BxQiLjUyPbrh7wbaLGJrHDMS7OHixCo7SlFxkuLFrtAjWpqNSRuaM 3E1U53EwWHrIHml+6+kAsudrREfRqP6jJn7pf12cj2Px//6q9Kir9neQNvoDZF6lgUVL /8/7ZuC/nC2VSSBoyRL9xUdDd9stOZ1j41LPW9qDgoPSQU5aC3fNMmxY8Nnn0o24Y9nE kpwHN+WLMa5N6oKlU1PH+A/AB7TnxYBf5NXJEyXbHtVaLgzJgMYyyNvtfhL9Hi9bRbTG jdxEOO73VNWbIwqjjVIpOMqDqm64zKss1kEvsUy9PL0zIfwcqA46UItGyjwFhhf5ttCA YgzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=m2dw4XzU; 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 hz9si1922264ejc.465.2021.04.09.07.38.59; Fri, 09 Apr 2021 07:39:22 -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=m2dw4XzU; 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 S233855AbhDIOiD (ORCPT + 99 others); Fri, 9 Apr 2021 10:38:03 -0400 Received: from mail.skyhub.de ([5.9.137.197]:43246 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbhDIOiC (ORCPT ); Fri, 9 Apr 2021 10:38:02 -0400 Received: from zn.tnic (p200300ec2f0be1008c36e9c40e111c65.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:e100:8c36:e9c4:e11:1c65]) (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 6D7D11EC04A9; Fri, 9 Apr 2021 16:37:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1617979068; 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=/tfcyJXvXhNZLReR1htttf0UwfGGssjKO1d9l61G0Cc=; b=m2dw4XzUKula8B2dsTyQD+VYSfLSxCqY8SqdIRzbQSWNLxiRf7SDhSavwjvNSnDVvbvoxI 0/pTN2qfZfnumeSjwGSS3mdEbhgAGogMHWA8GkpkD3buCnQFNKESkBjFCs5LSeB6mdLbQe EiacvRj5D+MEk1Pf3ZQNg9u5YA8cf8k= Date: Fri, 9 Apr 2021 16:37:46 +0200 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: Dave Hansen , Andy Lutomirski , Peter Zijlstra , Sean Christopherson , Jim Mattson , David Rientjes , "Edgecombe, Rick P" , "Kleen, Andi" , "Yamahata, Isaku" , x86@kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: Re: [RFCv1 2/7] x86/kvm: Introduce KVM memory protection feature Message-ID: <20210409143746.GE15567@zn.tnic> References: <20210402152645.26680-1-kirill.shutemov@linux.intel.com> <20210402152645.26680-3-kirill.shutemov@linux.intel.com> <20210408095235.GH10192@zn.tnic> <20210409133601.2qepfc77stujulhf@box> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210409133601.2qepfc77stujulhf@box> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 09, 2021 at 04:36:01PM +0300, Kirill A. Shutemov wrote: > The patchset is still in path-finding stage. I'll be more specific once we > settle on how the feature works. This is not why I'm asking: these feature bits are visible to userspace in /proc/cpuinfo and if you don't have a use case to show this to userspace, use the "" in the comment. And if you don't need that feature bit at all (you're only setting it but not querying it) you should not add it at all. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette