Skip to contentSkip to conversation

scsi: arcmsr: add driver module parameter - msi_enable, msix_enable

PATCH In review Ching Huang 4 participants 6 messages Nov 23, 2017 – Nov 27, 2017 SCSI

lore
Share & tools
lore
#0 lore raw

cover scsi: arcmsr: add driver module parameter - msi_enable, msix_enable

From: Ching Huang <[email protected]>

Hi all,

The following patches apply to Martin's 4.16/scsi-queue.

Patch 1: Add module parameter msi_enable to has a chance to disable msi interrupt if it does not work properly.

Patch 2: Add module parameter msix_enable to has a chance to disable msix interrupt if it does not work properly.

Patch 3: Update driver version to v1.40.00.03-20171121

Please review. Thanks.
---

#1 lore raw
Quoted 9 lines · Ching Huang

From: Ching Huang <[email protected]>

Hi all,

The following patches apply to Martin's 4.16/scsi-queue.

Patch 1: Add module parameter msi_enable to has a chance to disable msi interrupt if it does not work properly.

Patch 2: Add module parameter msix_enable to has a chance to disable msix interrupt if it does not work properly.

Why would it not work properly?

#2 lore raw
Quoted 5 lines · Christoph Hellwig
Quoted 4 lines · Ching Huang

From: Ching Huang <[email protected]>

Hi all,

Quoted 7 lines
Quoted 5 lines

The following patches apply to Martin's 4.16/scsi-queue.

Patch 1: Add module parameter msi_enable to has a chance to disable msi interrupt if it does not work properly.

Patch 2: Add module parameter msix_enable to has a chance to disable msix interrupt if it does not work properly.

Why would it not work properly?

This patch is apply to
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/tree/?h=4.16/scsi-queue

#3 lore raw
Quoted 8 lines · Ching Huang
Quoted 7 lines · Christoph Hellwig
Quoted 6 lines · Ching Huang

From: Ching Huang <[email protected]>

Hi all,

The following patches apply to Martin's 4.16/scsi-queue.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Patch 1: Add module parameter msi_enable to has a chance to disable msi interrupt if it does not work properly.

Patch 2: Add module parameter msix_enable to has a chance to disable msix interrupt if it does not work properly.

Why would it not work properly?

This patch is apply to
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/tree/?h=4.16/scsi-queue

No, the question is we're adding an option called "msi_enable" which is used to disable MSI interrupts "if it does not work properly". Why is the current code not working properly?

Is there a crash or a performance issue? What does the bug in the current code look like from a user perspective? Can you send us a dmesg from a failing system?

regards,
dan carpenter

#4 lore raw

Re: [PATCH 0/3] scsi: arcmsr: add driver module parameter - (linux-kernel: [email protected] exclusive) msi_enable, msix_enable

Quoted 2 lines · On 24.11.2017 15:53, Dan Carpenter - [email protected] wrote:

Is there a crash or a performance issue? What does the bug in the current code look like from a user perspective?

It looks like this: https://bugzilla.kernel.org/show_bug.cgi?id=197877

dmesg output can be found in the bug report.

Disabling MSI interrupts with msi_enable=0 (and Ching's patches) does resolve the issue, but whether it should be considered a fix or a workaround is not for me to say.

Regards,

Kristian Rasmussen

author
#5 lore raw
In reply to Dan Carpenter

Dan,

There is our user feedback said that they have some system have MSI interrupt issue.(but some system are working)
Those have MSI issue system all are old system, even if MSI interrupt enable and request are successful, there is not any hardware interrupt for scsi command. Cause each scsi command timeout. So msi_enable parameter is a way to disable msi interrupt request.
Using legacy interrupt, those have MSI interrupt issue system are working properly.

Thanks,
Ching

2017-11-24 22:53 GMT+08:00 Dan Carpenter <[email protected]>:

Quoted 28 lines · Ching Huang
Quoted 8 lines · Christoph Hellwig
Quoted 7 lines · Ching Huang
Quoted 6 lines

From: Ching Huang <[email protected]>

Hi all,

The following patches apply to Martin's 4.16/scsi-queue.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Patch 1: Add module parameter msi_enable to has a chance to disable msi interrupt if it does not work properly.

Patch 2: Add module parameter msix_enable to has a chance to disable msix interrupt if it does not work properly.

Why would it not work properly?

This patch is apply to
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/tree/?h=4.16/scsi-queue

No, the question is we're adding an option called "msi_enable" which is used to disable MSI interrupts "if it does not work properly". Why is the current code not working properly?

Is there a crash or a performance issue? What does the bug in the current code look like from a user perspective? Can you send us a dmesg from a failing system?

regards,
dan carpenter