All of lore.kernel.org
 help / color / mirror / Atom feed
* QLogic drivers in 2.4
@ 2003-09-19 17:47 Bjorn Helgaas
  2003-09-19 18:01 ` Chen, Kenneth W
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Bjorn Helgaas @ 2003-09-19 17:47 UTC (permalink / raw)
  To: linux-ia64

These drivers, and the ql2xxx stuff in particular, comprise
one of the big pieces of the 2.4 ia64 patch that hasn't gone
upstream yet:

 drivers/scsi/ql12160_fw.h                    | 3125 +++---
 drivers/scsi/ql1280_fw.h                     | 3774 ++++---
 drivers/scsi/ql2100_fw.h                     | 4740 +++++++++
 drivers/scsi/ql2200_fw.h                     | 5179 ++++++++++
 drivers/scsi/ql2300_fw.h                     | 5486 +++++++++++
 drivers/scsi/qla1280.c                       | 1399 +-
 drivers/scsi/qla1280.h                       |  297 
 drivers/scsi/qla2x00.c                       |12823 +++++++++++++++++++++++++++
 drivers/scsi/qla2x00.h                       | 2492 +++++
 drivers/scsi/qla2x00exioct.h                 |  823 +
 drivers/scsi/qla2x00exioctln.h               |  131 
 drivers/scsi/qla2x00ioctl.c                  | 1179 ++
 drivers/scsi/qlavendor.c                     |  325 

It looks like at least the ql2xxx stuff is (a) not in the 2.5
tree, and (b) not in Red Hat kernels.

So who cares about this stuff?  If I dropped it out of the
ia64 patch, would anybody be upset enough to help sort
this out?

Bjorn


^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
@ 2003-09-19 18:01 ` Chen, Kenneth W
  2003-09-19 18:08 ` Bjorn Helgaas
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chen, Kenneth W @ 2003-09-19 18:01 UTC (permalink / raw)
  To: linux-ia64

> It looks like at least the ql2xxx stuff is (a) not in the 2.5
> tree, and (b) not in Red Hat kernels.

Redhat AS2.1 and EL3 have at least qla2xxx and qla1280.

> So who cares about this stuff?

I do, :-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
  2003-09-19 18:01 ` Chen, Kenneth W
@ 2003-09-19 18:08 ` Bjorn Helgaas
  2003-09-19 18:11 ` Christoph Hellwig
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Bjorn Helgaas @ 2003-09-19 18:08 UTC (permalink / raw)
  To: linux-ia64

On Friday 19 September 2003 12:01 pm, Chen, Kenneth W wrote:
> > It looks like at least the ql2xxx stuff is (a) not in the 2.5
> > tree, and (b) not in Red Hat kernels.
> 
> Redhat AS2.1 and EL3 have at least qla2xxx and qla1280.

$ l redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla*
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla1280.c
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla1280.h
$ l redhat/2.4.18-e.37/src/drivers/scsi/qla*
redhat/2.4.18-e.37/src/drivers/scsi/qla1280.c
redhat/2.4.18-e.37/src/drivers/scsi/qla1280.h

I see they have qla1280, but I don't see qla2xxx.  Am I looking in the
wrong place?

> > So who cares about this stuff?
> 
> I do, :-)

Do you care enough to help get these changes upstream?
I'm tired of carrying them in the ia64 patch.

Bjorn


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
  2003-09-19 18:01 ` Chen, Kenneth W
  2003-09-19 18:08 ` Bjorn Helgaas
@ 2003-09-19 18:11 ` Christoph Hellwig
  2003-09-19 18:17 ` Bill Nottingham
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Christoph Hellwig @ 2003-09-19 18:11 UTC (permalink / raw)
  To: linux-ia64

On Fri, Sep 19, 2003 at 11:47:46AM -0600, Bjorn Helgaas wrote:
> It looks like at least the ql2xxx stuff is (a) not in the 2.5
> tree, and (b) not in Red Hat kernels.
> 
> So who cares about this stuff?  If I dropped it out of the
> ia64 patch, would anybody be upset enough to help sort
> this out?

