All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yinghai Lu <yinghai@kernel.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	david@lang.hm, Matthew Wilcox <matthew@wil.cx>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-scsi@vger.kernel.org, DL-MPTFusionLinux@lsi.com,
	linux-pci@vger.kernel.org
Subject: Re: [PATCH] pci: enable MSI on 8132
Date: Wed, 18 Feb 2009 11:25:32 -0800	[thread overview]
Message-ID: <499C60AC.9050008@kernel.org> (raw)
In-Reply-To: <1234984495.3225.48.camel@localhost.localdomain>

James Bottomley wrote:
> On Wed, 2009-02-18 at 11:08 -0800, Yinghai Lu wrote:
>> James Bottomley wrote:
>>> On Wed, 2009-02-18 at 10:04 -0800, Andrew Morton wrote:
>>>
>>>> Do we not need mpt-fix-enable-lsi-sas-to-use-msi-as-default.patch as
>>>> well, to fix this regression?
>>> No ... it's a separate issue.  MSI was enabled for fusion SAS in 2.6.26;
>>> the problem msi patch which the above corrects actually has the effect
>>> of disabling MSI for fusion and went into 2.6.29-rc2, which isn't a
>>> kernel that's been tested here.
>>>
>> so for 2.6.26, 27, 28 need pci-enable-msi-on-8132.patch
> 
> I'm a bit lost with the names, but if that's the PCI quirk fix, then yes

yes

> 
>> 2.6.29 need pci-enable-msi-on-8132.patch and mpt-fix-enable-lsi-sas-to-use-msi-as-default.patch
> 
> Like I said, I'm happy to have MSI completely disabled until LSI wants
> to comment, so no ... only the PCI quirk fix.  The true fix is to have
> the drivers participate in dynamic testing of MSI IRQ routing, but I've
> somewhat lost sight of that.

[PATCH] mpt: fix enable lsi sas to use msi as default

Impact: fix bug

the third param in module_param(,,) is perm instead of default value.
we still need to assign default at first.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>

---
 drivers/message/fusion/mptbase.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/drivers/message/fusion/mptbase.c
===================================================================
--- linux-2.6.orig/drivers/message/fusion/mptbase.c
+++ linux-2.6/drivers/message/fusion/mptbase.c
@@ -90,8 +90,8 @@ module_param(mpt_msi_enable_fc, int, 0);
 MODULE_PARM_DESC(mpt_msi_enable_fc, " Enable MSI Support for FC \
 		controllers (default=0)");
 
-static int mpt_msi_enable_sas;
-module_param(mpt_msi_enable_sas, int, 1);
+static int mpt_msi_enable_sas = 1;
+module_param(mpt_msi_enable_sas, int, 0);
 MODULE_PARM_DESC(mpt_msi_enable_sas, " Enable MSI Support for SAS \
 		controllers (default=1)");
 
or you want

[PATCH] mpt: fix disable lsi sas to use msi as default

Impact: fix bug

the third param in module_param(,,) is perm instead of default value.
we still need to assign default at first.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>

---
 drivers/message/fusion/mptbase.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/drivers/message/fusion/mptbase.c
