[Bug 178381] Suspend to RAM test failed while CONFIG_SCSI_MQ_DEFAULT is set

2018-05-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=178381 Lei Ming (tom.leim...@gmail.com) changed: What|Removed |Added CC||tom.leim...@gmail.com

Re: [PATCHv4 1/3] target/configfs: add module wide action support

2018-05-03 Thread Mike Christie
On 05/02/2018 08:03 PM, Xiubo Li wrote: > On 2018/5/3 2:27, Mike Christie wrote: >> On 04/19/2018 02:46 AM, xiu...@redhat.com wrote: >>> From: Xiubo Li >>> >>> For some case we need some module wide configfs to contol some >>> attributes of the whole transport module. >> When I

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-05-03 Thread Christoph Hellwig
On Thu, May 03, 2018 at 02:03:38PM +0200, Michal Hocko wrote: > On Sat 28-04-18 19:10:47, Matthew Wilcox wrote: > > Another way we could approach this is to get rid of ZONE_DMA. Make GFP_DMA > > a flag which doesn't map to a zone. Rather, it redirects to a separate > > allocator. At boot, we hand

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-05-03 Thread Michal Hocko
On Sat 28-04-18 19:10:47, Matthew Wilcox wrote: > Another way we could approach this is to get rid of ZONE_DMA. Make GFP_DMA > a flag which doesn't map to a zone. Rather, it redirects to a separate > allocator. At boot, we hand all memory under 16MB to the DMA allocator. The > DMA allocator can

[PATCH] zfcp: fix infinite iteration on ERP ready list

2018-05-03 Thread Steffen Maier
From: Jens Remus zfcp_erp_adapter_reopen() schedules blocking of all of the adapter's rports via zfcp_scsi_schedule_rports_block() and enqueues a reopen adapter ERP action via zfcp_erp_action_enqueue(). Both are separately processed asynchronously and concurrently.

[bug report] scsi: qlogicfas: move bus_reset to host_reset

