From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 28 17:31:10 2010 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B1B21065693; Thu, 28 Oct 2010 17:31:10 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 4957A8FC1C; Thu, 28 Oct 2010 17:31:09 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.4/8.14.4) with ESMTP id o9SH1OXC035490; Thu, 28 Oct 2010 11:01:24 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: <201010281254.39862.jhb@freebsd.org> Date: Thu, 28 Oct 2010 11:01:24 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <8019DAB7-8276-451D-812D-2C5EAB8F6CB9@samsco.org> References: <201010281254.39862.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1081) X-Spam-Status: No, score=-50.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: acpi@freebsd.org, arch@freebsd.org Subject: Re: Removing acpi.ko support 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, 28 Oct 2010 17:31:10 -0000 On Oct 28, 2010, at 10:54 AM, John Baldwin wrote: > [ cc'ing acpi@ to be safe, but I think the topic warrants the wider = audience=20 > of arch@ ] >=20 > I think we should drop support for having acpi load as a module for = i386. It=20 > adds extra complication and hacks to the i386 APIC and interrupt code = that are=20 > gratuitously different from amd64 as a result. Originally it was made = a=20 > module so that GENERIC on i386 did not include ACPI by default but = would only=20 > use up memory to hold ACPI-related code if the machine supported ACPI. = Now=20 > that acpi is part of GENERIC on i386 in 8.0 and later this argument is = no=20 > longer relevant. I'd like to remove support for ACPI as a module to = remove=20 > the various hacks on i386 and reduce differences with amd64. >=20 Just to be clear, it'll still be an optional kernel device, it just = won't be a KLD anymore, right? If you do that, what will happen with = the evil bootloader code that gropes around for the AML tables and = auto-loads the module? Is there any reason to keep that around for = compatibility? If it goes away, don't forget to also update the = bootforth code that knows how to manipulate it. Scott