The qla2x00 in your tree is utter crap, so please drop it.
For qla1280 I still hope Jes pushes his latest to Marcelo..


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (2 preceding siblings ...)
  2003-09-19 18:11 ` Christoph Hellwig
@ 2003-09-19 18:17 ` Bill Nottingham
  2003-09-19 18:20 ` Bill Nottingham
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Bill Nottingham @ 2003-09-19 18:17 UTC (permalink / raw)
  To: linux-ia64

> > Redhat AS2.1 and EL3 have at least qla2xxx and qla1280.
> 
> $ l redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla*
> redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla1280.c
> redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla1280.h
> $ l redhat/2.4.18-e.37/src/drivers/scsi/qla*
> redhat/2.4.18-e.37/src/drivers/scsi/qla1280.c
> redhat/2.4.18-e.37/src/drivers/scsi/qla1280.h
> 
> I see they have qla1280, but I don't see qla2xxx.  Am I looking in the
> wrong place?

drivers/addon

Bill

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (3 preceding siblings ...)
  2003-09-19 18:17 ` Bill Nottingham
@ 2003-09-19 18:20 ` Bill Nottingham
  2003-09-19 18:21 ` Martin K. Petersen
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Bill Nottingham @ 2003-09-19 18:20 UTC (permalink / raw)
  To: linux-ia64

Bill Nottingham (notting@redhat.com) said: 
> > $ l redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla*
> > redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla1280.c
> > redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla1280.h
> > $ l redhat/2.4.18-e.37/src/drivers/scsi/qla*
> > redhat/2.4.18-e.37/src/drivers/scsi/qla1280.c
> > redhat/2.4.18-e.37/src/drivers/scsi/qla1280.h
> > 
> > I see they have qla1280, but I don't see qla2xxx.  Am I looking in the
> > wrong place?
> 
> drivers/addon

