Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp469778pxb; Wed, 29 Sep 2021 03:18:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm8BWnxEQTVNKpZWAk66yVLA8KvalevB/ik1kUeudXyPfiuQi63heS8bAf9yLblutEegUM X-Received: by 2002:a50:fa81:: with SMTP id w1mr13529331edr.277.1632910695808; Wed, 29 Sep 2021 03:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632910695; cv=none; d=google.com; s=arc-20160816; b=AnfpjEaCUwPxOzYS+Soz/ST/LR/qiSc+lCbKAahioixF+EFpbFXAPEPqYPxMd9ZcjK NzoQej3CpAY+EK64VOoXlKUKhv6HwRHR6cODyDI/1jp1HYWnEuEgjRByNqZPR7eWZqGa U26iB2w+yKoDh8ApKMINOp0YvnRMdodY3PMi7oLCS2sDzsZIAnDaRgCddvfiBmd6gbsB dLkZfF+2yNtvrRuwXBAB5vux9EOkgRO5ZXqLq2vD1uK4Bp9f1QUEUxWPtR4gkv3mMvZF KSbd0R897QqdNxS0rNlCc7XkLmckzD+Nl28kQXfQbQ6q9bSOOl1dURcNuVdFhbfBsv+C ibow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=enses6pjVthBQhgCur0h61ZxZmvNA00HDcXK9USp9/8=; b=AtSjsl+qLo75+HYbrzOFDPDwOmsZAnXTdIVdCYi68gfDyRCJOeunguB7opzLVJiY2k 2CvS+vlcsYioxUllXFBeYdZZrNhvnWowqxgilNOzKS1Y0WrZ5yMudhWFsDOu4gG1TOWA Waot2K0Nw28VFOaM3QYLyJ+r5xdTsMZLcCl+iHwc12nq4Er9z3kVGiIj4IX940ZME7Zf xGec1/L6HTV18n5s5atDulpF/nZAPYYTFsLJ3hACOXrvlBkWSuNuAJy/9uA8QnmG3e9U 8Y+mfp90aC3l0eKr2sBm5Itoz5EqufTElvxpBi+1t9WyQ9eaWCVH2ovR8RIyBv2j8GRE 94rw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si1987434ejb.569.2021.09.29.03.17.51; Wed, 29 Sep 2021 03:18:15 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245393AbhI2KOW (ORCPT + 99 others); Wed, 29 Sep 2021 06:14:22 -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