Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2121446rwb; Thu, 19 Jan 2023 21:30:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXvNvzVDOLA5HGEnaGBjUlpGkvMB2R0wQQ9VNWe4VDxha5lpc1Qyu2AboyxxtyRU2/aQOqOj X-Received: by 2002:a50:fe95:0:b0:46c:aa8b:da5c with SMTP id d21-20020a50fe95000000b0046caa8bda5cmr13248201edt.33.1674192627010; Thu, 19 Jan 2023 21:30:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674192626; cv=none; d=google.com; s=arc-20160816; b=ro1q4REMoaSLrWYuRNqqZCR9wbs9d8k2IQWtbvKXMYf5XPTi2W+oQHvB8W37DW4H3T V8RSGPzfJGIkhfMv1LE3TUgNw5PYB/G+w3FnXOKZm4bqczQhn4IgHTUFSM4RMuOScyGp 7Kei6jtJBKztIJLWb1nRd29vjBpQIqphKNiEDknjA4FmhFfBblVsTtUHUv582qnz75YF Zub+b/XSr9Uey5Yi4w/Fr4cZgRmQeSY9+SKeCG9fFUb19SujOQqpuS2iydKlSltOFrfk 5VVDTJngsqfmt53cCiwSAzoY2mgg1m8McN9x15vpMYqANdeFEWkfvj3IJEC4SoTQSLmC Ut5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Iix3p3kfwszCxt9ZG0acv5X/ysndfv/8lChESyfJyg4=; b=SgByIu3xgKWcNUv5H5XSrpOHKFd7kO3199O/VASgU2GyDyYrXb/lTxqfDMDqqsTNEg 7nNw7lGkrpNkORi/4oGyhWAJIZnC58P0bNUeIvGbkn5g+A6UpLJ0nIUHBHjT5hQCVk6u TzLHpUwCk72gNYWuQIEHdqO3TJSD4lCRT6SWHQjCmNiuk3DKqfcOiFuw4smX7EBOwCj0 PLWeHu6BkRdveqeiBbSy3C6YLAE3tGBafKtPQvTzxO/1ZD+pcBtc7gPdFQpwni6yMEj8 TwQepxL5Dvzk3826SiQrCquoYmntL3erTuVTKlVTVngNDzQ06MkDVsBq6SNC1iMZ7WhN Xh0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NXyrMIIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a50e607000000b00486e2db6579si17228031edm.418.2023.01.19.21.30.14; Thu, 19 Jan 2023 21:30:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NXyrMIIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjATFDa (ORCPT + 49 others); Fri, 20 Jan 2023 00:03:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbjATFDI (ORCPT ); Fri, 20 Jan 2023 00:03:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADEA6D88C9; Thu, 19 Jan 2023 20:50:34 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 779D5B82147; Thu, 19 Jan 2023 09:34:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A385FC433D2; Thu, 19 Jan 2023 09:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1674120859; bh=cTYhWhuoAArfN8ATkC/1fHyyuIoz5/V7W6EqeQ81PU4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NXyrMIIwdo9UdtGF5a0iaSMpO6tagJ8WWBUxVwSHRBIjLSGvE+Oavb4ePMGPwdqxB 5nYP7pEBMNjs2Qar0Vj1npXLCKlZN+J8YCwSVyaEs5rCKIjSE1fvQq3KQoQiqku4vV zPJT33Koo7thoNF72zmUER2bBTs/gT/U09Zq0DYw= Date: Thu, 19 Jan 2023 10:34:16 +0100 From: Greg Kroah-Hartman To: Umang Jain Cc: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren , Florian Fainelli , Adrien Thierry , Dan Carpenter , Dave Stevenson , Kieran Bingham , Laurent Pinchart Subject: Re: [RFC PATCH 0/4] Drop custom logging Message-ID: References: <20230118115810.21979-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230118115810.21979-1-umang.jain@ideasonboard.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 18, 2023 at 05:28:06PM +0530, Umang Jain wrote: > Drop custom logging from the vchiq interface. > Mostly of them are replaced with dev_dbg and friends > and/or pr_info and friends. Everything should be dev_*() calls, there should never be a pr_* call in a driver. > The debugfs log levels (in 4/4) are mapped to kernel > logs levels (coming from include/linux/kern_levels.h) > Would like some thoughts on it as I am not sure (hence > marking this is RFC) Do not have any "custom" debugging controls in a driver, they are not special and should follow the whole rest of the kernel. Just remove them all and rely on the existing dev_*() calls instead please. thanks, greg k-h