Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6659946rwl; Mon, 9 Jan 2023 11:11:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtu35GgB3OztlHHcYDBvtPAuCBO+/TOHH5dW9ZzOO5QLHL4y/5SmvzRXpcksRQv6epCdQyK X-Received: by 2002:a17:906:724b:b0:7c1:7669:629 with SMTP id n11-20020a170906724b00b007c176690629mr56152302ejk.49.1673291465832; Mon, 09 Jan 2023 11:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673291465; cv=none; d=google.com; s=arc-20160816; b=geTd4JUJjXnyXTVOL8lDGzmHw0XfcPx9j8jrDwNbZLLrOVKMlbMhqnlWc6pNtF0Y/C MMhow2SBguFqMn4t5cUR3g/3mOJhsp/eP5GkuMeQai4S8+EURI9UYhnSMB4G5YLSXppW owMiSKe1Z4KH3yo/BSGObDBz5zzamC0+K6x0IM/X9g+YC0hIcDQIDOSSBj6dFNSGQcMB AO3ekyJ943NxhC4EKEp/xACJtNTceWR9dVhsMipKDPjneGhoZsYhyBqvxq61dS0msKNV lkqzHkNLQo3yK+CYIP6dgJcJPKDXsF0PZB8dvpnW3F8I7vWjUKd3H4Yll55wsaqMFoE3 782Q== 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=11LnUf4MhejKfgisfPSyS9B0B0xaSZCrX17MQeoncqE=; b=UqruIJusJftwEiXkfa1hmHNvPFE0uN/gbUpY0yYqY1mHIu1uzzrp1ZiOOun4Du7Z3s Z38pKKfgm4YoPACupRMff2fwFPkg3TwifUo/9uipUMSJMhjD2weG86Sm05WlCJFuHs1t S+gZ/PpfJXn+Arw8hVWVKmia6S/TkKNmB7Bn/TBzy2xjDqon4kgUXoxZoHolH/P3S2pX Ym5SfiAEcOaWZ7Dsm9LsVhZQ/mb0/bJCY8AEJY77hwUPaAk79NgovYK3wSKU3g5OL5RW rqXA2IC8zVAF3ubpP2yJwAGcIaHbsMbKgD1WkY1FJBaqIvQOVszRY1C1D3A9BWvjkq2f Mzdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="sAByOsc/"; 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=pass (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 dm20-20020a170907949400b007adc4a0aeb5si9219386ejc.873.2023.01.09.11.10.53; Mon, 09 Jan 2023 11:11:05 -0800 (PST) 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=pass header.i=@alien8.de header.s=dkim header.b="sAByOsc/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237228AbjAISrZ (ORCPT + 53 others); Mon, 9 Jan 2023 13:47:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237362AbjAISrO (ORCPT ); Mon, 9 Jan 2023 13:47:14 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63C501A07F; Mon, 9 Jan 2023 10:47:13 -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 E62A21EC0104; Mon, 9 Jan 2023 19:47:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1673290032; 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=11LnUf4MhejKfgisfPSyS9B0B0xaSZCrX17MQeoncqE=; b=sAByOsc/+Oj0INi0+tr34pMFzTLKYdE0Sr9YpSor17uoouv6rwXdWzR47sn0Zolbt29b6f gsg8XJ7C2pb+Kcg1pn60LMqgasxwuYbWtcF9SA0noFAmkwEsX+HalnvnH2QPTIxXMsCoGF qf5/yHPQ0ycrMslQs6xaSQRFnJsU084= Date: Mon, 9 Jan 2023 19:47:08 +0100 From: Borislav Petkov To: Michael Kelley , wei.liu@kernel.org Cc: hpa@zytor.com, kys@microsoft.com, haiyangz@microsoft.com, decui@microsoft.com, 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@infradead.org, 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@microsoft.com, 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 v4 00/13] Add PCI pass-thru support to Hyper-V Confidential VMs Message-ID: References: <1669951831-4180-1-git-send-email-mikelley@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1669951831-4180-1-git-send-email-mikelley@microsoft.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Thu, Dec 01, 2022 at 07:30:18PM -0800, Michael Kelley wrote: > This patch series adds support for PCI pass-thru devices to Hyper-V > Confidential VMs (also called "Isolation VMs"). But in preparation, it > first changes how private (encrypted) vs. shared (decrypted) memory is > handled in Hyper-V SEV-SNP guest VMs. The new approach builds on the > confidential computing (coco) mechanisms introduced in the 5.19 kernel > for TDX support and significantly reduces the amount of Hyper-V specific > code. Furthermore, with this new approach a proposed RFC patch set for > generic DMA layer functionality[1] is no longer necessary. In any case, this is starting to get ready - how do we merge this? I apply the x86 bits and give Wei an immutable branch to add the rest of the HyperV stuff ontop? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette