From patchwork Tue Feb 13 18:00:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Limonciello, Mario" X-Patchwork-Id: 10217233 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 C09D1601C2 for ; Tue, 13 Feb 2018 18:00:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B22D028F95 for ; Tue, 13 Feb 2018 18:00:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B04AB28FC3; Tue, 13 Feb 2018 18:00:53 +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_SIGNED, 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 0A00D28FC3 for ; Tue, 13 Feb 2018 18:00:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965168AbeBMSAw (ORCPT ); Tue, 13 Feb 2018 13:00:52 -0500 Received: from esa2.dell-outbound.iphmx.com ([68.232.149.220]:12653 "EHLO esa2.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965158AbeBMSAw (ORCPT ); Tue, 13 Feb 2018 13:00:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1518544851; x=1550080851; h=from:to:cc:subject:date:message-id; bh=chojaOlTVq5keBBrWZWKcdJd2Gl52cBlygeE0cuhX7A=; b=H1XJwgmudLW3QE3zbzDIILIF6cE9naeNhBwy9ufb7Ui0viV2S/Yx4kQz Ywkwj3mgAYWX9/1uLziwq0RswmgSEDbKS+IkHKacWfUR9hBsRhvPlBIR3 56ak1epn2PW28LOEFibQ8OfM2Ag96cyNUpPDFVLfCPRgQjgEy0wp5LQOT I=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2E5BACpJoNahz+a6ERdHAEBAQQBAQoBA?= =?us-ascii?q?YQ4cCicLoMZgQQBlxFDCiOFGIJqWBQBAgEBAQEBAQIBAhABAQEKCwkIKC+COCQ?= =?us-ascii?q?BCgRLKgMBAQEBAQEBAQEjAQEBAQEBAQEBAQEBAQEBGgINgV1PWwEmijUQskmIe?= =?us-ascii?q?4IRASwFhQGCFYFXgWiGRhcCAhmCIoUwBZNjkEsJgkyFVI1kApRAAo4Chl+DN4E?= =?us-ascii?q?8NoFzcIMYEwyBZiE/gjFZjjwBAQE?= X-IPAS-Result: =?us-ascii?q?A2E5BACpJoNahz+a6ERdHAEBAQQBAQoBAYQ4cCicLoMZgQQ?= =?us-ascii?q?BlxFDCiOFGIJqWBQBAgEBAQEBAQIBAhABAQEKCwkIKC+COCQBCgRLKgMBAQEBA?= =?us-ascii?q?QEBAQEjAQEBAQEBAQEBAQEBAQEBGgINgV1PWwEmijUQskmIe4IRASwFhQGCFYF?= =?us-ascii?q?XgWiGRhcCAhmCIoUwBZNjkEsJgkyFVI1kApRAAo4Chl+DN4E8NoFzcIMYEwyBZ?= =?us-ascii?q?iE/gjFZjjwBAQE?= Received: from esa3.dell-outbound2.iphmx.com ([68.232.154.63]) by esa2.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2018 12:00:51 -0600 Received: from ausxipps301.us.dell.com ([143.166.148.223]) by esa3.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2018 23:50:31 +0600 X-LoopCount0: from 10.208.86.39 X-IronPort-AV: E=Sophos;i="5.46,508,1511848800"; d="scan'208";a="131139768" X-DLP: DLP_GlobalPCIDSS From: Mario Limonciello To: linux-acpi@vger.kernel.org Cc: Len Brown , "Rafael J . Wysocki" , Mika Westerberg , Mario Limonciello Subject: [PATCH] ACPICA: Recognize the Windows 10 RS3 OSI string Date: Tue, 13 Feb 2018 12:00:19 -0600 Message-Id: <1518544819-1173-1-git-send-email-mario.limonciello@dell.com> X-Mailer: git-send-email 2.7.4 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 Dell uses this string to activate Thunderbolt native mode on supported machines. Signed-off-by: Mario Limonciello --- Thunderbolt Native mode requires other patches to be applied otherwise this patch will cause problems. This patch should only be applied with: 1) Acpiphp platches from https://marc.info/?l=linux-acpi&m=151853954129169&w=2 and 2) Thunderbolt patches from https://lkml.org/lkml/2018/2/13/685 This has also been submited into ACPICA: https://github.com/acpica/acpica/pull/359 drivers/acpi/acpica/utosi.c | 1 + include/acpi/actypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/acpi/acpica/utosi.c b/drivers/acpi/acpica/utosi.c index f6b8dd2..aed77c3 100644 --- a/drivers/acpi/acpica/utosi.c +++ b/drivers/acpi/acpica/utosi.c @@ -103,6 +103,7 @@ static struct acpi_interface_info acpi_default_supported_interfaces[] = { {"Windows 2015", NULL, 0, ACPI_OSI_WIN_10}, /* Windows 10 - Added 03/2015 */ {"Windows 2016", NULL, 0, ACPI_OSI_WIN_10_RS1}, /* Windows 10 version 1607 - Added 12/2017 */ {"Windows 2017", NULL, 0, ACPI_OSI_WIN_10_RS2}, /* Windows 10 version 1703 - Added 12/2017 */ + {"Windows 2017.2", NULL, 0, ACPI_OSI_WIN_10_RS3}, /* Windows 10 version 1709 - Added 02/2018 */ /* Feature Group Strings */ diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 31f1be7..3f829cc 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h @@ -1303,6 +1303,7 @@ typedef enum { #define ACPI_OSI_WIN_10 0x0D #define ACPI_OSI_WIN_10_RS1 0x0E #define ACPI_OSI_WIN_10_RS2 0x0F +#define ACPI_OSI_WIN_10_RS3 0x10 /* Definitions of getopt */