Received: by 10.213.65.68 with SMTP id h4csp793630imn; Wed, 28 Mar 2018 12:54:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx49YTzXfywsEpjtc6nS6ny7UlDI8duyJZskXrHBt4KTzd+3sMSn28eNd4/X+/dwiJlY2bJA9 X-Received: by 2002:a17:902:7087:: with SMTP id z7-v6mr4774969plk.315.1522266875786; Wed, 28 Mar 2018 12:54:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522266875; cv=none; d=google.com; s=arc-20160816; b=ksBcKwb6DNrbIZpKcKuh4Q0FKkijSSy4upfXtyQeF6wfPY0N+0LNrkpmb1P2If9Yao qJiSC364SXR0/lxWgmc/vBDZOJaOdU31BpBcHXhctsWasX/8qNyQWmFyDsAh7ydbbJlk FxQrtdMq7J8GLEzuLk/LPg2vYVt1Tpw2O6XIk9TnOyzbifCpG/QhzxwFbTAj54gZ2UdR dO4mxURBC9RNKX9RKfZBkYNUdDukua2YhMLmchIaDZcvdT3YBZsjuiwSTpxNtfL+2tyz GNmqHb2bAQDURzkJeXJFRIoIJM45vUjvjtCydM1V1YjoNgwCoMLxl9z1VtI30FU9spDZ QIrw== 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 :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=vSqSgNK5TJzuviqUBB5wmB+GqlY4gVE7DS7HM24Ydag=; b=Z03pnev6KMbYM+E8gjuR9K/8vzu83iRM6AlTdfgvBgIdyk8whyDSsQKkvbufhlWgN8 xx1aQpOWQu13gGKgsYBqlWCN+j89AvjBTqUVdToPLgBt4gM0+faaJ0fMohdz+7tKH0SL fSz0jMmtv0N2zpPOZCoin6a9qpFHnu/nOejHC03r1D8w3wuAsBYVmbaJvhe+eCoHbEfd +WY+YFcoaiMZjpSfVWJVNX/4phUwqx06xuSxN0o3FcrQWMXwJkHfw+Iw19YNksLf3Osk TPrd9E63yKzqfXzvQYB/3VeRi8lJK53bJnSVTpDs5JbNzMDb4L9VDq7bR27v+pmZwQ0m X9Hg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j87si3373451pfk.78.2018.03.28.12.54.20; Wed, 28 Mar 2018 12:54:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753099AbeC1TxV convert rfc822-to-8bit (ORCPT + 99 others); Wed, 28 Mar 2018 15:53:21 -0400 Received: from mga04.intel.com ([192.55.52.120]:35064 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416AbeC1TxT (ORCPT ); Wed, 28 Mar 2018 15:53:19 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 12:53:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,372,1517904000"; d="scan'208";a="215723225" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga005.fm.intel.com with ESMTP; 28 Mar 2018 12:53:19 -0700 Received: from orsmsx154.amr.corp.intel.com (10.22.226.12) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 28 Mar 2018 12:53:17 -0700 Received: from orsmsx110.amr.corp.intel.com ([169.254.10.11]) by ORSMSX154.amr.corp.intel.com ([169.254.11.17]) with mapi id 14.03.0319.002; Wed, 28 Mar 2018 12:53:17 -0700 From: "Moore, Robert" To: "Mario.Limonciello@dell.com" , "Alexander.Levin@microsoft.com" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: "Schmauss, Erik" , "Wysocki, Rafael J" Subject: RE: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings Thread-Topic: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings Thread-Index: AQHTv5xaTVO5Yc6WFEyJ+eHwrZ3EpqPiKMtAgAPIEICAAAEjcIAAKyYA Date: Wed, 28 Mar 2018 19:53:17 +0000 Message-ID: <94F2FBAB4432B54E8AACC7DFDE6C92E3B75820C7@ORSMSX110.amr.corp.intel.com> References: <20180319160513.16384-1-alexander.levin@microsoft.com> <20180319160513.16384-93-alexander.levin@microsoft.com> <94F2FBAB4432B54E8AACC7DFDE6C92E3B758206C@ORSMSX110.amr.corp.intel.com> <9e270b49c2e44d5684c04b3eef68a72c@ausx13mpc120.AMER.DELL.COM> In-Reply-To: <9e270b49c2e44d5684c04b3eef68a72c@ausx13mpc120.AMER.DELL.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzBjNTU4OTEtNWRmNi00OTA2LTg3YjgtYTI1NWUxNmI1NDkzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJlWlBZWDhyb0VrWDlkZUlwcGtJU1I4dWVOenJ0emhVUnpHd0h3VlppOFBwb1dZOWlpS0xObUZOVVhQc3Vka0dyIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Mario.Limonciello@dell.com [mailto:Mario.Limonciello@dell.com] > Sent: Wednesday, March 28, 2018 10:18 AM > To: Moore, Robert ; > Alexander.Levin@microsoft.com; linux-kernel@vger.kernel.org; > stable@vger.kernel.org > Cc: Schmauss, Erik ; Wysocki, Rafael J > > Subject: RE: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the > Windows 10 version 1607 and 1703 OSI strings > > > -----Original Message----- > > From: Moore, Robert [mailto:robert.moore@intel.com] > > Sent: Wednesday, March 28, 2018 12:16 PM > > To: Limonciello, Mario ; > > Alexander.Levin@microsoft.com; linux-kernel@vger.kernel.org; > > stable@vger.kernel.org > > Cc: Schmauss, Erik ; Wysocki, Rafael J > > > > Subject: RE: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the > > Windows 10 version 1607 and 1703 OSI strings > > > > > > > > > -----Original Message----- > > > From: Mario.Limonciello@dell.com [mailto:Mario.Limonciello@dell.com] > > > Sent: Monday, March 26, 2018 12:30 AM > > > To: Alexander.Levin@microsoft.com; linux-kernel@vger.kernel.org; > > > stable@vger.kernel.org > > > Cc: Moore, Robert ; Schmauss, Erik > > > ; Wysocki, Rafael J > > > > > > Subject: RE: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the > > > Windows 10 version 1607 and 1703 OSI strings > > > > > > > -----Original Message----- > > > > From: Sasha Levin [mailto:Alexander.Levin@microsoft.com] > > > > Sent: Monday, March 19, 2018 11:07 AM > > > > To: linux-kernel@vger.kernel.org; stable@vger.kernel.org > > > > Cc: Limonciello, Mario ; Bob Moore > > > > ; Erik Schmauss ; > > > Rafael J . > > > > Wysocki ; Sasha Levin > > > > > > > > Subject: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the > > > > Windows > > > > 10 version 1607 and 1703 OSI strings > > > > > > > > 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-a9 > > > > 7e- > > > > ce7ce0d98dc2/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 8f3d203aed79..51d9011b5b33 > > > > 100644 > > > > --- a/drivers/acpi/acpica/utosi.c > > > > +++ b/drivers/acpi/acpica/utosi.c > > > > @@ -101,6 +101,8 @@ static struct acpi_interface_info > > > > acpi_default_supported_interfaces[] = { > > > > {"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 1607 - Added 12/2017 */ > > > > + {"Windows 2017", NULL, 0, ACPI_OSI_WIN_10_RS2}, /* Windows 10 > > > > version 1703 - Added 12/2017 */ > > > > > > > > /* Feature Group Strings */ > > > > > > > > diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index > > > > f914958c4adb..d27bc051f47f 100644 > > > > --- a/include/acpi/actypes.h > > > > +++ b/include/acpi/actypes.h > > > > @@ -1284,6 +1284,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 > > > > > > > > /* Definitions of file IO */ > > > > > > > > -- > > > > 2.14.1 > > > > > > I don't believe that it would be a good idea to bring back this > > > patch to kernels older than 4.15. These strings do activate some > > > extra features in Windows and some BIOS ASL has been written to only > > > activate them when the newer Windows versions are detected. I have > > > no concerns bringing them to 4.15 though. > > > > > > Bringing them back to stable may introduce other problems that > > > requires backporting additional driver changes too. > > > > [Moore, Robert] > > > > There should be no problem with this change concerning older machines. > > The firmware on these machines will simply never call _OSI with any > > strings newer than when the firmware was written -- including this new > one. > > > > Bob > > Actually I'm referring to "newer" machines that do have this string in > the firmware but the changes in the kernel that are relevant to the > string didn't land until newer kernels. > > I think it's a pretty good risk for regressions on those older stable > kernels as such. I don't think I have heard of any issues like this in the past, but I could be wrong. You might look into the past when other new strings have been added to ACPICA. We add a new string every 1-2 years, depending when MS releases a new one.