Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754592AbcKUWfU (ORCPT ); Mon, 21 Nov 2016 17:35:20 -0500 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:54986 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753971AbcKUWfS (ORCPT ); Mon, 21 Nov 2016 17:35:18 -0500 From: "Rafael J. Wysocki" To: AceLan Kao Cc: Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI: Override rev for DELL Latitude 3350 Date: Mon, 21 Nov 2016 23:43:01 +0100 Message-ID: <1714152.bx2Aa0D83s@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.9.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1479694025-13372-1-git-send-email-acelan.kao@canonical.com> References: <1479694025-13372-1-git-send-email-acelan.kao@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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: 1673 Lines: 48 On Monday, November 21, 2016 10:07:05 AM AceLan Kao wrote: > 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 I have something similar queued up in linux-next. Care to look at that? http://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=708f5dcc21ae9b35f395865fc154b0105baf4de4 > --- > 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 > {} > }; > Thanks, Rafael