All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] pm80xx updates
@ 2021-03-24 17:03 Viswas G
  2021-03-24 17:03 ` [PATCH v2 1/7] pm80xx: Add sysfs attribute to check mpi state Viswas G
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Viswas G @ 2021-03-24 17:03 UTC (permalink / raw)
  To: linux-scsi
  Cc: Vasanthalakshmi.Tharmarajan, Viswas.G, Ruksar.devadi, vishakhavc,
	radha, jinpu.wang, Ashokkumar N, John Garry

This patch set include some bug fixes and 
enhancementments for pm80xx driver.

Chnges from v2:
	- for sysfs attribute patches
		Used sysfs_emit instead of sprintf for sysfs attribute patches.
		Removed debug message for sysfs attribute patches.
	- For "Reset PI and CI memory during re-initialize" patch
		Improved commit message.


Ruksar Devadi (1):
  pm80xx: Completing pending IO after fatal error

Vishakha Channapattan (4):
  pm80xx: Add sysfs attribute to check mpi state
  pm80xx: Add sysfs attribute to track RAAE count
  pm80xx: Add sysfs attribute to track iop0 count
  pm80xx: Add sysfs attribute to track iop1 count

Viswas G (2):
  pm80xx: Reset PI and CI memory during re-initialize
  pm80xx: remove global lock from outbound queue processing

 drivers/scsi/pm8001/pm8001_ctl.c  | 107 +++++++++++++++++++++++++++++++++++++-
 drivers/scsi/pm8001/pm8001_hwi.c  |  68 +++++++++++++++++++++---
 drivers/scsi/pm8001/pm8001_hwi.h  |   1 +
 drivers/scsi/pm8001/pm8001_init.c |   9 ++--
 drivers/scsi/pm8001/pm8001_sas.c  |   2 +-
 drivers/scsi/pm8001/pm8001_sas.h  |   2 +
 drivers/scsi/pm8001/pm80xx_hwi.c  |   7 ++-
 drivers/scsi/pm8001/pm80xx_hwi.h  |   1 +
 8 files changed, 184 insertions(+), 13 deletions(-)

-- 
2.16.3


^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [PATCH v2 1/7] pm80xx: Add sysfs attribute to check mpi state
@ 2021-03-24 22:49 kernel test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kernel test robot @ 2021-03-24 22:49 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3237 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210324170357.9765-2-Viswas.G@microchip.com>
References: <20210324170357.9765-2-Viswas.G@microchip.com>
TO: Viswas G <Viswas.G@microchip.com>
TO: linux-scsi(a)vger.kernel.org
CC: Vasanthalakshmi.Tharmarajan(a)microchip.com
CC: Viswas.G(a)microchip.com
CC: Ruksar.devadi(a)microchip.com
CC: vishakhavc(a)google.com
CC: radha(a)google.com
CC: jinpu.wang(a)cloud.ionos.com
CC: Ashokkumar N <Ashokkumar.N@microchip.com>
CC: John Garry <john.garry@huawei.com>

Hi Viswas,

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 v5.12-rc4 next-20210324]
[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/Viswas-G/pm80xx-updates/20210325-005709
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
:::::: branch date: 6 hours ago
:::::: commit date: 6 hours ago
config: x86_64-randconfig-m001-20210323 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

New smatch warnings:
drivers/scsi/pm8001/pm8001_ctl.c:916 ctl_mpi_state_show() warn: mask and shift to zero

Old smatch warnings:
drivers/scsi/pm8001/pm8001_ctl.c:758 pm8001_update_flash() warn: inconsistent indenting

vim +916 drivers/scsi/pm8001/pm8001_ctl.c

47c563cdbc763e Vishakha Channapattan 2021-03-24  904  
47c563cdbc763e Vishakha Channapattan 2021-03-24  905  static ssize_t ctl_mpi_state_show(struct device *cdev,
47c563cdbc763e Vishakha Channapattan 2021-03-24  906  		struct device_attribute *attr, char *buf)
47c563cdbc763e Vishakha Channapattan 2021-03-24  907  {
47c563cdbc763e Vishakha Channapattan 2021-03-24  908  	struct Scsi_Host *shost = class_to_shost(cdev);
47c563cdbc763e Vishakha Channapattan 2021-03-24  909  	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
47c563cdbc763e Vishakha Channapattan 2021-03-24  910  	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
47c563cdbc763e Vishakha Channapattan 2021-03-24  911  	unsigned int mpidw0;
47c563cdbc763e Vishakha Channapattan 2021-03-24  912  	int c;
47c563cdbc763e Vishakha Channapattan 2021-03-24  913  
47c563cdbc763e Vishakha Channapattan 2021-03-24  914  	mpidw0 = pm8001_mr32(pm8001_ha->general_stat_tbl_addr, 0);
47c563cdbc763e Vishakha Channapattan 2021-03-24  915  	c = sysfs_emit(buf, "MPI-S=%s\t HMI_ERR=%x\n", mpiStateText[mpidw0 & 0x0003],
47c563cdbc763e Vishakha Channapattan 2021-03-24 @916  			((mpidw0 & 0xff00) >> 16));
47c563cdbc763e Vishakha Channapattan 2021-03-24  917  	return c;
47c563cdbc763e Vishakha Channapattan 2021-03-24  918  }
47c563cdbc763e Vishakha Channapattan 2021-03-24  919  static DEVICE_ATTR_RO(ctl_mpi_state);
47c563cdbc763e Vishakha Channapattan 2021-03-24  920  

---
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: 31712 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-03-25  7:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24 17:03 [PATCH v2 0/7] pm80xx updates Viswas G
2021-03-24 17:03 ` [PATCH v2 1/7] pm80xx: Add sysfs attribute to check mpi state Viswas G
2021-03-24 20:04   ` kernel test robot
2021-03-24 20:04     ` kernel test robot
2021-03-24 20:04   ` [RFC PATCH] pm80xx: mpiStateText[] can be static kernel test robot
2021-03-24 20:04     ` kernel test robot
2021-03-25  4:55   ` [PATCH v2 1/7] pm80xx: Add sysfs attribute to check mpi state Jinpu Wang
2021-03-25  7:10   ` [kbuild] " Dan Carpenter
2021-03-25  7:10     ` Dan Carpenter
2021-03-25  7:10     ` Dan Carpenter
2021-03-24 17:03 ` [PATCH v2 2/7] pm80xx: Add sysfs attribute to track RAAE count Viswas G
2021-03-25  4:49   ` Jinpu Wang
2021-03-24 17:03 ` [PATCH v2 3/7] pm80xx: Add sysfs attribute to track iop0 count Viswas G
2021-03-25  4:48   ` Jinpu Wang
2021-03-24 17:03 ` [PATCH v2 4/7] pm80xx: Add sysfs attribute to track iop1 count Viswas G
2021-03-25  4:49   ` Jinpu Wang
2021-03-24 17:03 ` [PATCH v2 5/7] pm80xx: Completing pending IO after fatal error Viswas G
2021-03-24 17:03 ` [PATCH v2 6/7] pm80xx: Reset PI and CI memory during re-initialize Viswas G
2021-03-24 17:03 ` [PATCH v2 7/7] pm80xx: remove global lock from outbound queue processing Viswas G
  -- strict thread matches above, loose matches on Subject: below --
2021-03-24 22:49 [PATCH v2 1/7] pm80xx: Add sysfs attribute to check mpi state kernel test robot

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.