Re: [PATCH] virtio_scsi: remove duplicate check if queue is broken

2024-01-23 Thread Martin K. Petersen
if queue is broken https://git.kernel.org/mkp/scsi/c/d6b75ba52189 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] virtio_scsi: remove duplicate check if queue is broken

2024-01-17 Thread Martin K. Petersen
> virtqueue_enable_cb() will call virtqueue_poll() which will check if > queue is broken at beginning, so remove the virtqueue_is_broken() call Applied to 6.8/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/2] qla2xxx: Fixes for the driver

2019-10-22 Thread Martin K. Petersen
Himanshu, > This series has couple bug fixes for the driver. > > First patch addresses initialization error with the newer adapter on a > blade systems. > > Second patch adds protection for accidental flash corruption using SysFS > path. Applied to 5.4/scsi-fixes,

Re: [PATCH 0/7] scsi: aacraid updates

2019-10-18 Thread Martin K. Petersen
d by this series. Please review and address those. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs-bsg: Wake the device before sending raw upiu commands

2019-10-18 Thread Martin K. Petersen
s-bsg driver might send various commands, disregarding the pm > status of the device. This is wrong, regardless if its request queue > is pm-aware or not. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi_dh_alua: Do not run STPG for implicit ALUA

2019-10-18 Thread Martin K. Petersen
unlock_irqrestore(&pg->lock, flags); Instead of checking for EXPLICIT one place and checking for !IMPLICIT another, can we consolidate the two and maybe do: if (pg->flags & ALUA_PG_RUN_STPG && scsi_device_tpgs(sdev) == TPGS_MODE_EXPLICIT) {

Re: [PATCH] qla2xxx: fixup incorrect usage of host_byte

2019-10-18 Thread Martin K. Petersen
Hannes, > DRIVER_ERROR is a a driver byte setting, not a host byte. The qla2xxx > driver should rather return DID_ERROR here to be in line with the > other drivers. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] lpfc: remove left-over BUILD_NVME defines

2019-10-18 Thread Martin K. Petersen
merged by Linus. You can then request a stable backport. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v5 00/13] scsi: core: fix uninit-value access of variable sshdr

2019-10-18 Thread Martin K. Petersen
58 Johannes: Whatever happened to your efforts at cleaning all this up? Do you have a patch series or a working tree we could use as starting point? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 1/2] sr: need to check whether sshdr is valid in sr_do_ioctl

2019-10-18 Thread Martin K. Petersen
zhengbin, > Like other callers of scsi_execute(send_trespass_cmd, hp_sw_tur...), > we need to check whether sshdr is valid. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 2/2] scsi: core: fix uninit-value access of variable sshdr

2019-10-18 Thread Martin K. Petersen
erybody is handling DRIVER_SENSE and scsi_sense_valid() correctly. Looks like we're generally OK, but please verify. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 1/2] sr: need to check whether sshdr is valid in sr_do_ioctl

2019-10-17 Thread Martin K. Petersen
then the sense is present. It really should check both driver_byte(result) == DRIVER_SENSE and scsi_sense_valid(sshdr) before poking at the sense data. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 2/2] scsi: core: fix uninit-value access of variable sshdr

2019-10-17 Thread Martin K. Petersen
zhengbin, > I modify these in a patch? or every .c a patch, use a patchset? A patchset consisting of one patch per file, please. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] lpfc: remove left-over BUILD_NVME defines

2019-10-17 Thread Martin K. Petersen
Hannes, > The BUILD_NVME define never got defined anywhere, causing NVMe > commands to be treated as SCSI commands when freeing the buffers. > This was causing a stuck discovery and a horrible crash in > lpfc_set_rrq_active() later on. Applied to 5.4/scsi-fixes, thanks! -- Martin

Re: [PATCH] scsi: core: try to get module before removing devcie

2019-10-17 Thread Martin K. Petersen
s! > Please consider to contribute the test case to the blktests project. Yes, please do! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] hpsa: add missing hunks in reset-patch

2019-10-17 Thread Martin K. Petersen
Don, > - correct returning from reset before outstanding > commands are completed for the device. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] ch: Make it again possible to open a ch device two or more times

