From: kernel test robot <lkp@intel.com>
To: Muneendra <muneendra.kumar@broadcom.com>,
linux-block@vger.kernel.org, linux-scsi@vger.kernel.org,
tj@kernel.org, linux-nvme@lists.infradead.org, hare@suse.de
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
jsmart2021@gmail.com, emilne@redhat.com, mkumar@redhat.com,
pbonzini@redhat.com,
Gaurav Srivastava <gaurav.srivastava@broadcom.com>
Subject: Re: [PATCH v5 08/16] lpfc: vmid: Add support for vmid in mailbox command, does vmid resource allocation and vmid cleanup
Date: Sat, 19 Dec 2020 23:58:49 +0800 [thread overview]
Message-ID: <202012192315.7IqaodLz-lkp@intel.com> (raw)
In-Reply-To: <1608096586-21656-9-git-send-email-muneendra.kumar@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 4062 bytes --]
Hi Muneendra,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next next-20201218]
[cannot apply to cgroup/for-next v5.10]
[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]
url: https://github.com/0day-ci/linux/commits/Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: powerpc64-randconfig-r023-20201217 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/0day-ci/linux/commit/03480ee8b62a90ab2917fccf45d0e56185c1f8a5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
git checkout 03480ee8b62a90ab2917fccf45d0e56185c1f8a5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/scsi/lpfc/lpfc_init.c:4288:1: warning: no previous prototype for function 'lpfc_vmid_res_alloc' [-Wmissing-prototypes]
lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
^
drivers/scsi/lpfc/lpfc_init.c:4287:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u8
^
static
1 warning generated.
vim +/lpfc_vmid_res_alloc +4288 drivers/scsi/lpfc/lpfc_init.c
4275
4276 /**
4277 * lpfc_vmid_res_alloc - Allocates resources for VMID
4278 * @phba: pointer to lpfc hba data structure.
4279 * @vport: pointer to vport data structure
4280 *
4281 * This routine allocated the resources needed for the vmid.
4282 *
4283 * Return codes
4284 * 0 on Succeess
4285 * Non-0 on Failure
4286 */
4287 u8
> 4288 lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
4289 {
4290 u16 i;
4291
4292 /* vmid feature is supported only on SLI4 */
4293 if (phba->sli_rev == LPFC_SLI_REV3) {
4294 phba->cfg_vmid_app_header = 0;
4295 phba->cfg_vmid_priority_tagging = 0;
4296 }
4297
4298 /* if enabled, then allocated the resources */
4299 if (lpfc_is_vmid_enabled(phba)) {
4300 vport->vmid =
4301 kmalloc_array(phba->cfg_max_vmid, sizeof(struct lpfc_vmid),
4302 GFP_KERNEL);
4303 if (!vport->vmid)
4304 return FAILURE;
4305
4306 memset(vport->vmid, 0,
4307 phba->cfg_max_vmid * sizeof(struct lpfc_vmid));
4308
4309 rwlock_init(&vport->vmid_lock);
4310
4311 /* setting the VMID parameters for the vport */
4312 vport->vmid_priority_tagging = phba->cfg_vmid_priority_tagging;
4313 vport->vmid_inactivity_timeout =
4314 phba->cfg_vmid_inactivity_timeout;
4315 vport->max_vmid = phba->cfg_max_vmid;
4316 vport->cur_vmid_cnt = 0;
4317
4318 for (i = 0; i < LPFC_VMID_HASH_SIZE; i++)
4319 vport->hash_table[i] = NULL;
4320
4321 vport->vmid_priority_range = bitmap_zalloc
4322 (LPFC_VMID_MAX_PRIORITY_RANGE, GFP_KERNEL);
4323
4324 if (!vport->vmid_priority_range) {
4325 kfree(vport->vmid);
4326 return FAILURE;
4327 }
4328 }
4329 return 0;
4330 }
4331
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31312 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Muneendra <muneendra.kumar@broadcom.com>,
linux-block@vger.kernel.org, linux-scsi@vger.kernel.org,
tj@kernel.org, linux-nvme@lists.infradead.org, hare@suse.de
Cc: jsmart2021@gmail.com, kbuild-all@lists.01.org, mkumar@redhat.com,
Gaurav Srivastava <gaurav.srivastava@broadcom.com>,
emilne@redhat.com, clang-built-linux@googlegroups.com,
pbonzini@redhat.com
Subject: Re: [PATCH v5 08/16] lpfc: vmid: Add support for vmid in mailbox command, does vmid resource allocation and vmid cleanup
Date: Sat, 19 Dec 2020 23:58:49 +0800 [thread overview]
Message-ID: <202012192315.7IqaodLz-lkp@intel.com> (raw)
In-Reply-To: <1608096586-21656-9-git-send-email-muneendra.kumar@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 4062 bytes --]
Hi Muneendra,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next next-20201218]
[cannot apply to cgroup/for-next v5.10]
[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]
url: https://github.com/0day-ci/linux/commits/Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: powerpc64-randconfig-r023-20201217 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/0day-ci/linux/commit/03480ee8b62a90ab2917fccf45d0e56185c1f8a5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
git checkout 03480ee8b62a90ab2917fccf45d0e56185c1f8a5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/scsi/lpfc/lpfc_init.c:4288:1: warning: no previous prototype for function 'lpfc_vmid_res_alloc' [-Wmissing-prototypes]
lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
^
drivers/scsi/lpfc/lpfc_init.c:4287:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u8
^
static
1 warning generated.
vim +/lpfc_vmid_res_alloc +4288 drivers/scsi/lpfc/lpfc_init.c
4275
4276 /**
4277 * lpfc_vmid_res_alloc - Allocates resources for VMID
4278 * @phba: pointer to lpfc hba data structure.
4279 * @vport: pointer to vport data structure
4280 *
4281 * This routine allocated the resources needed for the vmid.
4282 *
4283 * Return codes
4284 * 0 on Succeess
4285 * Non-0 on Failure
4286 */
4287 u8
> 4288 lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
4289 {
4290 u16 i;
4291
4292 /* vmid feature is supported only on SLI4 */
4293 if (phba->sli_rev == LPFC_SLI_REV3) {
4294 phba->cfg_vmid_app_header = 0;
4295 phba->cfg_vmid_priority_tagging = 0;
4296 }
4297
4298 /* if enabled, then allocated the resources */
4299 if (lpfc_is_vmid_enabled(phba)) {
4300 vport->vmid =
4301 kmalloc_array(phba->cfg_max_vmid, sizeof(struct lpfc_vmid),
4302 GFP_KERNEL);
4303 if (!vport->vmid)
4304 return FAILURE;
4305
4306 memset(vport->vmid, 0,
4307 phba->cfg_max_vmid * sizeof(struct lpfc_vmid));
4308
4309 rwlock_init(&vport->vmid_lock);
4310
4311 /* setting the VMID parameters for the vport */
4312 vport->vmid_priority_tagging = phba->cfg_vmid_priority_tagging;
4313 vport->vmid_inactivity_timeout =
4314 phba->cfg_vmid_inactivity_timeout;
4315 vport->max_vmid = phba->cfg_max_vmid;
4316 vport->cur_vmid_cnt = 0;
4317
4318 for (i = 0; i < LPFC_VMID_HASH_SIZE; i++)
4319 vport->hash_table[i] = NULL;
4320
4321 vport->vmid_priority_range = bitmap_zalloc
4322 (LPFC_VMID_MAX_PRIORITY_RANGE, GFP_KERNEL);
4323
4324 if (!vport->vmid_priority_range) {
4325 kfree(vport->vmid);
4326 return FAILURE;
4327 }
4328 }
4329 return 0;
4330 }
4331
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31312 bytes --]
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v5 08/16] lpfc: vmid: Add support for vmid in mailbox command, does vmid resource allocation and vmid cleanup
Date: Sat, 19 Dec 2020 23:58:49 +0800 [thread overview]
Message-ID: <202012192315.7IqaodLz-lkp@intel.com> (raw)
In-Reply-To: <1608096586-21656-9-git-send-email-muneendra.kumar@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 4169 bytes --]
Hi Muneendra,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next next-20201218]
[cannot apply to cgroup/for-next v5.10]
[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]
url: https://github.com/0day-ci/linux/commits/Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: powerpc64-randconfig-r023-20201217 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/0day-ci/linux/commit/03480ee8b62a90ab2917fccf45d0e56185c1f8a5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
git checkout 03480ee8b62a90ab2917fccf45d0e56185c1f8a5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/scsi/lpfc/lpfc_init.c:4288:1: warning: no previous prototype for function 'lpfc_vmid_res_alloc' [-Wmissing-prototypes]
lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
^
drivers/scsi/lpfc/lpfc_init.c:4287:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u8
^
static
1 warning generated.
vim +/lpfc_vmid_res_alloc +4288 drivers/scsi/lpfc/lpfc_init.c
4275
4276 /**
4277 * lpfc_vmid_res_alloc - Allocates resources for VMID
4278 * @phba: pointer to lpfc hba data structure.
4279 * @vport: pointer to vport data structure
4280 *
4281 * This routine allocated the resources needed for the vmid.
4282 *
4283 * Return codes
4284 * 0 on Succeess
4285 * Non-0 on Failure
4286 */
4287 u8
> 4288 lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
4289 {
4290 u16 i;
4291
4292 /* vmid feature is supported only on SLI4 */
4293 if (phba->sli_rev == LPFC_SLI_REV3) {
4294 phba->cfg_vmid_app_header = 0;
4295 phba->cfg_vmid_priority_tagging = 0;
4296 }
4297
4298 /* if enabled, then allocated the resources */
4299 if (lpfc_is_vmid_enabled(phba)) {
4300 vport->vmid =
4301 kmalloc_array(phba->cfg_max_vmid, sizeof(struct lpfc_vmid),
4302 GFP_KERNEL);
4303 if (!vport->vmid)
4304 return FAILURE;
4305
4306 memset(vport->vmid, 0,
4307 phba->cfg_max_vmid * sizeof(struct lpfc_vmid));
4308
4309 rwlock_init(&vport->vmid_lock);
4310
4311 /* setting the VMID parameters for the vport */
4312 vport->vmid_priority_tagging = phba->cfg_vmid_priority_tagging;
4313 vport->vmid_inactivity_timeout =
4314 phba->cfg_vmid_inactivity_timeout;
4315 vport->max_vmid = phba->cfg_max_vmid;
4316 vport->cur_vmid_cnt = 0;
4317
4318 for (i = 0; i < LPFC_VMID_HASH_SIZE; i++)
4319 vport->hash_table[i] = NULL;
4320
4321 vport->vmid_priority_range = bitmap_zalloc
4322 (LPFC_VMID_MAX_PRIORITY_RANGE, GFP_KERNEL);
4323
4324 if (!vport->vmid_priority_range) {
4325 kfree(vport->vmid);
4326 return FAILURE;
4327 }
4328 }
4329 return 0;
4330 }
4331
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31312 bytes --]
next prev parent reply other threads:[~2020-12-19 16:00 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 5:29 [PATCH v5 00/16] blkcg:Support to track FC storage blk io traffic Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 01/16] cgroup: Added cgroup_get_from_id Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 02/16] blkcg: Added a app identifier support for blkcg Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-19 17:12 ` Randy Dunlap
2020-12-19 17:12 ` Randy Dunlap
2020-12-22 6:02 ` Muneendra Kumar M
2020-12-22 6:02 ` Muneendra Kumar M
2020-12-16 5:29 ` [PATCH v5 03/16] nvme: Added a newsysfs attribute appid_store Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 04/16] lpfc: vmid: Add the datastructure for supporting VMID in lpfc Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 05/16] lpfc: vmid: Supplementary data structures for vmid and APIs Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 06/16] lpfc: vmid: Forward declarations for APIs Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 07/16] lpfc: vmid: VMID params initialization Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 08/16] lpfc: vmid: Add support for vmid in mailbox command, does vmid resource allocation and vmid cleanup Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 15:13 ` kernel test robot
2020-12-16 15:13 ` kernel test robot
2020-12-16 15:13 ` kernel test robot
2020-12-19 15:58 ` kernel test robot [this message]
2020-12-19 15:58 ` kernel test robot
2020-12-19 15:58 ` kernel test robot
2020-12-16 5:29 ` [PATCH v5 09/16] lpfc: vmid: Implements ELS commands for appid patch Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 15:47 ` kernel test robot
2020-12-16 15:47 ` kernel test robot
2020-12-16 15:47 ` kernel test robot
2020-12-19 18:04 ` kernel test robot
2020-12-19 18:04 ` kernel test robot
2020-12-19 18:04 ` kernel test robot
2020-12-16 5:29 ` [PATCH v5 10/16] lpfc: vmid: Functions to manage vmids Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 16:23 ` kernel test robot
2020-12-16 16:23 ` kernel test robot
2020-12-16 16:23 ` kernel test robot
2020-12-19 20:20 ` kernel test robot
2020-12-19 20:20 ` kernel test robot
2020-12-19 20:20 ` kernel test robot
2020-12-16 5:29 ` [PATCH v5 11/16] lpfc: vmid: Implements CT commands for appid Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 16:57 ` kernel test robot
2020-12-16 16:57 ` kernel test robot
2020-12-16 16:57 ` kernel test robot
2020-12-19 23:27 ` kernel test robot
2020-12-19 23:27 ` kernel test robot
2020-12-19 23:27 ` kernel test robot
2020-12-16 5:29 ` [PATCH v5 12/16] lpfc: vmid: Appends the vmid in the wqe before sending Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 13/16] lpfc: vmid: Timeout implementation for vmid Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 17:51 ` kernel test robot
2020-12-16 17:51 ` kernel test robot
2020-12-16 17:51 ` kernel test robot
2020-12-16 5:29 ` [PATCH v5 14/16] lpfc: vmid: Adding qfpa and vmid timeout check in worker thread Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 18:31 ` kernel test robot
2020-12-16 18:31 ` kernel test robot
2020-12-16 18:31 ` kernel test robot
2020-12-16 5:29 ` [PATCH v5 15/16] lpfc: vmid: Introducing vmid in io path Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-16 5:29 ` [PATCH v5 16/16] scsi: Made changes in Kconfig to select BLK_CGROUP_FC_APPID Muneendra
2020-12-16 5:29 ` Muneendra
2020-12-19 17:15 ` Randy Dunlap
2020-12-19 17:15 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202012192315.7IqaodLz-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=emilne@redhat.com \
--cc=gaurav.srivastava@broadcom.com \
--cc=hare@suse.de \
--cc=jsmart2021@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mkumar@redhat.com \
--cc=muneendra.kumar@broadcom.com \
--cc=pbonzini@redhat.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.