Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3560470imm; Wed, 5 Sep 2018 02:06:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYH7ZHC+7n3tKSCf9sYB+q30oig/ojusgkZtTa/jAzs1OcKsb8n2TwkK6fU62tCkSP2ekpk X-Received: by 2002:a17:902:9693:: with SMTP id n19-v6mr37999631plp.282.1536138394911; Wed, 05 Sep 2018 02:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536138394; cv=none; d=google.com; s=arc-20160816; b=OH+UoImsHtEc1RfeV1rXLDLKkTaOwiba7t3N8LkpLOZnHfwMtMXkNfXuX74gtRnZ2x t+7BfuFjywXcMfxrYSSDy5L36JMtB8UCXivIAEPTZl08ZEmGWr3+VbaiSWIIBc0GwDjG P1JkxL+W81FS6BfSttUKVWr+CTFQqp2yI0ZyV5SsaZQ7mBeiFp46YSbi8Q4HOm75k7QH 7E8u3NJSihct9sVREfL+mzCjXLbAlDiAezDz8YEf3so49G9A4jidzOOO0gXep4yKaC65 vousdc06Tj5tm+9Vz+nom3Kq4zf0XX1xCksa7iqhqBza+pVeOtA0NtmTM9b2EcsowBt1 GhSQ== 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=bB5v9B8s9LE3n2ctP1zfWk3Ryh4dRXBpWceyu12JeZ0=; b=EhSEXb+HUx6f5yNYgrs/fdyuEq9VcupHN4dS9rKB/iAUHr+FwAfoSMQPyWXQLZfRNn P6ShxXn6Q5c2avsCoWzxawWl0Mc8HrHp86pg+jdtpFbH8HsiAdtgQkRgIsvbqv7K1+JS pdISkDkWSxWOGiU5xxin4+scXIpcx3VJ1BiymlKkT5oiyrNqVVMxv0U5QmIfKTM+hjzq KZeD186YmDI01i2BomSrg5xuclD39+1aL7HakXh9v9KtqDUfngAsMCV/B/pz8X5BlO2n zzgJAp56Vf34KObJmPpsdUYIWmWXy0CipEK0Pk3SsduG6cipdsXrg1mXU3Ft0swprUAl VD2Q== 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 l23-v6si1443391pgo.230.2018.09.05.02.06.19; Wed, 05 Sep 2018 02:06:34 -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 S1727735AbeIENe1 (ORCPT + 99 others); Wed, 5 Sep 2018 09:34:27 -0400 Received: from bmailout2.hostsharing.net ([83.223.90.240]:41825 "EHLO bmailout2.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbeIENe1 (ORCPT ); Wed, 5 Sep 2018 09:34:27 -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 bmailout2.hostsharing.net (Postfix) with ESMTPS id 485E62801C0A7; Wed, 5 Sep 2018 11:05:11 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id E67F0449B24; Wed, 5 Sep 2018 11:05:10 +0200 (CEST) Date: Wed, 5 Sep 2018 11:05:10 +0200 From: Lukas Wunner To: Mika Westerberg Cc: linux-kernel@vger.kernel.org, Andreas Noever , Michael Jamet , Yehezkel Bernat Subject: Re: [PATCH 1/3] thunderbolt: Make the driver less verbose Message-ID: <20180905090510.fvryu6ivxagdzoyx@wunner.de> References: <20180903133304.70362-1-mika.westerberg@linux.intel.com> <20180903133304.70362-2-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180903133304.70362-2-mika.westerberg@linux.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 03, 2018 at 04:33:02PM +0300, Mika Westerberg wrote: > Currently the driver logs quite a lot to the system message buffer even > when doing normal operations. This information is not useful for > ordinary users and might even annoy some. No, the verbose logging is done on purpose to aid us in reverse-engineering the protocol. For example ... > - tb_port_info(port, " Unknown1: %#x Unknown2: %#x Unknown3: %#x\n", > - hop->unknown1, hop->unknown2, hop->unknown3); ... why do you think we're logging these seemingly stupid unknown bitfields? Because whenever someone posts dmesg output they inadvertantly post the contents of those unknown fields and we can then google the value of those fields on various controllers and machines and deduce their possible meaning. By muting those messages, you're taking away our reverse enginering aids without having released the spec, which would indeed obviate the need for them. Please don't do that. Release the spec, *then* you can mute the messages. Not the other way round. Thanks, Lukas