From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263473AbTIWTRp (ORCPT ); Tue, 23 Sep 2003 15:17:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262201AbTIWTOi (ORCPT ); Tue, 23 Sep 2003 15:14:38 -0400 Received: from pizda.ninka.net ([216.101.162.242]:20444 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id S263453AbTIWTOK (ORCPT ); Tue, 23 Sep 2003 15:14:10 -0400 Date: Tue, 23 Sep 2003 12:01:10 -0700 From: "David S. Miller" To: Andreas Schwab 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 Message-Id: <20030923120110.4a039808.davem@redhat.com> In-Reply-To: References: <20030923142925.A16490@kvack.org> <20030923115200.1f5b44df.davem@redhat.com> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. This unaligned trap handling is required for a port of Linux to a given cpu architecture. That's what we're talking about here.