Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1162098rwb; Thu, 19 Jan 2023 07:20:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXvgPeASrqDSZCCE4YvCzjK8jON9VnLAjOa8KWt4D3Q0CVengYL5cHXiiHXO6kwC98ldCjfn X-Received: by 2002:a17:90b:3cb:b0:229:2441:53e3 with SMTP id go11-20020a17090b03cb00b00229244153e3mr11404464pjb.39.1674141610220; Thu, 19 Jan 2023 07:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674141610; cv=none; d=google.com; s=arc-20160816; b=vBp5rDTFH8TxUJP2FpSyjgnJ5/F9xnD/KEWkQ9NKFRoJDNcqBajMMYk/SoOktehDwz gDAAMuVAlAWSSE+GFIem9XWMDLNXUJhw4R6cT/LLv4SpgtkOSQ2WtWVUB3t1CT34hpKa tm8LUBrr7ixh+MFLbTnno79Emnnz/JeclFVpgevwAXU5+Kb9Jygkp+SZpojlAr1e7bWH pFbLcIdxEXDLsjzPKgO2L+D2q4awezuIvBIRciIcTaD1z56M11Y+pH47RSd3BvRO7iCV Kr/7vpJULJnHSriCMKnSTj4B39iMswTQTq/44cPDkevR/yG7p9Wq20+ItC5KUUfqcMNX szKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kvfRouGYUkIYzfxHUcwrstqXmNVmW04bPhCFhKA1H7E=; b=l3Bchs/ot29lXSL6ZwbMMTh8/rDdliUHeRnF3FR7uZqHEGmLEdg0LCnnZimxqQC/1S au/h9a3fL4yZDkKv/CMuS3c7op8dH2BgEzKHv856X2FIgnA6u6yQuVu/NOnxsO5dITT2 DswifuVIXCmcVk9OJ1KRaEhX5LrP7xu7IW6SCedJkeZ/DmWi5l6wwiWMX9cacrA1QyeL dJQY5EnPErV/TBn1uxW72QNC3X3k0K2x1t92Jh9Z1zDUzqmxzlEa0qGgeuFZpUbF3eIW kYIMPVgEFCEU9pb7vntD24WtFeyci0EWK1oBjPCj2bwpigBRtr2LbxamyWcoBJnFj4Qh R+sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raspberrypi.com header.s=google header.b=eVdYoWoi; 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=raspberrypi.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw14-20020a17090b4d0e00b0021870b9d3c7si6086605pjb.45.2023.01.19.07.20.04; Thu, 19 Jan 2023 07:20:10 -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=@raspberrypi.com header.s=google header.b=eVdYoWoi; 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=raspberrypi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231225AbjASOlE (ORCPT + 45 others); Thu, 19 Jan 2023 09:41:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231771AbjASOkI (ORCPT ); Thu, 19 Jan 2023 09:40:08 -0500 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85BAF86EDE for ; Thu, 19 Jan 2023 06:39:20 -0800 (PST) Received: by mail-yb1-xb29.google.com with SMTP id e202so2696268ybh.11 for ; Thu, 19 Jan 2023 06:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kvfRouGYUkIYzfxHUcwrstqXmNVmW04bPhCFhKA1H7E=; b=eVdYoWoitswFXn+eY4IJ9622Y4VAy0zNvxtFX7AYKsVBDHGIcDStTLOBIATzIGoTug g7QSlf6Fzoh8Wzhc78eINRTDmo50PV+XWWvcr7109cTF5YPZLyK3cISGG2xdTIUSLDpX tv63dXHMgE1+C+xYBZJFLF216fRihoXds+7zibZSLPETwFH9+jeVWi4TBdQD3Rv0rJPh Scf1W6zVHBT9o+smV17TfBzoZINbljWqyeuM0L0pP1lXANSWOpzutycAybkP8DqqK8fS 3JxGAG9ijXd7nrKwRBZ7we/B4RDxCRzKl51xPMM9D20sw/9crcmt/NUMdnBnjQT+xz7b bb9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kvfRouGYUkIYzfxHUcwrstqXmNVmW04bPhCFhKA1H7E=; b=NmQprk0RVf2AtZiHwzncCnIM0beq2OXfGQJuuxlFUpkncr7VPQOpbFS1SHXnhVQwz6 HSRQisuk90ynu3uqTsXErXviheJZ0VKosCDAPbFzNgi41GBoejfymquVRReSmIBWIaDW s6XOLlKgsuhxUHbNtzSOWh+crZUH5fEQapQC6OQ8PyBiCVLdKAze/TzcPYxE4TJxVUu8 pZYZ4RuWQQZHQ/aTDKbbzv6waQl6sHCU+Og8sMHvzO0FM3yy9voyT19RDEtsCsHCfsbF iyTLpWBDEckiiHuM8jhGuOiVC31i2srPmNnd0trykt29PsiIvtWcty9mkymssLIUAqxp kDFQ== X-Gm-Message-State: AFqh2komWcgRAuu29RqunQrkV/z+QjqThY3EQkThBWG3oSG5qB/nj2GH 3Eky4ezN48R+Z6VVBdXcVXozMdvOLwMzNfG6ji3Juw== X-Received: by 2002:a25:e0cb:0:b0:7fb:858a:b1b4 with SMTP id x194-20020a25e0cb000000b007fb858ab1b4mr325439ybg.488.1674139159741; Thu, 19 Jan 2023 06:39:19 -0800 (PST) MIME-Version: 1.0 References: <20230118115810.21979-1-umang.jain@ideasonboard.com> In-Reply-To: From: Phil Elwell Date: Thu, 19 Jan 2023 14:39:10 +0000 Message-ID: Subject: Re: [RFC PATCH 0/4] Drop custom logging To: Dan Carpenter Cc: Greg Kroah-Hartman , Stefan Wahren , Umang Jain , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Adrien Thierry , Dave Stevenson , Kieran Bingham , Laurent Pinchart , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Thu, 19 Jan 2023 at 14:37, Dan Carpenter wrote: > > On Thu, Jan 19, 2023 at 02:31:50PM +0000, Phil Elwell wrote: > > On Thu, 19 Jan 2023 at 14:25, Dan Carpenter wrote: > > > > > > On Thu, Jan 19, 2023 at 01:47:44PM +0000, Phil Elwell wrote: > > > > > > I understand the desire to remove the custom logging. I don't welcome > > > > > > the loss of flexibility that comes with such a strategy > > > > > > > > > > What "loss of flexibility"? You now have access to the full dynamic > > > > > debugging facilities that all of the rest of the kernel has. What is > > > > > lacking? > > > > > > > > Perhaps I've missed something, either in this patch set or the kernel > > > > as a whole, but how is one supposed to set different logging levels on > > > > different facilities within a driver/module, or even for the module as > > > > a whole? > > > > > > Yeah. You will be still able to do that and more besides after the > > > transition. Cleaning this up makes the code better in every way. > > > > > > Documentation/admin-guide/dynamic-debug-howto.rst > > > > Are you saying this patch set gets us to that point? > > Yes. The patch has some issues, but yes. OK, thanks. I'll be watching how this plays out with interest. Phil