Received: by 10.213.65.68 with SMTP id h4csp1860020imn; Mon, 19 Mar 2018 15:30:00 -0700 (PDT) X-Google-Smtp-Source: AG47ELswwPd36UsSG+MEFA50FmOBSqU+NFs6bE9f10B9M2dcHY6Zl6WRO+YcBypUA/UlxpOTs9GR X-Received: by 10.101.76.207 with SMTP id n15mr10527256pgt.313.1521498600709; Mon, 19 Mar 2018 15:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521498600; cv=none; d=google.com; s=arc-20160816; b=0Vc69wnkDg3Mm7kHkJKjqALXxjL3TYGOFSvAZ5S5Kki2A6CDQH+Cu+SXVRqUcObfBB RuyS8ZJtcJ2nMwM7xugYbNrR3RYj8BQxgjOD5A3WguplaOPcH5sMBilr63guKyKpBadF UyBZHbbKCArxeZJSoUZh93+UtsQfWSQgVaByFPk8tvZvLeZYzR2qNDYx+Yop6e9+ZggG /XlMplGrbPtg/xV0vfIdbem9kp7bLhHIDipjUar1iWxsTLQBMIAa7GKQYlzy03XXjHVj SBJCd5M92xOU6ybtawQQETcoq4RUVml22igCfv0TV7P2eY9v00lI4KUOU6k70GbAF3ZR /+Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=bxJY+06jQ0nFykrabnB6CoakGvKOxeLrOQzPcCjJGdk=; b=DMnByt3AvVrbJPGc3+437s8L5YkDurpuj8GC2VeM7O26nL7IYK3Cnkmr2IsQVEchBZ OWCJEOyy4J7Q7fiMS9pUUFo6NJilBcbEtARgvMn3UhWNzxbzSU2j80GS8qD7Z7qZDGDk PdMKXO/gJQ6AuULyM4FYlx/iqw8UFjXOUOhnxkPeDgNJEQv+NiRC3LxydMbHQXwXLKt8 cilPYA7RR1bq50mZHDgq7BDa4oMzZkHJkZSXXU7Q3S1WM8E1sUpYyAJRdBGXBWdxzwrZ ktpuivl/N3S5GZDbCzXe3pI+IO/9eU4XTBjW8Wp2PF2Es9xGVHBFbw3tgIZdba+6tu3M akJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=PwRRlphi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n23-v6si212137pll.175.2018.03.19.15.29.46; Mon, 19 Mar 2018 15:30:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@microsoft.com header.s=selector1 header.b=PwRRlphi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933840AbeCSPsw (ORCPT + 99 others); Mon, 19 Mar 2018 11:48:52 -0400 Received: from mail-by2nam01on0135.outbound.protection.outlook.com ([104.47.34.135]:31072 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933765AbeCSPs2 (ORCPT ); Mon, 19 Mar 2018 11:48:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bxJY+06jQ0nFykrabnB6CoakGvKOxeLrOQzPcCjJGdk=; b=PwRRlphiaegcoe/Grzy3R3nlZWjQDq8IGD8bRInmFs5gw9ytvnGZh1D2Vq3EoAKBfD2iYBz5VKX1BeVGlvfNi2YtuyBYBJFkbrtGUCWUsTegQUjHQ1LvK4578RqXgykwah27HMDu24wZvVveirrMjgIcVQ8c+1IthKCsaWMbgmw= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1031.namprd21.prod.outlook.com (52.132.128.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.0; Mon, 19 Mar 2018 15:48:13 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62%5]) with mapi id 15.20.0631.004; Mon, 19 Mar 2018 15:48:12 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Mario Limonciello , Bob Moore , Erik Schmauss , "Rafael J . Wysocki" , Sasha Levin Subject: [PATCH AUTOSEL for 4.15 050/124] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings Thread-Topic: [PATCH AUTOSEL for 4.15 050/124] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings Thread-Index: AQHTv5mjS5s9T/qcp0eNCtacHINC9A== Date: Mon, 19 Mar 2018 15:47:52 +0000 Message-ID: <20180319154645.11350-50-alexander.levin@microsoft.com> References: <20180319154645.11350-1-alexander.levin@microsoft.com> In-Reply-To: <20180319154645.11350-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1031;7:Kf62SwFgM5kuE3aa1LE7lH7fi4q0sD37xEBD1XWeeiHaHxTayuND2Fg8uj19bqDYDdaxXvEZbxdcpbm1ILnwIGdmMvP8ECljkg8B/KEzfvlfhVvDkIYw+ht7w4RbVd6PgULwtlBcsjp37zuMS/vssnFB2PwgaQAn/S1LiChbmm9xQEEqHmk1fOEXzhwjIPsoYcA1vWJidpDGFSqtlYE4ue/8O7aksoP8pZw728PrVc2nzxWIe8LkmfMRA6V2DF0D;20:dUPjWOx+Y4eGrJ74aKmlGS27j/ElOLcK4zF31Fsx3Vga6QXdk8AkkHoi1uMP+ow/j6wmSDGOv7Zg8TcXFwuinrNKBL06Zo1GNwGgzBw6sjvLT6kp1KiTYK8nXLNCUlOp3W5ub++4DRgVEcilQZEzbK/GXbu1+16zaiHnNGpbzGU= x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f7786057-0b03-4ffb-1eaa-08d58db0d298 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1031; x-ms-traffictypediagnostic: DM5PR2101MB1031: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(89211679590171)(166708455590820)(233534484880143)(56004941905204)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231221)(944501300)(52105095)(3002001)(6055026)(61426038)(61427038)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011);SRVR:DM5PR2101MB1031;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1031; x-forefront-prvs: 06167FAD59 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(346002)(396003)(39860400002)(39380400002)(376002)(189003)(199004)(6436002)(8666007)(6512007)(6666003)(3280700002)(2950100002)(7736002)(6116002)(3846002)(10090500001)(105586002)(4326008)(5660300001)(305945005)(1076002)(81156014)(6306002)(2906002)(6486002)(81166006)(8676002)(8936002)(2900100001)(106356001)(36756003)(68736007)(54906003)(3660700001)(22452003)(97736004)(6506007)(25786009)(59450400001)(99286004)(10290500003)(76176011)(66066001)(14454004)(72206003)(478600001)(102836004)(26005)(186003)(316002)(2501003)(110136005)(5250100002)(575784001)(86362001)(53936002)(107886003)(86612001)(966005)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1031;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 6AmQCTPjIF34npb5zta1yXNH612Zugcun2WqCP3i+zQZGQv1V16rKomGXnVpjEqan2NWj1/c1iv3uu8aVAoZinKbwBWT5s2zdmi5pbexhyP3Jv+0XO4VCgQqi6cAuZ7t1nRpKuzeGXC+f2u8KrqszVeh3dZdHREEs5SjY+RHrERGBEwP1SmKyPSjfWlw93tOfkQ2FZp3M5lQQgyDO+e3TcJfO7+u/CfbaTdDzBB/OfeZD0Icj35gMT62UYT2XgMEcn6ah3GY9NpsHOLZkQ+GmiFwZo1vYQxZwlD8Y0PGp892f9rMTJT/curzbU8ugMxX5y+S389zI5HrrhzQrfU5DQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7786057-0b03-4ffb-1eaa-08d58db0d298 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2018 15:47:52.6656 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1031 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mario Limonciello [ Upstream commit bc4d413a819f9d0764a80a55875a5d7e1f4efed4 ] ACPICA commit 35a4a3ea723b3066f575e63e5f0116f7ce65e713 The public Microsoft document listing recognized OSI strings [1] shows that these two strings were introduced. version 1607 / Anniversary Update / "Redstone 1" version 1703 / Creators Update / "Redstone 2" [1] http://download.microsoft.com/download/7/e/7/7e7662cf-cbea-470b-a97e-ce= 7ce0d98dc2/winacpi_osi.docx Link: https://github.com/acpica/acpica/commit/35a4a3ea Signed-off-by: Mario Limonciello Signed-off-by: Bob Moore Signed-off-by: Erik Schmauss Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/acpica/utosi.c | 2 ++ include/acpi/actypes.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/acpi/acpica/utosi.c b/drivers/acpi/acpica/utosi.c index 3175b133c0e4..f6b8dd24b006 100644 --- a/drivers/acpi/acpica/utosi.c +++ b/drivers/acpi/acpica/utosi.c @@ -101,6 +101,8 @@ static struct acpi_interface_info acpi_default_supporte= d_interfaces[] =3D { {"Windows 2012", NULL, 0, ACPI_OSI_WIN_8}, /* Windows 8 and Server 2012 -= Added 08/2012 */ {"Windows 2013", NULL, 0, ACPI_OSI_WIN_8}, /* Windows 8.1 and Server 2012= R2 - Added 01/2014 */ {"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 160= 7 - Added 12/2017 */ + {"Windows 2017", NULL, 0, ACPI_OSI_WIN_10_RS2}, /* Windows 10 version 170= 3 - Added 12/2017 */ =20 /* Feature Group Strings */ =20 diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 4f077edb9b81..bfc8a814379a 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h @@ -1299,6 +1299,8 @@ typedef enum { #define ACPI_OSI_WIN_7 0x0B #define ACPI_OSI_WIN_8 0x0C #define ACPI_OSI_WIN_10 0x0D +#define ACPI_OSI_WIN_10_RS1 0x0E +#define ACPI_OSI_WIN_10_RS2 0x0F =20 /* Definitions of getopt */ =20 --=20 2.14.1