From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96A8EC433DB for ; Fri, 29 Jan 2021 10:36:13 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5054964EA1 for ; Fri, 29 Jan 2021 10:36:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5054964EA1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.77925.141489 (Exim 4.92) (envelope-from ) id 1l5R8F-0006zU-Ka; Fri, 29 Jan 2021 10:36:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 77925.141489; Fri, 29 Jan 2021 10:36:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l5R8F-0006zN-HO; Fri, 29 Jan 2021 10:36:03 +0000 Received: by outflank-mailman (input) for mailman id 77925; Fri, 29 Jan 2021 10:36:02 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l5R8D-0006zG-Sz for xen-devel@lists.xenproject.org; Fri, 29 Jan 2021 10:36:02 +0000 Received: from out1-smtp.messagingengine.com (unknown [66.111.4.25]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id da0409bc-883b-4e97-9a41-6a0eb94fc658; Fri, 29 Jan 2021 10:36:01 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C43B25C0140; Fri, 29 Jan 2021 05:36:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 29 Jan 2021 05:36:00 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id D0C6824005A; Fri, 29 Jan 2021 05:35:59 -0500 (EST) 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: da0409bc-883b-4e97-9a41-6a0eb94fc658 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm2; bh=4 sIVOb41X70JozTnXUFauGcmu5JH2TTTxgOh8kwtLio=; b=i5y8AFC4LGZNzIng3 HcNqx9+534XhTle7SY3wqifd8MLofkKftMPShvY66fq1GhlCoHTnHmWx68eSI1GE WkSdLvZMEakiSM97H5xvT8pBAu4CpCe7uNXg32FVggPL/R8oX3R9bNmGbHg8H1zy RS84HQHfyjDR+MO276H3FCZoCX7N6JBH3Gr0OIonQEtCfg8/qUpkXfMWnYMNzQgZ XoT9QRfxXyoOws4JznVh1sJSg2CJ3gnCAf4CnDDIKgdRkVgg696KKw73JRDzJlTM zZh2zqsohmQA8Q01AVQieV/Aq4HhNIABrJhs6AwV+i9ukv48VI+38Bya9Njg+pzx hma+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=4sIVOb41X70JozTnXUFauGcmu5JH2TTTxgOh8kwtL io=; b=plX3JTRcqeuRKvG7BElo/HzGurSMidrt3MACFT+kLsh1/nwXsXXsr1fpZ Wo9LpSRaO6PKqC7NXe4DLALKF5lDxkauTkEe6FeXc03K3SL6VSskyN1sxBQSEtBs JeVbCWTvZ0nksfZlFy5FjVTQQIQm76+Ir21UJ1xu2mVobldsLFdDXc/tI4zFnfv4 We0mDJ6uRFOkPuJwT1Ctej3C1KwmW5O73heWZALR2QjA6fCTtRzEsmfVqDMAp9hH YPLYSAOHRSCh55Ti/KAoF7aBuPSXdyO/dr+QAsVWP01VP/5wQlu+iP756xQZ7J1a ZRM7lrQcmHCqp8uNhTgtcdVeAQxqA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvgdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtkeertddttddunecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpedvfffgue eiuefhheevheetgfehvdefgeekfeevueejfeeftdetudetiefhheffvdenucffohhmrghi nhepkhgvrhhnvghlrdhorhhgnecukfhppeekfedrkeeirdejgedrieegnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghh rdgtohhm X-ME-Proxy: Date: Fri, 29 Jan 2021 11:35:58 +0100 From: Greg KH To: Andrew Cooper Cc: stable@vger.kernel.org, Juergen Gross , Boris Ostrovsky , xen-devel@lists.xenproject.org, Roger Pau Monne Subject: Re: [PATCH for <= 5.4] xen/privcmd: allow fetching resource sizes Message-ID: References: <20210118140426.80458-1-roger.pau@citrix.com> <1a70f632-1437-5501-faac-98f05380d5ea@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1a70f632-1437-5501-faac-98f05380d5ea@citrix.com> On Tue, Jan 26, 2021 at 05:22:59PM +0000, Andrew Cooper wrote: > On 20/01/2021 11:03, Greg KH wrote: > > On Mon, Jan 18, 2021 at 03:04:26PM +0100, Roger Pau Monne wrote: > >> commit ef3a575baf53571dc405ee4028e26f50856898e7 upstream > >> > >> Allow issuing an IOCTL_PRIVCMD_MMAP_RESOURCE ioctl with num = 0 and > >> addr = 0 in order to fetch the size of a specific resource. > >> > >> Add a shortcut to the default map resource path, since fetching the > >> size requires no address to be passed in, and thus no VMA to setup. > >> > >> This is missing from the initial implementation, and causes issues > >> when mapping resources that don't have fixed or known sizes. > >> > >> Signed-off-by: Roger Pau Monné > >> Reviewed-by: Juergen Gross > >> Tested-by: Andrew Cooper > >> Cc: stable@vger.kernel.org # >= 4.18 > >> Link: https://lore.kernel.org/r/20210112115358.23346-1-roger.pau@citrix.com > >> Signed-off-by: Juergen Gross > >> --- > >> Cc: Boris Ostrovsky > >> Cc: xen-devel@lists.xenproject.org > >> --- > >> drivers/xen/privcmd.c | 25 +++++++++++++++++++------ > >> 1 file changed, 19 insertions(+), 6 deletions(-) > > Now queued up, thanks. > > Hello, > > The upstream version of this patch was queued against 5.4 and 4.19, both > of which suffered a patch conflict, and are fixed by this version. > > Was it an oversight that this version didn't get queued for 4.19? It does not apply cleanly there, if you provide a working backport, I will be glad to apply it. thanks, greg k-h