From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E005EC433EF for ; Wed, 29 Sep 2021 10:12:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C48F4613CD for ; Wed, 29 Sep 2021 10:12:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245414AbhI2KOX (ORCPT ); Wed, 29 Sep 2021 06:14:23 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:24124 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245330AbhI2KOW (ORCPT ); Wed, 29 Sep 2021 06:14:22 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4HKBwn0xvHz1DHQr; Wed, 29 Sep 2021 18:11:21 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 29 Sep 2021 18:12:39 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Wed, 29 Sep 2021 18:12:37 +0800 Message-ID: <37778b13-aa03-c885-f78c-da50ac9fa602@huawei.com> Date: Wed, 29 Sep 2021 18:12:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Subject: Re: [PATCH -next v3 0/3] riscv: Fix two vdso issue Content-Language: en-US To: Tong Tiangen , Paul Walmsley , Palmer Dabbelt , "Palmer Dabbelt" , Albert Ou , CC: , References: <20210901024621.2528797-1-tongtiangen@huawei.com> From: Kefeng Wang In-Reply-To: <20210901024621.2528797-1-tongtiangen@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggeme706-chm.china.huawei.com (10.1.199.102) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Palmer, could this patchset be merged into v5.15, it fixes the serious problems about the basic time api. Sergey[1] does meet same issue too. Thanks. [1] https://patchwork.kernel.org/project/linux-riscv/patch/20210829094708.169037-1-cerg2010cerg2010@mail.ru/ On 2021/9/1 10:46, Tong Tiangen wrote: > v3->v2: > Adapt to the latest code. > > v2->v1: > Add patch "Refactor asm/vdso.h" to avoid vdso.lds syntax error if > CONFIG_GENERIC_TIME_VSYSCALL=n. > > 1) Move vdso data page up front and introduce enum vvar_pages, This makes it > easier to introduce new feature TIME_NS. > > 2) In arch_setup_additional_pages(), make Wait for the lock in the killable mode > and return with EINTR if the task got killed while waiting. Reviewed-by: Kefeng Wang