Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4689076iog; Wed, 22 Jun 2022 04:02:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vLCezORpTt7oLPzKXZgRGoy+tMs0ZSSYPPiWxpA0cVzJGuN72Hh7mpj3ifrupzV49XF3yf X-Received: by 2002:a17:90b:4f4e:b0:1ec:a71c:4148 with SMTP id pj14-20020a17090b4f4e00b001eca71c4148mr3142485pjb.124.1655895760567; Wed, 22 Jun 2022 04:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655895760; cv=none; d=google.com; s=arc-20160816; b=GuVbRTaFXzqi+ApEgJd4uXizLM4fR7adq3GfvRp7Gpn3d9O+k55Z/qEdH6LnSvrD+Y Xu4/+WYeoodGQByOO1TN0ONPAM+fq3EaP2nZWj/qMSmaTdu+YJ+DMQBXLWqK/G8QT6wJ 89ahTPn1ZksJCLX982ab5uLiGekmZv3aDsC6ZmbIek4g9Mwnac4pi+AeGYrtOqNQEu+B yzL8MuFcybPrIAPqyz/60HYF+lcsS2dEECUIKoYoc9rtF3usIDaBuiKzJnrlWbPZu1Vp 8JCqZbS9GsdHKfZHHz9i2TDM0pDF1NiwJszSml/13BPr8XbOCHO3X/fWvMuyv0DeGj1o VmyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=8tf7ytz6L12CmzoU+phinUU54acLp4bZbtVDVTXqjz8=; b=IfUAJU0VdcKA+RPtUkpxfcUUylKRL5kAf2vhSc8UUzzZBmzqZ7eVtChYTjaSEmMMfm wMG1ZPAY10RC2fNp8Em70gt01x8ttJhwZ+DH/YEE7+fNsc2G1D3lSMNZx8CTn2nmVc1C 1xVM3jclkfexyorwaIQNDCVwFWK0/APNBCvvtRYSUs5kjPXO7LaUu42QtuGq7JtVY7e7 9+/Vx4MmszSpiPe/cJZqGthqTCzobL/U1bld0Bm/u9m2FWG6W/QK1+l3weP1pHujTW0+ eGPx3n+SqI+fqu+UgXwoYPtlOS901vbizcwJ8/Y68pKAkcTxbD56A9sjyFRokufQs+Mp gJaQ== ARC-Authentication-Results: i=1; mx.google.com; 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 u23-20020a17090abb1700b001e4dad046dcsi23880090pjr.179.2022.06.22.04.02.27; Wed, 22 Jun 2022 04:02:40 -0700 (PDT) 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; 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 S1354423AbiFVKeT (ORCPT + 99 others); Wed, 22 Jun 2022 06:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234868AbiFVKeS (ORCPT ); Wed, 22 Jun 2022 06:34:18 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C0DF338B7; Wed, 22 Jun 2022 03:34:16 -0700 (PDT) Received: from [141.14.220.45] (g45.guest.molgen.mpg.de [141.14.220.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id AF7B461EA1928; Wed, 22 Jun 2022 12:34:13 +0200 (CEST) Message-ID: Date: Wed, 22 Jun 2022 12:34:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 1/2] spi: aspeed: Add pr_debug in aspeed_spi_dirmap_create() Content-Language: en-US To: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Cc: linux-spi@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Andrew Jeffery , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Chin-Ting Kuo , Mark Brown , Joel Stanley , Pratyush Yadav , linux-arm-kernel@lists.infradead.org References: <20220622094233.3681843-1-clg@kaod.org> <20220622094233.3681843-2-clg@kaod.org> From: Paul Menzel In-Reply-To: <20220622094233.3681843-2-clg@kaod.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Dear Cédric, Am 22.06.22 um 11:42 schrieb Cédric Le Goater: > It helps to analyze the default setting of the control register. Maybe paste the new log line to the commit message. > Signed-off-by: Cédric Le Goater > --- > drivers/spi/spi-aspeed-smc.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/spi/spi-aspeed-smc.c b/drivers/spi/spi-aspeed-smc.c > index 496f3e1e9079..ac64be289e59 100644 > --- a/drivers/spi/spi-aspeed-smc.c > +++ b/drivers/spi/spi-aspeed-smc.c > @@ -558,6 +558,14 @@ static int aspeed_spi_dirmap_create(struct spi_mem_dirmap_desc *desc) > u32 ctl_val; > int ret = 0; > > + dev_dbg(aspi->dev, The commit message summary says `pr_debug()`. > + "CE%d %s dirmap [ 0x%.8llx - 0x%.8llx ] OP %#x mode:%d.%d.%d.%d naddr:%#x ndummies:%#x\n", > + chip->cs, op->data.dir == SPI_MEM_DATA_IN ? "read" : "write", > + desc->info.offset, desc->info.offset + desc->info.length, > + op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, > + op->dummy.buswidth, op->data.buswidth, > + op->addr.nbytes, op->dummy.nbytes); > + > chip->clk_freq = desc->mem->spi->max_speed_hz; > > /* Only for reads */ Reviewed-by: Paul Menzel Kind regards, Paul