From owner-freebsd-current@FreeBSD.ORG Mon Apr 6 16:04:47 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 2A73610656E0 for ; Mon, 6 Apr 2009 16:04:47 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id E24358FC16 for ; Mon, 6 Apr 2009 16:04:46 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.64.3]) by phk.freebsd.dk (Postfix) with ESMTP id BA3B278CE2; Mon, 6 Apr 2009 16:04:45 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n36G4jub031159; Mon, 6 Apr 2009 16:04:45 GMT (envelope-from phk@critter.freebsd.dk) To: Andriy Gapon From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 06 Apr 2009 17:28:03 +0300." <49DA1173.1080606@icyb.net.ua> Date: Mon, 06 Apr 2009 16:04:45 +0000 Message-ID: <31158.1239033885@critter.freebsd.dk> Sender: phk@critter.freebsd.dk 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:04:47 -0000 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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.