From patchwork Tue Feb 21 00:36:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schumacher X-Patchwork-Id: 9583765 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 E5D7E600CA for ; Tue, 21 Feb 2017 00:36:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5E1928547 for ; Tue, 21 Feb 2017 00:36:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B82622888B; Tue, 21 Feb 2017 00:36:56 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 5F38328547 for ; Tue, 21 Feb 2017 00:36:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750922AbdBUAgz (ORCPT ); Mon, 20 Feb 2017 19:36:55 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36829 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbdBUAgy (ORCPT ); Mon, 20 Feb 2017 19:36:54 -0500 Received: by mail-wr0-f194.google.com with SMTP id z61so12860151wrc.3; Mon, 20 Feb 2017 16:36:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xauRYoqhYVOSpGHKZGWvENNSElCVcRiigiUw8hfSKTM=; b=g1ZPR6TyIFQIbmZJEaajSTmlgnEAn9yV2LLIUoDMxGiMXtNnPxB7Y3aUqXDak3gkeg gHbSykDMDp2TTuHC62K9n+O+rhCp6dJgUcnbVd4cyqXEY12eN5FbgI1WWIm7luXkw2h2 x5JfpOw/G8aLG9+bniSEfj1X56UOwRS/TI6DwsfmxVsSXF9Gofa3QhYN7hj8Hcns2ZEW dtVp0IIjO0w9b48zJQJ0tI0vuEugmqku52hRcKQanLX2+kjVWtTRyxWD1Pjp9e2g+WdO aZy1qnF95qjVr7q+LT5NGkr+f1WD38S/0KUiKBaNZqnte2AxLhuSc30G8fm8YpUJP77f afFw== 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; bh=xauRYoqhYVOSpGHKZGWvENNSElCVcRiigiUw8hfSKTM=; b=GgUaczbfM/phVQPNaRmBNWW232oAxjafiUCwhTWzkqYu4dYw6HxE5UnXW+Lji1ucX6 kzDfsuDF3Jaz/nDlPH/LH5+r5fs+vE/HtBi7b1IhRnD/eTul3g0GWL+DQGs/AjoBBzlx XFhPBDUrMMwljHXdm2VgFoeCqeAillGGbylkZUHlVIZvI6Gk3qtmGf61j1Tj71EDCb9k 1pk5nE57M+bIjvI7gcOhkUmmUI7+iOt/xVaPPAX2/oFjVJmbxjME591/5WxvVyl/osjw 8Kz6+CeQyLqpiXDbrpgzXB5mX098q8bhTSzbGdlTwjLI+FZ+Lp9nuEwf4/0d9OHrERrG 6Uyg== X-Gm-Message-State: AMke39kBZ6CbC/q/OK+IhWf07r1McRuQ+ay7DSLINQGDzblRFTAt6bd/2NgFXcz4mjXQzg== X-Received: by 10.223.170.195 with SMTP id i3mr19751591wrc.123.1487637412810; Mon, 20 Feb 2017 16:36:52 -0800 (PST) Received: from loraine.fritz.box ([2a02:8070:a98:8100:70b7:5e1e:17be:7c86]) by smtp.googlemail.com with ESMTPSA id l67sm15412881wmf.1.2017.02.20.16.36.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Feb 2017 16:36:51 -0800 (PST) From: Tobias Schumacher To: rjw@rjwysocki.net, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Tobias Schumacher Subject: [PATCH] Fix lock up when switching off discrete graphics card in Dell XPS 9560 https://bugzilla.kernel.org/show_bug.cgi?id=156341 Date: Tue, 21 Feb 2017 01:36:25 +0100 Message-Id: <20170221003625.17551-1-tobe.schumacher@gmail.com> X-Mailer: git-send-email 2.9.3 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 Signed-off-by: Tobias Schumacher --- drivers/acpi/blacklist.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 4421f7c..7945f2f 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -188,6 +188,20 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "Latitude 3350"), }, }, + /* + * Resolves issues that cause the system to lock up + * under certain conditions when the discrete graphics + * card is turned off + */ + { + .callback = dmi_enable_rev_override, + .ident = "DELL XPS 15 (2017)", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9560"), + }, + }, + #endif {} };