From patchwork Wed Dec 1 11:19:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12649763 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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C644C433F5 for ; Wed, 1 Dec 2021 11:19:36 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.235913.409205 (Exim 4.92) (envelope-from ) id 1msNdu-0001Sj-GD; Wed, 01 Dec 2021 11:19:18 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 235913.409205; Wed, 01 Dec 2021 11:19:18 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1msNdu-0001Sc-DB; Wed, 01 Dec 2021 11:19:18 +0000 Received: by outflank-mailman (input) for mailman id 235913; Wed, 01 Dec 2021 11:19:17 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1msNdt-0001SU-K4 for xen-devel@lists.xenproject.org; Wed, 01 Dec 2021 11:19:17 +0000 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.111.102]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f8f2cb4c-5296-11ec-b945-1df2895da90e; Wed, 01 Dec 2021 12:08:12 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2053.outbound.protection.outlook.com [104.47.14.53]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-12-jtsYoZX9OlGWnqfnTOiT0A-1; Wed, 01 Dec 2021 12:19:15 +0100 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VI1PR0402MB3936.eurprd04.prod.outlook.com (2603:10a6:803:23::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Wed, 1 Dec 2021 11:19:13 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::5951:a489:1cf0:19fe]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::5951:a489:1cf0:19fe%5]) with mapi id 15.20.4734.024; Wed, 1 Dec 2021 11:19:12 +0000 Received: from [10.156.60.236] (37.24.206.209) by AS9PR06CA0023.eurprd06.prod.outlook.com (2603:10a6:20b:462::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Wed, 1 Dec 2021 11:19:11 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f8f2cb4c-5296-11ec-b945-1df2895da90e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1638357556; 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:content-transfer-encoding; bh=ON7hD8sHqeqLdbOjK5/eHp1WPkZVK6dUNLVok3+jMsU=; b=gieOwb2oV5XYwfRATR8fGY0+3nolpSSd2/qEiZhtzPYeKY1CSbUBQrcawrPK5HmVvhDLG6 RRRElHJUo0Cl42xBXExU1iiRhg/udLOZLtRb33M3eeFSyI1jUeQFE73uPexwDmOaiuVvP6 7/ufPl7RivsL6JIPwb3gonrqB6gI4Zw= X-MC-Unique: jtsYoZX9OlGWnqfnTOiT0A-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LbndUAh/fKP4Ne1jfBS+5I0sfutBK41rFsS2pAUG4H5PYBaxfAaUN9Xxi4kSyyKGykECNql9kGSg4e0zMYQ6Yb2c97EgelGyq/nZDug7KdCC26xHlwamFc5Tz+Xu2O8w4FDCYZzfWfafhKgvyFiGHGhYMYeV0YavfOSNl6w/nI48QPbl6WH9pQUz7zsVxzZ1F2+CcmM35yr2deGA0lpij2LBdKV/PXBvZ1M9ASRuoblg/sMSIJquafni2Dv90zRK1HDJ4qzBtUEzUV5zcPWFhc4Er2yYzjjwZo6SIonHZK2ONN2/y+6/G3LK3ThudNxKM2gDab79Im7vduX5EumIiw== 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=ON7hD8sHqeqLdbOjK5/eHp1WPkZVK6dUNLVok3+jMsU=; b=cAU6jqKvAchNwxfxxuwSWr7UCHR8ujJNURsCPHB+DIppl8zuklf8iunR2iWvf94zYhrCMO0rKyEfrllDavuTyS4lHtIILgejN2kp7JShqUV0ENVAAcTYW0MtwpG5t8YQeIet90oeqPbVG8oBPv7fMXk8BO4elm3llMSYLpBktpaNQowSIS/ItkUc/DWm5QeUvJQ6W+lAyg8mUTc2ldopp975eWBQjYI0MwhxpwZChcfAii+c7BtHZpZhAGTIiahsGNGsbAiLr3IvUoZ0p8mk2QnmqOxmyDXMEpEcSIIvI3P/S/so3bwT3hAN9/xDG+BSuQ50ONxynOu4bJAoMFjOSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <8bb92e3f-38b4-16a1-0a45-5f393081f230@suse.com> Date: Wed, 1 Dec 2021 12:19:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 From: Jan Beulich Subject: [PATCH v2 0/2] x86/mm: get/set PoD target related adjustments To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , George Dunlap Content-Language: en-US X-ClientProxiedBy: AS9PR06CA0023.eurprd06.prod.outlook.com (2603:10a6:20b:462::28) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2ed31984-396e-4735-938c-08d9b4bc66f2 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3936: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uvLLqd1fZasjR+MnTiJxJsqaH07X5NA86Qmm2VBDq90Nxr+JLbUfg/CNkyxuUTVYLRRcBp2tT5v7tHTdic79R4aZmcCGviSAt3dmfEkLBwYriNJyIUwwEsVIGqSFd2o/OT4UasX8FkJtFwOv8luvzpNYx1R2+n0OBQeI8lt6hPssClelXZ20IjOPiSyc0iGSrnynvMKz4SSiYguqAU16kgT1Wmyck6F/nUo2UoozKSFxjd78fTurHbW+q4NhSYzAx9sMTipn4QKcctzC2fZGhDsm59ea05FImO1eGD2+G07OcbQDv+w0BBnrlOvpya9dfljeUYFeDrd7xqYZogTr4lrjOXo10Bm7JVh0U6anKu81GmJsjWAVlwZBKZlalfKVUt641MXiWRYH5QmKDcY9uXhorOzjqpYLOXJIlXzoM3yNoYTbqUo9hOpRgrgKmT/Ut2NmdgTj9fB/TdgTYgxLIT9XT/BiSjNINbEjvSchP2VS4mlzbCtBrXh3kLls/J4ozIM2uEodk2Z623xEe2YI6LCisq2NqZ+4qzBfLqQ1KbR0D265p93i/krcQgNdJ5sPiSS0Xm0soOUPbQTETKHVuYDmr13Px8ai1KATWFwmUSUWc7XzlnWXfbjM9e1h06M98FLFr4cdG2BYdsvgFb+5oj6FtHXHsw6i1yR8GrJw0RtbReL3kfLt5FSnbMjpLX+S3tTADzOwOgoRJy2Z41uU35fj5keOHw5TBVUirCE/8uw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(8936002)(2616005)(36756003)(6486002)(4326008)(86362001)(5660300002)(6916009)(508600001)(16576012)(54906003)(66556008)(66476007)(31696002)(26005)(66946007)(31686004)(2906002)(558084003)(956004)(186003)(38100700002)(8676002)(316002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3CEKlzIJgEXMM4ZVknwPyXtG2cGt?= =?utf-8?q?vExESAgcbJPtQSCmi+Unk3hzEKsD61AlFYrD5fXH6Bxy7/aEsdKkw+HPvHuMHeAre?= =?utf-8?q?KrG19BlX/zFJwTolO1BmvT+B/FvHINZVspLATyBWk1T1Hz3uortyQ3d75dGS1i8Iz?= =?utf-8?q?Qh1NpoOGHSv4uJsGsBgQGr7EFUvxd0nkoSYVYIfpZO5aM+qH7J5N4jrA4xJu6lvoI?= =?utf-8?q?pl47SW2CHlCxAL3J9XDiw145FaANr4malMXNCjC9EvpjecdA5az2HUPGiyHaalcly?= =?utf-8?q?uYaEfRelK/Ohnc3ZXkx/4F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C7BHQwMiq/XkZQtWL04ItP6Z3xuTk3db?= =?utf-8?q?GY8mHMsAMRcMHQdSTi114aW5DUc/+GvGKfIuzxx0gWxvX+miQTHT/+JfDSdn4VhMD?= =?utf-8?q?QYR++qRv5Fv3g9DMt5dhPpslLEIqYeDVl/SO4lSKMs6xO7m5GpfY/3AKLm4V9mPqS?= =?utf-8?q?X6hY3E6ZLn0MvKGXRB63LzyuuDK72rYzTVpZqfJwlIBeThTK7PkThOmcWIwqNWEpC?= =?utf-8?q?Q5bg+Bgg98rvgOJL5YGFcEqdR48D/VBAODky43ZwfzCUGKV+I1N85eG8eQd75CJxJ?= =?utf-8?q?vB4hHe8kbmxuofBta2Z7klnBBgSH0XxwmNT8EMxpsq8Jx6XicYAZoVwh0JSyxIHGk?= =?utf-8?q?SlDmgN4VkFqZmDozJxVyXty+ebLayEFYs/173EQKwiKgPFrQMzH800k=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ed31984-396e-4735-938c-08d9b4bc66f2 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2021 11:19:12.5179 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: igJgycaQ+EfzJIBDZ1JbWbKH2s3sody60WmnnU4OQwoexow2lIQjs7TY8uT+TZBFQd6Ubuqc78JnTgt2Q9pQGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3936 New 1st patch, subsuming the original one. 1: IOMMU/x86: disallow device assignment to PoD guests 2: x86/mm: tidy XENMEM_{get,set}_pod_target handling Jan