Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755221AbXFVL0W (ORCPT ); Fri, 22 Jun 2007 07:26:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752302AbXFVL0N (ORCPT ); Fri, 22 Jun 2007 07:26:13 -0400 Received: from jurassic.park.msu.ru ([195.208.223.243]:2549 "EHLO jurassic.park.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752185AbXFVL0M (ORCPT ); Fri, 22 Jun 2007 07:26:12 -0400 Date: Fri, 22 Jun 2007 15:26:26 +0400 From: Ivan Kokshaysky To: Andrew Morton Cc: rth@twiddle.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Dustin Marquess Subject: Re: [patch] alpha: fix alignment problem in csum_ipv6_magic() Message-ID: <20070622152626.A9096@jurassic.park.msu.ru> References: <20070617012020.A7626@jurassic.park.msu.ru> <20070621163501.00903134.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20070621163501.00903134.akpm@linux-foundation.org>; from akpm@linux-foundation.org on Thu, Jun 21, 2007 at 04:35:01PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1618 Lines: 45 On Thu, Jun 21, 2007 at 04:35:01PM -0700, Andrew Morton wrote: > In http://bugzilla.kernel.org/show_bug.cgi?id=8659, Dustin is reporting > that this patch broke tcp-on-ipv6. Oops. Two instructions operating on the 'len' arg ($18) got swapped... This should fix ev6 version, ev5 one seems to be ok. Signed-off-by: Ivan Kokshaysky Ivan. --- 2.6.22-rc4-mm2/arch/alpha/lib/ev6-csum_ipv6_magic.S Fri Jun 22 15:02:23 2007 +++ linux/arch/alpha/lib/ev6-csum_ipv6_magic.S Fri Jun 22 15:05:38 2007 @@ -76,18 +76,18 @@ csum_ipv6_magic: cmoveq $6,$31,$22 # E : src aligned? ldq_u $23,15($17) # L : Latency: 3 - or $18,$4,$18 # E : 000000CCDDAABBCC - extql $1,$6,$1 # U : U L L U : + inswl $18,3,$18 # U : 000000CCDD000000 + addl $19,$7,$19 # E : U L U L : bbaabb00 or $0,$22,$0 # E : 1st src word complete - extqh $5,$6,$5 # U : - addl $19,$7,$19 # E : bbaabb00 - and $17,7,$6 # E : L U L U : dst misalignment + extql $1,$6,$1 # U : + or $18,$4,$18 # E : 000000CCDDAABBCC + extqh $5,$6,$5 # U : L U L U - inswl $18,3,$18 # U : 000000CCDD000000 - or $1,$5,$1 # E : 2nd src word complete + and $17,7,$6 # E : dst misalignment extql $2,$6,$2 # U : - extqh $3,$6,$22 # U : U L U U : + or $1,$5,$1 # E : 2nd src word complete + extqh $3,$6,$22 # U : L U L U : cmoveq $6,$31,$22 # E : dst aligned? extql $3,$6,$3 # U : - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/