Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4484629ybx; Mon, 4 Nov 2019 14:11:55 -0800 (PST) X-Google-Smtp-Source: APXvYqxUrE4bq3sXNjxhbne2DPMd6Qc5XBI15YqZXM/fUYgIk4yqvw6HTOGIovBiQ1la5BZxSpk1 X-Received: by 2002:aa7:d888:: with SMTP id u8mr21569042edq.144.1572905515494; Mon, 04 Nov 2019 14:11:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905515; cv=none; d=google.com; s=arc-20160816; b=nl+KklUV1lXEhNYAHsLa6O/2jlAHVBY+FPJllMsmGi3rmGbUpch/HYHe/1pZb4KVeR 9H2QaMyuGMw+539fA6LFuEsko9Lc4sQncOk8YJ1op6z+3EinnoV5gkfu3OaDMsF/vgCG 62XRZREBRS2YSIh8MFkTJeoSs2LHgWDS5axC2xu11lUX6xzvITREUIAUCXEpb0CuPjv/ 4wY9PKQeSVwKf58cRAyUfT3Sc03fHOCaraojRrzam9guQspkTbKfPfO/JYcKvjdH7NoW k0qzUdBUYG5ZpRBbJE3e0Oq+yk/aMM8ZTRcT8LqEXI57oZOk/+Ykln7C0ig9mzs9mJyQ TLmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+NDf4MbDw7052NzCLs6zf5t5gBbfhIeZ6kw6bNXNZVM=; b=X0WmPRpZOBpvCq8CZzXpTaAngm6AnQDoP/7ctYO4nsptIlys1wWP4bHMzEVQ173vxW 2knV1cBQpaQ7DcD+2p/cTlNLCscp7iH1BJr3l42EA9J/Lyc9d+ESKK2OeAcdOJoWJO5p SwD6yrIpwEuTbMUQxEiSbQyv6J247RKoY+rwCLjxW2ANJQFcOyfG+I+4F/hjzSEUPms/ zsStyqHXlbEIp01lqXHFY9C7DQga8rh732Z9sUspy6C+DWeO7Zh8plK2wRkKsiILfXKG XjjiZxs5wYwYidTbU33+7DZUIRLIw85+idF+cZhdhvUZ+V7llxR/NA+CPpwAWaa3uGlI l+mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Qv+GaBUa; 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 u24si9124991edl.447.2019.11.04.14.11.31; Mon, 04 Nov 2019 14:11:55 -0800 (PST) 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=@kernel.org header.s=default header.b=Qv+GaBUa; 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 S2390469AbfKDWJv (ORCPT + 99 others); Mon, 4 Nov 2019 17:09:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:43002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390101AbfKDWJu (ORCPT ); Mon, 4 Nov 2019 17:09:50 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1E0E6214E0; Mon, 4 Nov 2019 22:09:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905389; bh=VNfeyMzplEuxQPRW8tw5bkZPMbiA4pSi0LQH7t0iQ2M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qv+GaBUa4yesYKfIOyh8X++HSdw252n6v86firMPfR9xckb53It981sKXqvJjNf/A vSNAyjg2DOan1uH2Z8ocbQfJQnzNQk70T8h8qWCA3cVYVbiAMglLctEe2wc9TEQu3w VshYHvis5UAKwokr+HSxstcN04tL3edhLQrS8VDQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Brown , Will Deacon , Bjorn Andersson Subject: [PATCH 5.3 128/163] arm64: cpufeature: Enable Qualcomm Falkor/Kryo errata 1003 Date: Mon, 4 Nov 2019 22:45:18 +0100 Message-Id: <20191104212149.553069085@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson commit d4af3c4b81f4cd5662baa6f1492f998d89783318 upstream. With the introduction of 'cce360b54ce6 ("arm64: capabilities: Filter the entries based on a given mask")' the Qualcomm Falkor/Kryo errata 1003 is no long applied. The result of not applying errata 1003 is that MSM8996 runs into various RCU stalls and fails to boot most of the times. Give 1003 a "type" to ensure they are not filtered out in update_cpu_capabilities(). Fixes: cce360b54ce6 ("arm64: capabilities: Filter the entries based on a given mask") Cc: stable@vger.kernel.org Reported-by: Mark Brown Suggested-by: Will Deacon Signed-off-by: Bjorn Andersson Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/cpu_errata.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/kernel/cpu_errata.c +++ b/arch/arm64/kernel/cpu_errata.c @@ -816,6 +816,7 @@ const struct arm64_cpu_capabilities arm6 { .desc = "Qualcomm Technologies Falkor/Kryo erratum 1003", .capability = ARM64_WORKAROUND_QCOM_FALKOR_E1003, + .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, .matches = cpucap_multi_entry_cap_matches, .match_list = qcom_erratum_1003_list, },