Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2347668rwl; Sun, 26 Mar 2023 21:34:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZHHVvvEifY28gS3VD1e2H+8lv5yHRis5+UWsN84x8sdA+dyt2MjNKYjNK0gDD78neyhnZs X-Received: by 2002:aa7:981c:0:b0:625:e3c0:8a58 with SMTP id e28-20020aa7981c000000b00625e3c08a58mr10876175pfl.4.1679891694466; Sun, 26 Mar 2023 21:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679891694; cv=none; d=google.com; s=arc-20160816; b=xKx/Gc/pP3tr3bhM0EEqv8lnR2r35HQoLUqbg7D4qyThCXbm/F3yJXZAseExx24Kfv B/AgD1jBr8DkAALHR9J88Rj3ORmH+Fc2VfFoQwgCMBRupuV5mplDr+03CTn/8XbhjlQE T7wgpEYp3/igUB1K9OfZFjb+TMKt6oNCOlA80J4niygbNMqFgQXdI7YrKEsGrT3cAHy+ W6o59FwuMyKONC8x2NWAhnRh1FZ8TBC/d913ngGt131BqnFVKaks5/cn1sODaUthz5nQ VFJv2VyPsFUcSTTtOgbfE0kGbfT/Z5L1P3vUBnzCzrRd6RlcDRApqspGRc5FPFR4Uf/1 OhCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=44uUxFYwsArqBtqy4mYcm+gQ9NS3Dy6uSJ7usODITCI=; b=izJV+IHPjq3neZXJSJ838WQOyxU/26u6Ha0zhOU3g5WZza5PdqS93uCVsQw4eQ09+y Nf/bZfuL9BMYGsRM6jGQ+vtpficoObzNLTkgt+OrjuJ1i+4+iLruZOog8KWSc/N5JX21 /+1HbtSqWbTQrECDfpc/M1kvLAiWTlIGva6MgWkouitR8ak5Lj5GCbuKMHkMaEK6glaV bQF74kvKjAohAxI/Ixu+IO80qMBnN8zyzJe68k6IIpAuHAzqvIRXRdRd6LuKgDJ0s4jh DvwNn7vjoXv0cDQBQvKTRcYJGhr+t87jM8o7W/7P0sxzEU4sIij638rG9kVkVICqlUOG HY0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=StUxz0jV; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020aa794b5000000b006262531b3e2si24834858pfl.361.2023.03.26.21.34.42; Sun, 26 Mar 2023 21:34:54 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=StUxz0jV; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbjC0EDf (ORCPT + 99 others); Mon, 27 Mar 2023 00:03:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231203AbjC0EDd (ORCPT ); Mon, 27 Mar 2023 00:03:33 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECE4E44B1 for ; Sun, 26 Mar 2023 21:03:31 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id r187so8806032ybr.6 for ; Sun, 26 Mar 2023 21:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679889811; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=44uUxFYwsArqBtqy4mYcm+gQ9NS3Dy6uSJ7usODITCI=; b=StUxz0jVABbeM1hEm5fyHaEzT/KlPApejjTT9AtYMc9PamUXeMAV1pb0DxvI1ttzlE r6yQuNylLjQl2LfQJ7CA3UA3yk1S8KwE5LMGwiTjGo9JZSlcyCYrKz+fuGEJ1zziVPUq 5fa3FG+Y+XIYBzzwX1sipVVkUZQnqwstXt0PPSzqK1L82tc5P1RDQErHhxEKLWgN6mxP aRdHYzhBgb+emVwUGD4d/CL+dgHYY1AYpZa5mQwmS7WBn5vYJ0/+ixg8HOzZIk5LAUK4 3bRnsJrnFyM3O8LJbTfswUr+21f2WJ7VZoZgguPO33667hXQsQmNScsi6qjUwT+41Z6l A+qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679889811; h=content-transfer-encoding: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=44uUxFYwsArqBtqy4mYcm+gQ9NS3Dy6uSJ7usODITCI=; b=MyGGB4NZJCD5J7Q4hXqF5H5YzmkjyYyeOVDBd8/u737K5LO+7O+gUoVq5J+fzADkNs pl/2HFsWnbYH1riqvm/3IZecmFpRKutK9ZOf0EYrVhJgt2ZO6E4fJwgPK8dzBs6bTz5X mMQNyMfoqrNqVuLGo6HgKvMG2Fd2Sfk4n7ostTThJvwUVI6ckwRa6uP02X2YOhfqJnii tOQihT06zr8U3nkq2v1OR2V9qiDAsMAbXpATMKCgod1se/qUcMbCwF52tVdPs6DvvFnE 7dFelWDs1T0+AqxaRQZnTbwjgGopLHKwVjN0sr2rjPR2/sEmQ0B51Vk+4jaGTeUh06ET p98A== X-Gm-Message-State: AAQBX9eUcBLZ1rhAB6am9XcPSP8487+6hotxtoMHF4TJG4Dvof/JdGtv vAqf5r+jXteYsDqIuom96OeBsFWOshkaapinZnSwmg== X-Received: by 2002:a05:6902:168d:b0:b7b:f02a:919d with SMTP id bx13-20020a056902168d00b00b7bf02a919dmr202956ybb.8.1679889811008; Sun, 26 Mar 2023 21:03:31 -0700 (PDT) MIME-Version: 1.0 References: <20230326173511.710749-3-joychakr@google.com> <202303270715.w9sMJhIh-lkp@intel.com> In-Reply-To: <202303270715.w9sMJhIh-lkp@intel.com> From: Joy Chakraborty Date: Mon, 27 Mar 2023 09:33:19 +0530 Message-ID: Subject: Re: [PATCH v3 2/2] spi: dw: Add dma controller capability checks To: kernel test robot Cc: Serge Semin , Mark Brown , oe-kbuild-all@lists.linux.dev, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, manugautam@google.com, rohitner@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-15.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=unavailable 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 Hi Serge(y) On Mon, Mar 27, 2023 at 4:59=E2=80=AFAM kernel test robot w= rote: > > Hi Joy, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on broonie-spi/for-next] > [also build test WARNING on linus/master v6.3-rc4 next-20230324] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Joy-Chakraborty/sp= i-dw-Add-32-bpw-support-to-DW-DMA-Controller/20230327-013645 > base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git f= or-next > patch link: https://lore.kernel.org/r/20230326173511.710749-3-joychakr= %40google.com > patch subject: [PATCH v3 2/2] spi: dw: Add dma controller capability chec= ks > config: arc-randconfig-s041-20230326 (https://download.01.org/0day-ci/arc= hive/20230327/202303270715.w9sMJhIh-lkp@intel.com/config) > compiler: arceb-elf-gcc (GCC) 12.1.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # apt-get install sparse > # sparse version: v0.6.4-39-gce1a6720-dirty > # https://github.com/intel-lab-lkp/linux/commit/9962c1acd23cb0766= a09948c1bee4f29950b8a96 > git remote add linux-review https://github.com/intel-lab-lkp/linu= x > git fetch --no-tags linux-review Joy-Chakraborty/spi-dw-Add-32-bp= w-support-to-DW-DMA-Controller/20230327-013645 > git checkout 9962c1acd23cb0766a09948c1bee4f29950b8a96 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cro= ss C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3Dbuild_dir ARCH= =3Darc olddefconfig > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cro= ss C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3Dbuild_dir ARCH= =3Darc SHELL=3D/bin/bash drivers/spi/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/oe-kbuild-all/202303270715.w9sMJhIh-lkp@i= ntel.com/ > > sparse warnings: (new ones prefixed by >>) > >> drivers/spi/spi-dw-dma.c:241:56: sparse: sparse: marked inline, but wi= thout a definition > > vim +241 drivers/spi/spi-dw-dma.c Indeed I have marked it inline in the function prototype. Removing the same and sending a V4 patch. > > f89a6d8f43ebe9 drivers/spi/spi-dw-mid.c Andy Shevchenko 2015-03-09 240 > 57784411728ff4 drivers/spi/spi-dw-dma.c Serge Semin 2020-05-29 @241 = static enum dma_slave_buswidth dw_spi_dma_convert_width(u8 n_bytes) > 57784411728ff4 drivers/spi/spi-dw-dma.c Serge Semin 2020-05-29 242 = { > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 243 = switch (n_bytes) { > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 244 = case 1: > e31abce778bc05 drivers/spi/spi-dw-mid.c Andy Shevchenko 2015-03-09 245 = return DMA_SLAVE_BUSWIDTH_1_BYTE; > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 246 = case 2: > e31abce778bc05 drivers/spi/spi-dw-mid.c Andy Shevchenko 2015-03-09 247 = return DMA_SLAVE_BUSWIDTH_2_BYTES; > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 248 = case 3: > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 249 = case 4: > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 250 = return DMA_SLAVE_BUSWIDTH_4_BYTES; > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 251 = default: > e31abce778bc05 drivers/spi/spi-dw-mid.c Andy Shevchenko 2015-03-09 252 = return DMA_SLAVE_BUSWIDTH_UNDEFINED; > e31abce778bc05 drivers/spi/spi-dw-mid.c Andy Shevchenko 2015-03-09 253 = } > 80de96dae70648 drivers/spi/spi-dw-dma.c Joy Chakraborty 2023-03-26 254 = } > e31abce778bc05 drivers/spi/spi-dw-mid.c Andy Shevchenko 2015-03-09 255 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests Thanks Joy