From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 27 21:45:42 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04FC616A41F for ; Thu, 27 Oct 2005 21:45:42 +0000 (GMT) (envelope-from robert.moore@intel.com) Received: from orsfmr004.jf.intel.com (fmr19.intel.com [134.134.136.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7492D43D53 for ; Thu, 27 Oct 2005 21:45:40 +0000 (GMT) (envelope-from robert.moore@intel.com) Received: from orsfmr100.jf.intel.com (orsfmr100.jf.intel.com [10.7.209.16]) by orsfmr004.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id j9RLjeg6010694; Thu, 27 Oct 2005 21:45:40 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by orsfmr100.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id j9RLjKse013759; Thu, 27 Oct 2005 21:45:40 GMT Received: from orsmsx332.amr.corp.intel.com ([192.168.65.60]) by orsmsxvs040.jf.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2005102714453907524 ; Thu, 27 Oct 2005 14:45:39 -0700 Received: from orsmsx403.amr.corp.intel.com ([192.168.65.209]) by orsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Oct 2005 14:45:39 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 27 Oct 2005 14:45:38 -0700 Message-ID: <971FCB6690CD0E4898387DBF7552B90E0336A807@orsmsx403.amr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ACPI errors on amd64 (sempron) thread-index: AcXbPwO1akwQVfR2QbCSSSsvyBWcUgAAEi9Q From: "Moore, Robert" To: "Mathieu Prevot" , "Nate Lawson" X-OriginalArrivalTime: 27 Oct 2005 21:45:39.0707 (UTC) FILETIME=[C5C064B0:01C5DB3F] X-Scanned-By: MIMEDefang 2.52 on 10.7.209.16 Cc: freebsd-acpi@freebsd.org Subject: RE: ACPI errors on amd64 (sempron) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 21:45:42 -0000 I've already changed this and released it. I changed the logic around so that the special case is the misaligned case -- the new code in actypes.h looks like this: (under #if ACPI_MACHINE_WIDTH =3D=3D 64) /* * In the case of the Itanium Processor Family (IPF), the hardware does not * support misaligned memory transfers. Set the MISALIGNMENT_NOT_SUPPORTED flag * to indicate that special precautions must be taken to avoid alignment faults. * (IA64 or ia64 is currently used by existing compilers to indicate IPF.) * * Note: EM64T and other X86-64 processors do support misaligned transfers, * so there is no need to define this flag. */ #if defined (__IA64__) || defined (__ia64__) #define ACPI_MISALIGNMENT_NOT_SUPPORTED #endif > I simply added >=20 > #define ACPI_MISALIGNED_TRANSFERS >=20 > in /usr/src/sys/amd64/include/acpica_machdep.h so the intel actypes.h > is preserved. > Maybe it is simpler than touching the Robert's / Intel's code. Is it > right ? > If so, someone have to commit it on the CVS sources. Can you do it > before the release ? >=20 > --MP