From patchwork Wed Apr 6 12:22:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12803327 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 84153C433EF for ; Wed, 6 Apr 2022 12:23:37 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.299828.511038 (Exim 4.92) (envelope-from ) id 1nc4gi-0006K9-RH; Wed, 06 Apr 2022 12:23:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 299828.511038; Wed, 06 Apr 2022 12:23:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nc4gi-0006K2-OF; Wed, 06 Apr 2022 12:23:04 +0000 Received: by outflank-mailman (input) for mailman id 299828; Wed, 06 Apr 2022 12:23:03 +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 1nc4gh-0006Jw-S3 for xen-devel@lists.xenproject.org; Wed, 06 Apr 2022 12:23:03 +0000 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.109.102]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 4db3b486-b5a4-11ec-8fbc-03012f2f19d4; Wed, 06 Apr 2022 14:23:03 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2054.outbound.protection.outlook.com [104.47.13.54]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-5-WQ2EFeyNN8qXhBlIg-zMhQ-1; Wed, 06 Apr 2022 14:23:00 +0200 Received: from DU2PR04MB8616.eurprd04.prod.outlook.com (2603:10a6:10:2db::16) by VI1PR04MB2992.eurprd04.prod.outlook.com (2603:10a6:802:9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31; Wed, 6 Apr 2022 12:22:57 +0000 Received: from DU2PR04MB8616.eurprd04.prod.outlook.com ([fe80::914d:e08d:7798:8476]) by DU2PR04MB8616.eurprd04.prod.outlook.com ([fe80::914d:e08d:7798:8476%7]) with mapi id 15.20.5123.031; Wed, 6 Apr 2022 12:22:57 +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: 4db3b486-b5a4-11ec-8fbc-03012f2f19d4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1649247782; 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=ttWm9ee+aHhw0r/e9vcokzPDdYX2VuhekspXIMntow8=; b=ntvnM20wc4nGddsJxIR/X06y3Pe5rOW4haJ+Krb8CPhjMU27y+TlIAUdER0Pw/pxj1x315 rbKGhesiqJ4ZKul/Kww/Y1Vf6rF2E00AG2F9fldlqssaYOiz+wmvxLRhI5n7jl3iqFL0Y8 L7JbvowHeeVpsWZF16ohZi24+Ff6zEI= X-MC-Unique: WQ2EFeyNN8qXhBlIg-zMhQ-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gIbf9ODaJyaqGYJsNj1kkZiab/9WcIzCkRB3TWgf+k/HKdhuiEIcyErhJHSynlolxj+Qy/A0CciEM2WNDZSmeCcVPJqM86QQeHKi+00RXClFKCJ3AhXrwW1f+NAxaSJrG5bQkkISpMVnjgnrTfiNwV3XKbdPwBwZiAKVS3nDmj85UspY293SBhVlRA0Pt6Lb/C/Ix0v4IaiHErqirSD5r4BKhR85c0XxtXZo7nUHti53EtMb3bP+NngPGYZ+dEZfJXoenh3S1qucuZIpozlC5ZlYTOB1MFpRYaHcXY/QswEuJy8cMIvIZ9V+tPdZJroNhorPkerZDlwvX85q99FnkA== 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=ttWm9ee+aHhw0r/e9vcokzPDdYX2VuhekspXIMntow8=; b=J4tfd9I3s6BOiKvqdT+u3U1+6r6Wt0YjpXCOtu3ngx8xxLefgfy6LGJh/yhba1HzDCkyYZEDmEvejcD7GiBrrheoVJ6PzOelbeAtiwYrB2M5FmKnZiwzbmGYAeQeC3GPLcQ7ax23GTXdvEIvqhsgklvTuuX5cM/tnfAjnYHWjCQ/AY6kP9v8/iftBTy0FFT9XUuilsrasSWriUjHAi9x6OS8JXOBE7qMLxYUEnpDxWdjVqyX8AbwRAiHvcMHx3VyvOhsi6QiQnKd+soohJzT24Wpjzr8cGuJYX311XX9DawRTpSNifKWwvfMydn9k/M9RpVL9Y2ig0/bRcS2FUgIoA== 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: Date: Wed, 6 Apr 2022 14:22:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: "xen-devel@lists.xenproject.org" Cc: =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Kevin Tian , Andrew Cooper , Paul Durrant From: Jan Beulich Subject: [PATCH 0/2] VT-d: address fallout from XSA-400 X-ClientProxiedBy: AS9PR04CA0039.eurprd04.prod.outlook.com (2603:10a6:20b:46a::33) To DU2PR04MB8616.eurprd04.prod.outlook.com (2603:10a6:10:2db::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4476bae8-4b14-4f7e-2262-08da17c82eec X-MS-TrafficTypeDiagnostic: VI1PR04MB2992:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NNTQ3UtqfjzBgS11iyOHQq3Ggqi5mRUjarSJyBgudGW44H0vnod0r0bkpM6rLHFChiO7G0u2KUdp5mlLaKWnk5rCOoy5l+hENjaFleh/Aa7I4zh4M3dFVyce72dDL3WvnG63DZERoVKP63ql04R3f36Nw1aho1Iy6XhYV2QICgs/r2V90fmbtqfCDKFmZwJMbr6HkA6hoG1S4DMLEQKBk3ShSIW6DWWaab+q5N8G15ZB2NdmHVQPWsVRjrBwJFOF+sei0AHDXz3hWaUcJrUU3cVJBMlzzHRz21k1tW37D2dWwVIyb/OAa5il7gOOFwHlo/mqJfiFo0oB3YpBhcNDO1LxLDTbs8orzFIrL6lX/YKjE54wWMKYyRpP/dUNp2rvsxVAgniLmkKyhqQr/sHOOcVTP8YgtXtvv4KgmlOYgaopTUU6e3Pa1XzeZ7r/YZN7blpgQM53CRRqE//3cJOjsMoRGJbnTBdoWPkmFLxeTXy1FFv+rf4O9FwemaDUkpaA4yGG86QQ8IVb9x1hCizN4j1pWlAAirPnZN4kGHEaQy2V017Uq7OnXOl/yqjFaAPB96KLX5x9rUD60jSOyplUPSGtzWiZm/VCGfDH7ZDhf7LRV91WmUFrhVEcVvvbaPKjSk2A/JE0v28BqAogQDatuNlhvdGWzwBmz0yMyE8e0j2qQbLCrepfeGoWPPfI5Wx0xSYra8WAkewfA06ZKj3slF69IRmRZIkYpfWcLYzF+3g= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8616.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(86362001)(5660300002)(8676002)(8936002)(66476007)(66946007)(66556008)(6506007)(4326008)(6512007)(38100700002)(31696002)(36756003)(2616005)(6486002)(316002)(6916009)(54906003)(31686004)(508600001)(186003)(26005)(558084003)(2906002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ceRBd5Yck7hBe6G0i4TckSNNwaV4?= =?utf-8?q?yFy1+C//6CrJQpnE5oh3vLGokcvZyMET9Pa9BKXjE+Pc70HPaO4JBf8upzqgNAs5H?= =?utf-8?q?fQ3PVirx5oWpQF1xek4PoPy7L555VaRhoKYqTCPqNkKvjdGbZq/6YP9Q7bssEzS81?= =?utf-8?q?HwIog+Wj4CAfyqPQHbrfI1kJexxBxVo8+w4qI2mQ6kQnu6b6oZpSMe49zI9cGNP6T?= =?utf-8?q?VnhZq+wqKTT8aY4KsJp0JvJl1uOisWyjYjYNk10PFHnER68WqvxL8yixmYRRCP6a/?= =?utf-8?q?CcPJYh9UBV6e0nxiAUEEQk5RNucK2NscTXYgrg6hs38mkkJJzhYu06lcqDED+r645?= =?utf-8?q?7nepq9FX+PYiNS0/PtfB5vP18irlC07UNMcoR3jTd/1wCt3FZz7HBI0ftEp7ET+0l?= =?utf-8?q?FZXpG8ypwEatK8LraYc5vl8Hs2kIgSM1rV4SUpo2aipL5WO+fXrgyLXy8YJdASDHN?= =?utf-8?q?sz91nRZ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ToHmCrNYHtxvYwTg8XO32Mihix1OSETfIDovtrvzNjHcTP5?= =?utf-8?q?oIUgr/tEr9yN/zg03XBxjI/pWHmXQrXCxiKgH3aNYgjfHtOAzqaMZiFxrmZjtF4Yr?= =?utf-8?q?YipemXjeu9TMLJBcO2wp3exB3sUGwAMIvlYZ0aSZ/BlAtDTLW5gGs5Cvqq9v8pW3i?= =?utf-8?q?DWnq5CZ4ZLWchtNJ3pMAa5z5mQG4VwSIacagEuXRe/kLMP1pk0CVkbk0KxAqUUYOW?= =?utf-8?q?/j2oP6KKrrUJS1fRj1nmM/WKBGuh9kDgyMYrPGl9mQGo3jA4QfZT57R7DNiB/ZIQX?= =?utf-8?q?8SeFqIEvpJJNaOnsFtgIU0XBiTdBYZpg=3D=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4476bae8-4b14-4f7e-2262-08da17c82eec X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8616.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2022 12:22:57.6502 (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: m9w/cbwn32b9o88alpZsrhQsNb0VEbe073oyNg0BbnUt0bJgSlJpSzuCnXQxlXeSV3UjfTDZiGz5nGVpZ86DXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2992 1: avoid NULL deref on domain_context_mapping_one() error paths 2: avoid infinite recursion on domain_context_mapping_one() error path Jan