From owner-freebsd-current@FreeBSD.ORG Mon Apr 6 16:12:02 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 052AF106567F for ; Mon, 6 Apr 2009 16:12:02 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3A44B8FC1A for ; Mon, 6 Apr 2009 16:12:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA06328; Mon, 06 Apr 2009 19:11:58 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <49DA29CE.3070801@icyb.net.ua> Date: Mon, 06 Apr 2009 19:11:58 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Poul-Henning Kamp References: <31158.1239033885@critter.freebsd.dk> In-Reply-To: <31158.1239033885@critter.freebsd.dk> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ichwd: option to globally disable SMI X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2009 16:12:02 -0000 on 06/04/2009 19:04 Poul-Henning Kamp said the following: > In message <49DA1173.1080606@icyb.net.ua>, Andriy Gapon writes: > >> I am attaching a patch that makes ichwd check and report result of SMI bit >> operations and also try to disable SMI globally if permitted by >> hw.ichwd.use_global_smi tunable. > > Disabling SMI globally is incredibly ill-advised, for one thing it > may cause your laptop to autowarnerize, but it can also ruin your > batteries, prevent ACPI from working etc. > > Under no circumstances should FreeBSD attempt to disable SMI globally > without explicit instruction from a knowledgeable and informed user. > Well, this is a mistake on my part, I am using ichwd on a desktop and so I completely missed the fact that somebody might think of trying this on a laptop. Thank you for this prominent warning. In any case, a user has first to apply the patch, set hw.ichwd.use_global_smi tunable and the normal way of disabling TCO SMI should fail in order for global SMI disabling to be attempted. -- Andriy Gapon