From patchwork Sat Mar 25 16:18:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Semwal X-Patchwork-Id: 95994 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp532270qgd; Sat, 25 Mar 2017 09:19:49 -0700 (PDT) X-Received: by 10.84.168.4 with SMTP id e4mr18373843plb.138.1490458789814; Sat, 25 Mar 2017 09:19:49 -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.49; Sat, 25 Mar 2017 09:19:49 -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 S1751367AbdCYQTt (ORCPT + 5 others); Sat, 25 Mar 2017 12:19:49 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:33853 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbdCYQTt (ORCPT ); Sat, 25 Mar 2017 12:19:49 -0400 Received: by mail-pg0-f53.google.com with SMTP id 21so9216194pgg.1 for ; Sat, 25 Mar 2017 09:19:48 -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=/7ze63QWl7jAUmOdpqM02XwywXcxGfZylrUFmvHfZCE=; b=N80qDFtEZ4ZE0DmGYDw6H1PUhgz4PNDqdqmat6b4YH9JB/uoh+Hr3+je3M3ZlLS4B3 ksBJYTDresg6kLrrC+4Eq9OEFU2IMJHgfB71t9Wo/Wro5Xa2SnW4E6VdHOvAhY3tvfAx SJDU7LwsLhuXVGHKwGDoPkGnBQoy/YeszChxc= 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=/7ze63QWl7jAUmOdpqM02XwywXcxGfZylrUFmvHfZCE=; b=KRd35HJ19Jt1RhyO8VjIpq4RC3FB4R6W4vJW3Rk0gL73jMzhGm8xxJpb1wh6JQptO1 +RkGqU84f9PIQv7c/jvvfEOWeY2NO/5QKFd+hDP2WV2OS59TGUNno89zKxO950wCrNwq 9FYcgAHQN1LN0PcURX9AthDYLecrriAO1U3oJAYOmRmcaar1ueMg+3lZDfXwFxUS+1Fv Y7lxceyGd8I4J5j68A/32MoWEBYcCyYyA5RIiFiM1zrn9t0bp2lKHvb0t0y9MmLUbfYh CEBlzy/WxQ1U17vgXd7qH44kLyaYNkblWTE74ggUY+I4FbG6myM4ZFRC3/qBDiRr3kUJ 0HXQ== X-Gm-Message-State: AFeK/H3V0ESO0jIXe11cN8oFWNkKPq/kmoWlpjZra5Rxnax5MFMDo0ImUwKpC1w74k5OuClI X-Received: by 10.84.179.99 with SMTP id a90mr18178074plc.26.1490458787538; Sat, 25 Mar 2017 09:19:47 -0700 (PDT) Received: from phantom.lan ([106.51.225.38]) by smtp.gmail.com with ESMTPSA id q194sm11469541pfq.43.2017.03.25.09.19.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 25 Mar 2017 09:19:46 -0700 (PDT) From: Sumit Semwal To: stable@vger.kernel.org Cc: Alex Hung , "Rafael J . Wysocki" , Sasha Levin , Greg Kroah-Hartman , Sumit Semwal Subject: [PATCH for-4.4 17/19] ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520 Date: Sat, 25 Mar 2017 21:48:17 +0530 Message-Id: <1490458699-24484-18-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: Alex Hung [ Upstream commit 9523b9bf6dceef6b0215e90b2348cd646597f796 ] Precision 5520 and 3520 either hang at login and during suspend or reboot. It turns out that that adding them to acpi_rev_dmi_table[] helps to work around those issues. Signed-off-by: Alex Hung [ 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.7.4 diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 96809cd..b2e9395 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -346,6 +346,22 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343"), }, }, + { + .callback = dmi_enable_rev_override, + .ident = "DELL Precision 5520", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Precision 5520"), + }, + }, + { + .callback = dmi_enable_rev_override, + .ident = "DELL Precision 3520", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3520"), + }, + }, #endif {} };