Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755270AbcDDNHh (ORCPT ); Mon, 4 Apr 2016 09:07:37 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:35037 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754793AbcDDNHe (ORCPT ); Mon, 4 Apr 2016 09:07:34 -0400 MIME-Version: 1.0 In-Reply-To: References: <1459417026-6697-1-git-send-email-octavian.purdila@intel.com> <1459417026-6697-3-git-send-email-octavian.purdila@intel.com> <1AE640813FDE7649BE1B193DEA596E883BB66258@SHSMSX101.ccr.corp.intel.com> Date: Mon, 4 Apr 2016 16:07:31 +0300 Message-ID: Subject: Re: [RFC PATCH 02/10] acpi: install SSDT tables from initrd From: Octavian Purdila To: "Zheng, Lv" Cc: "Rafael J. Wysocki" , Len Brown , Matt Fleming , Mark Brown , Wolfram Sang , Joel Becker , Christoph Hellwig , "linux-acpi@vger.kernel.org" , "linux-efi@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Tirdea, Irina" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 23 On Fri, Apr 1, 2016 at 1:11 PM, Octavian Purdila wrote: > On Fri, Apr 1, 2016 at 8:05 AM, Zheng, Lv wrote: >> Hi, >> >> IMO, there is already a similar function upstreamed: >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c85cc81 >> Could it work for your use case? > > Yes, it is basically the same. > > The only difference is on how we handle taint. I think we should use a > new taint for overlays and that we don't need to disable lockdep. > > BTW, why is lockdep disabled when we override? The other thing I forgot to mention is that I think we should allow installing new tables even if CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not selected. IMO the override and overlay functionality is different, with the latter being more then a debug option. I will prepare a patch for the next version of the series to decouple installing new tables from CONFIG_ACPI_INITRD_TABLE_OVERRIDE.