Re: iomapping a big endian area

2005-04-04 Thread Benjamin Herrenschmidt
On Sat, 2005-04-02 at 22:27 -0600, James Bottomley wrote: On Sat, 2005-04-02 at 20:08 -0800, David S. Miller wrote: Did anyone have a preference for the API? I was thinking ioread32_native, but ioread32be is fine too. I think doing foo{be,le}{8,16,32}() would be consistent with our

Re: iomapping a big endian area

2005-04-04 Thread James Bottomley
On Mon, 2005-04-04 at 17:50 +1000, Benjamin Herrenschmidt wrote: I disagree. The driver will never know ... ? the driver has to know. Look at the 53c700 to see exactly how awful it is. This beast has byte and word registers. When used BE, all the byte registers alter their position (to both

Re: iomapping a big endian area

2005-04-04 Thread Christoph Hellwig
On Mon, Apr 04, 2005 at 08:59:03AM -0500, James Bottomley wrote: Well ... it's like this. Native means pass through without swapping and has an easy implementation on both BE and LE platforms. Logically io{read,write}{16,32}be would have to do byte swaps on LE platforms. Being lazy, I'm

Re: iomapping a big endian area

2005-04-04 Thread Randy.Dunlap
James Bottomley wrote: On Mon, 2005-04-04 at 17:50 +1000, Benjamin Herrenschmidt wrote: I disagree. The driver will never know ... ? the driver has to know. Look at the 53c700 to see exactly how awful it is. This beast has byte and word registers. When used BE, all the byte registers alter

Re: [PATCH] compile out scsi_ioctl when no SCSI/IDE/etc. (take 2)

2005-04-04 Thread Matthew Wilcox
On Mon, Apr 04, 2005 at 03:47:01PM +0200, Fillod Stephane wrote: --- linux/drivers/ide/ide.c 26 Mar 2005 03:28:17 - 1.1.1.2 +++ linux/drivers/ide/ide.c 4 Apr 2005 13:24:29 - @@ -1562,9 +1562,11 @@ return 0; } +#ifdef CONFIG_SCSI_IOCTL

Re: [PATCH scsi-misc-2.6 08/13] scsi: move request preps in other places into prep_fn()

2005-04-04 Thread James Bottomley
On Fri, 2005-04-01 at 14:25 +0900, Tejun Heo wrote: Ah.. with later requeue path consolidation patches, all requests get their sense buffer cleared during requeueing, which, IMHO, is more logical. Moving scsi_init_cmd_errh() should come after the patch. Sorry. :-) I'll make another take

dm-multipath+iscsi-initiator-core performance results

2005-04-04 Thread Nicholas A. Bellinger
Greetings all, The following presents benchmarks for dm-multipath in combination with iscsi-initiator-core over 10Gb/sec Ethernet. This test's primary purpose is to show how outer-nexus multipathing using dm-multipath in conjunction with inter-nexus multiplexing using iscsi-initiator-core can

Re: iomapping a big endian area

2005-04-04 Thread James Bottomley
OK, I sent the patch off to Andrew. To complete the original problem, the attached is the patch that uses it in the parisc lasi driver (although, actually, it sets up 53c700 to work everywhere including BE on a LE system). I changed some of the flags around to reflect the fact that we now have