===================================================================
--- linux-2.6.orig/drivers/message/fusion/mptbase.c
+++ linux-2.6/drivers/message/fusion/mptbase.c
@@ -91,9 +91,9 @@ MODULE_PARM_DESC(mpt_msi_enable_fc, " En
 		controllers (default=0)");
 
 static int mpt_msi_enable_sas;
-module_param(mpt_msi_enable_sas, int, 1);
+module_param(mpt_msi_enable_sas, int, 0);
 MODULE_PARM_DESC(mpt_msi_enable_sas, " Enable MSI Support for SAS \
-		controllers (default=1)");
+		controllers (default=0)");
 
 
 static int mpt_channel_mapping;

anyway we need to fix the typo.

YH

  reply	other threads:[~2009-02-18 19:27 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 22:24 mpt fusion broken sometime since 2.6.24 david
2009-02-17 21:44 ` david
2009-02-17 23:00   ` Matthew Wilcox
2009-02-17 23:07     ` david
2009-02-17 23:11       ` Matthew Wilcox
2009-02-17 23:20         ` Yinghai Lu
2009-02-17 23:21         ` david
2009-02-17 23:11       ` Yinghai Lu
2009-02-17 23:20         ` david
2009-02-17 23:22           ` Yinghai Lu
2009-02-17 23:37             ` david
2009-02-18  2:01               ` Yinghai Lu
2009-02-18  2:03                 ` david
2009-02-18  2:14                   ` Yinghai Lu
2009-02-18  2:32                     ` david
2009-02-18  2:28                   ` Yinghai Lu
2009-02-18  2:34                     ` david
2009-02-18  2:40                       ` david
2009-02-18  2:49                         ` Yinghai Lu
2009-02-18  3:26                           ` david
2009-02-18  3:28                             ` Yinghai Lu
2009-02-18  3:35                               ` david
2009-02-18  3:45                                 ` david
2009-02-18  3:47                                 ` Yinghai Lu
2009-02-18  4:14                                   ` david
2009-02-18  4:36                                     ` Yinghai Lu
2009-02-18  4:36                                       ` Yinghai Lu
2009-02-18  5:06                                     ` Yinghai Lu
2009-02-18  5:06                                       ` Yinghai Lu
2009-02-18  5:10                                       ` Yinghai Lu
2009-02-18  5:10                                         ` Yinghai Lu
2009-02-18  4:40                             ` [PATCH] pci: enable MSI on 8132 Yinghai Lu
2009-02-18 12:21                               ` Matthew Wilcox
2009-02-18 12:27                                 ` david
2009-02-18 18:04                                   ` Andrew Morton
2009-02-18 18:18                                     ` david
2009-02-18 18:32                                       ` Greg KH
2009-02-18 18:38                                     ` James Bottomley
2009-02-18 18:40                                       ` david
2009-02-18 19:08                                       ` Yinghai Lu
2009-02-18 19:14                                         ` James Bottomley
2009-02-18 19:25                                           ` Yinghai Lu [this message]
2009-02-18 20:12                                           ` Jeff Garzik
2009-02-18 20:18                                             ` James Bottomley
2009-02-18 19:15                                       ` Andrew Morton
2009-02-18 19:29                                         ` Yinghai Lu
2009-02-18 19:33                                         ` James Bottomley
2009-02-19  4:21                                       ` Prakash, Sathya
2009-02-18 19:00                               ` Jesse Barnes
2009-02-19  3:39                               ` Robert Hancock
2009-02-21  7:50                                 ` Eric W. Biederman
2009-02-21  8:31                                   ` Yinghai Lu
2009-02-21  8:58                                     ` Eric W. Biederman
2009-02-21 10:23                                       ` Yinghai Lu
2009-02-21 18:59                                         ` Robert Hancock
2009-02-22 12:08                                           ` Prakash Punnoor
2009-02-22 12:54                                             ` Eric W. Biederman
2009-02-22 15:17                                               ` Prakash Punnoor
2009-02-22 21:45                                                 ` Yinghai Lu
2009-02-22 22:07                                                   ` Yinghai Lu
2009-02-23  6:18                                                 ` Yinghai Lu
2009-02-23 18:21                                                   ` Prakash Punnoor
2009-02-23 18:50                                                     ` Yinghai Lu
2009-02-23 19:01                                                       ` Prakash Punnoor
2009-02-23 19:51                                                   ` [PATCH] pci: don't enable too many HT MSI mapping Yinghai Lu
2009-02-24 17:37                                                     ` Jesse Barnes
2009-02-27  6:52                                                       ` Prakash Punnoor
2009-02-27 20:59                                                         ` Yinghai Lu
2009-02-28  8:25                                                           ` Prakash Punnoor
2009-02-28 20:57                                                             ` Yinghai Lu
2009-02-28 22:43                                                               ` Yinghai Lu
2009-03-01  7:50                                                                 ` Prakash Punnoor
2009-03-01  7:58                                                                   ` Prakash Punnoor
2009-03-01  8:12                                                                     ` Yinghai Lu
2009-03-01  8:29                                                                       ` Prakash Punnoor
2009-03-04  7:15                                                                         ` Prakash Punnoor
2009-03-04  8:21                                                                           ` Yinghai Lu
2009-03-05 17:01                                                                           ` Matthew Wilcox
2009-03-05 17:15                                                                           ` Matthew Wilcox
2009-03-05 23:26                                                                             ` Yinghai Lu
2009-03-05 23:45                                                                             ` Prakash Punnoor
2009-03-06  1:10                                                                               ` Matthew Wilcox
2009-03-06  4:15                                                                                 ` Yinghai Lu
2009-03-06  9:10                                                                                   ` Prakash Punnoor
2009-03-21  2:29                                                                                   ` [PATCH] pci: don't enable too much HT MSI mapping -v5 -resend Yinghai Lu
2009-03-26 23:10                                                                                     ` Jesse Barnes
2009-03-28 12:34                                                                                       ` Prakash Punnoor
2009-03-28 13:31                                                                                         ` Prakash Punnoor
2009-03-28 20:18                                                                                           ` Yinghai Lu
2009-03-28 22:11                                                                                             ` Prakash Punnoor
2009-03-28 20:52                                                                                           ` Yinghai Lu
2009-03-28 22:16                                                                                             ` Prakash Punnoor
2009-03-28 23:15                                                                                               ` Yinghai Lu
2009-03-29  1:33                                                                                               ` Yinghai Lu
2009-03-29  9:15                                                                                                 ` Prakash Punnoor
2009-03-29  9:32                                                                                                   ` Yinghai Lu
2009-03-29 12:50                                                                                                     ` Prakash Punnoor
2009-03-29 19:27                                                                                                       ` Yinghai Lu
2009-03-29 19:30                                                                                               ` [PATCH] pci: don't enable too much HT MSI mapping -v6 Yinghai Lu
2009-03-30 19:17                                                                                                 ` Jesse Barnes
2009-02-22 23:42                                               ` [PATCH] pci: enable MSI on 8132 Matthew Wilcox
2009-02-22  3:42                                       ` Grant Grundler
2009-02-18  3:12                         ` mpt fusion broken sometime since 2.6.24 david

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499C60AC.9050008@kernel.org \
    --to=yinghai@kernel.org \
    --cc=DL-MPTFusionLinux@lsi.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@lang.hm \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.