Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6636222pxv; Thu, 29 Jul 2021 21:18:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwSz23UYw6QcUtPGyhXZIlwbMLQNCr8otvoHcVASoiGiGwDT+mEyDaBP41AvZCkIHyM3C1 X-Received: by 2002:a6b:b44c:: with SMTP id d73mr781140iof.10.1627618718205; Thu, 29 Jul 2021 21:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627618718; cv=none; d=google.com; s=arc-20160816; b=bjk1ftySZiY9PdWCl3mO+zXf/+QFR0BWAMgsbb6DQdY4l9UU1MmmwTMQsD8PFnCpbP Jqbfs+tMg7NwP7atz8M646b7IJjHwGpHmrWvpzJ8MHaP1NL06o4kKTXQ0cA4dyIqy3x0 nAxi/LGQnYttZWDAS8jceNJ0ylpQQj2OvKeMBQc9jCdES2xScLNsYIIwoa1jpmMWxtdl ayEuApRBVLTzTdq6PDG648l81Lp9nig88aRjY9BgaOipcwm0IwcS2QWvtxS0ogB52X6b ESC6SBvS9sYTsDnVQ+TUITgEjC2+BZNbFT8RnlOPpD5iaOutptRmOJNTZndmfOYI1Qtu VYXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ps4IOmc17WySeTSgvo3uD/BUf6CSyI+vUb3e7yZqyFw=; b=0uNOpiY26HF0RoXdCuAg+OBL9FTcq2eRTchnS7UJJP4WmBaKepg2rWdpiNNzR4RPef 7udSWJS5MOHo6KtM4UCBK+wBcFGOrQPgQVIQObU/lOVekVO68vOhgaxh+bXZ9ckdAYmk 4wDnC/Az8fl/j2SU09vAz5I6OHT29y/bH1UyAnNcem9vzdYYGZhAdycHe1/PuDKHUFbC vRS4bJGHppSJgxmCFVEU4hGqFXrRy7+s9Z9rrBX2eXk3yG048MTrrb+aOWB7cmQkIzuy n34dh6zqqmZGBH3gjmkCxWw6A71m/ixWBJuC50mIlCPqY22PsD3W9rTMSHVj8SOTS9UM 0K7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OUrY581B; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o8si478812iow.53.2021.07.29.21.18.27; Thu, 29 Jul 2021 21:18:38 -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=@gmail.com header.s=20161025 header.b=OUrY581B; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229910AbhG3EQa (ORCPT + 99 others); Fri, 30 Jul 2021 00:16:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhG3EQ0 (ORCPT ); Fri, 30 Jul 2021 00:16:26 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41953C061765 for ; Thu, 29 Jul 2021 21:15:43 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id t21so9488866plr.13 for ; Thu, 29 Jul 2021 21:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ps4IOmc17WySeTSgvo3uD/BUf6CSyI+vUb3e7yZqyFw=; b=OUrY581BKpj1tZ35umAHWh0e42+XyE080rD3dk0rmx2YEf+L22+XObDcnJWZOf4+bB F4RVXAVGzALNEvXX5aKZSdADknVAT+gVJfBSmZJbL1jRpQ8cL5uiM0JVZWBdBAj06BNy 1YiEUvKctStw3zvAOm/wS0Axwd6ExSoyNsGPuBWoFA0Hr1q0osa0+2ImFTtTv78Wn9On 1pYLoNzShbUfviuLZxRdMeMar2lVVfkocmFkDP/1tnn8kWPvNLZZ8b6gEkMFs3hL0mC8 VRC9zMg86AQAoFNtjwGVrpO9fOUg942dJ9jQQ8Vip4+6LCEXCUUjui5/suNmQvvjjlaK Xzsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ps4IOmc17WySeTSgvo3uD/BUf6CSyI+vUb3e7yZqyFw=; b=Am6ZeeHl5jyFi/n/FqWBU1U/0Roy4h4d6tPidkCrljUHSKLH/5SDuDdLrO3EUuZwVd N2cQxFQpG6hQPytEiK3aDJ6E5yaoi08fjal0ktJdtNuShLrV8c5chMAQ1P+q7+7os/e7 I+xai71TGmvbv+YFUDmmEBtAUDnFSU+Tbs9eSNLH8lhMPuUlXGMs8wGByHnaW6T0rlXx aAgSg2svnPXPy5izB5YO0ovli4U5qxDt75534EsP6Zhtb7iasvKuPhQoxqCYlgaXeLOx hHYIFwV5GC1GUfI3wYhnyh15Dyjz4dCOyADHrXK8U60yFdr5JRJNX2OOiKfxJ5MAS8Fi s8/g== X-Gm-Message-State: AOAM531g99Q7OkiSE6eH/P765PEgOBMpKj6RyoGiuIiVilpYOBzsQEfH Nmtwqp+WdUh6WW31WLIDvTo= X-Received: by 2002:a17:90a:c902:: with SMTP id v2mr1012698pjt.136.1627618542716; Thu, 29 Jul 2021 21:15:42 -0700 (PDT) Received: from localhost.localdomain ([118.200.190.93]) by smtp.gmail.com with ESMTPSA id t19sm439322pfg.216.2021.07.29.21.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 21:15:42 -0700 (PDT) From: Desmond Cheong Zhi Xi To: 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, longman@redhat.com, boqun.feng@gmail.com Cc: Desmond Cheong Zhi Xi , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, gregkh@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH 0/2] locking/lockdep, drm: apply new lockdep assert in drm_auth.c Date: Fri, 30 Jul 2021 12:15:13 +0800 Message-Id: <20210730041515.1430237-1-desmondcheongzx@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.25.1