lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6cfe4fd-2292-4b1b-b919-caba979dd0bc@amd.com>
Date:   Thu, 29 Sep 2022 20:17:52 +0200
From:   Christian König <christian.koenig@....com>
To:     Arvind Yadav <Arvind.Yadav@....com>, andrey.grodzovsky@....com,
        shashank.sharma@....com, amaranath.somalapuram@....com,
        Arunpravin.PaneerSelvam@....com, sumit.semwal@...aro.org,
        gustavo@...ovan.org, airlied@...ux.ie, daniel@...ll.ch,
        linux-media@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        linaro-mm-sig@...ts.linaro.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] dma-buf: Enable signaling on fence for sw_sync

Am 27.09.22 um 19:24 schrieb Arvind Yadav:
> Here's enabling software signaling on fence for sw_sync.
>
> Signed-off-by: Arvind Yadav <Arvind.Yadav@....com>

Reviewed-by: Christian König <christian.koenig@....com>

> ---
>   drivers/dma-buf/sw_sync.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c
> index 348b3a9170fa..d2a52ceac14e 100644
> --- a/drivers/dma-buf/sw_sync.c
> +++ b/drivers/dma-buf/sw_sync.c
> @@ -244,6 +244,8 @@ static struct sync_pt *sync_pt_create(struct sync_timeline *obj,
>   		       obj->context, value);
>   	INIT_LIST_HEAD(&pt->link);
>   
> +	dma_fence_enable_sw_signaling(&pt->base);
> +
>   	spin_lock_irq(&obj->lock);
>   	if (!dma_fence_is_signaled_locked(&pt->base)) {
>   		struct rb_node **p = &obj->pt_tree.rb_node;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