2019-10-09 Thread Martin K. Petersen
Bart, > Clearing ch->device in ch_release() is wrong because that pointer must > remain valid until ch_remove() is called. This patch fixes the > following crash the second time a ch device is opened: Applied to 5.4/scsi-fixes, thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] megaraid_sas: unique names for MSIx vectors

2019-10-09 Thread Martin K. Petersen
n > Signed-off-by: Sumit Saxena > Signed-off-by: Chandrakanth Patil Next time, please make sure you put a "---" separator before the patch changelog. > v2: [...] Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/10] smartpqi updates

2019-10-09 Thread Martin K. Petersen
Don, > These patches are based on Linus's tree Applied to 5.5/scsi-queue. There was some fuzz but I think I figured it out. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi_dh_alua: handle RTPG sense code correctly during state transitions

2019-10-09 Thread Martin K. Petersen
27;t need to evaluate the RTPG > data (which we won't have anyway). Applied to 5.4/scsi-fixes, thanks you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: mpt3sas: Clean up some indenting

2019-10-09 Thread Martin K. Petersen
Dan, > This line is indented too far so it's a bit confusing. Applied to 5.5/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: lpfc: Make function lpfc_defer_pt2pt_acc static

2019-10-09 Thread Martin K. Petersen
zhengbin, > drivers/scsi/lpfc/lpfc_nportdisc.c:290:1: warning: symbol > 'lpfc_defer_pt2pt_acc' was not declared. Should it be static? Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 08/14] qla2xxx: Dual FCP-NVMe target port support

2019-10-09 Thread Martin K. Petersen
lied patches 8-14 to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] fixup "qla2xxx: Optimize NPIV tear down process"

2019-10-03 Thread Martin K. Petersen
I'm assuming that Himanshu and Quinn are working on another > series of fixes, in which case that should take precedence > over this patch. I just wanted to provide this so that the > already known problems are fixed in your tree. Himanshu: Please review. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] MAINTAINERS: Update qla2xxx driver

2019-10-03 Thread Martin K. Petersen
Himanshu, > Update maintainer's entries for qla2xxx driver now that email > addresses have been changed to Marvell. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] zfcp: fix reaction on bit error theshold notification with adapter close

2019-10-03 Thread Martin K. Petersen
n end user scenario > where I need a quick switch to let even shaky paths survive. Can't say I like it. But it's your driver. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH V3] scsi: save/restore command resid for error handling

2019-10-03 Thread Martin K. Petersen
Damien, > When a non-passthrough command is terminated with CHECK CONDITION, > request sense is executed by hijacking the command descriptor. [...] Applied to 5.4/scsi-fixes. Thanks for debugging this issue! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] zfcp: fix reaction on bit error theshold notification with adapter close

2019-10-01 Thread Martin K. Petersen
it of allowing things to continue? Are you hoping things will eventually recover in a single-path scenario? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi_debug: randomize command duration option + %p

2019-09-30 Thread Martin K. Petersen
t removing the line. Or--if people feel the size is valuable information--just zap the pointer. Also, since this is unrelated to the duration randomization it should be a separate patch. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] zfcp: fix reaction on bit error theshold notification with adapter close

2019-09-30 Thread Martin K. Petersen
n. It makes no mention of the actual kernel changes and the introduced module parameter. > +static bool ber_stop = true; > +module_param(ber_stop, bool, 0600); > +MODULE_PARM_DESC(ber_stop, > + "Shuts down FCP devices for FCP channels that report a > bit-error count in excess of its threshold (default on)"); > + -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] megaraid_sas: unique names for MSIx vectors

2019-09-30 Thread Martin K. Petersen
MEGASAS_MSIX_NAME_LEN is too small given that naming scheme? Also, please use %u. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ignore a failure to synchronize cache due to lack of authorization

2019-09-30 Thread Martin K. Petersen
when the > system is asked to perform a suspend of the drive, it will be sent a > SYNCHRONIZE CACHE. If that fails due to password protection, the error > must be ignored. --- drivers/scsi/sd.c | 3 ++- 1 file changed, 2 > insertions(+), 1 deletion(-) Applied to 5.4/scsi-fixes, th

