Re: Patch "dma-buf: Add unlocked variant of vmapping functions" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 15, 2023 at 06:14:23PM +0100, Christian König wrote:
Am 15.02.23 um 17:34 schrieb Sasha Levin:
This is a note to let you know that I've just added the patch titled

    dma-buf: Add unlocked variant of vmapping functions

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     dma-buf-add-unlocked-variant-of-vmapping-functions.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a5b01b5f0c0e769850cb21d1a94f53e63a837b22
Author: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>
Date:   Mon Oct 17 20:22:09 2022 +0300

    dma-buf: Add unlocked variant of vmapping functions
    [ Upstream commit 56e5abba8c3ec5c6098007693f9cefafaa2aa010 ]
    Add unlocked variant of dma_buf_vmap/vunmap() that will be utilized
    by drivers that don't take the reservation lock explicitly.
    Acked-by: Sumit Semwal <sumit.semwal@xxxxxxxxxx>
    Acked-by: Christian König <christian.koenig@xxxxxxx>
    Signed-off-by: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20221017172229.42269-2-dmitry.osipenko@xxxxxxxxxxxxx
    Stable-dep-of: 85e26dd5100a ("drm/client: fix circular reference counting issue")

Do I get it right that this was just done as prerequisite for the circular reference counting issues?

Yup.

If yes that's a pretty bad idea. This here is a new feature and shouldn't be backported to older kernels and most likely doesn't work correctly standalone.

Instead the 85e26dd5100a ("drm/client: fix circular reference counting issue") patch should be adjusted to match the older kernels interfaces.

I'm going to provide a proper backport if I can find time for it.

Ack, I'll drop this patch and the circular dependency fix, thanks!

--
Thanks,
Sasha



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux