Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263459AbTIWTSP (ORCPT ); Tue, 23 Sep 2003 15:18:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262201AbTIWTSJ (ORCPT ); Tue, 23 Sep 2003 15:18:09 -0400 Received: from ns.suse.de ([195.135.220.2]:20404 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S263447AbTIWTQg (ORCPT ); Tue, 23 Sep 2003 15:16:36 -0400 To: "David S. Miller" Cc: bcrl@kvack.org, tony.luck@intel.com, davidm@hpl.hp.com, davidm@napali.hpl.hp.com, peter@chubb.wattle.id.au, ak@suse.de, iod00d@hp.com, peterc@gelato.unsw.edu.au, linux-ns83820@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: NS83820 2.6.0-test5 driver seems unstable on IA64 References: <20030923142925.A16490@kvack.org> <20030923115200.1f5b44df.davem@redhat.com> <20030923120110.4a039808.davem@redhat.com> From: Andreas Schwab X-Yow: Sometime in 1993 NANCY SINATRA will lead a BLOODLESS COUP on GUAM!! Date: Tue, 23 Sep 2003 21:16:33 +0200 In-Reply-To: <20030923120110.4a039808.davem@redhat.com> (David S. Miller's message of "Tue, 23 Sep 2003 12:01:10 -0700") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 31 "David S. Miller" writes: > On Tue, 23 Sep 2003 21:09:47 +0200 > Andreas Schwab wrote: > >> The compiler is allowed to take advantage that there are no unaligned >> accesses. You need to use compiler extensions (like attribute packed) to >> stop it from doing this. > > That's correct, and if the address is misaligned the cpu "traps" > and the kernel fixes up the load/store access to fix it up. Or the compiler generates code to take advantage of the fact that the lower address bits are zero. > That's what we're talking about here. Of course, the kernel language is not ISO C, and never will be. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N?rnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/