From patchwork Sat Jan 27 16:23:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 10187559 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 6FA5C601D5 for ; Sat, 27 Jan 2018 16:24:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58CE128A2E for ; Sat, 27 Jan 2018 16:24:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B55328B4D; Sat, 27 Jan 2018 16:24:00 +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 330C928A2E for ; Sat, 27 Jan 2018 16:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752293AbeA0QX6 (ORCPT ); Sat, 27 Jan 2018 11:23:58 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:34110 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbeA0QX6 (ORCPT ); Sat, 27 Jan 2018 11:23:58 -0500 Received: by mail-wr0-f195.google.com with SMTP id 36so2995615wrh.1; Sat, 27 Jan 2018 08:23:57 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=XgQPeBkPhq3X9h4zCOV7HGzZdWgjoSLRJAHuFz/4SN8=; b=Hcwx4Vb463FyQJq/ptbvWWRVHQFj9rmpg+q/9JRpOGf6o28xxlINq+9C9r5ygV+zO6 PLgku0PnCo40BvQXJkKqWLVnp+5MHlLRBOrFf4avHdqdi9TVlcjL7MaBaZ5agCdKaJMQ GTgzBllpdVUH5Jg5Bk8fUxxFAHLgiVI1yTsZccpOuq2qgu736mZR3WzHOqnS1wQ42Ted BnigumfYISI2x25D8QscrfYTKN1kVnCWYfhnHCkLL010/SC/H2W65g83Q0B/ZlXnPvh8 mX5H7P4TivzysxM1lIOFj6o7kiF75r3jOSNe/ypBnJCHfolknOWhXFEbC9H5D1a8mxS6 DYaw== 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:mime-version:content-transfer-encoding; bh=XgQPeBkPhq3X9h4zCOV7HGzZdWgjoSLRJAHuFz/4SN8=; b=nuq4oNMO9IAM0oSXh1TyParcolXam9n3kNWnKQdslf4xJ3vbLAOtK/EdQpTrsIhUul QOTdz1nDPP3MroczdxogwoQQaVBk/0FjIMkp17QNUzeAg5ndv+7tVlXGRd7Jw3HA+/In Kpoz5doVgWfQckrfyqyek9UlSq4GsMxuhbsjWJgvapevhMOdcua4MTym/TAnh+EDbzI/ ucyCnatbok6WmTVkT9Lr71iIIxw4XpAX5Sq6IT3AQKfzmgGzwC+cfdQKRV8t52hAc+PA a2micubeMO1/hLxuv/JqsSAokrhCp9pFCL1lqiMTp32Gou50VmTTn0ZDj52JQrSZ1/0w aPlg== X-Gm-Message-State: AKwxytdGRmdIBnGXI7rPqJ3ZASKHP8+Fh/e+z/tZh/NDIW3uXryL/+nu /i9XOslBvdXa4btM6MH4+qM= X-Google-Smtp-Source: AH8x225pxV786eIm81CFuihakWBCkpSa4CV86Uejm36bgatFEZR0h3EBzKaqozM9bHKvQG3s/+t/Aw== X-Received: by 10.223.142.56 with SMTP id n53mr13787633wrb.54.1517070236800; Sat, 27 Jan 2018 08:23:56 -0800 (PST) Received: from Pali-Latitude.lan (pali.kolej.mff.cuni.cz. [78.128.193.202]) by smtp.gmail.com with ESMTPSA id e67sm14872776wmf.7.2018.01.27.08.23.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jan 2018 08:23:55 -0800 (PST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Jean Delvare , Guenter Roeck , Oleksandr Natalenko , Jonathan Buzzard , Mario Limonciello Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] hwmon: (dell-smm) Disable fan support for Dell Vostro 3360 Date: Sat, 27 Jan 2018 17:23:29 +0100 Message-Id: <20180127162329.13813-1-pali.rohar@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180127162204.13752-1-pali.rohar@gmail.com> References: <20180127162204.13752-1-pali.rohar@gmail.com> MIME-Version: 1.0 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Oleksandr Natalenko Calling fan related SMM functions implemented by Dell BIOS firmware on Dell Vostro 3360 freeze kernel for about 500ms. Unfortunately, it is unlikely for Dell to fix this since the machine is pretty old, so this commit just disables fan support to make the system usable again. Via "force" module param fan support can be enabled. Link: https://bugzilla.kernel.org/show_bug.cgi?id=195751 Link: http://lkml.iu.edu/hypermail/linux/kernel/1711.2/06083.html Reviewed-by: Pali Rohár Signed-off-by: Oleksandr Natalenko --- drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c index 3f8b4e482b64..bf3bb7e1adab 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1067,6 +1067,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Inspiron 7720"), }, }, + { + .ident = "Dell Vostro 3360", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"), + }, + }, { } };