All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: pulling failover out of qla2xxx
@ 2004-01-16 20:02 Andrew Vasquez
  2004-01-16 20:24 ` Jeff Garzik
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andrew Vasquez @ 2004-01-16 20:02 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: James Bottomley, Linux-SCSI, Arjan van de Ven

On Friday, January 16, 2004 4:07 AM, Christoph Hellwig wrote:
> > 	o Add initial ISP6312/ISP6322 definitions and checks during
> > 	  board configuration.
> 
> > 	o Add new 2300/2322 IPX and 6312/6322 FLX firmwares (3.02.20):
> > 	  - Remove 2300 TPX firmware from distribution.
> 
> Please add a frontend module per firmware variant instead of adding
> them to qla2300.ko - the whole point of these frontend modules is to
> avoid having to load unessecary firmware.
> 

One of the common complaints we've received from users of our HBA
products is that there are currently three _different_ drivers to
support the current line of ISP chips, ISP2100 - qla2100.o, ISP22XX -
qla2200.o, and ISP2300/2310/2312 - qla2300.o.

I originally mentioned this problem during early discussions with you
before you began the qla2xxx lib/isp split.  QLogic's directive then
and now is that from point-forward (ISP23XX), all future ISP chip
support would be added and exported in a single driver module rather
than the previous qlaABXX.o fashion.  Currently that module, while
perhaps incorrectly named, is qla2300.o.

I'll open up a request-for-response from the rest of the listers in
asking if parceling out qlaAB00.ko modules based on firmware types is
both practical and sensible from a user standpoint.  Especially
considering that many users aren't really concerned with the ISP chip
type on their QLAXXXX or OEM-BRANDED ABC host bus adapter.

Now from a development and maintenance standpoint, I can understand
the reluctance of having to accept a 100K file for each ISP type.
But, let me just say QLogic is looking into other ways of distributing
firmware images.  Finally, given the addition of some new binary-load
user->kernel space facilities (namely request_firmware()) the space
issue becomes moot.

> Else the update looks okay.

Thanks again for all your work at shaping the qla2xxx driver for
inclusion into 2.6.  I'd like to extend a personal thanks to you for
all your efforts, and, when I'm in the area of EU again, perhaps offer
to buy you a beer.

Thanks,
Andrew Vasquez

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: pulling failover out of qla2xxx
@ 2004-01-16  1:36 Andrew Vasquez
  2004-01-16 12:06 ` Christoph Hellwig
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Vasquez @ 2004-01-16  1:36 UTC (permalink / raw)
  To: James Bottomley; +Cc: Linux-SCSI, Arjan van de Ven, Christoph Hellwig

On Thursday, January 15, 2004 2:16 PM, James Bottomley wrote:

> I think the best way to maintain this is to add #ifdef
> CONFIG_SCSI_QLA2XXX_FAILOVER around all this code that was taken out
> of the main routines (so it really is compiled out when failover
> isn't defined) in your vendor tree. 
> 
> Then, to prepare kernel patches, you can run the vendor tree through
> unifdef to remove the failover code...and we can keep the
> non-failover code bases in sync. 
> 

Ok, I've uploaded a rather large patch to the SourceForge site:

	http://sourceforge.net/projects/linux-qla2xxx/

The file qla2xxx-resync_bk-v8.00.00b9.diff.bz2 available from the
download page will resync the qla2xxx driver in scsi-misc-2.7 with the
latest 8.00.00b9 release driver done yesterday -- of course, without
any FO/IOCTL pieces.

The patch weights in at a hefty 360K bzipped, where the bulk of the
diff is due to the updated ql2300_fw.c file and the three firmware
files for the newly supported ISP types (ISP2322, ISP6312, and
ISP6322).  The residuals weigh-in at ~70K of uncompressed diffs with
the core of the b8 -> b9 changes at around ~40K (the down_timeout
update mentioned below is around 30K).

Other changes include:

	o Remerge Christoph's down_timeout() update for mailbox
	  commands -- use a common and simpler variant of the down
	  with timeout scheme.  (this was appearantly dropped during
	  the bk update).

And again, the changes from 8.00.00b8 to 8.00.00b9:

	o Minimize device_id checks in register access functions
	  (IS_QLA23XX(), ISP_*_Q_*(), ...), emphasis on
	  non-ISP2[12]00 chips.
	o Add initial ISP6312/ISP6322 definitions and checks during
	  board configuration.
	o Only retrieve firmware version and resource counts if
	  we've successfully initialized the firmware.
	o Ensure the driver is logged into the SNS port before
	  performing any registrations.
	o Always use MMIO for chip register accesses.
	  - Remove MEMORY_MAPPED_IO define.
	o Address FLASH deficiencies with ISP2312 v2 chips.
	o Fix more PCI posting issues.
	o Wait for at most MAX_LOOP_TIMEOUT in
	  qla2x00_wait_for_hba_online().
	o Generalize descriptive name used for the driver
	  (i.e. QLogic ISP2xxx FC Driver --> QLogic FC Driver).
	o Remove unused debug routines (ENTER/LEAVE(), etc.).
	o Add new 2300/2322 IPX and 6312/6322 FLX firmwares (3.02.20):
	  - Remove 2300 TPX firmware from distribution.

In the future, now that we (I) have the process down and the driver is
in fact in the tree in some form, reasonbly sized patches will follow
after 8.00.00b9.

James:  I'll also pass this email onto linux-scsi.

Thanks again,
Andrew Vasquez

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

end of thread, other threads:[~2004-01-18 10:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-16 20:02 pulling failover out of qla2xxx Andrew Vasquez
2004-01-16 20:24 ` Jeff Garzik
2004-01-17 16:53   ` Christoph Hellwig
2004-01-17 20:52   ` Andrew Vasquez
2004-01-17 21:08     ` Arjan van de Ven
2004-01-17 21:52       ` Andrew Vasquez
2004-01-18 10:37         ` Arjan van de Ven
2004-01-16 23:33 ` Arjan van de Ven
2004-01-16 23:39   ` Jeff Garzik
2004-01-17 16:52 ` Christoph Hellwig
2004-01-17 18:47   ` Arjan van de Ven
2004-01-17 18:51     ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2004-01-16  1:36 Andrew Vasquez
2004-01-16 12:06 ` Christoph Hellwig

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.