From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sn1nam02on0098.outbound.protection.outlook.com ([104.47.36.98]:61793 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750905AbeDCDTf (ORCPT ); Mon, 2 Apr 2018 23:19:35 -0400 From: Sasha Levin To: "Mario.Limonciello@dell.com" CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "robert.moore@intel.com" , "erik.schmauss@intel.com" , "rafael.j.wysocki@intel.com" Subject: Re: [PATCH AUTOSEL for 4.15 050/124] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings Date: Tue, 3 Apr 2018 03:19:28 +0000 Message-ID: <20180403031926.GI7561@sasha-vm> References: <20180319154645.11350-1-alexander.levin@microsoft.com> <20180319154645.11350-50-alexander.levin@microsoft.com> <9e47cad5d0144285864141c298e8c27c@ausx13mpc120.AMER.DELL.COM> In-Reply-To: <9e47cad5d0144285864141c298e8c27c@ausx13mpc120.AMER.DELL.COM> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: <02ACF52945AA5F40863D9782296EDC19@namprd21.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: On Mon, Mar 26, 2018 at 09:12:03AM +0000, Mario.Limonciello@dell.com wrote: >> -----Original Message----- >> From: Sasha Levin [mailto:Alexander.Levin@microsoft.com] >> Sent: Monday, March 19, 2018 10:48 AM >> To: linux-kernel@vger.kernel.org; stable@vger.kernel.org >> Cc: Limonciello, Mario ; Bob Moore >> ; Erik Schmauss ; Rafae= l J . >> Wysocki ; Sasha Levin >> >> Subject: [PATCH AUTOSEL for 4.15 050/124] 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] https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fdo= wnload.microsoft.com%2Fdownload%2F7%2Fe%2F7%2F7e7662cf-cbea-470b-a97e-&data= =3D02%7C01%7CAlexander.Levin%40microsoft.com%7Cb0cf5563b7b94791931308d592f9= ae36%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636576523455359326&sdata= =3D7lMyl7MXqi9L1P4YXo2PwUzTH40lX79sNvUlPwCvwDE%3D&reserved=3D0 >> ce7ce0d98dc2/winacpi_osi.docx >> >> Link: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2= Fgithub.com%2Facpica%2Facpica%2Fcommit%2F35a4a3ea&data=3D02%7C01%7CAlexande= r.Levin%40microsoft.com%7Cb0cf5563b7b94791931308d592f9ae36%7C72f988bf86f141= af91ab2d7cd011db47%7C1%7C0%7C636576523455359326&sdata=3DUJvpvV9lxIlDCsWsLjT= mpFJjEWFUiWUOmFu%2B5jjk800%3D&reserved=3D0 >> 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_supported_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 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 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 >> >> /* Definitions of getopt */ >> >> -- >> 2.14.1 > >This is fine by me for 4.15, as mentioned in other email I don't think it = should go to 4.14, 4.9 or 4.4. Fixed it up, thanks!=