Re: [PATCH v2] scsi: Add sysfs attributes for VPD pages 0h and 89h

2019-09-30 Thread Martin K. Petersen
Ryan, > Add sysfs attributes for the ATA information page and Supported VPD > Pages page. Applied to 5.5/scsi-queue, thank you. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 0/3] scsi: core: allow auto suspend override by low-level driver

2019-09-30 Thread Martin K. Petersen
ime suspend > the underlying hardware will be always on even when it is not doing > any useful work and thus wasting power. Applied to 5.5/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/13] Enhancements w.r.t to diag buffer and few bug fixes

2019-09-30 Thread Martin K. Petersen
Sreekanth, > This patch series contains enhancements w.r.t to diag buffer support > and few bug fix patches. Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/20] lpfc: Update lpfc to revision 12.4.0.1

2019-09-30 Thread Martin K. Petersen
James, > Update lpfc to revision 12.4.0.1 Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [RFC,v2] scsi: scan: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT

2019-09-30 Thread Martin K. Petersen
re no longer available for smartmontools to monitor. -- Martin K. Petersen Oracle Linux Engineering

Re: [RFC,v2] scsi: scan: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT

2019-09-26 Thread Martin K. Petersen
her have a SCSI host flag to override the behavior or consider masking PQ in the driver. Unfortunately, I don't have any aacraid controllers I can test with in my test setup so I'd have to synthesize a setup with scsi_debug. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 00/14] qla2xxx: Bug fixes for the driver

2019-09-23 Thread Martin K. Petersen
ertises both > capabilites under same WWNN. > > Please apply this series for 5.4/scsi-queue at your earliest > convenience. This came in too late for 5.4. I applied patches #1-7 to fixes. Patch #8 and beyond are more like features and will have to wait for 5.5. Thanks! -- Martin K. Pe

Re: [RESEND PATCH] scsi: megaraid: disable device when probe failed after enabled device

2019-09-23 Thread Martin K. Petersen
> For pci device, need to disable device when probe failed after enabled > device. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v1] scsi: ufs: skip shutdown if hba is not powered

2019-09-23 Thread Martin K. Petersen
Stanley, > In some cases, hba may go through shutdown flow without successful > initialization and then make system hang. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] bnx2fc: Handle scope bits when array returns BUSY or TASK_SET_FULL

2019-09-23 Thread Martin K. Petersen
ess/submitting-patches.rst. Your patch got all mangled since you put tags after the --- separator. Also, please use the -vN option when submitting updated patches. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 2/6] qla2xxx: Fix flash read for Qlogic ISPs

2019-09-13 Thread Martin K. Petersen
is patch fixes it. I am not going to rebase this late in the cycle. Himanshu or Quinn will need to send a request to stable@ after Linus pulls 5.4/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] bnx2fc: Handle scope bits when array returns BUSY or TASK_SET_FULL

2019-09-10 Thread Martin K. Petersen
" separator. > V2. Indent comments as suggested > > Signed-off-by: Laurence Oberman -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: scsi_dh_rdac: zero cdb in send_mode_select()

2019-09-10 Thread Martin K. Petersen
4132 was not > affected, as it called blk_rq_set_block_pc(). Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fcoe: fix null-ptr-deref Read in fc_release_transport

2019-09-10 Thread Martin K. Petersen
zhengbin, > In fcoe_if_init, if fc_attach_transport(&fcoe_vport_fc_functions) > fails, need to free the previously memory and return fail, > otherwise will trigger null-ptr-deref Read in fc_release_transport. Applied to 5.4/scsi-queue. Thank you. -- Martin K. Petersen

Re: [PATCH -next] scsi: ufs-hisi: use devm_platform_ioremap_resource() to simplify code

2019-09-07 Thread Martin K. Petersen
YueHaibing, > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: ufshcd: use devm_platform_ioremap_resource() to simplify code

2019-09-07 Thread Martin K. Petersen
YueHaibing, > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: hisi_sas: use devm_platform_ioremap_resource() to simplify code

2019-09-07 Thread Martin K. Petersen
YueHaibing, > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: ufs: Use kmemdup in ufshcd_read_string_desc()

