From patchwork Tue Mar 30 10:57:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pingfan Liu X-Patchwork-Id: 12172271 Return-Path: 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=-8.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 B136BC433C1 for ; Tue, 30 Mar 2021 11:01:43 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 221F76196C for ; Tue, 30 Mar 2021 11:01:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 221F76196C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ddpq6YSTy477ZrnGW5lFJkWgO8BOWHFc+VrAyx6VlWI=; b=QoSxcRS1V1b6XQHuChTPyvFwln g7QAnE9WlmcpQ5nWSIqMMrPrIctAEnH17Q4CXr71uV97owHFSDAcFnFuO9m/JLD3FQoAwlf6USnu0 qsgKyfmT5tLnz63uzOJVmDWU8MvmxO5ByInxMs+ZCfKXT6enkC6kpiME+h6L9eEsB+NB65ZENmKyh IpKTi9akS07uAKYrobg2atEWCTUxklUUl90VUaQNIKC01eXPpOJnodZklgUZKeTarQ8AREqKouJjU JQSV3OgnQVUYUG4hJ7hY+s9oSXxHR/XEcJRhijYk984BmbjzFwSOWv1s3xeVxuBjqx6LRJsrGEFS4 GuiKWoIg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRC5x-003UUK-HE; Tue, 30 Mar 2021 10:59:38 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRC4E-003UCR-Ip for linux-arm-kernel@lists.infradead.org; Tue, 30 Mar 2021 10:57:55 +0000 Received: by mail-pg1-x534.google.com with SMTP id k8so2291228pgf.4 for ; Tue, 30 Mar 2021 03:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GMZpNFhDdAGPTSY291Y62hctGpfZJGDCr4h9TAwt2/c=; b=C0T2qYgjb3XAMcS72a/a6PyA7odNqsyYaNC/juGW7qhvALpj1Pw3qndieBMtfuFg95 MEnks0OjsW7r0SqXw8G3CJH1Obr+mYmYpc5TUuhDsHWB0zBDHzWn8cTpvd42WDiL4QJV wWY4mgbuNYmvJXc0IcJLiiIXz+fDHA9fl1hOob+WE7x+8DjvcTNzm+uShpEO+vjOVyxU 3FXDcMyYECJJpXf6S73M8yttWkLJBB8CygxlFosnjugpoxaXM27z2993OVKrV6VLpv6o WHndUeQKsqffIUexG0Xylh7EoBxtn5aFi1jQefdryTJM4WNNcMxFxjdi7AWf5s0C8O0w VcfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GMZpNFhDdAGPTSY291Y62hctGpfZJGDCr4h9TAwt2/c=; b=mcPXI35EUqEXV6jrMfJiulNDDTifPyW1LrP0cLlEAZ/qCxhJ2BpNdyR1ivGWXaQIDA h4FX4+MTjylb90b4kAFYcrvXbmcBIYsENoRbvhI8Xzx7UwOd/HWw11py4tDAzIraVA9v 9Q+PFc6auIqhX78YIXT+WD94Wga0nWjw0OEzqdLSydqGAyLIVr6i6bIIdqRrNvytTtzm 1qQWSCsl1eMVt9ojIfD5i6wl2gpTBxljcXx0VOc5YNa1FpX9gZINgfZ6pV3SfAs+4Sqc lUSGIFDAycno+xqt48Cft4q4A1pU3Taz+lS5yr/cc6iy1S9wBB/rDOkqB+24JkJfvTrh r9Tg== X-Gm-Message-State: AOAM5319wOG/j4QrYLOHryW3hIdGTk3FHUuKrUgYdqHsmbKy1MMxvR5U bCWNVPU+Lj+K+BPTWrJjamZyuvSe+23n X-Google-Smtp-Source: ABdhPJxjnqj5kqvkfVjTWPEYywaTw8yB5Bu4UKtNTFO/V1RTYiUufRCHGqYoQTY73oq8pfjwY5JoXg== X-Received: by 2002:a63:e04d:: with SMTP id n13mr27520846pgj.185.1617101867528; Tue, 30 Mar 2021 03:57:47 -0700 (PDT) Received: from x1pad.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id 144sm20000439pfy.75.2021.03.30.03.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 03:57:47 -0700 (PDT) From: Pingfan Liu To: linux-arm-kernel@lists.infradead.org Cc: Pingfan Liu , Catalin Marinas , Will Deacon , Vincenzo Frascino , Thomas Gleixner , Mark Rutland , Andrei Vagin , Marc Zyngier Subject: [PATCH 0/2] arm64/timer: trival fix for sync inside counter Date: Tue, 30 Mar 2021 18:57:17 +0800 Message-Id: <20210330105719.47760-1-kernelfans@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_115751_603362_650C43BA X-CRM114-Status: UNSURE ( 8.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These two patches are indpendent, but related so pack them into a series. Pingfan Liu (2): arm64/gettimeofday: correct the note about isb in __arch_get_hw_counter() arm64/arch_timer: replace arch_counter_enforce_ordering() with isb arch/arm64/include/asm/arch_timer.h | 34 +++++-------------- .../include/asm/vdso/compat_gettimeofday.h | 9 +++-- arch/arm64/include/asm/vdso/gettimeofday.h | 9 +++-- 3 files changed, 21 insertions(+), 31 deletions(-) Cc: Catalin Marinas Cc: Will Deacon Cc: Vincenzo Frascino Cc: Thomas Gleixner Cc: Mark Rutland Cc: Andrei Vagin Cc: Marc Zyngier To: linux-arm-kernel@lists.infradead.org