From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 18 15:29:50 2015 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 383AF736 for ; Wed, 18 Mar 2015 15:29:50 +0000 (UTC) Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9447B98 for ; Wed, 18 Mar 2015 15:29:49 +0000 (UTC) Received: by igbue6 with SMTP id ue6so47397940igb.1 for ; Wed, 18 Mar 2015 08:29:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=9JNI7Qv9suo3aMLwLwVxD2wDRqlc7GD9FgrhBscdiY8=; b=KSoTQDxlcxriJNb1GLQ5UVnOx9hol5Z+wMsGtprcjF3N0rGjhaLTo2YmjKeRMZUTSq uRFfPGCTf0Os7H9NlyWFsJWAz1bp5Ee0fm2wWVlJsT4R2q2BKszbo0+M3LLRwUcYizUn 4NCT3QZtg7Ywb2XW2H5sN423QdIwa4sbbgCt3j8z7bGFwJHfv8sADY9hNJK8hFGFy7xb kJCV2TCxsQ19VJIaGZBxAwXlcK0tr6EKPmT+tbZgZccFn5w6jvIK8On/OcZg6JeDEkfh c2x1GAapAm5SszAhrCko7ze0vSUwDG8A+AF16F4b0R48isHRPvizgGWYSwNJqMcTaQGX hDOQ== X-Gm-Message-State: ALoCoQlmg0HYyMbs9VKCINp5/qZkqdpDQKI83Zd0WF8JAvP2ZyGyyUAQNEx9eZomZXmmtF46AWWN X-Received: by 10.42.47.8 with SMTP id m8mr93317177icf.27.1426692583413; Wed, 18 Mar 2015 08:29:43 -0700 (PDT) Received: from netflix-mac.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id c76sm11099850ioc.16.2015.03.18.08.29.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Mar 2015 08:29:42 -0700 (PDT) Sender: Warner Losh Subject: Re: [PATCH] ACPI CMOS region support rev. 5 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_E8AB9B17-59A9-468A-9351-9347B12813F1"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: <550825DE.7030406@att.net> Date: Wed, 18 Mar 2015 09:29:41 -0600 Message-Id: <56B494A3-2058-4B7B-8183-646A46753A53@bsdimp.com> References: <20150222180817.GD27984@strugglingcoder.info> <54EB8C21.2080600@att.net> <2401337.2oUs7iAbtB@ralph.baldwin.cx> <54EF3D5D.4010106@att.net> <20150227222203.P38620@sola.nimnet.asn.au> <20150228125857.D1277@besplex.bde.org> <54F14368.4020807@att.net> <20150302002647.W42658@sola.nimnet.asn.au> <54F5E53D.1090601@att.net> <20150306025800.U46361@sola.nimnet.asn.au> <54F9D7E6.4050807@att.net> <5504FF32.3020202@att.net> <20150317001401.X22641@sola.nimnet.asn.au> <5506F00A.3030708@att.net> <5506FBE3.1000009@att.net> <20150317041624.K22641@sola.nimnet.asn.au> <55073442.5060005@att.net> <20150317222704.K22641@sola.nimnet.asn.au> <550825DE.7030406@att.net> To: Anthony Jenkins X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-acpi@freebsd.org, Ian Smith X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2015 15:29:50 -0000 --Apple-Mail=_E8AB9B17-59A9-468A-9351-9347B12813F1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 17, 2015, at 7:02 AM, Anthony Jenkins = wrote: >> \Where else might ATRTC_VERBOSE be set otherwise? >=20 > I'm picturing a (future?) config(5) knob, e.g. >=20 > device atrtc > options ATRTC_VERBOSE=3D1 >=20 >=20 > so it can be set at compile time. Why not just boot verbose? history has shown too many options like this is hard to use. >> I still wonder if there isn't a global acpi_loaded_and_running = variable >> so you could avoid even attempting ACPI init calls, perhaps making = this >> not so dependent on ACPI, at least at runtime. >=20 > I haven't (yet) been able to find a compile-time flag that tells me if > the kernel supports ACPI; I'm /pretty/ sure the ACPI headers I'm > #include'ing will exist for every build of FreeBSD. I wouldn=E2=80=99t count on it. However, they may exist for all = platforms that use atrtc. But it wouldn=E2=80=99t be an issue if you did a separate attachment. Warner --Apple-Mail=_E8AB9B17-59A9-468A-9351-9347B12813F1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVCZnlAAoJEGwc0Sh9sBEAm7IQANRXjySCQtWnYjJ1MkvIY5zo Wkvs8Sj4dQEX9PTcAUPywJVSij94JY9EDzP0XLBVat/LYk84g6zdM3eT/+nsJsoQ OGw4jsi45dJma7akdTFFlVgHWFP1WYbxaBBq/eEW8RPrmv9BRir8yrrf2vF2Iqzu u4LeTeJwciFvIoQIw9kP4n9GRI/8/4wxILazgSX868Xf05wIukP3WsPCBijb/94T b6OT33o9lqMm8ip3h3gaH19SouatBYFE3vsWQsdP994N5+rgHjukaVehQYQwDQHK jLjRjXPUzs49LyHq68Y8zGxHm1G4sZ9VT7ZxNTfbPeXJmByb41UUF6ZhOQ/hCOPC AldL1DSZVOngEKXpp26jPoNYZAyXWE85Fat+wjOSlS+dUxAKeLFlqtNNsCVBlrvj ++7UroKpbGP29jEVAGVGmYZ0Z6wyFt+XKbAe/4rJByzL78181m4lDKaEBvkQu0Bz gpCuw2zhoql+BrCnqB1elj0TfEeuG358TZB/BDCiN3Yhwf9ahlF2mXNfCoCIR+ab CfUXuS8V/eaPmZ+s4w1SxigYf4cHXrK/JlV8UDjQkltuHWogQfBTGJmw23JNR0JN aJWo5KwV08ZTX6tzghCqUr5PaToKty4twHJNyly1fEjkInb4A2XbxIwTCaECihmx IepINYnPbHOoGsq6MUL/ =ciL6 -----END PGP SIGNATURE----- --Apple-Mail=_E8AB9B17-59A9-468A-9351-9347B12813F1--