2019-09-07 Thread Martin K. Petersen
YueHaibing, > Use kmemdup rather than duplicating its implementation Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 0/3] Qualcomm UFS device reset support

2019-09-07 Thread Martin K. Petersen
Bjorn, > This series adds a new ufs vops to allow platform specific methods for > resetting an attached UFS device, then implements this for the > Qualcomm driver. This reset seems to be necessary for the majority of > Dragonboard845c devices. Applied to 5.4/scsi-queue, thanks!

Re: [PATCH] lpfc: Fix reset recovery paths that are not recovering

2019-09-07 Thread Martin K. Petersen
tate > being set, the recovery fails and the adapter is left in limbo. > > Revise the adapter reset routine so that it will only mark the adapter > in error if it was unable to reset the adapter. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/1] scsi: lpfc: Convert existing %pf users to %ps

2019-09-07 Thread Martin K. Petersen
Sakari, > Convert the remaining %pf users to %ps to prepare for the removal of > the old %pf conversion specifier support. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/6] qla2xxx: Bug fixes for the driver

2019-09-07 Thread Martin K. Petersen
Himanshu, > This series has few bug fixes for the driver. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: sd: Improve unaligned completion resid message

2019-09-07 Thread Martin K. Petersen
Damien, > For commands completing with a resid not aligned on the device logical > sector size, also print the command CDB in addition to the current > message to help debug hardware generating such incorrect command > completion information. Applied to 5.4/scsi-queue. Thanks!

Re: [PATCH] scsi: fnic: fix msix interrupt allocation

2019-09-07 Thread Martin K. Petersen
Govindarajulu, > pci_alloc_irq_vectors() returns number of vectors allocated. > Fix the check for error condition. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fnic: print port speed only at driver init or speed change

2019-08-29 Thread Martin K. Petersen
port speed > at driver initialization and if the speed changes. Also clean up a > small typo in fnic_trace.c. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/3] scsi: bnx2fc: remove some set but not used variables

2019-08-29 Thread Martin K. Petersen
zhengbin, > zhengbin (3): > scsi: bnx2fc: remove set but not used variable 'fh' > scsi: bnx2fc: remove set but not used variables 'lport','host' > scsi: bnx2fc: remove set but not used variables > 'task','port','

Re: [PATCH 00/14] qedf: Miscellaneous fixes.

2019-08-29 Thread Martin K. Petersen
Saurav, > This series have bug fixes and improve the log messages for better > debugging. > > Kindly apply this series to scsi-queue at your earliest convenience. Applied to 5.4/scsi-queue. I fixed a warning in patch #8. Please verify. Thanks! -- Martin K. Petersen

Re: [PATCH 00/11] smartpqi updates

2019-08-29 Thread Martin K. Petersen
river changes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] lpfc: fix 12.4.0.0 GPF at boot

2019-08-29 Thread Martin K. Petersen
cal variable, > obtaining a random pointer value that when used eventually faulted > the system > > Convert offending code to use local variable. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] lpfc: Raise config max for lpfc_fcp_mq_threshold variable

2019-08-29 Thread Martin K. Petersen
James, > Raise the config max for lpfc_fcp_mq_threshold variable to 256. Not a big fan of these magic values. Applied to 5.3/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] lpfc: Remove bg debugfs buffers

2019-08-29 Thread Martin K. Petersen
James, > Capturing and downloading dif command data and dif data was done a > dozen years ago and no longer being used. Also creates a potential > security hole. > > Remove the debugfs buffer for dif debugging. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen

Re: [PATCH] lpfc: Resolve checker warning for lpfc_new_io_buf()

2019-08-29 Thread Martin K. Petersen
a 784 vs 768 Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: ufs: remove set but not used variable 'val'

2019-08-29 Thread Martin K. Petersen
zhengbin, > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/ufs/ufs-qcom.c: In function ufs_qcom_pwr_change_notify: > drivers/scsi/ufs/ufs-qcom.c:808:6: warning: variable val set but not used > [-Wunused-but-set-variable] Applied to 5.4/scsi-que

Re: [PATCH] scsi: hisi_sas: remove set but not used variable 'irq_value'

