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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3E0CC636D3 for ; Tue, 7 Feb 2023 19:54:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232140AbjBGTyn (ORCPT ); Tue, 7 Feb 2023 14:54:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231942AbjBGTyj (ORCPT ); Tue, 7 Feb 2023 14:54:39 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63AA73928A; Tue, 7 Feb 2023 11:54:38 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (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 01EB41EC0589; Tue, 7 Feb 2023 20:54:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1675799677; 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=F01BghZYAExExKb8hKMl8+wgDEDxdqMpIdI7ohJ0mJM=; b=dYX3Lfb9YiBDkJJlJsKeLhm9BYQSXcDLue3zWs9WGdyRbnAGJ8Dq52lzaJYxpdr6aZ7pHv 0nho2omyi5OWajNoExaRuyN5VWr4YsvljBeQSNN56jWpfIhgDI/1P9ZtGlQpB4DrTJA4x4 SjRvRG2zTF4zb/Ui6Rcz7MKaXwFXvPo= Date: Tue, 7 Feb 2023 20:54:33 +0100 From: Borislav Petkov To: "Michael Kelley (LINUX)" Cc: "hpa@zytor.com" , KY Srinivasan , Haiyang Zhang , "wei.liu@kernel.org" , Dexuan Cui , "luto@kernel.org" , "peterz@infradead.org" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "lpieralisi@kernel.org" , "robh@kernel.org" , "kw@linux.com" , "bhelgaas@google.com" , "arnd@arndb.de" , "hch@lst.de" , "m.szyprowski@samsung.com" , "robin.murphy@arm.com" , "thomas.lendacky@amd.com" , "brijesh.singh@amd.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , Tianyu Lan , "kirill.shutemov@linux.intel.com" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "ak@linux.intel.com" , "isaku.yamahata@intel.com" , "dan.j.williams@intel.com" , "jane.chu@oracle.com" , "seanjc@google.com" , "tony.luck@intel.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-arch@vger.kernel.org" , "iommu@lists.linux.dev" Subject: Re: [PATCH v5 06/14] x86/ioremap: Support hypervisor specified range to map as encrypted Message-ID: References: <1673559753-94403-1-git-send-email-mikelley@microsoft.com> <1673559753-94403-7-git-send-email-mikelley@microsoft.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, Feb 07, 2023 at 07:48:06PM +0000, Michael Kelley (LINUX) wrote: > From: Borislav Petkov Sent: Tuesday, February 7, 2023 11:33 AM > > > > On Tue, Feb 07, 2023 at 07:01:25PM +0000, Michael Kelley (LINUX) wrote: > > > Unless there are objections, I'll go with CC_ATTR_PARAVISOR_DEVICES, > > > > What does "DEVICES" mean in this context? > > > > You need to think about !virt people too who are already confused by the > > word "paravisor". :-) > > > > Maybe I misunderstood your previous comment about "Either 1". We can > avoid "PARAVISOR" entirely by going with two attributes: No, I'm fine with CC_ATTR_PARAVISOR. Why would you have to have CC_ATTR_PARAVISOR_DEVICES? I.e., the string "_DEVICES" appended after "PARAVISOR". Isn't CC_ATTR_PARAVISOR enough? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette