From patchwork Tue Apr 2 04:10:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1073750 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44YG2t0Nrdz9sSt; Tue, 2 Apr 2019 15:10:30 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1hBAkh-0001r0-5e; Tue, 02 Apr 2019 04:10:23 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hBAkf-0001qo-S8 for kernel-team@lists.ubuntu.com; Tue, 02 Apr 2019 04:10:21 +0000 Received: from [111.196.85.178] (helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hBAke-0000qM-Tw for kernel-team@lists.ubuntu.com; Tue, 02 Apr 2019 04:10:21 +0000 From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 0/1] [SRU][B/B-OEM] UBUNTU: SAUCE: Fix ACPI bug that Date: Tue, 2 Apr 2019 12:10:12 +0800 Message-Id: <20190402041013.12799-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1819921 V2: Fix non-x86 building error. [Impact] Some lenovo laptops failed to boot at a very early stage, only blackscreen shown. [Fix] Some system BIOS set definition in if statement, it would be deferred to be loaded. Some devices would not work properly and cause a system lockup. add a quirk for these laptops to execute all acpi tables and make system work properly. [Test] Tested on several laptops, the laptop that failed to boot boots well. Other laptops still works fine. Build passed on arm arch. [Regression Potential] SAUCE patch. Low, specific change depends on hardware. Upstream fix: commit 5a8361f7ecceaed64b4064000d16cb703462be49 Author: Schmauss, Erik Date: Thu Feb 15 13:09:30 2018 -0800 ACPICA: Integrate package handling with module-level code Due to the lots of changes in this commit and other regressions concern So made a sauce patch in Bionic kernel with the specific BIOS series. Verified on several laptops. Fix boot failure and no regression found. The upstream fix is in 4.17-rc1, so only Bionic/OEM 4.15 kernels need it. Aaron Ma (1): UBUNTU: SAUCE: ACPI / bus: Add some Lenovo laptops in list of acpi table term list drivers/acpi/bus.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Acked-By: AceLan Kao