[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110525.175728.1531164565330440303.davem@davemloft.net>
Date: Wed, 25 May 2011 17:57:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: uli@...e.de
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] via-velocity: don't annotate MAC registers as packed
From: Ulrich Hecht <uli@...e.de>
Date: Wed, 25 May 2011 13:07:22 +0200
> On ARM, memory accesses through packed pointers behave in unexpected
> ways in GCC releases 4.3 and higher; see https://lkml.org/lkml/2011/2/2/163
> for discussion.
>
> In this particular case, 32-bit I/O registers are accessed bytewise,
> causing incorrect setting of the DMA address registers which in turn
> leads to an error interrupt storm that brings the system to a halt.
>
> Since the mac_regs structure does not need any packing anyway, this patch
> simply removes the attribute to fix the issue.
>
> Signed-off-by: Ulrich Hecht <uli@...e.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists