Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1171968rwb; Thu, 19 Jan 2023 07:26:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXtu1YLQz4E7B0UliWcdcbFUKrWc0Id+dc0SLKxSjgIsn1FrC41QYX4ZB6khBEnr3k03j9fv X-Received: by 2002:a17:906:4557:b0:872:325b:6035 with SMTP id s23-20020a170906455700b00872325b6035mr10137255ejq.34.1674142001785; Thu, 19 Jan 2023 07:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674142001; cv=none; d=google.com; s=arc-20160816; b=xb6Bn+6vTpk4HuOiLZ3s9WrehTLPg7kxyMPY/EWc/N+Obz5PvMUG7Lb+K/T4e5njku bHHqQWBqWWQkcZ1/gKs4nj0OCdYEhPsr8W+q1bZ/1+F8rDdaiGWAPv1feNstyKY+bP9n zCVvYBTkAapk2zREsuWV08vk13Frz83gpeibqtQ9DxT/lCWteLv/bU1Zu6rBVsEzfn99 ELKjON0HbJHHAWiXouloUp8jge5L32GUntDEqv+0Z+DTqNwPK9CSnWgULJ8PXDJBYkxr TaJfjHdGSnyBvU02G8mFZjTGaE+eSX788gcgskSHikBSy/7oB1XirbCgD8rguHVSYw6F lpXg== 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=RxbmQQnppwWipwY+7UMUv45QxwTbva6H7m4OgO4CL+g=; b=AvQTBjC8rCa9e4pULOUOka5KJl3ogmZ63Gr06jBtQfK5/CpomdGifZEZArFbyDMeC+ eQnUsv1KQ7V7yXR2hSWTxaCAvRzZbsorCYC1VXEu0AkfvMfeOXKg6PJxEXHRunyJ6ukW oYCu7QV6tmhq22x5o5DQ/GqEVrZ4A6tCJfcMNum4HRkYiE1j1yxSMGNDR8JH11vxw+7x RMRUpwYsgh5Tsq2m7J4WBRrBth4JdnoawgymFhoRjwFqFpY7NpbN3QZ/yLfNGizAj6Pg 2gV37dHcZ5ZRijwdO97GFvesWLxRU+5zf8VTu8I7YmYPmpbcFJ1ovHJiieO1yCCIfuDt Ai1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raspberrypi.com header.s=google header.b=jAf0mB3b; 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 d33-20020a056402402100b0049dd955ded4si17576695eda.524.2023.01.19.07.26.29; Thu, 19 Jan 2023 07:26:41 -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=jAf0mB3b; 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 S231133AbjASOdV (ORCPT + 45 others); Thu, 19 Jan 2023 09:33:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbjASOcy (ORCPT ); Thu, 19 Jan 2023 09:32:54 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F47222DF7 for ; Thu, 19 Jan 2023 06:32:01 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-4fd37a1551cso4813007b3.13 for ; Thu, 19 Jan 2023 06:32:01 -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=RxbmQQnppwWipwY+7UMUv45QxwTbva6H7m4OgO4CL+g=; b=jAf0mB3bHlNaeYBduqwR1vVVqS+WYNlZmEDa2g59jQ1zQ5s4Rt73Et8LXdtllpnq4f RAnPn83bUgVqODpdayn1j27M58kqRj04/J7DY75PTxSdZdfeAPhZbXR3XS9JpAOxc4lz LABBEX47Tzb3k0Uxva9hJztJ4w7HEC4rKhDFcdvrLdLmS75odAOiqH0FC9hPShIFOhIa duLs1ec89noN1qlI0didbv10lAKWO44VW7I4hCyhcPFam46gb3ZSQq82dXSMalz6T+wD ZHNjkzdUT3XVoI70P+E4zcRFWtcN7o9Sy+CHL4m01advLhRlKb6fKpUZGmgFV9imI9Tv BX8g== 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=RxbmQQnppwWipwY+7UMUv45QxwTbva6H7m4OgO4CL+g=; b=g+G3CjHZD1EbIJHswFNyLBpr3W4+D6C7e+o6l4F3EYwxExTzFRT01iP09mM3qaSCio lvQJGlCR47otCIq0GDFA3/p6pcRAKm/fNaNxZkMpdRST0qCpfo+7bUMaTPtEIFNYGxKi rTXb3gXsRDN/Sw9wLExyCoFuyYMUPs+JeDZH2LoHBS17bTswWY3RJQBsb0N/SfLS74nr VctkymuEMOgyUeXBA/sGHn8AKadVMPh6UbdXZjagozXs+IZKmrf4FJmUoGwWZwSmGJZ5 JOVwRPeQA1PW6alNXelkwf3xfnSrFOT9N/04ui3OzomTDrMqe85gasiDEkOr90/lhaC4 TVBg== X-Gm-Message-State: AFqh2kruzhJGSxXnh/UCQFX0gsJgpBYFrTa46jBSJsSCszJt8KpwaBgn W48FZAO3BBckJc5nNdam9KQzDEqMXu8xy6joPZWPww== X-Received: by 2002:a81:66d7:0:b0:4be:6d20:dc66 with SMTP id a206-20020a8166d7000000b004be6d20dc66mr1304877ywc.151.1674138720498; Thu, 19 Jan 2023 06:32:00 -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:31:50 +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: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?