Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10739216rwl; Thu, 12 Jan 2023 01:46:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXtWffC4UbQb83WEMWZhUsME90Ioj0uKdTJsJ/gpZ2+DuH0N0mHYgxB88hgp9bIWfjlN2rrZ X-Received: by 2002:a17:902:864a:b0:193:ab5:39c7 with SMTP id y10-20020a170902864a00b001930ab539c7mr22068396plt.11.1673516784783; Thu, 12 Jan 2023 01:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673516784; cv=none; d=google.com; s=arc-20160816; b=NMmToU9m5KrpvgC7LCGGhunVkrwpMRTqvQHTS33KVfTiEoGsEKlYdL49WwZMEkvl/7 zk02+zSVNKRyviUhFvZlF06qtaMXUtmiLCGysAuMQI05/3KWI0fFpM49i/keDGXXSGNn N6p3Bq+2TsWuH1Scf1iLaH9zDirgdntyb1XcfpCcUHse8mML+Ceel2PLMKnCFtyHk90U z86KdBsNh6LgJsjqwPhkMZ3aVrdckzvEP5JfQ8jz+Loo9FFHOS34Rd9rVne/wOqiH2tp +exlvAoPGwFhnk3wvvx2A6xzZYGsQXJZCy2inD6hNLoa89S9rMR+rc3aRdvED5X+CcHo FSsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=u3xy1qvnii51pZggJxrfi/q6F/H9unar2px41SxgIqg=; b=du15Buwh4ccTuvOZ6G3KyZbwPj0FFQ6pA8DcuJ/jST8uY10LaUWctqVgD5fCEeaDNt jQJJthuMaNuurizOLm/+mR6Xts4O5nVaLf998fUgk/vJeLPSG+/qRdZO2LppRssmPE1K WXL1ojT4PAr2AbfSeqopT+uD36uP7QWTilWEfW0heKAqzm5KGU6jNl5I9m+qRuAr6dGd z3WUd7oP8jc8tWC+UujIVI9u8/ws1wcdYYxTr4PnKVcCKk1mQPRzSpiLkUze1TTlzvRi Qo8fSQMZp2jzziT4noBcF6F8nwZkGdB9sUI8UKzPmsZllq2BqKDSbdKI7BW9FV8e562W Tmyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e6PtrDaT; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020a170902e55100b00192f5a8309bsi17787184plf.311.2023.01.12.01.46.18; Thu, 12 Jan 2023 01:46:24 -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=@kernel.org header.s=k20201202 header.b=e6PtrDaT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239971AbjALJYM (ORCPT + 52 others); Thu, 12 Jan 2023 04:24:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230430AbjALJXq (ORCPT ); Thu, 12 Jan 2023 04:23:46 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A1D58FAB; Thu, 12 Jan 2023 01:13:15 -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 5416EB81DE8; Thu, 12 Jan 2023 09:13:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6F4CC433F2; Thu, 12 Jan 2023 09:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673514793; bh=kEGTvDm5segAcaadzq0wJ5MfNW2R7JZZKdchDCKJD0E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=e6PtrDaTa+SrVnqR0EL9ZA1/+axqXM3X5ItynF6qLmzEgYLuMdC8iQZq9B6bun8AU aUGczTnlCC/jSO8DenY7D2DZKCoBFjA9IpO5d2jMeUarSi9mNDPOgaTcfxODkdP9dH 4T0FkjXaO8jJrFUVp6I/SttzFIxR2qdhRqJ4FsZEzuOr0K6ghtBAs1WnrR5YRPKm02 JE5A/6cVFCv7+2UqZ79O/EbVgpGq7XoZCU7gYoj3VdojGYXAkslFxryJ6PAoQjdfTz 8FJ5NMfi4yFPcsnkJ1OmGYcxpwU4/FeR93AcEJ8Nq3Wty9URzwBicsXNyrZiGMcqa5 j6KPiO3f+5zdg== From: Kalle Valo To: Jeffrey Hugo Cc: Baochen Qiang , manivannan.sadhasivam@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH] bus: mhi: host: Change the log levels for SYS_ERR event References: <20230104021445.47484-1-quic_bqiang@quicinc.com> Date: Thu, 12 Jan 2023 11:13:09 +0200 In-Reply-To: (Jeffrey Hugo's message of "Tue, 3 Jan 2023 19:41:44 -0700") Message-ID: <87fscgdska.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 Jeffrey Hugo writes: > Why was this not sent to the MHI mailing list? > > On Tue, Jan 3, 2023 at 7:19 PM Baochen Qiang wrote: >> >> Currently no log printed when SYS_ERR happens, this makes >> debug quite hard, so change log level to make it noisy. > > You are going to need to explain this more. > There are two drivers in the upstream kernel that are MHI clients - > pci_generic and ath11k. > I'm assuming that you care about ath11k because you included that mail list. > In ath11k_mhi_op_status_cb() I see a warning message printed when the > syserr callback is triggered. > I see something similar in pci_generic. > > Looks like a log is printed when SYS_ERR happens in all possible > scenarios, so I don't understand the point of this change. > Particularly given that dev_dbg messages can be trivially enabled. Also the error messages are not very informative, especially if there are three identical messages it's hard to track down which code path is triggering them. If these are changed to error messages, I would prefer to improve them as well. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches