Received: by 10.192.165.148 with SMTP id m20csp184804imm; Tue, 1 May 2018 20:56:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZph1+fannjSLKHoMn6P+BlXCWKoKZNxPTudWRIL5wD6ch5u0MfhaLzyWoqkMPXPgNaF3Ei/ X-Received: by 2002:a17:902:aa90:: with SMTP id d16-v6mr18504748plr.189.1525233411472; Tue, 01 May 2018 20:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525233411; cv=none; d=google.com; s=arc-20160816; b=fjHx6W7uueq2YPYuDEFhORRDSG5sC84iOerCT4O0bmFH06SV4A4TJay7vn/Pp9WrIB DvHmX/+oVUZpzyAP2dQIva3b7GyLGfI8kHLdC8ET+1w11setrFP4u0AryvgVBBH2a7ns Keco0wxfUCUcdu1lNlab13pxHuxG2QeXmJcLgxzVRrFD9fbF+6uySHxyyiVXAOiStP+D EkUa441DOpDV55owLimcl+RnelFDbSNFgTGO5D7YYcOC+BKWWTeYkDGlEen4HJifCd/v hniPDTlgUz3MjcHXFgIKZcYQ7WiRsCcUcX0z9DNRSzX9INa1iz10e7rO3UkiDaW9MSGw xYSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=Sst57JYZeq+q8lWALW/njVzOPwhW+wnrxRYHmMv3BpY=; b=aajHA3nbWHecOtDlzi/AsYlzcSoUPckywMplMdRKPQS/evKhZjw5bhnsYb9rqZeRUe 0ctMTIJNa6BM9zBZwRLcL+kDwMpPw+9vYi89Je1f1EA9Xe/lxtfacEgAQpKG48dSh/TO 5MgURmLZyzOZsDfXut5ZgBKcOccWhhSb4YNLxXiOv8k3fPkNGHctO/m3lian13WvSiki ThIhSpmHJmtv26BHEmJPnJUyiCMTWMIiuG4Lmxh1TQek7mZ4o91Mvl1ddlLOlwfT2UBw wtd15ZqeKpwRFhy01YUVoU4qm0SjkcoZd0hMtDMWi2t6K0sWDiNgjzp1kcIDh0Mm9TXm z8TA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7-v6si11275580pla.345.2018.05.01.20.56.36; Tue, 01 May 2018 20:56:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751279AbeEBDzG (ORCPT + 99 others); Tue, 1 May 2018 23:55:06 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:52948 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbeEBDzF (ORCPT ); Tue, 1 May 2018 23:55:05 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 68DE71435; Tue, 1 May 2018 20:55:05 -0700 (PDT) Received: from dupont (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3E1A83F487; Tue, 1 May 2018 20:55:04 -0700 (PDT) Date: Tue, 1 May 2018 22:55:03 -0500 From: Kim Phillips To: Suzuki K Poulose Cc: , , , , , , , , , , , Subject: Re: [PATCH v2 21/27] coresight: Convert driver messages to dev_dbg Message-Id: <20180501225503.a55fb963795afb40163f3763@arm.com> In-Reply-To: <1525165857-11096-22-git-send-email-suzuki.poulose@arm.com> References: <1525165857-11096-1-git-send-email-suzuki.poulose@arm.com> <1525165857-11096-22-git-send-email-suzuki.poulose@arm.com> Organization: Arm X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 May 2018 10:10:51 +0100 Suzuki K Poulose wrote: > Convert component enable/disable messages from dev_info to dev_dbg. > This is required to prevent LOCKDEP splats when operating in perf > mode where we could be called with locks held to enable a coresight Can we see the splats? Doesn't lockdep turn itself off if it starts triggering too many splats? > path. If someone wants to really see the messages, they can always > enable it at runtime via dynamic_debug. Won't the splats still occur when the messages are enabled with dynamic_debug? So in effect this patch only tries to mitigate the splats, all the while making things harder for regular users that now have to recompile their kernels, in exchange for a very small convenience for kernel developers that happen to see a splat or two with DEBUG_LOCKDEP set? Not the greatest choice...How about moving the dev_infos outside of the locks instead? Thanks, Kim