Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2257829pxa; Mon, 17 Aug 2020 05:25:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbZeNXViTnksqj8IodF09GXCA1w9Fsm4so7OTKDZlNv3MYy1XK/1UBk/gb3cZzwS8D29nX X-Received: by 2002:a17:906:3b18:: with SMTP id g24mr14549506ejf.420.1597667154920; Mon, 17 Aug 2020 05:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597667154; cv=none; d=google.com; s=arc-20160816; b=BDI27qR1xroQRs7Yna1h5CbKYoVHS18aFZJndfAlXFfYQFu47Gt6GQLP54YqJ8xB1x mi93gXyEovHrxwq+bUj8EMfKsOfO1YY9XoJNpEOxZFcOR14+BvbnO+8tO+ADjr78qi9V HzLJd3aRCX11eYEG3Dx9b4OBcgvZRoemqSPffDL+x59IwK38TpbOZyVm8uaVBMHy0Qrz IfLQfWfu/aMVdlYoA1zreQQFk72pqKJ84FeHz6WxFg6sCsrBcsaJX0GX1NdHejFnriPw bmN/6B6Op/09JYfp+HrDHYqb5vLIdv532IAIsWoVbGBg+VXyZGY53uZ74Nznvr2+QFAC yLkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=N/jctNvX80Iua88Yyh91tm0w/LOKhsOGuLBuqrkU5VA=; b=gADuClw3jE0iqctZvYISdnfbKtLPMP1be1+GJcrcusME9OjugDf7u4pm/XMSsFj3oi 8+xaCnb4dX6jnaB9WlB6Hh71LiCztVAzJWWQDaSLWpRhS4Trx9vHRmYMVP0p1A1nP+Ii SAPFlhRtLwfZDAESHYvpAf3sYp4gQ/hy2kpmjtG//zmVFHZ8Gus7QzHj1e9N7cKGwNZ0 aa9yvmDqo3mGCo6qydF0fWK5IOXKAVDQ2aLhLFclPuXIZN0NyMfhnPAF0OnSXGS4kCzs QIctTm9u6baMlwesOf4+9J1jtqqNFyz8HBbg1iVWIKoeqOuu/F9ocunilCmPX2S4Y+NU cC6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si12033317ejb.736.2020.08.17.05.25.32; Mon, 17 Aug 2020 05:25:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728292AbgHQMYm (ORCPT + 99 others); Mon, 17 Aug 2020 08:24:42 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9750 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726265AbgHQMYg (ORCPT ); Mon, 17 Aug 2020 08:24:36 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9E07146F75F97D4A4037; Mon, 17 Aug 2020 20:24:25 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.187.22) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Mon, 17 Aug 2020 20:24:18 +0800 From: Keqian Zhu To: , , , CC: Marc Zyngier , Steven Price , "Andrew Jones" , Catalin Marinas , "Will Deacon" , James Morse , Suzuki K Poulose , , Keqian Zhu Subject: [PATCH 0/2] clocksource: arm_arch_timer: Some fixes and code adjustment Date: Mon, 17 Aug 2020 20:24:13 +0800 Message-ID: <20200817122415.6568-1-zhukeqian1@huawei.com> X-Mailer: git-send-email 2.8.4.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.187.22] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org During picking up pvtime LPT support for arm64, I found some trivial bugs for arm arch_timer driver. Keqian Zhu (2): clocksource: arm_arch_timer: Simplify and fix count reader code logic clocksource: arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI arch/arm/include/asm/arch_timer.h | 14 ++-------- arch/arm64/include/asm/arch_timer.h | 24 ++-------------- drivers/clocksource/arm_arch_timer.c | 53 ++++++------------------------------ 3 files changed, 13 insertions(+), 78 deletions(-) -- 1.8.3.1