2019-08-29 Thread Martin K. Petersen
to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] mpt3sas: Add sysfs parameter to set sdev qd to host can_queue

2019-08-29 Thread Martin K. Petersen
Sreekanth, > This patch provides the module parameter and sysfs interface named > 'enable_sdev_max_qd' to switch between the driver provided > (optimal)queue depth and controller queue depth (can_queue). Applied to 5.4/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 0/1] aacraid: Host adapter Adaptec 6405 constantly resets under high io load

2019-08-29 Thread Martin K. Petersen
ny serious io load triggers controller aborts) Microchip folks: Please review! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: Fix a recently introduced kernel warning

2019-08-29 Thread Martin K. Petersen
-- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3] scsi: ufs: fix broken hba->outstanding_tasks

2019-08-29 Thread Martin K. Petersen
Stanley, > Currently bits in hba->outstanding_tasks are cleared only after their > corresponding task management commands are successfully done by > __ufshcd_issue_tm_cmd(). Applied to 5.4/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/42] lpfc: Update lpfc to revision 12.4.0.0

2019-08-19 Thread Martin K. Petersen
James, > Update lpfc to revision 12.4.0.0 Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs-qcom: Make structure ufs_hba_qcom_vops constant

2019-08-19 Thread Martin K. Petersen
declared as > constant. Hence declare ufs_hba_qcom_vops itself constant as well to > protect it from unintended modification. > Issue found with Coccinelle. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3] lpfc: Mitigate high memory pre-allocation by SCSI-MQ

2019-08-19 Thread Martin K. Petersen
low memory > conditions. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: lpfc: use spin_lock_irqsave instead of spin_lock_irq in IRQ context

2019-08-19 Thread Martin K. Petersen
_sli_handle_fast_ring_event > <- lpfc_sli_fp_intr_handler > <- lpfc_sli_intr_handler > and lpfc_sli_intr_handler is an interrupt handler. > Interrupts are enabled in interrupt handler. > Use spin_lock_irqsave/spin_unlock_irqrestore instead of spin_(un)lock_irq > in IRQ context to avoid this

Re: [PATCH] scsi: lpfc: remove redundant code

2019-08-19 Thread Martin K. Petersen
Fuqian, > Remove the redundant initialization code. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 0/2] scsi: qla2xxx: fixes for FW trace/dump buffers

2019-08-14 Thread Martin K. Petersen
Martin, > The first patch of the series is a fix for a memory corruption we > saw in a test where qla2xxx was loaded/unloaded repeatedly under > memory pressure. The second one is a cleanup/consistency fix. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Ora

Re: [PATCH v2] tcmu: avoid use-after-free after command timeout

2019-08-14 Thread Martin K. Petersen
deallocated > by the target core at that moment. As the result, this access triggers > a use-after-free warning from KASAN. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH RESEND] qla2xxx: Fix gnl.l memory leak on adapter init failure

2019-08-14 Thread Martin K. Petersen
oherent. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] megaraid_sas: change sdev queue depth max vs optimal

2019-08-12 Thread Martin K. Petersen
eing described as "optimum" when it clearly isn't. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 00/58] qla2xxx patches for kernel v5.4

2019-08-12 Thread Martin K. Petersen
s for kernel > version v5.4. Applied to 5.4/scsi-queue. Thanks you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 00/12] mpt3sas: Features and defect fixes.

2019-08-07 Thread Martin K. Petersen
Suganath, > This patch series includes below Enhancements and Bug fixes. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] scsi: core: fix missing .cleanup_rq for SCSI hosts without request batching

2019-08-07 Thread Martin K. Petersen
oth land linus tree. I'll set up an amalgamated for-next branch tomorrow. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] lpfc: Fix crash when cpu count is 1 and null irq affinity mask

2019-08-07 Thread Martin K. Petersen
which leaves > mappings to hardware queues incomplete and crashes the system. > > Fix by recognizing the null mask and assigning the vector to the first > cpu in the system. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ncr53c8xx: Mark expected switch fall-through

2019-08-07 Thread Martin K. Petersen
Helge, Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [RFC PATCH v2] target: tcmu: clean the nl_cmd of the udev when nl send fails

2019-08-07 Thread Martin K. Petersen
Li, > If the userspace process crashes while we send the nl msg, it is > possible that the cmd in curr_nl_cmd of tcmu_dev never gets reset to > 0, and and returns busy for other commands after the userspace process > is restartd. Applied to 5.4/scsi-queue, thanks! -- Martin

Re: [PATCH v2 0/3] SCSI core patches for kernel v5.4

2019-08-07 Thread Martin K. Petersen
Bart, > The patches in this series address SCSI device blocking and unblocking > and fix a boot failure. Please consider these patches for kernel > version v5.4. Applied to 5.4/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] megaraid_sas: change sdev queue depth max vs optimal

2019-08-07 Thread Martin K. Petersen
Chandrakanth, > This patch provides the module parameter and sysfs interface to switch > between the firmware provided (optimal) queue depth and controller > queue depth (can_queue). This smells a bit like a don't-be-broken flag. Why isn't the firmware-provided value opt

Re: [PATCH 00/15] qla2xxx: Bug fixes for the driver

2019-07-30 Thread Martin K. Petersen
Himanshu, > This series contains bug fixes for the driver. Most of the fixes are > obvious memory leak and/or error handling fixes. > > Please apply this series to 5.4/scsi-queue at your earliest > convenience. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen

Re: [PATCH v2] scsi: mpt3sas: clean up a couple sizeof() uses

2019-07-30 Thread Martin K. Petersen
ve updated the function to the latest style as well. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: scsi_debugfs: Use for_each_set_bit to simplify code

2019-07-30 Thread Martin K. Petersen
Andy, > We can use for_each_set_bit() to slightly simplify the code. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] mpt3sas: Use 63-bit DMA addressing on SAS35 HBA

2019-07-30 Thread Martin K. Petersen
Suganath, > Although SAS3 & SAS3.5 IT HBA controllers support 64-bit DMA > addressing, as per hardware design, if DMA able range contains all > 64-bits set (0x-) then it results in a firmware fault. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen

Re: [PATCH 0/2] hpsa updates

2019-07-30 Thread Martin K. Petersen
Don, > These patches are based on Linus's tree Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCHv3 0/3] fcoe: cleanup fc_rport_priv usage

2019-07-30 Thread Martin K. Petersen
the usage by embedding > fc_rport_priv into fcoe_rport, and use the fcoe_rport structure > wherever possible. This patchset also contains some minor whitespace > cleanups for libfc.h. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/3] Fix more magic values in the Future Domain drivers

2019-07-30 Thread Martin K. Petersen
Sergei, > Here's a set of 3 patches against the Linus' repo. The recently > resurrected Future Domain SCSI driver got a facelift by Ondrej (thank > you!); however, several magic numbers were overlooked, so I went and > fixed these cases. Applied to 5.4/scsi-queue. Th

Re: [PATCH 0/3] Fix more magic values in the Future Domain drivers

2019-07-23 Thread Martin K. Petersen
f isn't new to me -- I wrote a FD SCSI driver for > another OS back in '90s... I thought I might still have a real card > somewhere in my flat but none were found... :-( Ondrej: Please review! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fix the dma_max_mapping_size call

2019-07-22 Thread Martin K. Petersen
I queued this up since it breaks stuff for enough people. But I do feel that some of Bart's concerns may be valid. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH B] scsi: fdomain: fix building pcmcia front-end

2019-07-22 Thread Martin K. Petersen
. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] fcoe: avoid memset across pointer boundaries

2019-07-20 Thread Martin K. Petersen
ess those and repost. Hannes: Please fix! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH V2] scsi: fix race on creating sense cache

2019-07-16 Thread Martin K. Petersen
e by moving 'mutex_lock(&scsi_sense_cache_mutex)' before > scsi_select_sense_cache(). Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi_dh_alua: always use a 2 seconds delay before retrying RTPG

2019-07-16 Thread Martin K. Petersen
Zhang, > Retrying immediately after we've received a 'transitioning' sense > code is pretty much pointless, we should always use a delay before > retrying. Does Hannes' patch alleviate your issue? -- Martin K. Petersen Oracle Linux Engineering

  1   2   3   4   5   6   7   8   9   10   >