public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] block highmem zero-bounce #17
@ 2001-10-18 12:40 Jens Axboe
  2001-10-19 13:08 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2001-10-18 12:40 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Ingo Molnar, Arjan Van de Ven

Hi,

Ingo reported a severe 3ware corruption bug today which I've fixed, so
it seemed due time for a new version of the patch.

- Fix scsi_merge not setting sg->address for "legacy" drivers not using
  the PCI DMA interface. Stupid bug, since the entire I/O path is
  supposed to remain untouched (basically) for drivers not enabling
  highmem... I really think this is the last of such bugs. (me)

- Add 'nohighio' boot flag to disable I/O to highmem I/O. x86 only (me)

- Finally remember to reverse size/offset arguments in cciss and
  cpqarray. Fixed a long time ago, forgot to commit to the tree... (me,
  arjan, others)

- aic7xxx uses wrong DMA mask (arjan)

- Remove SCSI host single_sg_ok, it is implied by can_dma_32 anyways
  (arjan)

- Enable can_dma_32 on aic7xxx_old (arjan)

Patch is considered solid. Find it here:

*.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.13-pre4/block-highmem-all-17.bz2

-- 
Jens Axboe


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

* Re: [patch] block highmem zero-bounce #17
  2001-10-18 12:40 [patch] block highmem zero-bounce #17 Jens Axboe
@ 2001-10-19 13:08 ` Andreas Schwab
  2001-10-19 13:10   ` Jens Axboe
  2001-10-19 13:13   ` Jens Axboe
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Schwab @ 2001-10-19 13:08 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel, Ingo Molnar, Arjan Van de Ven

Jens Axboe <axboe@suse.de> writes:

|> Patch is considered solid. Find it here:
|> 
|> *.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.13-pre4/block-highmem-all-17.bz2

Your patch still makes bad use of struct scatterlist which is architecture
dependent.  Either fix the definitions in asm-*/scatterlist.h or go back
using a private struct.  Why did you switch to struct scatterlist in the
first place??

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5

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

* Re: [patch] block highmem zero-bounce #17
  2001-10-19 13:08 ` Andreas Schwab
@ 2001-10-19 13:10   ` Jens Axboe
  2001-10-19 13:58     ` Andreas Schwab
  2001-10-19 13:13   ` Jens Axboe
  1 sibling, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2001-10-19 13:10 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Linux Kernel, Ingo Molnar, Arjan Van de Ven

On Fri, Oct 19 2001, Andreas Schwab wrote:
> Jens Axboe <axboe@suse.de> writes:
> 
> |> Patch is considered solid. Find it here:
> |> 
> |> *.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.13-pre4/block-highmem-all-17.bz2
> 
> Your patch still makes bad use of struct scatterlist which is architecture
> dependent.  Either fix the definitions in asm-*/scatterlist.h or go back
> using a private struct.  Why did you switch to struct scatterlist in the
> first place??

What are you talking about? Please expand. struct scatterlist has very
intentionally been changed to its current look, and if an arch is not
uptodate please let me know.

Some archs may not have updated their PCI DMA interfaces yet, that's
another issue. This will come in time.

-- 
Jens Axboe


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

* Re: [patch] block highmem zero-bounce #17
  2001-10-19 13:08 ` Andreas Schwab
  2001-10-19 13:10   ` Jens Axboe
@ 2001-10-19 13:13   ` Jens Axboe
  1 sibling, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2001-10-19 13:13 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Linux Kernel, Ingo Molnar, Arjan Van de Ven

On Fri, Oct 19 2001, Andreas Schwab wrote:
> using a private struct.  Why did you switch to struct scatterlist in the
> first place??

BTW, let me expand on this one. The sg_list change was dropped, davem
and I decided to evolve the current scatterlist in two steps:

- add ->page and ->offset and have the PCI DMA mapping interface use
  that if available. This step has already been taken with the pci64
  patches.

- Remove ->address completely. This step must be taken to ensure that
  drivers will be highmem safe. Period. Don't know when we will do this
  yet.

-- 
Jens Axboe


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

* Re: [patch] block highmem zero-bounce #17
  2001-10-19 13:10   ` Jens Axboe
@ 2001-10-19 13:58     ` Andreas Schwab
  2001-10-19 13:59       ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2001-10-19 13:58 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel

Jens Axboe <axboe@suse.de> writes:

|> On Fri, Oct 19 2001, Andreas Schwab wrote:
|> > Jens Axboe <axboe@suse.de> writes:
|> > 
|> > |> Patch is considered solid. Find it here:
|> > |> 
|> > |> *.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.13-pre4/block-highmem-all-17.bz2
|> > 
|> > Your patch still makes bad use of struct scatterlist which is architecture
|> > dependent.  Either fix the definitions in asm-*/scatterlist.h or go back
|> > using a private struct.  Why did you switch to struct scatterlist in the
|> > first place??
|> 
|> What are you talking about? Please expand. struct scatterlist has very
|> intentionally been changed to its current look, and if an arch is not
|> uptodate please let me know.

Currently ia64 does not build due to this.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5

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

* Re: [patch] block highmem zero-bounce #17
  2001-10-19 13:58     ` Andreas Schwab
@ 2001-10-19 13:59       ` Jens Axboe
  0 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2001-10-19 13:59 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Linux Kernel

On Fri, Oct 19 2001, Andreas Schwab wrote:
> |> On Fri, Oct 19 2001, Andreas Schwab wrote:
> |> > Jens Axboe <axboe@suse.de> writes:
> |> > 
> |> > |> Patch is considered solid. Find it here:
> |> > |> 
> |> > |> *.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.13-pre4/block-highmem-all-17.bz2
> |> > 
> |> > Your patch still makes bad use of struct scatterlist which is architecture
> |> > dependent.  Either fix the definitions in asm-*/scatterlist.h or go back
> |> > using a private struct.  Why did you switch to struct scatterlist in the
> |> > first place??
> |> 
> |> What are you talking about? Please expand. struct scatterlist has very
> |> intentionally been changed to its current look, and if an arch is not
> |> uptodate please let me know.
> 
> Currently ia64 does not build due to this.

Then the IA64 folks need to catch up. There's nothing new in this, this
is how stuff usually happens. In short, I don't see the problem.

-- 
Jens Axboe


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

end of thread, other threads:[~2001-10-19 13:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-18 12:40 [patch] block highmem zero-bounce #17 Jens Axboe
2001-10-19 13:08 ` Andreas Schwab
2001-10-19 13:10   ` Jens Axboe
2001-10-19 13:58     ` Andreas Schwab
2001-10-19 13:59       ` Jens Axboe
2001-10-19 13:13   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox