Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2579377imm; Mon, 10 Sep 2018 03:26:44 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbh0Vc2cECm163HcnOf8mJN/SxlQz78bmCYa61Sd07VPewgDpha3tzOKzx3UE/iTQeb585M X-Received: by 2002:a62:7d8d:: with SMTP id y135-v6mr22542486pfc.259.1536575204080; Mon, 10 Sep 2018 03:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536575204; cv=none; d=google.com; s=arc-20160816; b=Tpf9apxa6x7aKT9GQtr/NUKZu2p6at1fbl47oOi8NqzHINznZuJPaJtrbxoGafmTul Lr1GxXleBL6JBwP1o+mPKHxRwxRnyqF+FuSVOSje8a3MElRnqV6QpIobG5P6JirgrgKn ux9UXo6KuHu8XYbr7fAnORMceoNC9VJL4rmcxDzMHKCbYoBw/fMiMZFimUEJxRv3zyWs uYN1c2in2yBsHvuiU9pYIVeWeFp85aly0+ud9PgICgs93b9EdTMKQZGjdWrFJ5YFuMVi 6I3Q/sBC5pnIwK+uw/5WeJFi5exFLJwcTrzsrjPkvjIr82wdNqumPm7CAdsi6zjQJnAG WKZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0W1UommmbJYtFsTvyoIX8E9UWHp4R6+YBBrvWsq25kM=; b=hS2MvQreVqlzax7/zfBthokZWFEcWcQEgf0uaGtrI/5Px1q1xydTpbNRffsAsqinG6 soCuGO42fbI0xbgkiPLAVe0NH03wvSJGMzzYZMkQwha+DQy8EbGVCesXrpogWAsSf853 yOPjc8t61N5k6Vd3uG8edQFX1CTAXmtIXY51p00dCJLlG1faQg9KMXUIeWFcq6hZAVIm HrnNiMR+uxZKIjhfYG+/n7pc6+N/yhtOJIGJtY+l7bc+La7NocAObl1tiNLtTfgEUUHp yKoACdRG36+jpg2rAxQ3R+0qj/AL6r99Ry2oEKMDYJutT0T7hiLklSZezJEp3rCtt8GW y8rQ== 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 h86-v6si17900037pfj.120.2018.09.10.03.26.28; Mon, 10 Sep 2018 03:26:44 -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 S1728086AbeIJPSi (ORCPT + 99 others); Mon, 10 Sep 2018 11:18:38 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:45239 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727850AbeIJPSi (ORCPT ); Mon, 10 Sep 2018 11:18:38 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id A473B30002230; Mon, 10 Sep 2018 12:25:14 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 811E010751; Mon, 10 Sep 2018 12:25:14 +0200 (CEST) Date: Mon, 10 Sep 2018 12:25:14 +0200 From: Lukas Wunner To: Mika Westerberg Cc: Greg Kroah-Hartman , Andreas Noever , Michael Jamet , Yehezkel Bernat , Stephen Hemminger , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] MAINTAINERS: Add Lukas Wunner as co-maintainer of thunderbolt Message-ID: <20180910102514.tjwortosyb32n5me@wunner.de> References: <76fccab34a66023c08b71a864a9fea77daac9742.1536517047.git.lukas@wunner.de> <20180910093333.GI14465@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180910093333.GI14465@lahna.fi.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 12:33:33PM +0300, Mika Westerberg wrote: > The reason for making the driver less verbose comes from direct feedback > from the community. For example: > > https://lkml.org/lkml/2017/10/31/864 I am not opposed to muting messages to KERN_DEBUG severity which merely report what the driver is doing such as: "control channel created" "control channel starting..." However messages should NOT be muted which report register contents or register changes unless those registers are *fully* documented and register changes are known to work *reliably*. The URL you're referring to above provides an example where that's not the case: "disabling interrupt at register 0x38200 bit 12 (0xffffffff -> 0xffffefff)" Something is broken here, the register was read as "all ones". This doesn't seem to work as reliable as it should and in that case please don't mute the message until we know it's fixed and always works. Also, it is quite customary and serves a useful purpose to report devices at KERN_INFO severity as they're enumerated. E.g. the PCI bus logs messages for each enumerated device, pciehp logs the port's capabilities on probe, and so on. Therefore please do not mute the enumeration of switches and their ports. If you find the messages too noisy, feel free to condense the data reported for each port to 1 or 2 lines. We currently print "Port ..." on enumeration, but use the syntax ":" for other port-related messages printed with tb_port_*(). It might be beneficial to use a single syntax consistently. In one of the patches I've posted yesterday, I'm logging unknown data that is stashed in the DROM for PCI ports. To make sense of that data, at least one line for each port needs to be logged. (Such that we know which data pertains to which port.) I don't really like spamming the log with this unknown data that needs to be reverse-engineered. I hate it. You would do everyone a favor if you could divulge the meaning of such unknown registers. Then we don't need to log it in the first place. Thanks, Lukas