2018-05-03 Thread Dan Carpenter
[ This one is not really your fault but you renamed things so it's showing up as a new warning. - dan ] Hello Hannes Reinecke, The patch 4a56c1c166b6: "scsi: qlogicfas: move bus_reset to host_reset" from Aug 25, 2017, leads to the following static checker warning:

[PATCH v2 10/10] scsi: ufs: Add clock ungating to a separate workqueue

2018-05-03 Thread Asutosh Das
From: Vijay Viswanath UFS driver can receive a request during memory reclaim by kswapd. So when ufs driver puts the ungate work in queue, and if there are no idle workers, kthreadd is invoked to create a new kworker. Since kswapd task holds a mutex which kthreadd also

[PATCH v2 02/10] scsi: ufs-qcom: Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk

2018-05-03 Thread Asutosh Das
Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk to avoid failures in seen on some UFS devices. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c

[PATCH v2 01/10] scsi: ufs: Allowing power mode change

2018-05-03 Thread Asutosh Das
From: Yaniv Gardi Due to M-PHY issues, moving from HS to any other mode or gear or even Hibern8 may cause some un-predicted behavior of the device. This patch adds provides a quirk to address that. Signed-off-by: Yaniv Gardi Signed-off-by: Subhash

[PATCH v2 06/10] scsi: ufs: add reference counting for scsi block requests

2018-05-03 Thread Asutosh Das
From: Subhash Jadavani Currently we call the scsi_block_requests()/scsi_unblock_requests() whenever we want to block/unblock scsi requests but as there is no reference counting, nesting of these calls could leave us in undesired state sometime. Consider following call

[PATCH v2 04/10] scsi: ufs: fix exception event handling

2018-05-03 Thread Asutosh Das
From: Maya Erez The device can set the exception event bit in one of the response UPIU, for example to notify the need for urgent BKOPs operation. In such a case the host driver calls ufshcd_exception_event_handler to handle this notification. When trying to check the

[PATCH v2 08/10] scsi: ufs: make sure all interrupts are processed

2018-05-03 Thread Asutosh Das
From: Venkat Gopalakrishnan As multiple requests are submitted to the ufs host controller in parallel there could be instances where the command completion interrupt arrives later for a request that is already processed earlier as the corresponding doorbell was cleared

[PATCH v2 09/10] scsi: ufs: fix irq return code

2018-05-03 Thread Asutosh Das
From: Venkat Gopalakrishnan Return IRQ_HANDLED only if the irq is really handled, this will help in catching spurious interrupts that go unhandled. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Can Guo Signed-off-by:

[PATCH v2 05/10] scsi: ufshcd: fix possible unclocked register access

2018-05-03 Thread Asutosh Das
From: Subhash Jadavani vendor specific setup_clocks ops may depend on clocks managed by ufshcd driver so if the vendor specific setup_clocks callback is called when the required clocks are turned off, it results into unclocked register access. This change make sure that

[PATCH v2 07/10] scsi: ufs-qcom: remove broken hci version quirk

2018-05-03 Thread Asutosh Das
From: Subhash Jadavani UFSHCD_QUIRK_BROKEN_UFS_HCI_VERSION is only applicable for QCOM UFS host controller version 2.x.y and this has been fixed from version 3.x.y onwards, hence this change removes this quirk for version 3.x.y onwards. Signed-off-by: Subhash Jadavani

[PATCH v2 03/10] scsi: ufs: Add LCC quirk for host and device

2018-05-03 Thread Asutosh Das
LCC (Line Control Command) is being used for communication between UFS host and UFS device. But some hosts might have the issue with issuing the LCC commands to UFS device and in this case LCC could be explicitly disabled. But there could be a need where we don't want to disable the LCC on both

[PATCH v2 00/10] ufshcd optimizations and fixes

2018-05-03 Thread Asutosh Das
This patch set has a bunch of optimizations for UFS HCI. Changes since v1: Addressed the review comments Asutosh Das (2): scsi: ufs-qcom: Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk scsi: ufs: Add LCC quirk for host and device Maya Erez (1): scsi: ufs: fix exception event handling

[PATCH] scsi: megaraid: silence a static checker bug

2018-05-03 Thread Dan Carpenter
If we had more than 32 megaraid cards then it would cause memory corruption. That's not likely, of course, but it's handy to enforce it and make the static checker happy. Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index

[PATCH] scsi: mptsas: fix spelling mistake: "matchs" -> "matches"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in warning message Signed-off-by: Colin Ian King --- drivers/message/fusion/mptsas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/message/fusion/mptsas.c

[PATCH][V2] scsi: lpfc: fix spelling mistakes: "mabilbox" and "maibox"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in lpfc_printf_log log message "mabilbox" -> "mailbox" "maibox" -> "mailbox" Signed-off-by: Colin Ian King --- V2: Add maibox fixes --- drivers/scsi/lpfc/lpfc_bsg.c | 20

NAK: [PATCH] scsi: lpfc: fix spelling mistake: "mabilbox" -> "mailbox"

2018-05-03 Thread Colin Ian King
On 03/05/18 10:19, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in lpfc_printf_log log message > > Signed-off-by: Colin Ian King Ignore this, I've found more issues, sending a V2. > --- >

[PATCH] scsi: lpfc: fix spelling mistake: "mabilbox" -> "mailbox"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in lpfc_printf_log log message Signed-off-by: Colin Ian King --- drivers/scsi/lpfc/lpfc_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-05-03 Thread Geert Uytterhoeven
Hi Luis, On Thu, Apr 26, 2018 at 11:54 PM, Luis R. Rodriguez wrote: > x86 implicit and explicit ZONE_DMA users > - > > We list below all x86 implicit and explicit ZONE_DMA users. > > # Explicit x86 users of GFP_DMA or __GFP_DMA > > *