Note that for RHEL3 (and probably RHEL2.1, I'll need to check) we aren't
using the qla2xxx out of the ia64 patch, but a separate driver from qlogic.

Bill

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (4 preceding siblings ...)
  2003-09-19 18:20 ` Bill Nottingham
@ 2003-09-19 18:21 ` Martin K. Petersen
  2003-09-19 18:23 ` Chen, Kenneth W
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Martin K. Petersen @ 2003-09-19 18:21 UTC (permalink / raw)
  To: linux-ia64

>>>>> "Bjorn" = Bjorn Helgaas <bjorn.helgaas@hp.com> writes:

Jes actively maintains the qla1280 driver.  If he hasn't pushed the
latest bits to Marcelo yet, he should (hint!).


Bjorn> It looks like at least the ql2xxx stuff is (a) not in the 2.5
Bjorn> tree, and (b) not in Red Hat kernels.

The qla2xxx driver hasn't been submitted to Marcelo.  For this reason
Red Hat puts it in drivers/addon and not drivers/scsi.


I think the qla1280 is important enough (core SCSI on several boxes)
that you should keep it around until it's synced with Marcelo.

But in general I agree with the principle of not having generic
drivers in the IA-64 patch.

-- 
Martin K. Petersen	Wild Open Source, Inc.
mkp@wildopensource.com	http://www.wildopensource.com/


^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (5 preceding siblings ...)
  2003-09-19 18:21 ` Martin K. Petersen
@ 2003-09-19 18:23 ` Chen, Kenneth W
  2003-09-19 18:40 ` Grant Grundler
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chen, Kenneth W @ 2003-09-19 18:23 UTC (permalink / raw)
  To: linux-ia64

> > Redhat AS2.1 and EL3 have at least qla2xxx and qla1280.
> 
> $ l
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla*
>
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla12
80.c
>
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla12
80.h
> $ l redhat/2.4.18-e.37/src/drivers/scsi/qla*
> redhat/2.4.18-e.37/src/drivers/scsi/qla1280.c
> redhat/2.4.18-e.37/src/drivers/scsi/qla1280.h
> 
> I see they have qla1280, but I don't see qla2xxx.  Am I looking in the
> wrong place?

Redhat stuff the qla2xxx under drivers/addon/qla2200


> Do you care enough to help get these changes upstream?
> I'm tired of carrying them in the ia64 patch.

Probably not that far.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (6 preceding siblings ...)
  2003-09-19 18:23 ` Chen, Kenneth W
@ 2003-09-19 18:40 ` Grant Grundler
  2003-09-19 18:43 ` Chen, Kenneth W
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2003-09-19 18:40 UTC (permalink / raw)
  To: linux-ia64

On Fri, Sep 19, 2003 at 11:47:46AM -0600, Bjorn Helgaas wrote:
> These drivers, and the ql2xxx stuff in particular,

Yeah - they don't belong in the ia64-linux specific patch
and it's probably (partially) my fault they are there.

> comprise one of the big pieces of the 2.4 ia64 patch that hasn't gone
> upstream yet:
> 
>  drivers/scsi/ql12160_fw.h                    | 3125 +++---
>  drivers/scsi/ql1280_fw.h                     | 3774 ++++---
>  drivers/scsi/ql2100_fw.h                     | 4740 +++++++++
>  drivers/scsi/ql2200_fw.h                     | 5179 ++++++++++
>  drivers/scsi/ql2300_fw.h                     | 5486 +++++++++++
>  drivers/scsi/qla1280.c                       | 1399 +-
>  drivers/scsi/qla1280.h                       |  297 

I'd think Jes could(had?) submit(ted) qla1280 bits himself upstream.

>  drivers/scsi/qla2x00.c                       |12823 +++++++++++++++++++++++++++
>  drivers/scsi/qla2x00.h                       | 2492 +++++
>  drivers/scsi/qla2x00exioct.h                 |  823 +
>  drivers/scsi/qla2x00exioctln.h               |  131 
>  drivers/scsi/qla2x00ioctl.c                  | 1179 ++
>  drivers/scsi/qlavendor.c                     |  325 

aren't these the "old" isp2x00 FC drivers?
I see the "new" qla2xxx drivers in their own directory:
	drivers/scsi/qla2xxx

in linux-ia64-2.4 bk tree.

> It looks like at least the ql2xxx stuff is (a) not in the 2.5
> tree,

I thought for 2.5.x someone was maintaining an 8.x qla FC driver which was
in parallel with qla2xxx 6.x FC drivers maintained by qlogic.
I'm not sure what happened here since I don't see it in
David's linux-ia64-2.5 bk tree.

> and (b) not in Red Hat kernels.

Red Hat Advanced Server kernels have qla2xxx FC support someplace.
I'll try to unpack a recent ia64 RHAS kernel and see where it's hiding
if no one else knows off hand.

> So who cares about this stuff?

AFAIK, HP doesn't care about "old" FC qla drivers on ia64.
IIRC, i2000 support has qla1280 and HP should support that.
HP cares more about new qlogic FC drivers. e.g.:
scsi6 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 128 device 1 irq 62
	Firmware version:  3.01.18, Driver version 6.04.00

(HP will actually need a post release of 6.05)

> If I dropped it out of the ia64 patch, would anybody be upset enough
> to help sort this out?

If necessary, I can organize help in-house.

thanks,
grant

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (7 preceding siblings ...)
  2003-09-19 18:40 ` Grant Grundler
@ 2003-09-19 18:43 ` Chen, Kenneth W
  2003-09-20  7:20 ` Christoph Hellwig
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Chen, Kenneth W @ 2003-09-19 18:43 UTC (permalink / raw)
  To: linux-ia64

On a second thought, the qla2x00 driver in ia64 tree is so old that it
doesn't add much value for the effort that people put in. Dropping it
isn't going to doom the earth or something.


-----Original Message-----
From: Chen, Kenneth W 
Sent: Friday, September 19, 2003 11:24 AM
To: 'Bjorn Helgaas'; linux-ia64@vger.kernel.org
Subject: RE: QLogic drivers in 2.4


> > Redhat AS2.1 and EL3 have at least qla2xxx and qla1280.
> 
> $ l
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla*
>
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla12
80.c
>
redhat/rhel3-b2/usr/src/linux-2.4.21-1.1931.2.399.ent/drivers/scsi/qla12
80.h
> $ l redhat/2.4.18-e.37/src/drivers/scsi/qla*
> redhat/2.4.18-e.37/src/drivers/scsi/qla1280.c
> redhat/2.4.18-e.37/src/drivers/scsi/qla1280.h
> 
> I see they have qla1280, but I don't see qla2xxx.  Am I looking in the
> wrong place?

Redhat stuff the qla2xxx under drivers/addon/qla2200


> Do you care enough to help get these changes upstream?
> I'm tired of carrying them in the ia64 patch.

Probably not that far.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (8 preceding siblings ...)
  2003-09-19 18:43 ` Chen, Kenneth W
@ 2003-09-20  7:20 ` Christoph Hellwig
  2003-09-25  7:16 ` Jes Sorensen
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Christoph Hellwig @ 2003-09-20  7:20 UTC (permalink / raw)
  To: linux-ia64

On Fri, Sep 19, 2003 at 11:40:29AM -0700, Grant Grundler wrote:
> I'd think Jes could(had?) submit(ted) qla1280 bits himself upstream.

Last time I asked him (ok, that's a looong time ago) he didn't want to
submit it for 2.4.  His driver is in 2.5 though but is 2.4-compatible.

It would be really nice (TM) to see it in Marcelo's tree.

> I thought for 2.5.x someone was maintaining an 8.x qla FC driver which was
> in parallel with qla2xxx 6.x FC drivers maintained by qlogic.
> I'm not sure what happened here since I don't see it in
> David's linux-ia64-2.5 bk tree.

Well, that someone is qlogic.  But I don's see why it should go into
the ia64 tree.  Once qlogic got the driver in shape it and/or the feral
driver should go into mainline.  This is actually on the 2.6 should-fix
list.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (9 preceding siblings ...)
  2003-09-20  7:20 ` Christoph Hellwig
@ 2003-09-25  7:16 ` Jes Sorensen
  2003-09-25  7:21 ` Jes Sorensen
  2003-09-25 20:29 ` Grant Grundler
  12 siblings, 0 replies; 14+ messages in thread
From: Jes Sorensen @ 2003-09-25  7:16 UTC (permalink / raw)
  To: linux-ia64

>>>>> "Christoph" = Christoph Hellwig <hch@infradead.org> writes:

Christoph> The qla2x00 in your tree is utter crap, so please drop it.
Christoph> For qla1280 I still hope Jes pushes his latest to Marcelo..

Thats my intention, the 1280 driver has gotten enough exposure in the
2.5 tree now that I think it's about ready for 2.4.

Jes

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (10 preceding siblings ...)
  2003-09-25  7:16 ` Jes Sorensen
@ 2003-09-25  7:21 ` Jes Sorensen
  2003-09-25 20:29 ` Grant Grundler
  12 siblings, 0 replies; 14+ messages in thread
From: Jes Sorensen @ 2003-09-25  7:21 UTC (permalink / raw)
  To: linux-ia64

>>>>> "Christoph" = Christoph Hellwig <hch@infradead.org> writes:

Christoph> Well, that someone is qlogic.  But I don's see why it
Christoph> should go into the ia64 tree.  Once qlogic got the driver
Christoph> in shape it and/or the feral driver should go into
Christoph> mainline.  This is actually on the 2.6 should-fix list.

Hi,

I am a little wary of pushing the Feral driver to mainstraim in it's
current state (well at least the state it was in a few months ago when
I last looked). It's register access macros suffers from being
multi-OS wrappers and it got memory ordering and posted writes
completely wrong. It's certainly fixable, but if we push it for
mainline, I'd really like to see someone swing the club over it a bit
and convince it to be a little more Linuxy.

I understand the heritage of the Feral driver, so please don't take
this as a rant, it's merely an issue of what the target for the driver
is.

Cheers,
Jes


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: QLogic drivers in 2.4
  2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
                   ` (11 preceding siblings ...)
  2003-09-25  7:21 ` Jes Sorensen
@ 2003-09-25 20:29 ` Grant Grundler
  12 siblings, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2003-09-25 20:29 UTC (permalink / raw)
  To: linux-ia64

On Sat, Sep 20, 2003 at 08:20:25AM +0100, Christoph Hellwig wrote:
> Well, that someone is qlogic.

ah - even better.

> But I don's see why it should go into the ia64 tree.

It shouldn't - should be mainline submittal.

> Once qlogic got the driver in shape it and/or the feral
> driver should go into mainline.

I exchanged email with Matthew Jacob <mjacob@feral.com> in Jan 2003 and
data corruption occurred in < 10 minutes of functional testing.
(Sorry Jes, I remembered wrong - it wasn't a panic).
I could add retesting this driver to my TODO list if someone thinks
it's worthwhile.

feral.com driver stopped being interesting to me becuase the qlogic
drivers have usually  passed functional testing (found very few issues).
I find stylistic "bugs" easier to fix than correctness issues...

hth,
grant

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-09-25 20:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-19 17:47 QLogic drivers in 2.4 Bjorn Helgaas
2003-09-19 18:01 ` Chen, Kenneth W
2003-09-19 18:08 ` Bjorn Helgaas
2003-09-19 18:11 ` Christoph Hellwig
2003-09-19 18:17 ` Bill Nottingham
2003-09-19 18:20 ` Bill Nottingham
2003-09-19 18:21 ` Martin K. Petersen
2003-09-19 18:23 ` Chen, Kenneth W
2003-09-19 18:40 ` Grant Grundler
2003-09-19 18:43 ` Chen, Kenneth W
2003-09-20  7:20 ` Christoph Hellwig
2003-09-25  7:16 ` Jes Sorensen
2003-09-25  7:21 ` Jes Sorensen
2003-09-25 20:29 ` Grant Grundler

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.