Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2324762pxb; Sat, 2 Oct 2021 13:30:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeN/0cbgKyeKiun661UCxh99CLajDD019FLEH2b0yKlsdDCKPsdEgJc0NW6qa8/Z/I39XV X-Received: by 2002:a50:cfcd:: with SMTP id i13mr6295070edk.24.1633206605783; Sat, 02 Oct 2021 13:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633206605; cv=none; d=google.com; s=arc-20160816; b=mDYoEtiHbKQlrpsaJ+0zrFggmbXBdI339CC74xc3iz6mSq6qIHndff4NCbAzYxbFIl YSexfbLKXGLKdLeB6xECCzCQJMHcOv9x83huu7QgygFIwzzPeife84ROEwkqaFbXhI6p P0H7RZqO2BtzA7+T1IB8XMIqk3MVQ6KvIEe+SQ5x7yB4ch8cABsG+IaAPEoy1gkNnP+y FMixBJq3KOmZFAjyJA5Q6lrOFw7NdLp42PxClqW6O/gTUv7VRCZuspYQ+/MWwK5fTp0r op6TQIemZPACmWyrqVYj/gkk3aG82noe/7Yi4T0WYQS8NJ0Esa+BBTacJzpiH41wQbck s+lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=gheH1BWtvHm1zTSupgo4rpDcUcxXI3Gdklert++eNsE=; b=y5XwDdm7LLNUJBUbDn8yirIFK9tNLmhFEVHe11fX4wOyKBmFENIK4nD02nSNvLciQu 9RyD1fY4ZRMYOijdcm5KGrUDoUZJGlcpK6s0nvsZkufMj79FkQBkIWJikxcA/atZhvDs q2Qa2YwPOENm755QjRL0Lm4/tNx3OKL0YVJsVQQxI6SJ7u4DVv/vTcCwNIuoHKJV0KZT L67YTC860Jg6ZBg5N7a9C+GSCBRSRcDdiLAb2LV1nRPPKg9VcY0GgQ318cBq47/YmSHb WNB8cCvPrg+VoeLJYBpJqFAAKwOLHbR3ee04fQVnlJDD6CO8XKhcg6doGgtOs69mqz5f rxOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=Qa5Fk+e0; 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 e7si15560789edm.178.2021.10.02.13.29.26; Sat, 02 Oct 2021 13:30:05 -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; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=Qa5Fk+e0; 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 S233960AbhJBU0V (ORCPT + 99 others); Sat, 2 Oct 2021 16:26:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbhJBU0S (ORCPT ); Sat, 2 Oct 2021 16:26:18 -0400 Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DFBBC061714 for ; Sat, 2 Oct 2021 13:24:32 -0700 (PDT) Received: by mail-vk1-xa2e.google.com with SMTP id h132so5948131vke.8 for ; Sat, 02 Oct 2021 13:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=gheH1BWtvHm1zTSupgo4rpDcUcxXI3Gdklert++eNsE=; b=Qa5Fk+e0vrtXkpOlqgyKxq9fdCMqo2B9CVY8g4xw7CN3+f1sv7VpByX12vgNLSEkYt e0qW07WfIqE+PQLA2tb1lsvi5Emkth88DaatRRfI+0JDpyz+LKZU9YkmIAfS6u2Ct5I0 o5UzeZeCjokrD8ANPCj14YWRBINOBLp8dhL7Fo7qvuea95i0Lb1wXmMaspGZLK4/HZYz nSI7uVkR4DNtw2ErK9QV467TW/+FqXxj61z1OEt3Yw2lSlb/eR7par4ZLCRYfJQ/kbBQ aVTrNoAX4PeXXFe10lI3ek9eVZ3Nq77JB1Wns7fizh1MO4r9C40W1s2CByAeUbx7UcZA Hb7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=gheH1BWtvHm1zTSupgo4rpDcUcxXI3Gdklert++eNsE=; b=1CKYDGhWiSNIEeX7McL00n9LV7EQv+abln8tY6ZWKgszcNXhhzfRgH4ksMTN1jefP/ 8W7qGbFDwNfYzfqk2gdQHozN2N5ZW5bat6Q9r6qzvgQz/4hMm2A+MTNFcxIVpCMqhX2P EFJ0AkPGPCBcpVD8GpRsG5bj+P6XU3mpMZRsFYUGSM53FnXM6xeR0oISoij7Fcpv3Lak Msu0TPa2Ba/+1LvbS4udpBXBe20iXQXwmg+P5S2hyVnsZXj+WpulCpBgzTpoBwW/WFQy 4FOxht9adbDPLTCjgvooWCpjjGiolvY+ddzduhdmpNbao680K+oBOgJnG+BleAfJI31u VfKw== X-Gm-Message-State: AOAM5335ZLE6S5rC4NMUMmFuTsisJYIT0j4k1qLmYrQHdo0XZwthcIir SOlsLgUaOkyMmRC25zZbx4qL5Q== X-Received: by 2002:a1f:388e:: with SMTP id f136mr11173001vka.12.1633206271300; Sat, 02 Oct 2021 13:24:31 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id e21sm4583394vsh.4.2021.10.02.13.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 13:24:30 -0700 (PDT) Date: Sat, 02 Oct 2021 13:24:30 -0700 (PDT) X-Google-Original-Date: Sat, 02 Oct 2021 13:24:25 PDT (-0700) Subject: Re: [PATCH -next v3 0/3] riscv: Fix two vdso issue In-Reply-To: <20210901024621.2528797-1-tongtiangen@huawei.com> CC: Paul Walmsley , aou@eecs.berkeley.edu, abdulras@google.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: tongtiangen@huawei.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Aug 2021 19:46:18 PDT (-0700), tongtiangen@huawei.com 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. > > Tong Tiangen (3): > riscv/vdso: Refactor asm/vdso.h > riscv/vdso: Move vdso data page up front > riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for > write killable > > arch/riscv/include/asm/syscall.h | 1 + > arch/riscv/include/asm/vdso.h | 15 ++++----- > arch/riscv/kernel/syscall_table.c | 1 - > arch/riscv/kernel/vdso.c | 53 +++++++++++++++++++------------ > arch/riscv/kernel/vdso/vdso.lds.S | 3 +- > 5 files changed, 42 insertions(+), 31 deletions(-) Sorry, I thought this was targeted at for-next. I've put this on fixes (not sure if my last copy went out, my mail client crashed).