From patchwork Mon Nov 21 02:07:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chia-Lin Kao (AceLan)" X-Patchwork-Id: 9438669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D2F660237 for ; Mon, 21 Nov 2016 02:07:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0902522689 for ; Mon, 21 Nov 2016 02:07:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFAB02897C; Mon, 21 Nov 2016 02:07:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4227D22689 for ; Mon, 21 Nov 2016 02:07:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752801AbcKUCHL (ORCPT ); Sun, 20 Nov 2016 21:07:11 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:34871 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbcKUCHK (ORCPT ); Sun, 20 Nov 2016 21:07:10 -0500 Received: by mail-oi0-f65.google.com with SMTP id v84so20059693oie.2; Sun, 20 Nov 2016 18:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id; bh=XPQpwRwrpTaurQMrrLv8ymyzmmQr+Mw77uM9m/8DoFs=; b=KS/x+YiYQTVkNDBUaOW9FvkZbiJmhIlsp5AqhGw3OkQqnUFKcbXkdeV3tL6CYuArUO n/pIQRS14hQ2k3dp7Qojst5+tGIHIUZ2yhTccApfy507TRHIfmEKOG0lxyWg4FgeSvOL WGNGWYuYh5MsysQg2+u0ceqVpiXdPILMnb0nN/kQEN0/K4mTlGBCEJb3CHmQV91abWZj USXT4dkxhx5eXKWdYGAmT49IULZ+fdyuUoFLR1Ot8m9o9PJgujN604G+LInUHcqW/f4A BAW8el9M8+Tc1UTmO8YUgwKc6fNuwladZfXuo5fN3A8KWBGKp6ungow1nIjGqtb4WQFf 6XcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=XPQpwRwrpTaurQMrrLv8ymyzmmQr+Mw77uM9m/8DoFs=; b=hN1kMauo8X6muzX+s36pzHey+3StJxYQmDJowOv0pAEdo14Iy9iJzZLUMQ9ZiXYzSy okrbZ7WIVam9/ZNkIcNB3wLVwp4zA02DplQ1iKKz6f3jH2manmpKvhnzyqGuVZ4tRoPD y5+ALtDkKDuzs+U7gP942TPEeFucmgC77fNt0H6nqnyQGMOdtSD1KR62rSM6UJ5NVCUT nfAgmxfUKHEPxR1GfFrOmwZuLjWxpNJ7peam9xbq8ti6AA1N16a7I3QZYJTBZiTOu3Kl atHn3bUXGlA5/RtWpFErxVAGV51k6PYJCkB3mGBXCdoC3I6G7fwGqTHn1mdz7RBeDNAh 1MFg== X-Gm-Message-State: AKaTC00/jWJH4p+Ix1LrKXypBE73/pB02xKhNO3XQ22nSYq5gsnQEoP9qkojA36IhWnS/w== X-Received: by 10.202.63.65 with SMTP id m62mr7051219oia.167.1479694029909; Sun, 20 Nov 2016 18:07:09 -0800 (PST) Received: from localhost ([2001:67c:1562:8007::aac:4468]) by smtp.gmail.com with ESMTPSA id h74sm3137728oic.9.2016.11.20.18.07.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Nov 2016 18:07:09 -0800 (PST) From: AceLan Kao To: "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI: Override rev for DELL Latitude 3350 Date: Mon, 21 Nov 2016 10:07:05 +0800 Message-Id: <1479694025-13372-1-git-send-email-acelan.kao@canonical.com> X-Mailer: git-send-email 2.7.4 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ethernet network fails to work on DELL Latitude 3350 after this commit ea7d521 Revert 'Revert "ACPICA: Permanently set _REV to the value '2'."' dmesg shows r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control pci 0000:00:1c.2: PCI INT C: failed to register GSI pci 0000:00:1c.2: Error enabling bridge (-16), continuing r8169 0000:03:00.0: PCI INT A: failed to register GSI r8169 0000:03:00.0 (unnamed net_device) (uninitialized): enable failure r8169: probe of 0000:03:00.0 failed with error -16 So override the ACPI _REV for this machine to fix the issue. Signed-off-by: AceLan Kao --- drivers/acpi/blacklist.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index bdc67ba..a8c10f2 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -160,6 +160,14 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343"), }, }, + { + .callback = dmi_enable_rev_override, + .ident = "DELL Latitude 3350", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Latitude 3350"), + }, + }, #endif {} };