Message ID | 1678329614-3482-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 86DB1C742A7 for <netdev@archiver.kernel.org>; Thu, 9 Mar 2023 02:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229959AbjCICll (ORCPT <rfc822;netdev@archiver.kernel.org>); Wed, 8 Mar 2023 21:41:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjCIClj (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 8 Mar 2023 21:41:39 -0500 Received: from BN6PR00CU002.outbound.protection.outlook.com (mail-eastus2azon11021017.outbound.protection.outlook.com [52.101.57.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B405367731; Wed, 8 Mar 2023 18:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nAKO7UZQOh2s/vtnFCYaWLCB3MQlIjxWMWQwDJciIDf5nEcPgRqVmGb+Bc6Vz3/GWJWvhsKwEGdDzPlLZEH7JjZUkuFbbPm//21EjA0tKwMX5Q1k8GM8CecEQxY6Ctt4OX+dVIuHJWJU0XautXOGS+bfuW37cuWAZIpAhhDQt0IjcTv+Zg3J3/SrERzMolp0QepiidN1XyG2Di2vEk/0Br2U2kqpvQgQXKmj8nqn19ztPm2/UjT3hc5y+yhishZ0iWLF8dqCUKKKZznaNKSE/ywOjsw412ZVH+d+4JJPvuR+wHPRQPbUFjiEt2XJr2zPQKzbdeJmR/SP0gI5wTPBlA== 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=XtHBT112wmXDVhDD0/izLKJ98FKcdBuGkaQjkCSLXzo=; b=kouACpXNo0WwgzG27DxI+EEOJx57NWeLwoGW7k5j7ufwyOxf7X+Ore0G7BH9f4+ZvqBaW8BW+59jkSwUjEuLcX8hMUhC0PBYNNUmVCyvKhkh6fdF0xa6pW3Jiq2MG+FwfxNVQ6mIHXhpOShO6b0HNw6zviG2bRvi6Bsvxov6Phmfi73BQ3uO/0FX9/gJJvRkwaJsHzOWMdmxk+rYSvS5nxxMc9BYt8ykAq/ujvJaEpVHEgfaIvUb+FkCkOqPEgfhaD741AwF7oq4aSyzJGE4+8VeurPmuKjvgDvlc6AaCgkDBvIbWDFzUj9TJgZkie9Fwt16Hf4sElm/YHJQgigtZQ== 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=XtHBT112wmXDVhDD0/izLKJ98FKcdBuGkaQjkCSLXzo=; b=CdlW1R/4XXzDmxHxAR8N2DSuTH5M9TqTAOztAw71eFw5/MiLHZYbbKrVwWaOQJasJGATDEPhbKpyPJy50PDaBR2ubIEB2K5IFTKRKpwBQqXL4U5ha32BRsNnBY7EzVw6ZBrthGUbXlnsX9gLiFwjvELYHRb4TYLXfISheQBAV9I= 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 BL0PR2101MB1313.namprd21.prod.outlook.com (2603:10b6:208:92::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.18; Thu, 9 Mar 2023 02:41:33 +0000 Received: from DM6PR21MB1370.namprd21.prod.outlook.com ([fe80::caf1:81fb:4297:bf17]) by DM6PR21MB1370.namprd21.prod.outlook.com ([fe80::caf1:81fb:4297:bf17%5]) with mapi id 15.20.6178.016; Thu, 9 Mar 2023 02:41:33 +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 v6 00/13] Add PCI pass-thru support to Hyper-V Confidential VMs Date: Wed, 8 Mar 2023 18:40:01 -0800 Message-Id: <1678329614-3482-1-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 Content-Type: text/plain X-ClientProxiedBy: MW4P221CA0008.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::13) 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_|BL0PR2101MB1313:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a0b8cd9-b7e7-460b-8675-08db2047cb7d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hPGvlaDwpSmF5Mp2JX/Bgt0V5v7GQssFQtwNOPeRhCNFtL/wP4G1bF2fZaHnCy/1OIoICJut/roSa6wolo8v+l8eKvWbHyjygWVYsRd6wnUnvE1Zo7tLGVA+CSBE5k5EMy/DU0JRgWa57AQiIU9KiIDLNFu5/RhIRuICit2IiipfNYRJaZScmfnUlF+msqunIrQpw9jqGo/+o7geM8y9ymkDRz5m02E+06xEk+/EJydsKc/t2sgrOvff+F4R+P48wbfO05Drtyz/FUzWWqZ5XLm+/1fXk7VWdi0bgD7AEJY7vUXgXGucwvLEKPXlv3yLM/bH7LXKhMblsUA6kWG07MWs8yVx3lcD+p/LaU5Z9D8E+96kSItpx/tpn+vcZFW+al6aN/lSTZtiaZs8y9UwGpltIJZluz3xBqD3mFzOlK96BQTRQxxZeAEC3gsqzP2f9YkZD3EsTD1iaT9bwCQbl6p3Oq5Fx0KvHvljCRXH/CKNxi0B16wxYY3A1nnVG5It5dpsqCCW8uYRtKMjyh+rnhgbeZkUuzM4rg5ynx/Ju8Z1rqcvrheZCfKw8O414njwwWvt3Zi6tEmA40CNZF6hkPkQhjM3AsvzhyUvKWLvjGtP64vKcaesSoMzlaZoOCFrfrbGXUGOG/XWIy+Q/S8B6Am6k3rJEim7Dck4fyWfwymTMva1Ftt8+5o0BL27o0pBOO6zMrOiLBOnc6ZZrKsmNEvJLQibZEiGTkqanEk16ixWIxbvw3xb2Tevi/eWe9ff+drFu3SpuLpRCwVtcLEsmNrbYlJ6La+9Jnw//+OtouM= 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:(13230025)(4636009)(396003)(136003)(376002)(39860400002)(346002)(366004)(451199018)(82960400001)(82950400001)(83380400001)(36756003)(10290500003)(478600001)(921005)(316002)(38350700002)(38100700002)(966005)(2616005)(6486002)(6666004)(6506007)(6512007)(107886003)(26005)(186003)(7406005)(5660300002)(7416002)(41300700001)(52116002)(66476007)(66556008)(66946007)(2906002)(8936002)(8676002)(86362001)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ckPuat/0rm3Isndw8fF2Fu3IjBM587XW53FrnkYCnM/dXx6i6sYeJCH1iDOrOZIpIHb0u1uPD8SAUDqj3cJP/4UAAqBbRPhgQqrpZ/tPZ6e6O+OcuwkOoocOtiLRXDjPdL+cqop3hZZZW+NTbr31x+QDio5A7m/0HZJA8Qn9vlu0EDPhhoiq07rl3zPnq93fhYnTTEiEfbWij5gA0Txd43hAGJnwmHd5D/bQ0RZObisl1l6vTty1l3caNxTowdsXUKdE/lO5AGXja+tbj0nlT0MI84xL4tldAxpazJXk7B3GOCvAxAmDo44MYG0grBBUqPv4w3EGiTVy1sPfUGXuVNk8F9KDlnV72joK/gfG2263myuZjDNv0duA7z+/KRzql61cwocG0x1lC793txYgL2gb+pJHTEH59+BY8wx5mqOMOUL42uQ9jMCebwHJ6cgzvroNA+G9lTrq3aLGhZ6RmDiuMDXMGRlTv4AREEmVrr5QWbiPvh64eCCnl3JyoZ3JhT8TS+ugsVNiuSgHbxtOEpmBTzX2ZkawRR3iJWHoPMKYl6qX1WLLkiOHrhGsn/S0XGi4GL8npzyvGVFsBi1phs+B6zM7p0WRx+knl2ZunwsGxM75dYd+B9La8+GD18rG9V6s2zG2VbudRyrx5pROCuFDRYQSCRJtjP6UxZh/Jn/vtN564xj3WF/VzYIwoUEcZImTVrI1SrFQ3F5IYMLU/PjIq0ksI0oz2YdiG96RFoz3YeR5zsaNlj31q1Tp7wrhyXKJR19I3VEsOLUjMS3WDzl4leNL/8vZHaZnq7KumlUWYvyRgdPnKiBlQo6AkltbFvoRzZngn5aSa7VRel2JkeS5m+uW/uLN8Ip0ksxMbq44gPbH+DE4fwWQH6pO7TbT5ON+GDy6RcFLFhsYiSRsz6l8Wo6dr+Z7Vf+Rh1vXi2vpNP9M3lmYFDBkglPI+AzXJfm/V4wWtYdIOXjY0GUwHGjrEgGf3+F3NO0DwDkHhFS5mwAdl/pd1TKhz+98m+h8KQb1pwCVMHoBscAamDTE6l0XSvf8uSg6lj7iuaiPLah/NDrcoC94tnLWELSfd+aexPPlCe5ZvrhQN+nOf9gJXfwFIeVGic+cE7DfTEM5WeRKsEnRsO5tggRboj+4rvVLb9ObmVLbiZ/RG/5IBNehGPLgFDL6FmyOxdJPpe/jz3Rg0NJVeV1vy9ylF/kavAtPemyQ0/wjlL6EH8IpOc4UmLtcB1UbJ4BhWZD+s1Nzir4UE8sjk1MKEjZmlEwQh2lKHVFTXN8K8ZvnKBlB0B6w7qZ7RQIbtUxpiNcMd2wQtrs8tuh2yHuAEBdal+qW4YctAbgz2adWvXD0Rcnv/i6D3H0FJfP6Oah7Xtm0u5EXu/p0+C0JRDTHB3oHh3pa9oI46XzFJSPoUqojEESCn8FeO2CUjcVBzGiShrAadKqBPBT4EBUm3W2dD+VYmLTuAZxlhI83jwgIHOpdYEvXXO1IoZib8HQoLqGq2uBTEfjpSwLiebn9g3fweSF7YMO2geqfKCWaLlvu/cCCCqr0XysThxfL+aau75qCe6a6qbpeqqzmkyrtKZhbIeczzg454rKOeLhEjJVYKpVLagiqriCADw== X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a0b8cd9-b7e7-460b-8675-08db2047cb7d X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1370.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2023 02:41:33.3700 (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: Hggb9iOSBNpIuXy5BxhrG7vCjKyhQDebKwrhL6ZBuwgW6djSzmWBBAvrHZ5KKHnQ0+/wT+3i8+64RlMWtbBu9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1313 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 Wed, Mar 08, 2023 at 06:40:01PM -0800, Michael Kelley wrote: > arch/x86/coco/core.c | 42 +++++-- > arch/x86/hyperv/hv_init.c | 18 +-- > arch/x86/hyperv/ivm.c | 148 +++++++++++++---------- > arch/x86/include/asm/coco.h | 1 - > arch/x86/include/asm/hyperv-tlfs.h | 3 + > arch/x86/include/asm/mshyperv.h | 16 ++- > arch/x86/include/asm/x86_init.h | 4 + > arch/x86/kernel/apic/io_apic.c | 16 ++- > arch/x86/kernel/cpu/mshyperv.c | 22 ++-- > arch/x86/kernel/x86_init.c | 2 + > arch/x86/mm/ioremap.c | 5 + > arch/x86/mm/mem_encrypt_amd.c | 10 +- > arch/x86/mm/pat/set_memory.c | 3 - ... > 29 files changed, 440 insertions(+), 439 deletions(-) The x86 bits look pretty much ready modulo some uncertainties in patch 6. When this has all been clarified I'm thinking of taking patches 1-2,4-6 through tip and giving an immutable branch to HyperV maintainers to base the rest ontop... Thx.