Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp331337pxb; Wed, 22 Sep 2021 03:16:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya7dsQKgZrDRSFIqIGHI/j84q6AiEYKBPNRRuHPMdEcmIHQ0LpKT1aL+F2Q5epI1/uOSWv X-Received: by 2002:a6b:6610:: with SMTP id a16mr3796232ioc.120.1632305801929; Wed, 22 Sep 2021 03:16:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632305801; cv=pass; d=google.com; s=arc-20160816; b=a7dAYdWUlYJ/o17AvTQzN2jp8f9ajfDPTiFnrOHi0gbR2MIpxDQCx9D1AFbZJxO4NG nm7zlBKNnprghtNazYPyqRXwF4cZgYjDfB9G+kCJY8nK6tTc4ynI4x4zwVsUFsgdQ7h8 U/khn86SKDxqWSrZ9TavSi4SNnA29uZw2jFAonyORwWTX+tqzXXOHaX08ksWCl8sLo52 fI/8wz9504jGXrUo2DGc7tvgFkLijgOdXuSpVjp5ugkA2fhinqm/OSoewSG1udbcu3Uu JHrwYeSR8YKhww5dq66NDr6UQZoTncypOoWLShSyJ6vQX9maTdONwRv580gB0eOk2RS+ 7C/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:user-agent:date:message-id:subject:from:cc:to :dkim-signature; bh=xeX058YAZuLlrCWZaRoSdAGTp0Uj3/VBmybKo4LJZZE=; b=gmFjd7EkH6PNM08+GJ6jWWVSbDbB9pZmg9iEx6mtMCtu10epm2pWZ7BJcvIlDmJ+S2 MEgBSsAcxhf1SmMv06nzja0pvpy2GJU519u+Nb5ueU1FvijegPDV1m6M5SU97xD1sPq6 D+Lp/jud/1RCLmOR6IOAklO73B7bOl/uhpMKj0fs/WEz5IxBe7Qva/jQN+56iLQ5wokH 9Ovpc2eQzokcocWNw5UGzoDcbnvEVS8iyNwxheI9lJro9H6YSIqNHI6/B4IEdWp9Ud2z JIxkZe4R7IHmVulw2fNkVeiHaZMkysvG8AaMru/mjw4P76CAQB/Sh+FzI7WqnEibhVua PHkA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=mimecast20200619 header.b=I2TmtXtD; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si1920473iob.3.2021.09.22.03.16.30; Wed, 22 Sep 2021 03:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=mimecast20200619 header.b=I2TmtXtD; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234821AbhIVKQZ (ORCPT + 99 others); Wed, 22 Sep 2021 06:16:25 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.109.102]:55465 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234770AbhIVKQY (ORCPT ); Wed, 22 Sep 2021 06:16:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1632305693; 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=xeX058YAZuLlrCWZaRoSdAGTp0Uj3/VBmybKo4LJZZE=; b=I2TmtXtDBGokbOA3Nu7o1bZKTJSkxWFu2SXPtucSAcxEjB+X7iYRcsjnnqro626ub7LZOp jVObcU6Q+TQxAxsdgvBnGcFJQAwQcC/WDf0ffPMV4p5SzvsZ2w0r57hvLUGf/2uoeHGRHK NEyxT5kzY5NwrdoV0EmATCS4AvAYXlQ= Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2053.outbound.protection.outlook.com [104.47.13.53]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-15-QG0FgcmDMgu6Vkw0smaTbw-2; Wed, 22 Sep 2021 12:14:52 +0200 X-MC-Unique: QG0FgcmDMgu6Vkw0smaTbw-2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W6B+IyvVIKuhEo6kGSOyJpN2DaQVNfEyp1fi8Ef/L6wgywwZox7xHU2nSUGYDYpvNNWDjqD1qQnaH0FZ+EHhbhrsD7yFHaJsPWf9LVZrSQ885iVQi4dH0f6KwXOi/ZpthaSjVVPwtWkEsWILCpsf0VE7aW5OUaGKIp3gdxfkLhA5vSGBqFe50UCu3hYi/sVayl+5wW5J9k/yrp/9sHBgbJki1JsiHwqffqT/zeJjJmGxQ5GqMt5hjip5nAZMPYiL9tRq4wz32aTKmNcnJzGIH1OK7AEjwP0u+d/AQ8yGXy+LkbmaCbgg9ig5DYT5qql9ciVN29ODANOdkub5t76BeA== 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; bh=xeX058YAZuLlrCWZaRoSdAGTp0Uj3/VBmybKo4LJZZE=; b=cureU2AMal3wkR4YSvKLHktYotH8m0+cCrWWSyYnAIGTKr9pQ238i0iLKX6aKkwvS4QAl3BnzMxPHAmVBtFmbNh1vWB3NAxTH6K5fimBZ7BpzNIormzgYlXFarS1BnGscw0lDfB5z/wOmYiJ7JLELIf7bsBMIlwO8N6tiONlWr+/4f7mI/+2k4LZeDf++LyhBLNZdMaHbbP2cdW3r+EGup2/lc6mOIyTg06cDlds/35gi7zkW8qaIALwRA3/7H4kukzqwTL8eEiW4qpJ+XCJdAyb3evSAWXHotnl2DGMNjkgv+++RNRyB8Ec/vDciUiZyipuNIwb9EOuR3FCLEZvyg== 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: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VI1PR04MB4189.eurprd04.prod.outlook.com (2603:10a6:803:3d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Wed, 22 Sep 2021 10:14:47 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::4d37:ec64:4e90:b16b]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::4d37:ec64:4e90:b16b%7]) with mapi id 15.20.4544.013; Wed, 22 Sep 2021 10:14:47 +0000 To: Juergen Gross , Boris Ostrovsky Cc: Stefano Stabellini , "xen-devel@lists.xenproject.org" , lkml From: Jan Beulich Subject: [PATCH 0/3] xen/privcmd: misc corrections Message-ID: <0f0db6fa-2604-9a0d-1138-0063b5a39a87@suse.com> Date: Wed, 22 Sep 2021 12:14:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM0PR02CA0093.eurprd02.prod.outlook.com (2603:10a6:208:154::34) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 Received: from [10.156.60.236] (37.24.206.209) by AM0PR02CA0093.eurprd02.prod.outlook.com (2603:10a6:208:154::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.17 via Frontend Transport; Wed, 22 Sep 2021 10:14:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c3ea3b95-1d9e-4b71-559b-08d97db1ce22 X-MS-TrafficTypeDiagnostic: VI1PR04MB4189: X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MhtbFWLhrDZmYZwL5r/W7e+thwRoWaWtatT/JHViMFh2z70yJ2DZGHESjQ75WdGiBTjeCY5ZPuzQD1P05tfHzjG83JsmZ4UE5R/29LSgM6u7Az+3HwEcye5wphzDkITxVpexvMb78hG7n8fHVl0fL7RXvTQrd7D4EAWa54W+LZomQjKAQQC6vhBD/HS+7sy+gp32d5/LbdMhudI5P1H+dAegk2PseW2Qc4DdPJ8y6pY3AuCApHRGHQLLIhw1x8uQ8xQvZn+fO60pA5pBBmnEFFJ/LMUAXPcc36JM6wV9Q/gZG+jZ1vYTK5y/z61Awpgl0XxAM1+Ve8xu573K1GpY9/swhYk3vYkkmfNY0nVoWacUbXC78L1dlwSraBf6T5X+2gt/jvvs9AdjWOICc1gBl7x1ObOUCRfb7lezclTAy33UhfwoOBGF9QH8eAGtjNFF259zEL1DdW2mtI4wZ70+NPDs/BenbGZQgWvJO4dfu2NzImMUOr3OhDwANc/G3niVmnt4QuYCJfq2sJT7JlBlO1iIZfVZAN0D/b6m52wb4cm7Yz5PBCXDkmje09anaFsyR5N3e2VqgNCUtQ+J6G+LBZ/JN3rs95hMoNTdKguvZe8JLc5FGgIqS3hWugc+ocYmz4ZH7syDyUEGQJwbI0PnSc8TaisBe66k6ukakpua0zfH4P0XIQYP0znuFWJQSFG+qLBdjNGY6FmyOzKOP/KR6MjpY4es6aDXgRJnGM9jOm0= 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)(86362001)(16576012)(31686004)(316002)(54906003)(36756003)(8676002)(2906002)(186003)(6486002)(8936002)(508600001)(31696002)(110136005)(26005)(38100700002)(4744005)(2616005)(956004)(5660300002)(4326008)(66946007)(66556008)(66476007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eFQ4dzlRQ21FdmNaYVVjUEFXbnFhY0FXSjFzclRacXdoTE5hQm9PQUg1aWVv?= =?utf-8?B?bVoraVVLWi9hQk1Zb3VtcGVyYlZMKy9vVGJ6S0Q0OTNNZjVxMEcvTDV6S09X?= =?utf-8?B?NzZrSjRQWTVIUkh3RGJ0dFFhdlZBSHdpYU5rVml0dGlEbVlsSy9ncjM0VkZx?= =?utf-8?B?ZFpDVjFtbTkvMElZMXdxdmh1Y2FDcFhSMVJQVXJHTjZvemo4NC9VSkNoYkJY?= =?utf-8?B?VklveENqRW5oVVlUbS9ZdHg1Z0NRVG42eTd3SWo3a2VLNHR4VzNDd1NnMHhG?= =?utf-8?B?V25pTTFPZjE5c2xaRkRMRW11MmgvWEVFb0J6ODV3NTJKdHBnY1VNeTZpNlFj?= =?utf-8?B?YmZ6djllaDAybk96TUtZS3JoNk93YTAzU1dwb25mM3haUFFVWGpHRTFaV2F3?= =?utf-8?B?QnFiVGVjdz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?= =?utf-8?B?UHE4L1JkdWhTcXZGZG1qdHNGSGk1Z2d0U1JTWmFTUWUzaVdpOXBaQktCQ0xT?= =?utf-8?B?bW5lOTN6azNiSm8vVzE3RHdhbU9wSHNZckVDcUs5cnZIK0diUUR2K2Zpb3Qx?= =?utf-8?B?WFUxRjgrbUZpUTRBb3B3VE8veGVlbTJNSmxsNS90NnF2MmtpYmYzSlNyMmtJ?= =?utf-8?B?RTFtYlY3Y3ZnbXVMR3daK2c1TDhhWWVUZkd3V3lrV09LbHdweHJJT1psT1I0?= =?utf-8?B?M1hEbEhVYS9qVm1OUk9iUnJYL09RR3VUUjh0eiszeXJ0bkdrUk9iQmZsZTh5?= =?utf-8?B?TmllZlZQaWpoeU1WOW9UcU9teXJHK2UyOUlwRHlkMFpZVm9FdVNkK1hZQ3Fm?= =?utf-8?B?Z29LdDJhV2p1V0poQlQzdzlJSzIwYWN6K0VOQy9EOVBwVmtQWElmN3kzZFRX?= =?utf-8?Q?kYAiwN300xFOv1D8hpnDfSnTY9SZo4GHpRp9xla?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3ea3b95-1d9e-4b71-559b-08d97db1ce22 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2021 10:14:47.1695 (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: LqgbeM9laLAwVbi9EzYOovfFCFxaCQcSM+Ksj0jrBS6ReAwx3OA3VoedFXlvUsad1T3xH8SXAsLtHhDdcBv5ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4189 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The three changes here are largely independent, except for a contextual dependency between 2 and 3. Note that patch 1 will need actually testing, on Arm. 1: replace kcalloc() by kvcalloc() when allocating empty pages 2: fix error handling in mmap-resource processing 3: drop "pages" parameter from xen_remap_pfn() Jan