Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp7130179pxv; Fri, 30 Jul 2021 10:41:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0hj6SC9P2UJ7eSi7mJYJwiRgQh1HngDPx3vz454Xa6JxX4f4ccCQ5gYNDClODvMHfHmFU X-Received: by 2002:a17:907:375:: with SMTP id rs21mr3782604ejb.252.1627666908350; Fri, 30 Jul 2021 10:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627666908; cv=none; d=google.com; s=arc-20160816; b=WkM1Jvj9m3xXjsBPhj0N6Y7K2elrNwScIyJgE57RRuO6HTlAMQ5eFoQUmQVsrjlDac jjcfL/wtsKd+c4GBQbSUHNBFPTSd1WpByn+mDnNOsDR2oVq9Qy96EIGQHeakS663JgIg gEGXQhuZ3rV9uzAxVW4aF6KRx7Uj9clXZceuzVW2ogmNnxZ+nUpE94mouOX18FVGAOdb B6G6oWhX0/Pf4DQ3jyXajVMG0H1JoTFaCGni0nwjW3A1fRandGoO3HMDcReJhqUB0xj0 JLQ8DBrQBimmcBwERWo5wAEIOtpe+2r4WF6Sg1C4XCXZCAad+gPiKWMr3ataSnPI/onD TsPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:subject:from:dkim-signature; bh=vCAX2Kmv6swjeLPb8XTOG5P1FiP7p6CkcukVbAna/IY=; b=hjMbEnw9uKJ3xC4dmTKgPkXVZbPkWIRmRlz3SupT9M7SwUwxZXtguO1Tb8oju8JapL Z48lcb1PKdSoF1PpKBMkVn+9Hd3TWo8/NME6cCGsvISM7vqhXPvdDBFlnZuTjAySqZ3Q 90kWQTLHRWvfphkXI4mPYb5lLpcswRBn+iWtysk7LikWuXs5awT8uDBiHBVKWOE4KN62 bRxHwklReIoOEGUlhyrbo4sU2clIoTywavX73B+2b4ykegfOBwAigC9BF6br2L3aVvvq xc2WgA9+Fiz8S/VLyhIWzAAbUIc259Hb9aXBmN1M9DrRYmvoo3IkVkxA1QsghKEBqAm3 Ka3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Wj1SB0Wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di1si2487972ejc.420.2021.07.30.10.41.24; Fri, 30 Jul 2021 10:41:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Wj1SB0Wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230093AbhG3Rhv (ORCPT + 99 others); Fri, 30 Jul 2021 13:37:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:42507 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbhG3Rhv (ORCPT ); Fri, 30 Jul 2021 13:37:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1627666665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vCAX2Kmv6swjeLPb8XTOG5P1FiP7p6CkcukVbAna/IY=; b=Wj1SB0Wn+nRjCvC4H9QH3Ba4r+yWpshgWEQGr8pFwpKsgfEATzTGM5ZWhJeYhzu8rAanEQ InEJLJSKLgPiIwLqlfyQRRAWB0SWXYS7MYBdHs+wnrX+RV2pDh6I4godMvKDVG06Gt2Ms/ J/IPnG5Q+VgujKqLbQLEGktKw2fa4dE= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-503-GGInJzGOOZa70RkxYpnhPg-1; Fri, 30 Jul 2021 13:37:44 -0400 X-MC-Unique: GGInJzGOOZa70RkxYpnhPg-1 Received: by mail-qk1-f199.google.com with SMTP id u22-20020ae9c0160000b02903b488f9d348so6141768qkk.20 for ; Fri, 30 Jul 2021 10:37:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=vCAX2Kmv6swjeLPb8XTOG5P1FiP7p6CkcukVbAna/IY=; b=hqOPYwg7KzKFlKmqkUCvrevBFVEodLGaqHAegjOHh9SNyTAJAWz/YVn0MpjerUCSCh REvQn/rbl9GOw/2Jn5lI47QuBcntVY83h2yi5stA3nfQFDNJnugNMxYdCIdCz/AnxIHI JSl40vCra/m6VcOmfQv4LgzmGi+EW961DHDFxAaRYeuCmPcezEwqj8mBvGEWhUIedhSX A6e5uStHSsx57VcsBDlhi3iEYxYGXLyjqQNr+XhDPDRCYCrWVxBdw73uroGv1+eBWVEu tnqtk7BZjW4vf3eCJamHyGlJ7nJYxId0wuNagDJqWSL6DWRpJx2aDSfDpv5XEdvk+hI5 kVOA== X-Gm-Message-State: AOAM531aseJOx3huUieIDiaIwK/rxqPtJJzMn0eXz5oMWG9a2eaTeIwd p5Unpij7vu5El/hZS2U6uIBk/JoWwMcOmw7HWodPfDHJ7Y1lACUgoEtNkIFOwOleCQvZ/8dLyi3 ypp0C19FHvTPcjMNd6AX5YGdh X-Received: by 2002:ac8:548a:: with SMTP id h10mr3208420qtq.89.1627666663761; Fri, 30 Jul 2021 10:37:43 -0700 (PDT) X-Received: by 2002:ac8:548a:: with SMTP id h10mr3208401qtq.89.1627666663488; Fri, 30 Jul 2021 10:37:43 -0700 (PDT) Received: from llong.remote.csb ([2601:191:8500:76c0::cdbc]) by smtp.gmail.com with ESMTPSA id a20sm896826qtp.19.2021.07.30.10.37.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jul 2021 10:37:43 -0700 (PDT) From: Waiman Long X-Google-Original-From: Waiman Long Subject: Re: [PATCH 0/2] locking/lockdep, drm: apply new lockdep assert in drm_auth.c To: Desmond Cheong Zhi Xi , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch, peterz@infradead.org, mingo@redhat.com, will@kernel.org, boqun.feng@gmail.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, gregkh@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org References: <20210730041515.1430237-1-desmondcheongzx@gmail.com> Message-ID: Date: Fri, 30 Jul 2021 13:37:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210730041515.1430237-1-desmondcheongzx@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/30/21 12:15 AM, Desmond Cheong Zhi Xi wrote: > Hi, > > Following a discussion on the patch ("drm: use the lookup lock in > drm_is_current_master") [1], Peter Zijlstra proposed new lockdep_assert > helpers to make it convenient to compose lockdep checks together. > > This series includes the patch that introduces the new lockdep helpers, > then utilizes these helpers in drm_is_current_master_locked in the > following patch. > > Link: https://lore.kernel.org/lkml/20210722092929.244629-2-desmondcheongzx@gmail.com/ [1] > > Best wishes, > Desmond > > Desmond Cheong Zhi Xi (1): > drm: add lockdep assert to drm_is_current_master_locked > > Peter Zijlstra (1): > locking/lockdep: Provide lockdep_assert{,_once}() helpers > > drivers/gpu/drm/drm_auth.c | 6 +++--- > include/linux/lockdep.h | 41 +++++++++++++++++++------------------- > 2 files changed, 24 insertions(+), 23 deletions(-) > This patch series looks good to me. Acked-by: Waiman Long Thanks!