Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6433500rwb; Wed, 18 Jan 2023 05:15:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXvhgxPmV36O2UfY843MjRRkKZEjgGoRqatkxLqiisKYgdVIY+CgIlPssoqL5lcuS9/7ZA9M X-Received: by 2002:a17:907:a4c6:b0:86f:1283:7b1d with SMTP id vq6-20020a170907a4c600b0086f12837b1dmr3289631ejc.71.1674047721336; Wed, 18 Jan 2023 05:15:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674047721; cv=none; d=google.com; s=arc-20160816; b=PSOjg5CWjZNJ+H5i+pBNQG5hLnhTm3WrdaWmcDv/tM6zFgq8F+bqpcT2THc1OxX9C7 gF4fA/PfWq+C+5s3DTtoBwb6+Jkc+xUhm1kklnt+u4fppVN3I3CzzOkKRIU1zZjrMTGg NpMeye8sfYC7B5f2hkyS9TUX1DthLElZORuNnR8fiXbHrVGucFgwg5S2pvhUOqhp1zdK Olqam3bEhZY9W0htHd43pKYWpQL7IcJoAzWoFD9TQomKMj6AqgibKo8Ppmf4e3pvxAg4 KuWEzqJPxpOg6xIKSp1IsKSW6CdTD6AeOpZk/6sZR7SrtgqEk++FP5IhwZNXIfNvcEs/ XLSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kzMIpMI79UF0+OpcHUH6+6IlBed9I+CF2lh/cnzzvOw=; b=uyiB0pz/A+D61jzcFuCvChnZWQjG65YMhP5xh9CwfQDj+umuZeyHtdYRu5N4r198PG UWinb5Zfdjm6mclUULbFr0k2CzdOaO3ZBvJvpFQH2P7kA+5A8t6z7OgJs8Sji3K4ur2B VvZjtfc+rC8WqPXYV/Ne3U3ejmUPqDK0p+40LKbWdS5Ha0nrGbBxaTHE8sH8yWNXDYth kMgVPm5zX3pVe9hpZG9G1P6B+YxTCcgIGLyOCr031PSL3KRbOo9PFYvSuM867ewiyt8S V1jhaMcAe4S23FxESsLRq03q1I1+jaHS9i3lAVU2zMoosI7lPle8FVhP7bBxeYKWWlGe SZ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=mr0XK0dJ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020aa7ca49000000b0047b5ecde3d7si10083396edt.257.2023.01.18.05.15.10; Wed, 18 Jan 2023 05:15:21 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=mr0XK0dJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbjARMfW (ORCPT + 45 others); Wed, 18 Jan 2023 07:35:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230495AbjARMe7 (ORCPT ); Wed, 18 Jan 2023 07:34:59 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2FCE298F1; Wed, 18 Jan 2023 03:58:22 -0800 (PST) Received: from umang.jainideasonboard.com (unknown [103.86.18.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 408671643; Wed, 18 Jan 2023 12:58:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1674043099; bh=4ZkEehY0EKcMSSK/FWZM4yQ45U26CQ/uPHxtUY8/+Kw=; h=From:To:Cc:Subject:Date:From; b=mr0XK0dJNxcu3fFvP7C+BBGG9i618Wp2a6bHZ4j0KZhNxdYBGNuju4tgCE/dVaS5x vPradXpHtzLbV0a8YcUOCmv/JXCNWzYeUqGHYLkRfxp+CZoi9WUk3T7oNYeY+3lL// Zyx45aew3KRMeYAPPkqHCT1swWhfj2xxzQgXBMJw= From: Umang Jain To: 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 Cc: Stefan Wahren , Greg Kroah-Hartman , Florian Fainelli , Adrien Thierry , Dan Carpenter , Dave Stevenson , Kieran Bingham , Laurent Pinchart , Umang Jain Subject: [RFC PATCH 0/4] Drop custom logging Date: Wed, 18 Jan 2023 17:28:06 +0530 Message-Id: <20230118115810.21979-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Drop custom logging from the vchiq interface. Mostly of them are replaced with dev_dbg and friends and/or pr_info and friends. 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) From drivers/staging/vc04_services/interface/TODO: """ * Cleanup logging mechanism The driver should probably be using the standard kernel logging mechanisms such as dev_info, dev_dbg, and friends. """ Umang Jain (4): staging: vc04_services: vchiq_core: Drop custom logging staging: vc04_services: vchiq_arm: Drop custom logging staging: vc04_services: Drop custom logging staging: vc04_services: Drop remnants of custom logging .../interface/vchiq_arm/vchiq_arm.c | 151 +++--- .../interface/vchiq_arm/vchiq_connected.c | 5 +- .../interface/vchiq_arm/vchiq_core.c | 479 ++++++++---------- .../interface/vchiq_arm/vchiq_core.h | 39 -- .../interface/vchiq_arm/vchiq_debugfs.c | 26 +- .../interface/vchiq_arm/vchiq_dev.c | 78 ++- 6 files changed, 329 insertions(+), 449 deletions(-) -- 2.39.0