From patchwork Fri Dec 10 09:38:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12669105 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 63D1FC433F5 for ; Fri, 10 Dec 2021 09:38:34 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.243661.421545 (Exim 4.92) (envelope-from ) id 1mvcM3-0007m4-Ua; Fri, 10 Dec 2021 09:38:15 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 243661.421545; Fri, 10 Dec 2021 09:38:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mvcM3-0007lx-Qw; Fri, 10 Dec 2021 09:38:15 +0000 Received: by outflank-mailman (input) for mailman id 243661; Fri, 10 Dec 2021 09:38:15 +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 1mvcM3-0007lr-9y for xen-devel@lists.xenproject.org; Fri, 10 Dec 2021 09:38:15 +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 e593dc40-599c-11ec-a831-37629979565c; Fri, 10 Dec 2021 10:38:14 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05lp2107.outbound.protection.outlook.com [104.47.18.107]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-7-IeUw9UEGPbqqlOVPqBCscA-1; Fri, 10 Dec 2021 10:38:13 +0100 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VI1PR0402MB3934.eurprd04.prod.outlook.com (2603:10a6:803:1b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.22; Fri, 10 Dec 2021 09:38:12 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::5951:a489:1cf0:19fe]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::5951:a489:1cf0:19fe%6]) with mapi id 15.20.4755.024; Fri, 10 Dec 2021 09:38:12 +0000 Received: from [10.156.60.236] (37.24.206.209) by AM5PR0701CA0006.eurprd07.prod.outlook.com (2603:10a6:203:51::16) with Microsoft SMTP Server (version=TLS1_2, cipher=) via Frontend Transport; Fri, 10 Dec 2021 09:38: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: e593dc40-599c-11ec-a831-37629979565c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1639129094; 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=Zvq73y0dJLjSz+MQ+lx2g5w/pq8BC6asLbuC1uXR9cY=; b=O22RN3p97ZihWpX27w97+r8Go33wmLE6O7H13SWAI3o+FXtX5ePOmgSBm41EAXGeO2Uh4+ S8x3QtdXqyFu7gjqkGtGZSUl2k3yxsNnk1DxL3ti46OyJumoIBPEgtGi2sLrF8JD/zNx2T WG47uyt0DGRUJlYpKhx3uFl5oMHsz80= X-MC-Unique: IeUw9UEGPbqqlOVPqBCscA-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZPzIagmE/NK+BgtQwGrLOIsH5skGQxoXlflQySowyJSankJKjKMj5nY3f2uQKyZi4AGPh6lHYSRXcbh1UneuUZX/u8WL+/yL17ow8T8vIuGhf5WR0fsDz9ZUrangchFjA/L75pGevoKBcsBPWhDaFho65Xof8OJH2Eqg98kyEaAif6stwsFyEHBe5h1jQoTPMdv4zKaFN5MSFeGo3ZBhFXRaCfgLCI/g2YILKx9uU5jlGASQ4cvydeDz0JRn3PXkDzP3SihSJxHnad1p9+5op8k5NvbDhVyWnfaqXxhchjFuuSu5HMGIfZw0/8zFgIzWbIDJdKEOP0JClJDHUwuWPg== 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=Zvq73y0dJLjSz+MQ+lx2g5w/pq8BC6asLbuC1uXR9cY=; b=ZTMni/wNr5Nd39m6YkP2ONrTGRNM2kbylOuIkNPFp4KCRyG29meEWqSXm7yUFt5ePN6DCsSfFkHUAw1JzX35MH+2g3JN5X9LAD44MSgU9ZBgerki4CK6EI7/vODTusXPqWdpF3F4RNe023oKyQdEaO6LIMIf8vbzskVHAVCZBTijG9kr8ZZeflIkY1SFCN+Y1j/iGYslk3Onh2fkNg1sGu87F2ZQhwbbBltuL76TprrsTr8zd/jcaqsbL205HsfnXeKSE7JxnaAWvMtiguFmhabzoQ2Jm+d+IZmiBckZ2xm9UC61+fYukNuxkYvhUXtf9SrrG62pTGyPExaUBjqxWQ== 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: <9725c93e-c227-f29f-07a4-65e383bb7858@suse.com> Date: Fri, 10 Dec 2021 10:38:09 +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] grant table and add-to-physmap adjustments on top of XSAs 379 and 384 To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , George Dunlap , Julien Grall , Stefano Stabellini , Wei Liu Content-Language: en-US X-ClientProxiedBy: AM5PR0701CA0006.eurprd07.prod.outlook.com (2603:10a6:203:51::16) 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: fce81fcf-261d-456a-e03b-08d9bbc0c864 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3934:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o5fJCN+wYEqhNBCacxGtfNGvIS8CUfMadmuHodem3fYgl+CVKqgEtbhkwTlGn7Ge+rbDXnH8ERTTViMqIVgmNVClqpiSRUDBa6V4E+T/HmXil2t5BYFgsncS3dZr9pGTksK2rRv7YRB4PjKqE8XDei95K5w8/ipZyGlI5pm+ghVo3iYy5LDd81IwIP9YGsRDhoZGWk40TrA6lT9a438x03sRyLpL/9JD7Gq4DCFDJOvUTeIOxk2xDRItd6VV8HMSj7IpRDmZtoAB8SwziChogq3OMi2j+qexnl++9QXwIVYjCe1ZoQdHSi+VgBUie4rW2vq8gauJa9huz4ScEv6854PzoYs7OrjtIzJnqeXnXFGnHAo80fg6hbmb/XddErIQSlYgjF0bI3itiVyjx/0hs5sLs1F5LWiavF1k3lJ+Qh05Ll4QvSx9YuJCTt0Xw4bLzrQLP6bVvRvM34/AJqsJGHgFuKeIYRcaP2uv9qC/IfXuaj3ZB3QW+yXcxBazo4EWSQ7F7VBTPOd+PEVQFDWU8YV73ojri0471fAAK3KWNWYimjB0kgFNTmtLXNPg0XhCEpUawmQs67vnhDZmjls9rNpwcM6ijmetkXBEp7JYtwqpDDxyc7381BpJiiK9PxZ8dDOriwsp6ncImXhJwIUPj3OvsVT1YCC45eKde8yKGYCgXTnMbznGdjGzkFAn8uUuE0gU3eZ+Whm/1YL/sKF7d8cMuXKHbSzwC6P4w6xtk/msFHUNIQ8VWMhMrV9SWyZ9 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)(83380400001)(186003)(4326008)(54906003)(86362001)(36756003)(956004)(5660300002)(16576012)(8936002)(508600001)(31686004)(2616005)(2906002)(31696002)(26005)(66946007)(316002)(8676002)(6916009)(38100700002)(6486002)(66476007)(66556008)(558084003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hJ/04pGEhCaQF4iEFOIgTaIH6Ipi?= =?utf-8?q?AG+HbJ5b32B7/uRzbSE9BnRat5F/fbBDUJIF97hrw9VT82jiixjTbzvUhWo3noosQ?= =?utf-8?q?bXygU0XbKmJaC0Kt9UTwZ4Fkr9DUM3aOcTYzpa+hKJ6DsFkxpaurDDU/k0Kivxanc?= =?utf-8?q?lLKgyFdsXFBpo3VaUL6C48GthTGZ4hBmiMfm+Nc0pDxRYqSmUa4hx8DbI6WGghJYD?= =?utf-8?q?Sn9oU2URI9AWlHMbxUxAY0TPpjJwYza6Ojs1EvclrFIHAqaoHd6YaWQPUzkS47TfC?= =?utf-8?q?s25sLn2MK7Ag70Y6UiwhlLi0Y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gCvlbynHwJQ4AQTL3L515FhzfS5glZwrVwsjD1JupBvDkR?= =?utf-8?q?qSOAEjh09n2ZHdys/gmoU8NkET/4T59O+ZFlovtjhQXsmg8czvaUo8NAv5nic/z8g?= =?utf-8?q?NNhn/VSbp7USKy7SVPIhtbRXCKtDj3mR4qwi2JmGQpb4FGBw1f8A3CHbaGPOtEKlw?= =?utf-8?q?m5Ob5zDbzGGTnuWqPAWXDK3txt2BS5EIevLXwdxY+F9uTujDq7fJMm02trbGhJ6Tg?= =?utf-8?q?+g+onlsYmZ9d8EFmJIWLqsvEOgbMIMIyauIxm7wdSibRIVtk5TqnXUSSsExhLoZJd?= =?utf-8?q?XKHPBssGttJDlOKeDjtEt3L7mmgrkpBYXRgdg1UZlLzdVJ1KNKXHCOSDT9A18TwY7?= =?utf-8?q?8wMfDfsK5M0GvtkzyOOkDZ7nbkjmdD4M2yjS0aX4oV4GJTccrSveCO8=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: fce81fcf-261d-456a-e03b-08d9bbc0c864 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2021 09:38:12.1703 (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: UV8+QIa8NPIE4Qty81jx5e/9Jt/+gf2zFp5C8VRhk3TfdGbTKz9pF6Duz8RLDap9+7Hsubc8BWIUfn7FmI9DBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3934 The original 1st patch has meanwhile gone in, but the adjustment requested for patch 2 required a new prereq patch. 1: mm: introduce INVALID_{G,M}FN_RAW 2: memory: XENMEM_add_to_physmap (almost) wrapping checks Jan