Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3310246ybl; Mon, 27 Jan 2020 01:21:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxg/4iY9OFYUSoOYHQcOmoMMHXm9B4UrdgPZVFJXI0TcXVlKx7mNfLZ+Cq/FytVbuJWWWbg X-Received: by 2002:a9d:6005:: with SMTP id h5mr12656530otj.153.1580116901546; Mon, 27 Jan 2020 01:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580116901; cv=none; d=google.com; s=arc-20160816; b=P15wjbV2rwQysey8PiQdTto17MTHjWss2jLKJZcC9nTRJTXaKilVa1gUy8qw6G+y03 jSBOWhZiwt/K+xE4p2qATBn/HQx7dlGpSUUL+pTAYegy2Gx6NOU6ezkpLzOyvjUdAsJN aoUWgQvDvs9KQ1Hvkfn6uH7HOUbe3APDUZ3jA/ReHJlMb5SJkXxK9KFLlzrDR8eBO1ox x3BdykDPsNyPJhEWsc0yBvm0kNv4gEk6pWyIiRWPehkBcZ9DzuZq/5HeZ/ptRNq0tmss tEtX6sdWQddrIHBxaFuo0oDQIO8xPHErSrxBb4JWF0wSgTLu8nl+/36Ww4WLMTT8ZCgi f4Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=LaExmELKeqqN/VB6j8bOztxrjP/aSDG7/ka9tQvY4fk=; b=XyajBRiD77eD2qkBaO9qBjMvP3IYoEBs+9+9CMcJGghAo/cxvYvyFWqNC30hWViKf9 s71aTClSkqOfgDBA1Bn21+znaV8yTbKRf68+dr7M3ddZD5WoqwUnaNIA/2SgivdMoWcU /rM/FhmQwVLedFbGxta7kxImxJ4UXDt+vPl/reWFHKbLKbrw0t2AhS/XZmy6cgUSUkSZ 64w7cJMSihgyAjAyak3aQkKhkhpm5UGgI67Os2NMK/KBJ8sxBJqkuwlQRE0A3zzHaPgP JnK/AIOc17oWI3yhAP6q14Rx3z8AdFJXeFoc0FTQUGZSbRa67nEILRqxLmRDn77KF9kp 1FAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=Y4KGEArL; 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 r6si1446870otp.220.2020.01.27.01.21.29; Mon, 27 Jan 2020 01:21:41 -0800 (PST) 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; dkim=pass header.i=@ffwll.ch header.s=google header.b=Y4KGEArL; 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 S1729371AbgA0JK6 (ORCPT + 99 others); Mon, 27 Jan 2020 04:10:58 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39754 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729134AbgA0JK5 (ORCPT ); Mon, 27 Jan 2020 04:10:57 -0500 Received: by mail-wr1-f65.google.com with SMTP id y11so10187118wrt.6 for ; Mon, 27 Jan 2020 01:10:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=LaExmELKeqqN/VB6j8bOztxrjP/aSDG7/ka9tQvY4fk=; b=Y4KGEArLtLfFcYkM9T4qdX7a4awMuADTxyYdbXot2rxEuRXX1gBc7Cn9UdFb4j2+Db PHEjg+hhO3omHBCyaugLheiimIIawORmcYaTZJMcT8oMwvYapHdpNnlVvtfUK4m0EIFq u2zC7KQFOUJtSE/CunL00ayk6O79zlLEctr58= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=LaExmELKeqqN/VB6j8bOztxrjP/aSDG7/ka9tQvY4fk=; b=JR3t0oJDR2xo+zFsQstWknH0jStzx8VXD0iCKqH4oy1CVbvYVVQ8HtC+SuvE/g+Uwh rNBNo+TD+envVgj8GVuj8NeqtttRfpZ0rYb4w9IGPgto/pAU0gpWuoRRgekiwgm0XtDj t7TB/sOX7SWjUVX795UZvmqCt1j1W4b8TwL/h+DgbS9K2xZIZD13FKiea5b0ML6w942V zUs5G9zGRUp5C3wBsb9eLo/68GXmQIJtuudOlk406z5ru+4w9MbiVz1sbMDi2eiD66Vm OB/1yj699wsXr5E86uM/xqPR0W0tVNfAye9eEczof+3feqCCwxDpzASWAw0GWmqNEOW2 V6dQ== X-Gm-Message-State: APjAAAW1X2CGEDt7Pae6PDsIzJNpyXv2cbPUpPqzLobepj24VnJlyaDi 494t2nPP2RDPOSRx5idB0bmNnA== X-Received: by 2002:adf:ebc3:: with SMTP id v3mr20948867wrn.280.1580116256070; Mon, 27 Jan 2020 01:10:56 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id t12sm19150488wrs.96.2020.01.27.01.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 01:10:55 -0800 (PST) Date: Mon, 27 Jan 2020 10:10:53 +0100 From: Daniel Vetter To: Chris Wilson Cc: Daniel Vetter , Wambui Karuga , airlied@linux.ie, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, linux-kernel@vger.kernel.org, rodrigo.vivi@intel.com Subject: Re: [PATCH 0/2] drm/i915/gem: conversion to new drm logging macros Message-ID: <20200127091053.GV43062@phenom.ffwll.local> Mail-Followup-To: Chris Wilson , Wambui Karuga , airlied@linux.ie, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, linux-kernel@vger.kernel.org, rodrigo.vivi@intel.com References: <20200122125750.9737-1-wambui.karugax@gmail.com> <157996851987.2524.2577321446102599250@skylake-alporthouse-com> <20200127090557.GU43062@phenom.ffwll.local> <158011608131.25356.4337758241793042878@skylake-alporthouse-com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <158011608131.25356.4337758241793042878@skylake-alporthouse-com> X-Operating-System: Linux phenom 5.3.0-3-amd64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 27, 2020 at 09:08:01AM +0000, Chris Wilson wrote: > Quoting Daniel Vetter (2020-01-27 09:05:57) > > On Sat, Jan 25, 2020 at 04:08:39PM +0000, Chris Wilson wrote: > > > Quoting Wambui Karuga (2020-01-22 12:57:48) > > > > This series is a part of the conversion to the new struct drm_device > > > > based logging macros in drm/i915. > > > > This series focuses on the drm/i915/gem directory and converts all > > > > straightforward instances of the printk based logging macros to the new > > > > macros. > > > > > > Overall, I'm not keen on this as it perpetuates the mistake of putting > > > client debug message in dmesg and now gives them even more an air of > > > being device driver debug messages. We need a mechanism by which we > > > report the details of what a client did wrong back to that client > > > (tracefs + context/client getparam to return an isolated debug fd is my > > > idea). > > > > Sean is working on that, but it's a global thing still. > > Go look at how I suggest we can use tracefs in that thread :) Hm I think we're a few threads further already? Steven Rostedt has jumped in now too ... -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch