Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751386AbbLUH7n (ORCPT ); Mon, 21 Dec 2015 02:59:43 -0500 Received: from edison.jonmasters.org ([173.255.233.168]:57804 "EHLO edison.jonmasters.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134AbbLUH7m (ORCPT ); Mon, 21 Dec 2015 02:59:42 -0500 X-Greylist: delayed 308 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Dec 2015 02:59:42 EST Message-ID: <5677B175.6040800@jonmasters.org> Date: Mon, 21 Dec 2015 02:59:49 -0500 From: Jon Masters User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Daniel J Blueman , "Zheng, Lv" CC: "linux-acpi@vger.kernel.org" , LKML , Steffen Persvold , Myron Stowe References: <1448794735.18592.0@outlook-emeawest.office365.com> <1AE640813FDE7649BE1B193DEA596E883BAFA0F9@SHSMSX101.ccr.corp.intel.com> <1448853801.18315.0@outlook-emeawest.office365.com> In-Reply-To: <1448853801.18315.0@outlook-emeawest.office365.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 74.92.29.237 X-SA-Exim-Mail-From: jonathan@jonmasters.org Subject: Re: overriding ACPI _CRS method X-SA-Exim-Version: 4.2.1 (built Sun, 08 Nov 2009 07:31:22 +0000) X-SA-Exim-Scanned: Yes (on edison.jonmasters.org) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1502 Lines: 35 On 11/29/15, 10:23 PM, Daniel J Blueman wrote: > On Mon, Nov 30, 2015 at 11:09 AM, Zheng, Lv wrote: >> Hi, >> >> IMO, if you want the new _CRS to be applied during the Linux early >> boot stage, you can override the table using initrd override or DSDT >> override mechanism. >> Please see Documentation/acpi/initrd_table_override.txt or >> Documentation/acpi/dsdt-override.txt. >> >> If you want the new _CRS to be applied during Linux runtime, you can >> override it using method customization mechanism. >> Please see Documentation/acpi/method-customizing.txt > > The reason I'm trying to adjust this in firmware, is to deliver the > right behaviour with pre-built/distro kernels, so I can't use that > approach. The initrd method prepends an override initrd so you can use the stock distro one (obviously any such modification might impact whether a system vendor will support you in any case). This is in fact why I use an initrd override method on ARM servers to test ACPI fixes. The other option you have is to use the "acpi" command in GRUB to provide an override set of tables pre-OS boot. Depending upon your OS, you might need to regenerate your (dracut) initramfs with that via the GRUB configuration file(s). Jon. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/