Message ID | 20200203161926.170195650@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=s+JW=3X=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7D2DC35251 for <stable@archiver.kernel.org>; Mon, 3 Feb 2020 16:40:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8576521775 for <stable@archiver.kernel.org>; Mon, 3 Feb 2020 16:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580748021; bh=03nOJsG5gAi8b3YwU+bDlw1Bq9pJHxvGL0xnbTnVRt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=GJM93fhRj8YGcGkBEFelu2foSKi5kbKFFB0FO5hOMJ/kjgAHdtuFF61xpuVbPYyjL H6bRLbAuLCT4EA/VaoJdUinUZxzNRkgTOyj8dj5AxnjFYNQpmjZldS679yuk058NmS oLFRMggv+E/N+gRZ8U/OL1sBGTxXqUh3zmDJKAvw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731028AbgBCQgb (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 3 Feb 2020 11:36:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:51844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731006AbgBCQga (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 3 Feb 2020 11:36:30 -0500 Received: from localhost (unknown [104.132.45.99]) (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 AC0FE21744; Mon, 3 Feb 2020 16:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580747790; bh=03nOJsG5gAi8b3YwU+bDlw1Bq9pJHxvGL0xnbTnVRt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TegnJfKBESBCRF9UW+kEKekM1TflCxU/hGPH0b4C/oUyp+noCppvwxvz8tvXNPZRe j08v2vGsZdSE8Ba8X/MuCroCtDvmjWGfQH6KdOHhbOaTykC0jgaQci5W9nf5PQlSZr OYQs1apLZiJjeH6U4Og+PvrbBcLpT5B7Ib44D8Fw= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Marc Zyngier <maz@kernel.org>, Vladimir Murzin <vladimir.murzin@arm.com>, Russell King <rmk+kernel@armlinux.org.uk>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.4 72/90] ARM: 8955/1: virt: Relax arch timer version check during early boot Date: Mon, 3 Feb 2020 16:20:15 +0000 Message-Id: <20200203161926.170195650@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200203161917.612554987@linuxfoundation.org> References: <20200203161917.612554987@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/arm/kernel/hyp-stub.S b/arch/arm/kernel/hyp-stub.S index ae5020302de49..6607fa817bba9 100644 --- a/arch/arm/kernel/hyp-stub.S +++ b/arch/arm/kernel/hyp-stub.S @@ -146,10 +146,9 @@ ARM_BE8(orr r7, r7, #(1 << 25)) @ HSCTLR.EE #if !defined(ZIMAGE) && defined(CONFIG_ARM_ARCH_TIMER) @ make CNTP_* and CNTPCT accessible from PL1 mrc p15, 0, r7, c0, c1, 1 @ ID_PFR1 - lsr r7, #16 - and r7, #0xf - cmp r7, #1 - bne 1f + ubfx r7, r7, #16, #4 + teq r7, #0 + beq 1f mrc p15, 4, r7, c14, c1, 0 @ CNTHCTL orr r7, r7, #3 @ PL1PCEN | PL1PCTEN mcr p15, 4, r7, c14, c1, 0 @ CNTHCTL