Re: [PATCH] aic94xx: driver assertion in non-x86 BIOS env

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

 



On Wed, Mar 01, 2006 at 01:22:56PM -0800, Tarte, Robert wrote:
> > From: Matthew Wilcox [mailto:matthew@xxxxxx]
> > You're saying that you do an 8-byte non-DMA write to an address
> > that's congruent to 4 mod 8?  Based on briefly skimming the internal
> > documentation for zx1, I'd say you're invoking undefined behaviour.

> Thanks for the confirmation.  Internal documentation for zx1?  Where can
> I locate this?  Thanks in advance.

Overall, I would say that -- for any arch, not just zx1 -- you need to
make sure your write[bwlq]() calls are always naturally aligned in the
given register space.  Anything else invites problems.

It sounds like you are already on the right track, though, converting
non-aligned writeq() to write[bwl]...

	Jeff



-
: 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