Re: [PATCH] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-08-30 at 15:13 -0700, Luben Tuikov wrote:
> AHC_LARGE_SCBS means that the card can take 64 byte hardware SCBs.
> Normally HSCBs are 32 bytes for older controllers.  Latter aic78xx and
> all aic79xx chips support 64 byte HSCBs.  So this isn't related.

So all aic chips, regardless of age can do 39 bit addressing mode in the
scb?  It also means they must be DAC capable, which I thought was pretty
much a universally missing feature in early cards.  From the bug report,
the card in question is a 7880, which is pretty early, I think: only
ultra, not even U2 or LVD.

> To fix this bug, you should only have to substitute
>            ahc_linux_get_memsize() > 0x80000000
> with
>            dma_get_required_mask(dev) > DMA_32BIT_MASK,
> to fix this issue (unless of course the kernel is confused too ;-) ).

But all that does is correct a thinko in the original code where it
would try to turn on 39 bit addressing mode if the machine has >2GB of
memory.  The practical effect of which is pretty much nil.

The symptoms reported look very much like DMA to the wrong region.

James


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux