[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f9c1d458-40c2-5b16-3eb9-8fd0ff48a175@suse.com>
Date: Wed, 13 Jan 2021 12:32:35 +0100
From: Jürgen Groß <jgross@...e.com>
To: Roger Pau Monne <roger.pau@...rix.com>,
linux-kernel@...r.kernel.org
Cc: stable@...r.kernel.org,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Paul Durrant <paul.durrant@...rix.com>, amc96@....ac.uk,
andrew.cooper3@...rix.com, xen-devel@...ts.xenproject.org
Subject: Re: [PATCH v2] xen/privcmd: allow fetching resource sizes
On 12.01.21 12:53, Roger Pau Monne wrote:
> 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é <roger.pau@...rix.com>
> Cc: stable@...r.kernel.org # >= 4.18
Pushed to xen/tip.git for-linus-5.11
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3092 bytes)
Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists