Re: [PATCHES] uaccess hpsa

2020-06-02 Thread Martin K. Petersen
re to test it on *or* userland to issue the ioctls in > question. So this series definitely needs a review and testing > from hpsa maintainers before it might go anywhere. Don: Please test and review. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: megaraid_sas: fix kdump kernel boot hung caused by JBOD

2020-06-02 Thread Martin K. Petersen
27; and can be fixed > by not set JOB when reset_devices on Broadcom: Please review. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: st: convert convert get_user_pages() --> pin_user_pages()

2020-06-02 Thread Martin K. Petersen
> This code was using get_user_pages*(), in a "Case 1" scenario (Direct > IO), using the categorization from [1]. That means that it's time to > convert the get_user_pages*() + put_page() calls to pin_user_pages*() > + unpin_user_pages() calls. Kai: Please rev

Re: [PATCH] sbp-target: add the missed kfree() in an error path

2020-06-02 Thread Martin K. Petersen
Chris, > I think you might be right. I also don't have much time to maintain it > these days and the hardware I had is long dead. In that case I'd appreciate a patch to remove it. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed

2020-06-02 Thread Martin K. Petersen
urn/returns/ > object will be freed in bio_integrity_free() since 'bio->bi_opf' and > 'bio->bi_integrity' was set previousy in bio_integrity_alloc(). s/was/were/ Otherwise OK. And like Ming pointed out, you may want to add a comment about the assertion that the fir

Re: [PATCH v4 0/4] scsi: ufs: Fix WriteBooster and cleanup UFS driver

2020-05-26 Thread Martin K. Petersen
es https://git.kernel.org/mkp/scsi/c/c7cee3e746a5 [3/4] scsi: ufs: Fix index of attributes query for WriteBooster feature https://git.kernel.org/mkp/scsi/c/e31011ab3709 [4/4] scsi: ufs: Fix WriteBooster flush during runtime suspend https://git.kernel.org/mkp/scsi/c/51dd905bd2f6

Re: [PATCH] scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event

2020-05-26 Thread Martin K. Petersen
k when processing unsolicited event https://git.kernel.org/mkp/scsi/c/7217e6e694da -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: ibmvscsi: Make some functions static

2020-05-26 Thread Martin K. Petersen
; 'ibmvscsi_module_exit' was not declared. Should it be static? Applied to 5.8/scsi-queue, thanks! [1/1] scsi: ibmvscsi: Make some functions static https://git.kernel.org/mkp/scsi/c/1f93ad177d24 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs-qcom: Fix scheduling while atomic issue

2020-05-26 Thread Martin K. Petersen
; ufshcd_print_host_regs -> ufshcd_vops_dbg_register_dump -> > ufs_qcom_dump_dbg_regs > > [...] Applied to 5.8/scsi-queue, thanks! [1/1] scsi: ufs-qcom: Fix scheduling while atomic issue https://git.kernel.org/mkp/scsi/c/3be60b564de4 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs: ti-j721e-ufs: Fix unwinding of pm_runtime changes

2020-05-26 Thread Martin K. Petersen
hanges https://git.kernel.org/mkp/scsi/c/22617e216331 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: st: convert convert get_user_pages() --> pin_user_pages()

2020-05-26 Thread Martin K. Petersen
;ll send a v3 if necessary, to correct that. I'll fix it up when I apply. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: Refactor scsi_mq_setup_tags function

2020-05-19 Thread Martin K. Petersen
function https://git.kernel.org/mkp/scsi/c/840e1b55bb75 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/4] hisi_sas: Some misc patches

2020-05-19 Thread Martin K. Petersen
omplete_vX_hw() https://git.kernel.org/mkp/scsi/c/1cdee0044261 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: Fix incorrect usage of shost_for_each_device

2020-05-19 Thread Martin K. Petersen
device() iteration with break or return, > scsi_device_put() should be used to prevent stale scsi device references from > being left behind. Applied to 5.8/scsi-queue, thanks! [1/1] scsi: core: Fix incorrect usage of shost_for_each_device https://git.kernel.org/mkp/scsi/c/4dea170f4fb2

Re: [PATCH v1 target] target: Add initiatorname to NON_EXISTENT_LUN error

2020-05-19 Thread Martin K. Petersen
by a target. > > This version ensures the initiator name is also printed on the same > message in transport_lookup_tmr_lun for consistency. Applied to 5.8/scsi-queue, thanks! [1/1] scsi: target: core: Add initiatorname to NON_EXISTENT_LUN error https://git.kernel.org/mkp/scsi/c/5482d

Re: [PATCH] scsi: st: convert convert get_user_pages() --> pin_user_pages()

2020-05-19 Thread Martin K. Petersen
that up. But I'll give Kai a chance to review before I apply. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 0/4] scsi: ufs: allow customizable WriteBooster flush policy

2020-05-14 Thread Martin K. Petersen
lush policy https://git.kernel.org/mkp/scsi/c/f48b285ae658 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: hisi_sas: display proc_name in sysfs

2020-05-14 Thread Martin K. Petersen
> > While the other driver's entry looks like: > > [...] Applied to 5.8/scsi-queue, thanks! [1/1] scsi: hisi_sas: Display proc_name in sysfs https://git.kernel.org/mkp/scsi/c/55ce24b3bfd7 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: ufs-mediatek: Make ufs_mtk_fixup_dev_quirks static

2020-05-14 Thread Martin K. Petersen
si: ufs-mediatek: Make ufs_mtk_fixup_dev_quirks static https://git.kernel.org/mkp/scsi/c/21d2b76831fd -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 4/4] scsi: ufs-mediatek: customize WriteBooster flush policy

2020-05-12 Thread Martin K. Petersen
tch 4 got tagged as reviewed in patchwork. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: lpfc: remove redundant initialization to variable rc

2020-05-11 Thread Martin K. Petersen
c: Remove redundant initialization to variable rc https://git.kernel.org/mkp/scsi/c/6e27a86aed97 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v8 0/8] scsi: ufs: support LU Dedicated buffer mode for WriteBooster

2020-05-11 Thread Martin K. Petersen
cf [7/8] scsi: ufs-mediatek: Enable WriteBooster capability https://git.kernel.org/mkp/scsi/c/29060a629135 [8/8] scsi: ufs: Cleanup WriteBooster feature https://git.kernel.org/mkp/scsi/c/79e3520f82cb -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qedi: remove unused variable udev & uctrl

2020-05-11 Thread Martin K. Petersen
ev & uctrl https://git.kernel.org/mkp/scsi/c/f9491ed56e3a -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs: Replace zero-length array with flexible-array

2020-05-11 Thread Martin K. Petersen
duced in C99: > > struct foo { > int stuff; > struct boo array[]; > }; > > [...] Applied to 5.8/scsi-queue, thanks! [1/1] scsi: ufs: Replace zero-length array with flexible-array https://git.kernel.org/mkp/scsi/c/ec38c0adc0a1 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: bfa: make bfad_iocmd_ioc_get_stats() static

2020-05-11 Thread Martin K. Petersen
ad_iocmd_ioc_get_stats() static https://git.kernel.org/mkp/scsi/c/102026483d2b -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libsas: Replace zero-length array with flexible-array

2020-05-11 Thread Martin K. Petersen
duced in C99: > > struct foo { > int stuff; > struct boo array[]; > }; > > [...] Applied to 5.8/scsi-queue, thanks! [1/1] scsi: libsas: Replace zero-length array with flexible-array https://git.kernel.org/mkp/scsi/c/00b42b70ae52 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next v2] scsi: aacraid: Use memdup_user() as a cleanup

2020-05-11 Thread Martin K. Petersen
, thanks! [1/1] scsi: aacraid: Use memdup_user() as a cleanup https://git.kernel.org/mkp/scsi/c/8d925b1f00e6 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: mpt3sas: Remove unused including

2020-05-11 Thread Martin K. Petersen
g/mkp/scsi/c/b59293b469b9 -- Martin K. Petersen Oracle Linux Engineering

Re: linux-next: Fixes tag needs some work in the scsi-fixes tree

2020-05-11 Thread Martin K. Petersen
validation logic in my commit hook script to ensure 12 digits going forward. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: vmw_pvscsi: use true,false for adapter->use_msg

2020-05-07 Thread Martin K. Petersen
msg https://git.kernel.org/mkp/scsi/c/013f69a931e7 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: use true,false for ha->fw_dumped

2020-05-07 Thread Martin K. Petersen
ped https://git.kernel.org/mkp/scsi/c/dbe6f49259da -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: make qlafx00_process_aen() return void

2020-05-07 Thread Martin K. Petersen
variable: "rval". > Return "0" on line 1768 Applied to 5.8/scsi-queue, thanks! [1/1] scsi: qla2xxx: Make qlafx00_process_aen() return void https://git.kernel.org/mkp/scsi/c/88bfdf565cbe -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: use true,false for need_mpi_reset

2020-05-07 Thread Martin K. Petersen
le Applied to 5.8/scsi-queue, thanks! [1/1] scsi: qla2xxx: Use true, false for need_mpi_reset https://git.kernel.org/mkp/scsi/c/bda552a7741a -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qedi: remove Comparison of 0/1 to bool variable

2020-05-07 Thread Martin K. Petersen
pplied to 5.8/scsi-queue, thanks! [1/1] scsi: qedi: Remove comparison of 0/1 to bool variable https://git.kernel.org/mkp/scsi/c/9187745ceec6 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: aacraid: Make some symbols static

2020-05-07 Thread Martin K. Petersen
not declared. Should it be static? Applied to 5.8/scsi-queue, thanks! [1/1] scsi: aacraid: Make some symbols static https://git.kernel.org/mkp/scsi/c/297083f6e53b -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: Make qla_set_ini_mode() return void

2020-05-07 Thread Martin K. Petersen
rs/scsi/qla2xxx/qla_attr.c:1906:5-7: Unneeded variable: "rc". > Return "0" on line 2180 Applied to 5.8/scsi-queue, thanks! [1/1] scsi: qla2xxx: Make qla_set_ini_mode() return void https://git.kernel.org/mkp/scsi/c/1b007f96f9e0 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: mpt3sas: use true,false for ioc->use_32bit_dma

2020-05-07 Thread Martin K. Petersen
t;use_32bit_dma https://git.kernel.org/mkp/scsi/c/55d4ce458c77 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fnic: use true,false for fnic->internal_reset_inprogress

2020-05-07 Thread Martin K. Petersen
eset_inprogress https://git.kernel.org/mkp/scsi/c/b91857a5ca13 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4 1/1] scsi: pm: Balance pm_only counter of request queue during system resume

2020-05-07 Thread Martin K. Petersen
https://git.kernel.org/mkp/scsi/c/a3b923842626 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH][next] scsi: qla2xxx: make 1 bit bit-fields unsigned int

2020-04-29 Thread Martin K. Petersen
csi-queue, thanks! [1/1] scsi: qla2xxx: make 1-bit bit-fields unsigned int https://git.kernel.org/mkp/scsi/c/78b874b7cbf0 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: dpt_i2o: Remove always false 'chan < 0' statement

2020-04-29 Thread Martin K. Petersen
;chan < 0' Applied to 5.8/scsi-queue, thanks! [1/1] scsi: dpt_i2o: Remove always false 'chan < 0' statement https://git.kernel.org/mkp/scsi/c/6f41f08c88c5 -- Martin K. Petersen Oracle Linux Engineering

Re: linux-next: build warning after merge of the scsi-fixes tree

2020-04-28 Thread Martin K. Petersen
Tyrel, > Do you want me to resend, or can you fixup your tree? I fixed it up. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: cxlflash: remove set but not used variable 'ioarcb'

2019-10-22 Thread Martin K. Petersen
YueHaibing, > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/cxlflash/main.c:47:22: warning: > variable ioarcb set but not used [-Wunused-but-set-variable] Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: lpfc: Honor module parameter lpfc_use_adisc

2019-10-22 Thread Martin K. Petersen
Hi Daniel, > The initial lpfc_desc_set_adisc implementation dea3101e0a5c ("lpfc: > add Emulex FC driver version 8.0.28") enabled ADISC if Fixed up Hannes' email typo and applied to 5.4/scsi-fixes. Also, please run checkpatch next time. Thanks! -- Martin K. Peter

Re: [PATCH] scsi: lpfc: Check queue pointer before use

2019-10-18 Thread Martin K. Petersen
Daniel, > The queue pointer might not be valid. The rest of the code checks the > pointer before accessing it. lpfc_sli4_process_missed_mbox_completions > is the only place where the check is missing. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [GIT PULL] SCSI fixes for 5.4-rc3

2019-10-18 Thread Martin K. Petersen
fix missing .cleanup_rq for SCSI hosts without request batching scsi: core: fix dh and multipathing for SCSI hosts without request batching drivers/scsi/scsi_lib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE

2019-10-09 Thread Martin K. Petersen
Thomas, > Add the missing depends SCSI_SNI_53C710 to 53C700_LE_ON_BE to fix it. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: sni_53c710 fix compilation error

2019-10-09 Thread Martin K. Petersen
Thomas, > Drop out memory dev_printk() with wring device pointer argument. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-09 Thread Martin K. Petersen
Paul, > I do not intend to actually remove rcu_swap_protected() until 5.6 for > exactly this sort of thing. My plan is to take another pass through > the tree after 5.5 comes out, and these will be caught at that time. > > Does that work for you? Yep, that's great. T

Re: [PATCH] scsi: ch: add include guard to chio.h

2019-10-09 Thread Martin K. Petersen
Masahiro, >> Fine with me. Is it going through your tree or should I pick it up? > > Could you please apply it to your tree? Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: fix a potential NULL pointer dereference

2019-10-09 Thread Martin K. Petersen
Allen, > alloc_workqueue is not checked for errors and as a result, > a potential NULL dereference could occur. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-03 Thread Martin K. Petersen
dev->inquiry_mutex)); Just a heads-up that we have added a couple of additional VPD pages so my 5.5 tree will need additional calls to be updated to rcu_replace(). -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ch: add include guard to chio.h

2019-10-03 Thread Martin K. Petersen
Masahiro, >> Add a header include guard just in case. Fine with me. Is it going through your tree or should I pick it up? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: fix a potential NULL pointer dereference

2019-10-03 Thread Martin K. Petersen
> alloc_workqueue is not checked for errors and as a result, > a potential NULL dereference could occur. Himanshu: Please review! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 2/3] Maintainer Handbook: Maintainer Entry Profile

2019-10-01 Thread Martin K. Petersen
hread, I think we're better off enhancing the existing process documents instead of introducing more places for people to look. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] bfa: Make restart_bfa static

2019-09-30 Thread Martin K. Petersen
YueHaibing, > Fix sparse warning: > > drivers/scsi/bfa/bfad.c:1491:1: warning: > symbol 'restart_bfa' was not declared. Should it be static? Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/2] scsi: ufs: Add driver for TI wrapper for Cadence UFS IP

2019-09-30 Thread Martin K. Petersen
Vignesh, > This series add DT bindings and driver for TI wrapper for Cadence UFS > IP that is present on TI's J721e SoC Will need some reviews from DT and ufs folks respectively before I can queue this up. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()

2019-09-30 Thread Martin K. Petersen
rmware documentation > it is possible that multiple status continuations are emitted by the > firmware. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: libcxgbi: remove unused function to stop warning

2019-09-30 Thread Martin K. Petersen
Austin, > Since 'commit fc8d0590d914 ("libcxgbi: Add ipv6 api to driver")' was > introduced, there is no call to csk_print_port() > and csk_print_ip() is made. Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: smartpqi: clean up an indentation issue

2019-09-30 Thread Martin K. Petersen
Colin, > There are some statements that are indented too deeply, remove the > extraneous tabs and rejoin split lines. Applied (additional hunk) to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: csiostor: clean up indentation issue

2019-09-30 Thread Martin K. Petersen
Colin, > The goto statement is indented incorrectly, remove the extraneous tab. Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: core: Log SCSI command age with errors

2019-09-30 Thread Martin K. Petersen
plied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: qedf: Add port_id getter

2019-09-30 Thread Martin K. Petersen
-t' Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH][next] scsi: hisi_sas: fix spelling mistake "digial" -> "digital"

2019-09-30 Thread Martin K. Petersen
Colin, > There is a spelling mistake in literal string. Fix it. Applied to 5.5/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: bfa: release allocated memory in case of error

2019-09-30 Thread Martin K. Petersen
Navid, > In bfad_im_get_stats if bfa_port_get_stats fails, allocated memory > needs to be released. Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fnic: make array dev_cmd_err static const, makes object smaller

2019-09-30 Thread Martin K. Petersen
Colin, > Don't populate the array dev_cmd_err on the stack but instead make it > static const. Makes the object code smaller by 80 bytes. Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs: make array setup_attrs static const, makes object smaller

2019-09-30 Thread Martin K. Petersen
Colin, > Don't populate the array setup_attrs on the stack but instead make it > static const. Makes the object code smaller by 180 bytes. Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ips: make array 'options' static const, makes object smaller

2019-09-30 Thread Martin K. Petersen
Colin, > Don't populate the array 'options' on the stack but instead make it > static const. Makes the object code smaller by 143 bytes. Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: mvsas: remove redundant assignment to variable rc

2019-09-30 Thread Martin K. Petersen
Colin, > The variable rc is being initialized with a value that is never read > and is being re-assigned a little later on. The assignment is > redundant and hence can be removed. Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: remove redundant assignment to pointer host

2019-09-30 Thread Martin K. Petersen
Colin, > The pointer host is being initialized with a value that is never read > and is being re-assigned a little later on. The assignment is > redundant and hence can be removed. Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: smartpqi: remove set but not used variable 'ctrl_info'

2019-09-30 Thread Martin K. Petersen
unused-but-set-variable] Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH][smartpqi-next] scsi: smartpqi: clean up indentation of a statement

2019-09-30 Thread Martin K. Petersen
Colin, > There is a statement that is indented one level too deeply, remove the > tab, re-join broken line and remove some empty lines. Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 18/26] scsi: pm80xx: Use PCI_STD_NUM_BARS

2019-09-26 Thread Martin K. Petersen
ase, feel free to take this through the PCI tree. Acked-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: hisi_sas: Make three functions static

2019-09-23 Thread Martin K. Petersen
lloc' was not declared. Should it be > static? > drivers/scsi/hisi_sas/hisi_sas_main.c:3799:6: > warning: symbol 'hisi_sas_debugfs_bist_init' was not declared. Should it be > static? Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [Patch v4] storvsc: setup 1:1 mapping between hardware queue and CPU queue

2019-09-23 Thread Martin K. Petersen
Long, > storvsc doesn't use a dedicated hardware queue for a given CPU > queue. When issuing I/O, it selects returning CPU (hardware queue) > dynamically based on vmbus channel usage across all channels. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qedf: Remove always false 'tmp_prio < 0' statement

2019-09-23 Thread Martin K. Petersen
Austin, > Since tmp_prio is declared as u8, the following statement is always false. >tmp_prio < 0 > > So remove 'always false' statement. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 18/26] scsi: pm80xx: Use PCI_STD_NUM_BARS

2019-09-23 Thread Martin K. Petersen
Denis, > Replace the magic constant (6) with define PCI_STD_NUM_BARS > representing the number of PCI BARs. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/2] nvme: Add kernel API for admin command

2019-09-18 Thread Martin K. Petersen
only supports interleaved > metadata so far given how awkward that is to deal with. Yep. There's a reason we did DIX... -- Martin K. Petersen Oracle Linux Engineering

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-16 Thread Martin K. Petersen
is not always easy to determine whether a bug fix series is for one tree or the other. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: storvsc: Add the support of hibernation

2019-09-13 Thread Martin K. Petersen
Dexuan, > When we're in storvsc_suspend(), we're sure the SCSI layer has > quiesced the scsi device by scsi_bus_suspend() -> ... -> > scsi_device_quiesce(), so the low level SCSI adapter driver only needs > to suspend/resume its own state. Acked-by: Martin K. Peter

Re: [Ksummit-discuss] [PATCH v2 0/3] Maintainer Entry Profiles

2019-09-13 Thread Martin K. Petersen
Hi Bart, > On 9/11/19 5:40 PM, Martin K. Petersen wrote: >> * Do not use custom To: and Cc: for individual patches. We want to see the >> whole series, even patches that potentially need to go through a different >> subsystem tree. > > Thanks for having written

Re: [Ksummit-discuss] [PATCH v2 3/3] libnvdimm, MAINTAINERS: Maintainer Entry Profile

2019-09-13 Thread Martin K. Petersen
ty bad at indicating the intended target tree. I often ask for it in private mail but the practice doesn't seem to stick. I spend a ton of time guessing whether a patch is a fix for a new feature in the x+1 queue or a fix for the current release. It is not always obvious. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 0/3] Maintainer Entry Profiles

2019-09-11 Thread Martin K. Petersen
looks pretty good to me. After the Plumbers session last year I wrote this for SCSI based on a prior version by Christoph. It's gone a bit stale but I'll update it to match your template. -- Martin K. Petersen Oracle Linux Engineering ===

Re: [PATCH 00/13] hisi_sas: Some misc patches

2019-09-10 Thread Martin K. Petersen
John, > This patchset includes support for some more minor features, a bit of > tidying, and a few patches to make the driver a bit more robust. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: virtio_scsi: unplug LUNs when events missed

2019-09-10 Thread Martin K. Petersen
ue size > (currently 8). > > Scan existing LUNs when events are missed to check if they are still > present. If not, remove them. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

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 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] scsi: qla2xxx: fix spelling mistake "initializatin" -> "initialization"

2019-08-29 Thread Martin K. Petersen
Colin, > There is a spelling mistake in a ql_log message. Fix it. 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] scsi: fcoe: remove redundant call to skb_transport_header

2019-08-29 Thread Martin K. Petersen
nt > and can be removed. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v1] scsi: ufs: Disable local LCC in .link_startup_notify() in Cadence UFS

2019-08-29 Thread Martin K. Petersen
Anil, > Some UFS devices have issues if LCC is enabled. So we are setting > PA_LOCAL_TX_LCC_Enable to 0 before link startup which will make sure > that both host and device TX LCC are disabled once link startup is > completed. Applied to 5.4/scsi-queue. Thanks! -- Martin

Re: [PATCH] scsi: bfa: remove redundant assignment to variable error

2019-08-29 Thread Martin K. Petersen
Colin, > Variable error is being initialized with a value that is never read > and error is being re-assigned a little later on. The assignment is > redundant and hence can be removed. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: lpfc: fix "NULL check before some freeing functions is not needed"

2019-08-19 Thread Martin K. Petersen
Hariprasad, > As dma_pool_destroy and mempool_destroy functions has NULL check. We may > not need NULL check before calling them. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: linux-next: Fixes tag needs some work in the scsi-mkp tree

2019-08-19 Thread Martin K. Petersen
o trailing parentheses > - Subject has leading but no trailing quotes > > Please don't split Fixes tags over more than one line. > > Fixes tag > > Fixes: (a28d9e4ef997 "scsi: qla2xxx: Add support for multiple fwdump > > has these problem(s): > >

Re: [PATCH] scsi: fnic: remove redundant assignment of variable rc

2019-08-14 Thread Martin K. Petersen
Colin, > Variable ret is initialized to a value that is never read and it is > re-assigned later and immediatetly returns. Clean up the code by > removing rc and just returning 0. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: ufs: Fix NULL pointer dereference in ufshcd_config_vreg_hpm()

2019-08-14 Thread Martin K. Petersen
] device_resume+0x11b/0x220 > > Voltage regulators are optional, so functions must check they exist > before dereferencing. > > Note this issue is hidden if CONFIG_REGULATORS is not set, because the > offending code is optimised away. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

<    2   3   4   5   6   7   8   9   10   11   >