* Re: 2.6.11.10 failure on Hypersparc sparc32
@ 2005-06-05 21:30 David S. Miller
2005-06-06 21:11 ` William Lee Irwin III
2005-06-06 22:07 ` David S. Miller
0 siblings, 2 replies; 3+ messages in thread
From: David S. Miller @ 2005-06-05 21:30 UTC (permalink / raw)
To: sparclinux
From: Bob Breuer <breuerr@mc.net>
Date: Sat, 04 Jun 2005 11:34:25 -0500
> Look for hypersparc_copy_1page in arch/sparc/mm/hypersparc.S where it
> uses ASI_M_BCOPY. I think the src and dest need to be 32 byte aligned
> in this case.
We fixed a similar problem in the past, by putting the
"aligned to 8 bytes" check into __constant_memcpy().
Let's just remove the __copy_1page() optimization altogether,
it causes more trouble than it's worth. Similarly for
memset().
In fact, most of this inline stuff can be removed entirely.
In particular, we should just use a plain memcpy() symbol
and let GCC output the inline builtin copy if it wants
to automatically.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.11.10 failure on Hypersparc sparc32
2005-06-05 21:30 2.6.11.10 failure on Hypersparc sparc32 David S. Miller
@ 2005-06-06 21:11 ` William Lee Irwin III
2005-06-06 22:07 ` David S. Miller
1 sibling, 0 replies; 3+ messages in thread
From: William Lee Irwin III @ 2005-06-06 21:11 UTC (permalink / raw)
To: sparclinux
On Sun, Jun 05, 2005 at 02:30:21PM -0700, David S. Miller wrote:
> We fixed a similar problem in the past, by putting the
> "aligned to 8 bytes" check into __constant_memcpy().
> Let's just remove the __copy_1page() optimization altogether,
> it causes more trouble than it's worth. Similarly for
> memset().
> In fact, most of this inline stuff can be removed entirely.
> In particular, we should just use a plain memcpy() symbol
> and let GCC output the inline builtin copy if it wants
> to automatically.
I've got something along these lines cooked up; does anyone who can
actively reproduce this bug care to take it for a spin?
-- wli
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.11.10 failure on Hypersparc sparc32
2005-06-05 21:30 2.6.11.10 failure on Hypersparc sparc32 David S. Miller
2005-06-06 21:11 ` William Lee Irwin III
@ 2005-06-06 22:07 ` David S. Miller
1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2005-06-06 22:07 UTC (permalink / raw)
To: sparclinux
From: William Lee Irwin III <wli@holomorphy.com>
Date: Mon, 6 Jun 2005 14:11:02 -0700
> I've got something along these lines cooked up; does anyone who can
> actively reproduce this bug care to take it for a spin?
Just post it when you have a patch ready :)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-06 22:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-05 21:30 2.6.11.10 failure on Hypersparc sparc32 David S. Miller
2005-06-06 21:11 ` William Lee Irwin III
2005-06-06 22:07 ` David S. Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.