From patchwork Sat Mar 25 16:18:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Semwal X-Patchwork-Id: 95995 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp532290qgd; Sat, 25 Mar 2017 09:19:53 -0700 (PDT) X-Received: by 10.99.136.199 with SMTP id l190mr15326553pgd.92.1490458792925; Sat, 25 Mar 2017 09:19:52 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si6723034pli.62.2017.03.25.09.19.52; Sat, 25 Mar 2017 09:19:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751373AbdCYQTw (ORCPT + 5 others); Sat, 25 Mar 2017 12:19:52 -0400 Received: from mail-pg0-f49.google.com ([74.125.83.49]:33858 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751369AbdCYQTw (ORCPT ); Sat, 25 Mar 2017 12:19:52 -0400 Received: by mail-pg0-f49.google.com with SMTP id 21so9216510pgg.1 for ; Sat, 25 Mar 2017 09:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZsHmJ2TTTRWUfBbo2AZ9BO5yanHB7IwSEgGHR4CQn1M=; b=KG/1EZ+X6p1awzXQ4Ms87JPhpK4Mc8EOKAAuPQSlg1rm16jAfbe2dniP80R4WE85BO udXjqkgx1FJU3a42E7xPaUidDikIntHmguMVEe0Y0OVlCXQLbRLtr+CtpJ7V5qktrEeJ 27k50DCYN9rfx3WN8sUe3Jdwny9W7DXRb9lrA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZsHmJ2TTTRWUfBbo2AZ9BO5yanHB7IwSEgGHR4CQn1M=; b=ZNW30np2AafnPZfDshOX5+hzKNRBrmfB2IbWMMao93plnotkT0kH9/D0aDxi3p3AA1 Xna1H26UOXtDCM2q7s3GnK20wMI42vB6YtjnJoZ1jXcFLOki65vHace1CXBWApc3sTOK x0LOgbHnsm4HMHsR8iTlIsKk15eVo3uYIntCtA7Hsgav18k3u7RqkOU15sRcfE/R4gfo feq41caX10iXCsmlpl7dA4uSMWp/VJI9MTcsUUEiEApEwgjR3x4Oc/htf059r8zeaNjm Q88F0bkLPKMg2+yJGOLx7RMMRFdHj2bOlRlusjBqR7FopnyFPHhx70o9crC9z57FU/sB cWYg== X-Gm-Message-State: AFeK/H2egiZg0KAI9tI1bZrV15Glm2trgRzyCE7J5YYBgUao4+qHwkigAiT7L0Yw6uQZFe1Y X-Received: by 10.84.130.66 with SMTP id 60mr18764369plc.115.1490458791017; Sat, 25 Mar 2017 09:19:51 -0700 (PDT) Received: from phantom.lan ([106.51.225.38]) by smtp.gmail.com with ESMTPSA id q194sm11469541pfq.43.2017.03.25.09.19.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 25 Mar 2017 09:19:49 -0700 (PDT) From: Sumit Semwal To: stable@vger.kernel.org Cc: Michael Pobega , "Rafael J . Wysocki" , Sasha Levin , Greg Kroah-Hartman , Sumit Semwal Subject: [PATCH for-4.4 18/19] ACPI / blacklist: Make Dell Latitude 3350 ethernet work Date: Sat, 25 Mar 2017 21:48:18 +0530 Message-Id: <1490458699-24484-19-git-send-email-sumit.semwal@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490458699-24484-1-git-send-email-sumit.semwal@linaro.org> References: <1490458699-24484-1-git-send-email-sumit.semwal@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Michael Pobega [ Upstream commit 708f5dcc21ae9b35f395865fc154b0105baf4de4 ] The Dell Latitude 3350's ethernet card attempts to use a reserved IRQ (18), resulting in ACPI being unable to enable the ethernet. Adding it to acpi_rev_dmi_table[] helps to work around this problem. Signed-off-by: Michael Pobega [ rjw: Changelog ] Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sumit Semwal --- drivers/acpi/blacklist.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.7.4 diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index b2e9395..2f24b57 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -362,6 +362,18 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3520"), }, }, + /* + * Resolves a quirk with the Dell Latitude 3350 that + * causes the ethernet adapter to not function. + */ + { + .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 {} };