From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00F02C83F16 for ; Tue, 29 Aug 2023 19:03:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238506AbjH2TDU (ORCPT ); Tue, 29 Aug 2023 15:03:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238897AbjH2TCu (ORCPT ); Tue, 29 Aug 2023 15:02:50 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F5B6CC9 for ; Tue, 29 Aug 2023 12:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693335764; x=1724871764; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZssVyiuPrzV8HRbNj+dFM/GZZcr2HnyGAqBT1eeT8yU=; b=eoaylrD/QTWNyRxN4VKWoaiNkAYlPRr8wvsSqkj/k8GpeuWne5cYxmn2 Z8DSwXV9PmV9sxjQKnATXZXJdfdc8dTwBlHmgiHj+DahcQcm63OFUGu2g baSKyQf32Sfg5eF/PCpR7106JN+hdbAlmDFwG2Q5JKL5eYSiulrFOZxBw WfWjCu8aIgQZrcTTFRbtLXMwbInULs2ha3WjU5EqXXkAfL9ABnqDdqy39 y5+UeLH6GVkOr0EFmKA3eoAODSj3eKdl4AdpwHfnKtdokruIjebOVTD87 qTV0ybTDY4fHZ6NWiRVTbh+HcsBQ2J3D9dH1S05XhMJK/py1JbbS959CB A==; X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="406452258" X-IronPort-AV: E=Sophos;i="6.02,211,1688454000"; d="scan'208";a="406452258" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2023 12:02:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="808809395" X-IronPort-AV: E=Sophos;i="6.02,211,1688454000"; d="scan'208";a="808809395" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 29 Aug 2023 12:02:41 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qb3z6-00090T-2L; Tue, 29 Aug 2023 19:02:40 +0000 Date: Wed, 30 Aug 2023 03:02:24 +0800 From: kernel test robot To: Dragos Tatulea , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Parav Pandit Cc: oe-kbuild-all@lists.linux.dev, Dragos Tatulea , Saeed Mahameed , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vdpa/mlx5: Fix firmware error on creation of 1k VQs Message-ID: <202308300241.q7t7Ouf3-lkp@intel.com> References: <20230829174219.928343-1-dtatulea@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230829174219.928343-1-dtatulea@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dragos, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.5 next-20230829] [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/Dragos-Tatulea/vdpa-mlx5-Fix-firmware-error-on-creation-of-1k-VQs/20230830-014600 base: linus/master patch link: https://lore.kernel.org/r/20230829174219.928343-1-dtatulea%40nvidia.com patch subject: [PATCH] vdpa/mlx5: Fix firmware error on creation of 1k VQs config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230830/202308300241.q7t7Ouf3-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308300241.q7t7Ouf3-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308300241.q7t7Ouf3-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'read_umem_params': >> drivers/vdpa/mlx5/net/mlx5_vnet.c:658:1: warning: the frame size of 4128 bytes is larger than 2048 bytes [-Wframe-larger-than=] 658 | } | ^ vim +658 drivers/vdpa/mlx5/net/mlx5_vnet.c 627 628 static int read_umem_params(struct mlx5_vdpa_net *ndev) 629 { 630 u32 out[MLX5_ST_SZ_DW(query_hca_cap_out)] = {}; 631 u32 in[MLX5_ST_SZ_DW(query_hca_cap_in)] = {}; 632 u16 opmod = (MLX5_CAP_VDPA_EMULATION << 1) | (HCA_CAP_OPMOD_GET_CUR & 0x01); 633 struct mlx5_core_dev *mdev = ndev->mvdev.mdev; 634 void *caps; 635 int err; 636 637 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); 638 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); 639 err = mlx5_cmd_exec_inout(mdev, query_hca_cap, in, out); 640 if (err) { 641 mlx5_vdpa_warn(&ndev->mvdev, 642 "Failed reading vdpa umem capabilities with err %d\n", err); 643 return err; 644 } 645 646 caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); 647 648 ndev->umem_1_buffer_param_a = MLX5_GET(virtio_emulation_cap, caps, umem_1_buffer_param_a); 649 ndev->umem_1_buffer_param_b = MLX5_GET(virtio_emulation_cap, caps, umem_1_buffer_param_b); 650 651 ndev->umem_2_buffer_param_a = MLX5_GET(virtio_emulation_cap, caps, umem_2_buffer_param_a); 652 ndev->umem_2_buffer_param_b = MLX5_GET(virtio_emulation_cap, caps, umem_2_buffer_param_b); 653 654 ndev->umem_3_buffer_param_a = MLX5_GET(virtio_emulation_cap, caps, umem_3_buffer_param_a); 655 ndev->umem_3_buffer_param_b = MLX5_GET(virtio_emulation_cap, caps, umem_3_buffer_param_b); 656 657 return 0; > 658 } 659 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki