From patchwork Fri Sep 7 00:38:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 146150 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp526611ljw; Thu, 6 Sep 2018 17:41:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZXYWd7ZwoOSYv9oy1btY17uaZXZqTPC8BKtaF0XEs+Dyq9Hjs+SivSavaBFLZqBxjGia7c X-Received: by 2002:a17:902:8481:: with SMTP id c1-v6mr5386914plo.177.1536280888421; Thu, 06 Sep 2018 17:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536280888; cv=none; d=google.com; s=arc-20160816; b=JqvtqzicJUUCunx72yewi1VCy3yE7kMT58MROTZrztGNhgZGhtPffyyMlFZNbZca+B L7dz28pldVLcm0vHBF1t4PEG4xzhtwZdt452/e26Bs0nQMEqFimArcx7Ks4NB/ocw5NL g2Z3OKJ6Ofr8I4S6vFMv5XnLYex3WjhCncRbIsNmP7c8ZvXSYrX7H0eHcLMt+xvtnutB VVtLCHsXZeyGo84ELqeD03+bYRKLAVJqV2J7CbnBRxMUbZsSYl8I+BHAn8/ycXk4eiZv tAfePBJRO/ZvI/F5tYC2IvAZvbzK/AlU3DT9nzX4RIgbJSkr37n8x6d59XjNBTYXaQi3 dprA== 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; bh=P69kFFQq/QiNNn8sf4Ht+a8gURiMEf5RyrEWo90J0u8=; b=DApgPpNnhyKMs9jsFB7JfarW8Zauy6rrMEyzjNID/7oWgEMpreuVNBICM2E9Etqrh4 E57lHe0GaSEiSOUCU6avQH6/nikSkpwAVlHbZsWEbCBLlaAVmAgzRuBOhxjYK0uvXHJM PJPIGEhi2gcbf5nQJgfP8Rt5Qcm/AfMLhijE7WZhHnVpaaexnPJcpinv0EcfnHi5zGRu eD/L5T+mvE8XcQ3XlIUokq7oqtDHESJFuCox/AmyxqS6omHrmWwGn7K3r3Q0iKxvhydf 6huB7CFx27oTLUtqK1RZambv4pW2ICeeXLwA7G2cHMKJbOuIhlQP4jtUp6uEcAl7IDFh s/Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b="hB/ghqrA"; 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 m5-v6si7371050pfb.104.2018.09.06.17.41.27; Thu, 06 Sep 2018 17:41:28 -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="hB/ghqrA"; 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 S1730906AbeIGFTb (ORCPT + 32 others); Fri, 7 Sep 2018 01:19:31 -0400 Received: from mail-dm3nam03on0102.outbound.protection.outlook.com ([104.47.41.102]:49926 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728144AbeIGFTa (ORCPT ); Fri, 7 Sep 2018 01:19:30 -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:X-MS-Exchange-SenderADCheck; bh=P69kFFQq/QiNNn8sf4Ht+a8gURiMEf5RyrEWo90J0u8=; b=hB/ghqrArbVzIEoNUSHI/Ow2oLNnBwRZv/rkalTsGAUZqzjYkLUbCnaENjpCosavxDmM12Tf6Corq8lQNb95jm/bRg3jMpTG4Lc9YIaE5vQClDbNY7n78ATyIKiBCzNIx80hmlJfLMpOu/rLiBQQ0uhjt1AduMYkiakFInBxxB0= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0694.namprd21.prod.outlook.com (10.175.121.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.1; Fri, 7 Sep 2018 00:41:19 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1143.008; Fri, 7 Sep 2018 00:41:19 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Ard Biesheuvel , Will Deacon , Sasha Levin Subject: [PATCH AUTOSEL 4.9 32/43] efi/arm: preserve early mapping of UEFI memory map longer for BGRT Thread-Topic: [PATCH AUTOSEL 4.9 32/43] efi/arm: preserve early mapping of UEFI memory map longer for BGRT Thread-Index: AQHURkMg0nD61/r6J0mw/aIv7f95vQ== Date: Fri, 7 Sep 2018 00:38:41 +0000 Message-ID: <20180907003816.57852-32-alexander.levin@microsoft.com> References: <20180907003816.57852-1-alexander.levin@microsoft.com> In-Reply-To: <20180907003816.57852-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; CY4PR21MB0694; 6:IgjGm4YJtbWsWNK7B2STf6w6LhpZ6Gny415t27BdeHbw/J73sUMuEayweJtC6pu0A89n2Duu1bsMkBJaMa6Ry1HH12XzYcFWb6x6FcEP3q1UDjsuTT9fL96Ezxxc/CYDL7TNUFBKfjvVDp6H5NxDKb9IsVwjdcEOww5kc6SrykYYacOvJn63+kY56gPgAnhmlYjq5bugzMvgj6juVvq1JuO74jGl5yVPQu2e4wJ2PS10F3QWQ0bzVP0b44EC6I/+xPHDaD0exP/UUbjMPwYq3XEdj/CXVp8CEJ5PWF5LBrOmw5rsUuG5Nl4P4FxMQSsadSJuUQ5SwUS0GhQMmtZjtY7K7q9Doo/W/HAXy3Q0Oox1xFYPOaoUuurtVR2DLdPidPVwJ9jfGpaA7VE2jzbO1eMs0g/ul5z53Rk2o+6SHExdRPfkzw6ZkoX1juriPtQnBIukuKa1q9CXHk/MwCPLVw==; 5:7VETLBE1c9WQliLhkW6bbE9ESATGwU5MwDg9b35E1FV8ClMs+66FwtTr52Fndnm3RpneKHaIrUgGLZtkMRWH+EcNSazoXbngfHiB1hWfcITdC/5nnttctWgQXvRn5xBRXyTYT7PmjN8oXV8Z9zxiFM1Gj0vugUQfi1+SFu3qoqQ=; 7:fxZESSOcqjDythzrxb7sjOklDnwDgf+VYxU46wxi+0J72bpaVe+QEWR/uV4EvgbsN+EfD5URRQ2Krlz5qxdDL4OEmolI+BtnelrUXcmw2mmpOW4bSTN+zorAj1SCGYKqUY8K8cHtVaDy0KOhZKgoPun80+y7veiRxBje2xz2uVWZKt9azGeVarULWUKaxuwikymWpYmvfHHQd9lzi6cayJ3vocvhXsh9MbI5OwRHStJ/aMLeM9MC1wMPsfuqEv34 x-ms-office365-filtering-correlation-id: 9070a8bf-d5c2-4246-161e-08d6145aa0cf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(4534165)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0694; x-ms-traffictypediagnostic: CY4PR21MB0694: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(180628864354917)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231344)(944501410)(52105095)(2018427008)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0694; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0694; x-forefront-prvs: 07880C4932 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(376002)(366004)(136003)(346002)(189003)(199004)(2906002)(575784001)(186003)(86362001)(6666003)(110136005)(107886003)(54906003)(36756003)(25786009)(4326008)(256004)(14444005)(2616005)(6506007)(6486002)(6346003)(6436002)(6512007)(446003)(476003)(11346002)(486006)(86612001)(2900100001)(5660300001)(102836004)(26005)(66066001)(53936002)(68736007)(7736002)(81166006)(81156014)(8676002)(10090500001)(8936002)(6116002)(3846002)(99286004)(105586002)(76176011)(106356001)(5250100002)(22452003)(14454004)(316002)(1076002)(2501003)(305945005)(217873002)(97736004)(10290500003)(72206003)(478600001)(148743002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0694; H:CY4PR21MB0776.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: 3EYWKxjrh17V1il5oVHiF3gLp9Fw1pfGIQK64WME3V/RafyOcZM+nLi3FU9gKgDfOMtdwjj0YYaebORtpRPq7tKp3rgam6zr0QhxhCMdN4k6Cd6SU3srQfKl6mHEcMiGT7dA8uom4jYrDhUSCwUMfW2uLaRD2wzV2OFLiaYtmF1n+8RuVt5+3ZiPEbwcPaZlu+I2JPHOJGbwW99B/1hz7CyD68rXK5FzGwPhB0S0P+LvtTF8A3eJ436JYZqwEst4gSNQgD2UKHRo2gF5FXcu1VJUb7FcWe7eplYMgId8qajIxv/Zrp6GLqC9gtkHjcKR4fyOJKVK029uHMPfvVswI8xD4do/9nftFM6ZsmrxrHE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9070a8bf-d5c2-4246-161e-08d6145aa0cf X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2018 00:38:41.4764 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0694 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ard Biesheuvel [ Upstream commit 3ea86495aef2f6de26b7cb1599ba350dd6a0c521 ] The BGRT code validates the contents of the table against the UEFI memory map, and so it expects it to be mapped when the code runs. On ARM, this is currently not the case, since we tear down the early mapping after efi_init() completes, and only create the permanent mapping in arm_enable_runtime_services(), which executes as an early initcall, but still leaves a window where the UEFI memory map is not mapped. So move the call to efi_memmap_unmap() from efi_init() to arm_enable_runtime_services(). Signed-off-by: Ard Biesheuvel [will: fold in EFI_MEMMAP attribute check from Ard] Signed-off-by: Will Deacon Signed-off-by: Sasha Levin --- drivers/firmware/efi/arm-init.c | 1 - drivers/firmware/efi/arm-runtime.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/arm-init.c index 8efe13075c92..1d1c9693ebfb 100644 --- a/drivers/firmware/efi/arm-init.c +++ b/drivers/firmware/efi/arm-init.c @@ -250,7 +250,6 @@ void __init efi_init(void) reserve_regions(); efi_memattr_init(); efi_esrt_init(); - efi_memmap_unmap(); memblock_reserve(params.mmap & PAGE_MASK, PAGE_ALIGN(params.mmap_size + diff --git a/drivers/firmware/efi/arm-runtime.c b/drivers/firmware/efi/arm-runtime.c index 6bdf39e1e385..4d788e0debfe 100644 --- a/drivers/firmware/efi/arm-runtime.c +++ b/drivers/firmware/efi/arm-runtime.c @@ -118,11 +118,13 @@ static int __init arm_enable_runtime_services(void) { u64 mapsize; - if (!efi_enabled(EFI_BOOT)) { + if (!efi_enabled(EFI_BOOT) || !efi_enabled(EFI_MEMMAP)) { pr_info("EFI services will not be available.\n"); return 0; } + efi_memmap_unmap(); + if (efi_runtime_disabled()) { pr_info("EFI runtime services will be disabled.\n"); return 0; From patchwork Fri Sep 7 00:38:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 146153 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp530901ljw; Thu, 6 Sep 2018 17:47:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbU3RT9z7QE+bdx3MCxfcmOek1QdiK1b4ubgSdkwewqQ4e6VAulNDTOHpeq7mym1P5gaivr X-Received: by 2002:a62:f208:: with SMTP id m8-v6mr5752073pfh.222.1536281252064; Thu, 06 Sep 2018 17:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536281252; cv=none; d=google.com; s=arc-20160816; b=YkUD9uoCADQj9cfyBrUAV+p3GLEPGZ4H7LXkgQ+QQrPa6oxfYEOV+QCTYn+vQHwah3 8uCxQOFIOVq3JzrIiBpPlfe2WqD7qqqgusARf169AipC5MQUUW7RKJSChYA+hwFHpvtc 0Dtn1aHKTTAVJMwYYODDVI00nMiEhuLtDuyFt9C+p55pnPKqckymhhRMIKof1aLlh1Zq yrp6UD71o3awKw/UPDRId31hztg8lbZ1ds2YgScCYT0xylt3fX4GcDx3IK6AVsIYejlp nTJg/BzbLf872ugad1AMmWvZJIkv/D+nT3vmWP+mIY6C8z/tutN4Z8qoaf40x28aS4v0 DkRg== 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; bh=lAed7ykxhruvljdNmGScbZfnEd9l2br332bl2TfNRCM=; b=lSy0M73icbhMIqR7e/KFwvgl6DnsJRpqs50G5FTnK/uRIbFiU87J03w4I2NvV+l4Ra rHXvetoplzHQccpicbgnewMMin7LomtW7oapga5Eo1NzyzLahWzR2eCx90kjb4zORXGn HWFSbponxa1dGrUHv+d9o/TL6N+fJNv/3EOy5/zrnC5cP0cTVNY02qxsVx2d2F+ZMz9X Tk01gt5CkDqId85uc9qeeFk0YAOtqpNZYqXBaSelMkS1gKowjCE8Sl0JtQuLpFQ2Tlww XBIsEHAG4BAfYl2aOEZnbyo2F5xlZUQ9qUn6lXEkM/LUG1hhReHlEjKk0tsWt33bHSnU B+1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=mRMV8Syl; 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 c128-v6si6580388pfg.347.2018.09.06.17.47.31; Thu, 06 Sep 2018 17:47:32 -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=mRMV8Syl; 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 S1728223AbeIGFZh (ORCPT + 32 others); Fri, 7 Sep 2018 01:25:37 -0400 Received: from mail-dm3nam03on0102.outbound.protection.outlook.com ([104.47.41.102]:49926 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730902AbeIGFTc (ORCPT ); Fri, 7 Sep 2018 01:19:32 -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:X-MS-Exchange-SenderADCheck; bh=lAed7ykxhruvljdNmGScbZfnEd9l2br332bl2TfNRCM=; b=mRMV8Syll1qbKislZyNviixSRmCEnC6nl9gbGQuuHIOePX5YLrB0CLmBSoOI9hlBz0pTBaf1dwciSur0GGNoB5sTyS8d+eO5IU3Vi5rbg+uE7u6U78u5z+s2iAfq6uBwF6xmdEhdCwJ5KTf2r7ntGxbpV50KaYYsKWO4cPuhzbE= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0694.namprd21.prod.outlook.com (10.175.121.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.1; Fri, 7 Sep 2018 00:41:20 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1143.008; Fri, 7 Sep 2018 00:41:20 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Loic Poulain , Andy Gross , Sasha Levin Subject: [PATCH AUTOSEL 4.9 35/43] arm64: dts: qcom: db410c: Fix Bluetooth LED trigger Thread-Topic: [PATCH AUTOSEL 4.9 35/43] arm64: dts: qcom: db410c: Fix Bluetooth LED trigger Thread-Index: AQHURkMhk4bRLqBx/0+Wx9LHn9QkYg== Date: Fri, 7 Sep 2018 00:38:43 +0000 Message-ID: <20180907003816.57852-35-alexander.levin@microsoft.com> References: <20180907003816.57852-1-alexander.levin@microsoft.com> In-Reply-To: <20180907003816.57852-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; CY4PR21MB0694; 6:HcP06wkEBAeFHJYtTeo+8U6Utz2BhX2qcZhbDW2sR36KUKL5EsnNyqjXvG26zm6mfQ6hYCz+gY6g5FPQzl0gWfB9xbtPydhHysZpKWKBKHqB6lTGBzwTgr2OT+FwdZ65adxyEm/IX98/GjLLO2Sb6byYf0PqN4CWhuJcrlY1XVeQPM97c2zsn21oDXFlY1iZ0XpTsnrC6l1w33lUuEjIbsRm+FlLjBDIuPVzleETg4F5OaFsNFynaEKSlw9eoCOAk/fj6PJPKn2Y8RP6rfs+vzL/BW0aI68hAYXj5LHyiPLdPcQBq1jYVweGOAe/2GiL/3L+0eLmDBCzAuL5wWz8BNZa3rEhTYML6m61omebTRCbwKUmUMtbiQ2VR2+w7XoaOUhonYXuTIO3TLCuc4/xXvYbQ8IYJJ/9aKTLiVl+wUAyeGR+mTM5fPdJOwzBtsVvMgkk60tz7mTHjUa5j2syNA==; 5:dP36qAzvFXRgg6hK7JYpYw5f7tqhXPzSQ/ywpsfZ6V81CInQ9MmgTYoUavpGvP3GSdsBLKg8dRtQDE91AIjDMInkYB5piSb55+z/148nyyv/y5vqsMednpS6fPgjJB1lG9r2v/AYBKfzrM5srizWOxzqH7ge2vCUiozqeCx8MRY=; 7:N0/EE/V9w9Raiq8wcNPtg4AG4v9H60X6OANI6NcU9mW6fcePVakG+BlkbnqRAv2oNzFxKX0/rySxitl3NwiSm4UTfJfBapXhLaFbpt5DHQm91KaDtzQ8Z3FsQqViDviRNnDgCNuzHlD1abxnjKzAHG3W1jxLi5m+N6eMTxALdDkD+2PgCJcPUCITQBqCGq30s+NST98Tk2fT6RJ+dTwX5A/l6cr3U5TzLj8VCpxFrxcVK5lkerL9JjuYRFJCBcjD x-ms-office365-filtering-correlation-id: bd25d794-f5f1-4d63-a474-08d6145aa191 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(4534165)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0694; x-ms-traffictypediagnostic: CY4PR21MB0694: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231344)(944501410)(52105095)(2018427008)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0694; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0694; x-forefront-prvs: 07880C4932 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(376002)(366004)(136003)(346002)(189003)(199004)(2906002)(186003)(86362001)(6666003)(110136005)(107886003)(54906003)(36756003)(25786009)(4326008)(256004)(14444005)(2616005)(6506007)(6486002)(6346003)(6436002)(6512007)(446003)(476003)(11346002)(486006)(86612001)(2900100001)(5660300001)(102836004)(26005)(66066001)(53936002)(68736007)(7736002)(81166006)(81156014)(8676002)(10090500001)(8936002)(6116002)(3846002)(99286004)(105586002)(76176011)(106356001)(5250100002)(22452003)(14454004)(316002)(1076002)(2501003)(305945005)(217873002)(97736004)(10290500003)(72206003)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0694; H:CY4PR21MB0776.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: xMm+mII34Rf3e02HETc0KoYpYNRYlGQrx/WA52E30q5tuDiwRKe3OVNMQdALWiCI3v8/wLKZGTnIHV4eo9DkKYEYS51WB7hwtBy7Q1Kj1vY+TUvsw/mX/ey8ZuPUN/0bTXrDxH8lPlgQDy49OYR1u+DlIFCBOmCBFXZbIA6f/sa0tm/cFHkBISI3ycejKJ2hZQpg3vJLTrDucWlZNe4doQIYs2G/Yzbyosc9D8iv8N7vNLccxdFdOL0/5kbcrH0MHX7qrGdYAmoAJbxDUdXoXvTzjWtLwFOW1xRmUnYA4xoQyvz+pkeSckb6oypLhl3tMi9OLWpF9Nj6Z1OVg3mikrj2uTZ3ixLeY253itaIlRY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd25d794-f5f1-4d63-a474-08d6145aa191 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2018 00:38:43.3328 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0694 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Loic Poulain [ Upstream commit e53db018315b7660bb7000a29e79faff2496c2c2 ] Current LED trigger, 'bt', is not known/used by any existing driver. Fix this by renaming it to 'bluetooth-power' trigger which is controlled by the Bluetooth subsystem. Fixes: 9943230c8860 ("arm64: dts: qcom: Add apq8016-sbc board LED's related device nodes") Signed-off-by: Loic Poulain Signed-off-by: Andy Gross Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index bb062b547110..601be6127628 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -170,7 +170,7 @@ led@6 { label = "apq8016-sbc:blue:bt"; gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "bt"; + linux,default-trigger = "bluetooth-power"; default-state = "off"; }; };