Message ID | 1679838727-87310-1-git-send-email-mikelley@microsoft.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> 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 168B2C77B6D for <netdev@archiver.kernel.org>; Sun, 26 Mar 2023 13:53:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232032AbjCZNxQ (ORCPT <rfc822;netdev@archiver.kernel.org>); Sun, 26 Mar 2023 09:53:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230399AbjCZNxO (ORCPT <rfc822;netdev@vger.kernel.org>); Sun, 26 Mar 2023 09:53:14 -0400 Received: from DM5PR00CU002.outbound.protection.outlook.com (mail-centralusazon11021021.outbound.protection.outlook.com [52.101.62.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C4E7A85; Sun, 26 Mar 2023 06:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ghuqYiu5QmcESV8SLBk4nNigtrSZ0KpFPcYkwGkn819mkKVYnRKzF/712gx9ccUf1GCOnOcHDOZkRNpW+o5KlWIxmVURanhbz5Ps3GBy+0B4qOyVvS7B1vtAFrzzyLA40QH7myZfTEHQ/iODkQtKJPHIctRApp7CTarpEv6WMXEh813QV2eF7BkA75Z/oRlJkFecXcete/aRKCmdi4SWlU6amnNEm78nyuM+E1l4oipFB4zTLhM5l15RMf7bbSzPTCX/yksaGdOAlnsNdL4vPdZcIp2PN/l0TfIlQ64evHbl346lkh9lz96XC674mcfZzPmuX+DsgeKErX2Q4xMQGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LlA0ggFcSKVY+mrFUq7xZmXYePx+rwVJ8G6fdkxgkxU=; b=UiIf6+XhASjOAE107nOtyu2hYt+YEGuJj6Q3TUnkBYBrwHU6EAr7PAz/Xe5w1VGM/lY5QrJXAZsmBZMWBuNv3B4KVq/0gYvLMjIGgYgRKI0mVmFjxisqRXqm2mw4zzXP2o759CBkGKDxiiUhPjtbjxSPXNSw/b0wU9eRrwe3gI+ARlXFurAvqJUeSb3C+pnAS/tBDYZEJn//pSAnV24Js1J109x3cr069NoXPN6iYrQP1Sd0v4EQiKJWFG8pmPq6HUNp3V7CaYM74wvGvK2n9aSsdBjYz1WIGIx0GKbqHJT2Qho9b+NZsMpsjzRusHcAKXDcBecok112qF1SJCRlWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LlA0ggFcSKVY+mrFUq7xZmXYePx+rwVJ8G6fdkxgkxU=; b=Aazke/2ZzbjVJEBW1M8NxYBTyaWgYQFzjJ+xpvymXJDOFUiy+BCQhrd/NqyTb800Q6ZMTuWjSNgfywLHYBCaotoR76vuzSK6/G3BxEKP5eI9lxjYO8gfy71cEYulvSIN7oJLknKAUVPNYM5BDmcpCuy3pmkb0cXtQfz6d+3xCg4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; Received: from DM6PR21MB1370.namprd21.prod.outlook.com (2603:10b6:5:16b::28) by PH7PR21MB3044.namprd21.prod.outlook.com (2603:10b6:510:1e0::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.16; Sun, 26 Mar 2023 13:53:07 +0000 Received: from DM6PR21MB1370.namprd21.prod.outlook.com ([fe80::b7e9:4da1:3c23:35f]) by DM6PR21MB1370.namprd21.prod.outlook.com ([fe80::b7e9:4da1:3c23:35f%3]) with mapi id 15.20.6254.009; Sun, 26 Mar 2023 13:53:07 +0000 From: Michael Kelley <mikelley@microsoft.com> To: hpa@zytor.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, 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@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com, thomas.lendacky@amd.com, brijesh.singh@amd.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, 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 Cc: mikelley@microsoft.com Subject: [PATCH v7 00/12] Add PCI pass-thru support to Hyper-V Confidential VMs Date: Sun, 26 Mar 2023 06:51:55 -0700 Message-Id: <1679838727-87310-1-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0168.namprd03.prod.outlook.com (2603:10b6:303:8d::23) To DM6PR21MB1370.namprd21.prod.outlook.com (2603:10b6:5:16b::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR21MB1370:EE_|PH7PR21MB3044:EE_ X-MS-Office365-Filtering-Correlation-Id: 02ec4a03-9745-418d-0966-08db2e016d59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bbA4JcCSxH+iBiPAz5cb7N+QWMGL8i45fzn7gu+Nmgsskw7/VXz8oPQPWBKkl2Xs3G10BLlSsxwsRFEaRcykI4UJuVTwjnNdcrBHnbJSfdj9jWpVYefIQow2tRhGe1w/rUxxNiylAsXxTzBis1HyZEtxO1or02EoDM5hOaF0d1CxMD5J8pZWRQ+wtBgm0/FnaK7R9C484WYfAyoHGcBOQ+kdueevwr/gvnetYZgxQeOKOXDk99K2UDpYBzp0JS5kltv/f9CcY7zdjslupWqj2TNTZAGu/v2f6lK4UnHjwZu5uZjxn5ZRAAnNtGyfDsTKMRBw91ZU9+zyDOiH1JnoG+83s/2v/09pBUVZqQP02AS523HjVbnn872Www6iX5gn10ZFxdegLu+dtLcGKJjit65XdYswciRHg8Omm+AYyxJa9T2GAg5QuKCFnhGgdVvdy2wBiDfE/9hZWoh5VZZbz8R4h/bkkPSPZdyk/+imt4/+JFmP3XJm5QOQ06NwqipZMHueSgckmTb6eBzlc+6tYrOYtnz7IYcEeszmzE5I3qsmXKMLGdZqNFXaOXdurhNWiHAmpzS8aa+aruyy+rS1CK6ygo0knpLbUdbnCSffX21vS0nc73Zd1sFVfdEd1OuGfFmeVmrarz+R3CTQxmms9W0J98/dLCT4Pw0NB/RmSBqAQ2Zas01x1pIHCh8Cb/SvBg9CUAFgMPQjmhCcH/lJ0g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR21MB1370.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(346002)(366004)(136003)(396003)(451199021)(38100700002)(38350700002)(82950400001)(82960400001)(36756003)(86362001)(921005)(2906002)(6666004)(107886003)(10290500003)(186003)(26005)(478600001)(6506007)(6512007)(5660300002)(7416002)(7406005)(8936002)(52116002)(966005)(6486002)(41300700001)(30864003)(316002)(66556008)(66476007)(66946007)(4326008)(2616005)(8676002)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TDYn0KNREEVZ3t3AmySDqYKAAN/5pCDGJo0dx3UFHK5IwAcbKPUhTpZytimkkf8HIgR77TiEyJJm4I/4u+9CUTAHR0O7RDkqPjjTLNSvNfPRxQ9RRLj7eQSWKjv9KiRSvpXLRzC9XGOcy2pS+MBi7WeulIL+w5fJhMTvgEb6JopaDCBbM2ZDGYbTBdsRTkzTIfCbLfGp9cjYU+gc4u6v6n6SdY+zYygEbtXP7L0V2V3BqIXPzT3P9qap/FN8a7NsbVVfgwngfIVAPR68HdZH694irEQe0PQu8g7s3yKiEFuiMH7f6nn8RYeDelKL59XbqHI9R0DDlbhs5z2rl9qr2amLu+8pFIud2w+6Hc9J513b2H+J6S6yvRv47l5zy7XR7dVb2MqLVAOjswbVosKdwHrw611EZTaUcyDFQRsYUa0oL68pnahNHxkx3BU9aOY7pjvOvNF9sRW/lI4y7vGUe31912EC42ot+bOIY3iijTLIEtlNY9ugPg9gJqepLyAq1B/PRhjJgCU0OJC6ZyId6f/7q98TLU1NGKhdO8l8V9iJz8k8Fbqf+jidhIcmOQGnv7XOXIc3D5lU4cqC8qDaikJC9EJiH6ao1c63/5zNg/2xCJUE0Ig7b+NkVT5cWUmNiJ3/w1CiCPJK5wBFSvbBXG6NADwaI3jaxWt3m7sEYOTtbKNbQMOfaZe5POYU45WiADlOL+c/BlL76lWZysuIMBddx1rDuIGN40+KMQ2kOdwydyKsev07NhcaOs4NDwOXM2m0bJ2LZZ6LJEy25Tb4Uw8knpvBkCbNlVG/QHZz+LRYW8eAmwEYpNhI4TY+WliZD5ogftD4rHu91V2aJ/O+M7J4Fxz5yTHatUMsPVbz8o2yyjZ+ZPdLpUzrj357Q4pAtjs3Hhba0MKjdcDFLILHATE/VSAgpB2mCBBL1onHmmSjiHYjjlNpQZT+E4VTvIxPqz7kOjDawAZXgcRMb+qytVaqbeWxyx3kBzmICu9oWA5iUjCEGM9laf9bccXRA0vHnUwPsjKt+Rj8ITpnYko4uYRC+f1+8fR+rOApxRiiWzhb/3Ke09UUe/RM1L/KMLLXjEyh3KvpbAbHyjyN8VNiNv3hcRMaBoIGchimVx6Zf5ZCBECH9ZTJwT5cZQXIeX+HmtqMro/JmIhbohtgn1fYIxNjOTik+2soYTiQP10vAbcj3iPEyXDIe2IUQBmwLWRWxKCUQtwohnI+ek7kHIAmmctqvMgDNykQHThAkQvsjJlANGyDrgifws96iDdUUxivnNE5l9x3BJ9vlZbho++p2brw+KLq2O5mac4HZbuEOlKNR9/zFx4ZoiCaZqXppmlfRv2qyudas+SpUUmc9SMkFOCncox5ZvpX2py4JWSWzPxan4RCJjkSJ+JGkh93ZwT6phmZ2OmZ2g+wOCnvSRrPXA8GP7qtFKX8GrJoaD0qdu0N603ALlb4lmvjezpDpWAX1rWedK8d/M7H7E+xNo8Elpmk9clqhkRDilxS4/IVS27CULvcMAIq9IDZmD21OS3PGQLano4cZv7eLqqgZjbsskBqMiRFBIfgBBRX3gven2uhmkuqEdqTEWOmBiU6vt/dcrpeSxa38XcyfWGA0GT5IA== X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02ec4a03-9745-418d-0966-08db2e016d59 X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1370.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2023 13:53:06.9096 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CfkPG/o76p/tEAmwmaB/gHWZJkmWr4B/IBi4jyWpwiZ4U1R9co8qxsf2Wcdxl37dUEnQknswpbQmRNJHx8023g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR21MB3044 Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
Add PCI pass-thru support to Hyper-V Confidential VMs
|
expand
|
On Sun, Mar 26, 2023 at 06:51:55AM -0700, Michael Kelley wrote: [...] > > Michael Kelley (12): > x86/ioremap: Add hypervisor callback for private MMIO mapping in coco VM > x86/hyperv: Reorder code to facilitate future work > Drivers: hv: Explicitly request decrypted in vmap_pfn() calls > x86/mm: Handle decryption/re-encryption of bss_decrypted consistently > init: Call mem_encrypt_init() after Hyper-V hypercall init is done > x86/hyperv: Change vTOM handling to use standard coco mechanisms > swiotlb: Remove bounce buffer remapping for Hyper-V > Drivers: hv: vmbus: Remove second mapping of VMBus monitor pages > Drivers: hv: vmbus: Remove second way of mapping ring buffers > hv_netvsc: Remove second mapping of send and recv buffers > Drivers: hv: Don't remap addresses that are above shared_gpa_boundary > PCI: hv: Enable PCI pass-thru devices in Confidential VMs I merged the first 6 from tip/x86/sev and then the rest directly to hyperv-next. The hv_netvsc patch did not apply cleanly, but that was easy to fix. Please check hyperv-next is what you expected. Thanks, Wei.