Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1103995rwb; Thu, 19 Jan 2023 06:43:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXsSyj0qwv+N4SNjs7/mlXiRcx+mQYbAZxOEsaNUShJkzknTBvybLcc1qZM87HqCmw6X/8Z3 X-Received: by 2002:a17:907:8b92:b0:877:6a03:9aa4 with SMTP id tb18-20020a1709078b9200b008776a039aa4mr4297145ejc.72.1674139415861; Thu, 19 Jan 2023 06:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674139415; cv=none; d=google.com; s=arc-20160816; b=rvqf7PivxLzskzWg/vfXDKdBj3aZFQoUcgwYQlXWnPWpUU78rA4N+ErIN8O+Uuk2/S zTZY5KGG7RdS7JJaV62HWaE4BFuPvvVCAbtj9oO3KKZ0uTEF0kwb0XHb8CgIcIUQDp/q Fb6rjL54n7bn58hEgUtNPxhqom9wNVy2nBiYtwuB8p9om5Ju+NKJVLPxJNBzmQRQW6B5 CZOoT+pxqE7yrebbogy0+v40anAvAhhbDl2bh9Jcr1hRGfvtrcFIQDxwdtIm5s9AXifr glD/I2ehAlTEZlGPohTH02p3Cccuz/cDyt6+1HCmNKEAlmY4E8RU/EMD4sHKXBPFh7GM AYTA== 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=KjsZya+QHJjprUyI8l0iTCJWloAUubwO/7pn5KMVxco=; b=AN4oqZZe0xhYXVoxB5BrP4hmK8W6Ul9LbrNoQHmycd8zEU4q+3mGAVMP5C9HnXIX67 SaOfPH/IJSBOV9lflRsE8iiKnORXQRFX4VFgdyPPF5I5ioykPwHqLGnUb8AZ0gXf2q4k HWAMt8OgKJhCgsrUKmNtl/PgMsndY+koBxdxB3Y4locWMK/fTKQtcLbsPPh5laWkL1zO d+c99Siw0vfvxxqOn1Y0bRMxD1BZJbPqEOc5ZQ/ABPHNKknPMZ9ellABZZHQmFeOm5YO 1peb7beNu0Di6hhxrYGlmJbp5seGRz97UXI9blXQzUDu83eXC8ukPW5yJzfdhD5KGlf+ iK4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ar8Y5jds; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne1-20020a1709077b8100b0086ffb73ac3asi15823270ejc.634.2023.01.19.06.43.24; Thu, 19 Jan 2023 06:43:35 -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=@gmail.com header.s=20210112 header.b=ar8Y5jds; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231292AbjASOZu (ORCPT + 45 others); Thu, 19 Jan 2023 09:25:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjASOZr (ORCPT ); Thu, 19 Jan 2023 09:25:47 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C0F61BC7; Thu, 19 Jan 2023 06:25:46 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id d2so2022242wrp.8; Thu, 19 Jan 2023 06:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=KjsZya+QHJjprUyI8l0iTCJWloAUubwO/7pn5KMVxco=; b=ar8Y5jds9GnCb1bu9DJlG8T+9M+euQ3P5Pu6wNsuF9/BaX1fRYVPzQ7B2JdXHWJ3dx jJBVGU0BUXV4y8nCmJF+RLL7OyT+kIJjeC8aN2Y8OIjJoVZMxnvnOUeSzAyL4uGFWUbC eHLU+nygimgKouEHjd6736nsBkRFYhWSTAgCfuX4PxBBulOya7uXBLma/0Xld25w7bh0 +1ymYyPEV15P4mapiPWA6b17HdvXzp6qG0dqm18xTcFLjKIHl0rYU0S05H+AXxnPupeZ mZ9EzJniQwpnEisWTjPN3ei4BseZCp1PV1/ui9dRQUPC6HbG9XHtlLvDWaFJDhjtRhSh 5mbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KjsZya+QHJjprUyI8l0iTCJWloAUubwO/7pn5KMVxco=; b=P9Jk4QON2jMni9YRZssawJzgtDOJg3FCRcEQdnfGMkM6GKFgVcVjNS8VZggPYQ7bdl nJvpiSA0/03D2dbdZ9SxS3B2oybHE06UrtczgooRZ03PdSJe71rBcWjrdxQYSI2wi8cf vbqpMRRDVBqIBCn1tzl3ojtvvg6F/volWTuoBustORGwiMhiwHcaS7/ic5KHm6JqjEwQ 1Kir6tI+UlUR2tT/G2vaci5oZbVhZEqcheFIYT8T4dCe0SK0FSQqRmstUlKtV5otDIOG sQm+KWwB+hGj/glhxfZTgDrKEMFc9ZJZ58LKsnR30T5vZ2niYfbPOV8fFjyEb3OUlKje xypA== X-Gm-Message-State: AFqh2krfciSCSMNhHxDrlutABysEIgG/TtmUY9clpm1BIlQz75xL7LDY 10jsVAXNRj+dTH3Fim/iGcQ= X-Received: by 2002:a5d:5e85:0:b0:2b6:2eb3:82a1 with SMTP id ck5-20020a5d5e85000000b002b62eb382a1mr6224673wrb.67.1674138344975; Thu, 19 Jan 2023 06:25:44 -0800 (PST) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id e1-20020a5d65c1000000b002be15ee1377sm7953480wrw.22.2023.01.19.06.25.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 06:25:44 -0800 (PST) Date: Thu, 19 Jan 2023 17:25:41 +0300 From: Dan Carpenter To: Phil Elwell 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 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: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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, 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 regards, dan carpenter