Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp707527rwn; Thu, 15 Sep 2022 05:27:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4CAzCf95d5/TVtxhtUPK6Atz/BmA6pnyOg0zucDQRh2hQRg8xRKGcfkaD4lj7Sxuc4qYZd X-Received: by 2002:a17:906:7945:b0:73b:e605:f31 with SMTP id l5-20020a170906794500b0073be6050f31mr29263408ejo.129.1663244875536; Thu, 15 Sep 2022 05:27:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663244875; cv=pass; d=google.com; s=arc-20160816; b=ptb+iD/03Et8iRgTcjCKgbkLY975y2FVPnIr7F9edbcM88KF33RticTUee4Nta4AMD CFYHq0rqCI9fRTl4M74e34ei/3Fh+8nlaKcttmXejMPe52u+kU6ELwtcCj2P/bFVnLc8 Zo2EKXQRLyfW4P2+1PJbtKGWDodbGFkNAx31kIcvFBwjOsRazRt/q4swSelMAwj89vDN qeUWN+BygUkLeC01VNEe3CkD/Ugs4POzrSWcwoVRkRiHDL2IjLAKSHlJrM0ObEiEKdHi t3DDEOZhxIYuKkU226nUNRMnqHtzmTfJy6GWKLbQiFX1oP86gW9CRs8x8aFpegf3Y94k 6W+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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=OEDtPBLyxRAzwvS4ZpZPQXdOoxrxvOZJYF4RBHGODMw=; b=U7l3qSaph6PLVbXBf8oAL42SKv9JfJzseDWThabPSZM9IGamaPAE2ej/pXAWTiYeFy NiI5ePsUAj84ptamNt3As+w4vpqZiaEESmJK90jvwaswx0EKGr2Uhy+8mYrBGCfta5M7 rNXA0fFV0C+z3dkIKQLKEioZ+2ioOF4FAmy+E8KEWZ5K6qjbSk0GSUpuT7LxZB95OdQp 7F8s1AoTYjtUzaskLhLEWiww0vln/BtuDOTrL2V3akW2T9lJdQWQfh599QJuPm2y9Nt/ F886fiBiuVTXFfo7eUWDyLiy+P7j94xYyzEyo7allbQGQyYrDb3nlHB16ORntDG/xBBW y8hw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=e7rwbaq9; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne12-20020a1709077b8c00b0077cc3f49b8dsi12180221ejc.133.2022.09.15.05.27.30; Thu, 15 Sep 2022 05:27:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=e7rwbaq9; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230419AbiIOLns (ORCPT + 99 others); Thu, 15 Sep 2022 07:43:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230109AbiIOLlC (ORCPT ); Thu, 15 Sep 2022 07:41:02 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130085.outbound.protection.outlook.com [40.107.13.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC26A4CA0F for ; Thu, 15 Sep 2022 04:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ls2qn0BPueF1GQ3UoDnD1o6Y97R06CYERPGYlY/38Nw5isIH+1EFpnmJMuOxhuo8WTaR2msF7vF2Vmv1DmvEV7WyCXCkS3vW6q7jgHERBiwNltn4cf9zPDaKJKxhHN9ofj04ZBx51l5PUkhjCQvDOO3ASlsSEwnJIMdHmW9rZGylCwayfdEAjFpobvNRfEvJkEcV2xxb37bRtO8COQOHhvtcDDZ2X2IceQdC0U+AeDQ448WXuYlcf0gcGiNBz6hMZ/rpl6iVVp3zlU4i9WbyLMMuyA7FWQ7NR+zWcS3a7tyyG/xVjm9+q0DuF7SW4JewtQswxiPBbynkZEjwMqFwxg== 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=OEDtPBLyxRAzwvS4ZpZPQXdOoxrxvOZJYF4RBHGODMw=; b=NiIUKVvF48i2ltEQAWm7SVuue4goOFY6ZKF4qCzwKLBK9puxyIEedTV1Tqd5BRP6k+tr3O5epvRbPjWuwaXsh7Kh87j16B22Bi6bU8R4CuHmYnWMlbGHIXst3a85oWMQwPS48wmuN8xs+apKin7x+xsyT4VmM+3rAcCIhrxl7ZszD/BD3gvHoTrxYOWtGeCLJMCloupugFHpnjrmjZTk50YKD9id2fzKSP/yeFwnQZVUNYhdGjmaMGq+AntgJkt09zmXP81QWSr314Mgy71w0QlcB+DtnTB/vk4uB5fAwoJ9yVJAIwcdPWi6hCMkmC3uMGw7Q8bfT6byy0Mei7YwbA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OEDtPBLyxRAzwvS4ZpZPQXdOoxrxvOZJYF4RBHGODMw=; b=e7rwbaq9ses9dkwhMkJZ6+8UIN3REaL3XFPf9W/JvyHunoWxzgxQf525Hr0XyM6LB92LVzffRcERCEqlKsl8LCK4Sf+BEE8rT9C0AaOis5MsE/L0x9yUEY3CGne9B8dhCMEZ53A3L/42F6T8sEvn7KbdBhqj4fh8nolT0Dl55XSUKfOYBuKqvIfFTfK/hzc1gLZMq0BS6+WFUQq6CkUGmpB/FEHyeIOCtPfBixeTG1KeAqEGMgGueIy5DQvJp1IO8OO53QPA35r1fVZX0RnGA6FbjvS4cWSxvK09QVlwAsgdJ1oSLRT5If70nMR9ZG1WG5aa1CV9SqTLRbUR03XuhA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by VE1PR04MB7407.eurprd04.prod.outlook.com (2603:10a6:800:1ab::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.15; Thu, 15 Sep 2022 11:40:17 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::59bc:901a:98a7:76d4]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::59bc:901a:98a7:76d4%5]) with mapi id 15.20.5632.015; Thu, 15 Sep 2022 11:40:16 +0000 Message-ID: Date: Thu, 15 Sep 2022 13:40:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] xen/privcmd: remove privcmd_ioctl_mmap() Content-Language: en-US To: Juergen Gross Cc: Stefano Stabellini , Oleksandr Tyshchenko , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20220915083944.10097-1-jgross@suse.com> <8137166b-a4c2-aa26-84f9-7b9b2a7e028e@suse.com> <4a95c3d1-d4e8-9b59-8db8-231b59cdb8f5@suse.com> From: Jan Beulich In-Reply-To: <4a95c3d1-d4e8-9b59-8db8-231b59cdb8f5@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0148.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:96::9) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|VE1PR04MB7407:EE_ X-MS-Office365-Filtering-Correlation-Id: d837bdb9-ad4e-4751-da6a-08da970f0f6e X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R8xmNVQvUPBgmZAlIkFaYFPasm+6Xg8GsRaW5Fn8y+eWDUGA2vRen1trS1QjIsThrB5H/c/4Ri20ZvTlc1Z7JbVDyr7JgbtzH0ZYuK01ZPAXx2HJ9vLIHqWZcV+N0F+AeKou7l6TeTif4VIAASS/o7OByrPgbPggNecGUtVcDDxOSUV14M4lD1mRDXeoZ/lBJrzjQ43SbZF0nqhm7L82hDcLRd6LKvTNQ4VzpgUGP0aYh12NuWdObk6Te2bje45orsDJqUJh/xl0dGJ8fryfuteqCAmgOabExwe/a6kV3I1hGzg8wUig8/YO1YRkqbVWGFeClhSFuzU45egCX8MAqS7Vu9p7+uvPlPXU1bHzPiy5WFG5T4ZR/Ihc+PcjkUY2ydKNouDUUd+KjjEcSiunN2xS51Ya5QIXY5b1QsYzgswK3TqQ5kPHtXj4O4Dupuy+Z761MMy2DR71wt5Oexwz204wa0td5M1H93bD2EwiMJ1H4T5QRJuhsOQFQysxjQj00RTj8m8xVZl+jL702bWv/YsyEVotzpf6LmxF8EUj9f+E+aBC8j4cMVZbsfYdQpl3hdPTYqV1xbXzSr1suMqf/reKxlHb4EjUvSYCfja3wveiC+4LEQNhSTZbIpLTYJR96U/kOkxcQRvyjf/MvdlX9yr4ZterfZol9DvjXNW2sTEqI9GK43rA9RkkW3s27KoCzh8AcnBKU8TcJdPoqFbCWGBP7MhrumRfG2ZCR4t1ag0hjgYh/z/ROuONODTCwLhxMzGuHAMp10d+X47otbwUsR9KODc/M7Jq2RTf+SV3bc8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6560.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(136003)(366004)(396003)(39860400002)(376002)(451199015)(31686004)(36756003)(31696002)(38100700002)(86362001)(2906002)(4326008)(186003)(8676002)(478600001)(6486002)(4744005)(8936002)(53546011)(66556008)(66946007)(66476007)(6862004)(5660300002)(2616005)(41300700001)(6506007)(316002)(26005)(6512007)(6636002)(37006003)(54906003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TnAyUFZQZURmZTh5RDJCbGVmK3l4YzFUVzdLQU1TSzB2UlVFRmZvTTRBbmox?= =?utf-8?B?N2NmaXhjb1JNRzdyeFZEWmVKdlNLZjBYRlYzditwY3VjWGZQeldUU3Z1cktL?= =?utf-8?B?cVhTRjRhWTMrLy82dmRLTW4wcjZUWkdKMm5PcXVNeGRzMDJKTmwxVlVSbG1E?= =?utf-8?B?SHU5ZktFWTQ3QmJrb3BHR29FaE0wcndIR2VGUzRsUGNsbHgvQ2RxaH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zL2phcWovRGhzeTYybHJzdU1VOW5pb3hhRGpya2w1K1F6b2lWVnJa?= =?utf-8?B?WW9TSWVkemFtMElDYjZjY1l6blgreVE3UEFQSEJuc2FlVW5JUmFjUXllRkR6?= =?utf-8?Q?wtKUJC374seM8+MuTwrgw0WZJ?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d837bdb9-ad4e-4751-da6a-08da970f0f6e X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2022 11:40:16.9322 (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: CXP2p3n6ND3Zygb8WhVB3r3bTuEQ3tR0S570EA0jglFDrDHTSXVC2gYg7A+l0qyDXoGQVJDgVwS+8KFPARuOEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7407 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15.09.2022 12:20, Juergen Gross wrote: > On 15.09.22 11:32, Jan Beulich wrote: >> On 15.09.2022 10:39, Juergen Gross wrote: >>> The IOCTL_PRIVCMD_MMAP isn't in use by Xen since at least Xen 4.0. >>> >>> Remove it from the privcmd driver. >>> >>> Signed-off-by: Juergen Gross >> >> Can we reasonably remove an IOCTL, without being entirely certain that >> no users exist outside of xen.git? > > This is a valid question. I'm not sure how probable it is that such a user > is existing. Are there any Xen tool stacks not using the Xen libraries? > > If so, why? Do we want to support those use cases? I'm afraid I have no answers to these questions, and hence would generally want to be conservative with removal of functionality. Jan >> Even if so, shouldn't there be a >> staged deprecation process? > > Depends on the answer to above questions. > > > Juergen