From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-2.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B33D81F466 for ; Tue, 14 Jan 2020 07:23:44 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=H9ve dEoFoBL04LL+VAteXMyZz2SYrbjkYo8PRVM9EkPhqbQYx+e7A1f66qVCVkVei99n 8i3IL81RFq2CVmqCu8ksDHuFlzlim1wwsCmOvHv8gltubkOuI6VY1YfSZQsKzt/u N80sZ2G215D2rE9eumVGVWo3/bp+jVgi4i/HgdE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=t/KLiPQ2A1 xfYTGhMLLWTrj+pzY=; b=kGjPmlAZtBolORuGcidXeiRz3GewLcWxAh+rtlN9Ig cE9kgGwja1slUkY327+nGkoTrHBsprNrQz4KeD27Oju14kF/P0IcOsGoNPD5Q9ZZ QgpdSZHbTac7z5VRc7Y2hMt8Lvx5/80vznOBCKg8i3Kw7fTupmd8rOZx95CYC2gc c= Received: (qmail 77320 invoked by alias); 14 Jan 2020 07:23:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 77309 invoked by uid 89); 14 Jan 2020 07:23:42 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-lf1-f65.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4kduZiBrTEens0/Mlf2esEc2g2YyQg+N9mtK9Yi9bn4=; b=eWbEWgQGd8ypwlmB9XhtgoyFr8W3vveIWR/ANLTxRgtbw089mGAya+w7jJLZLapqYI UQEcKv6GcIB31TpUHebJpP54pZNG1WSNJShliZqdfG/fhBzU+qTKghtaSlC4Ep0dqHU3 pHVeGjlEDZNrpEvC++mRr5eNoRgOvP+oviIWz4nLaIrHG22PZjYo/H7b6z9/ct5pyR4y WFAobLCtlD79U5jVrtcT65VqFuhd9W+JI8yyZT7irY8LzaGCDtzKNVzJwK987bjPbV60 irmwTW2vtl31mTrb5yYvHi/8QGlfqATm5SRkrqQVZWuopmuzoFRw0K6UIzXkkVCovYbw k8SQ== MIME-Version: 1.0 References: <29811415ee8fa8e8e4cb379903c2199b5df54f9b.1578824547.git.alistair.francis@wdc.com> In-Reply-To: From: Alistair Francis Date: Tue, 14 Jan 2020 17:23:12 +1000 Message-ID: Subject: Re: [RFC v6 09/23] RISC-V: Add support for 32-bit vDSO calls To: Arnd Bergmann Cc: Alistair Francis , GNU C Library , Adhemerval Zanella , Florian Weimer , Joseph Myers , Palmer Dabbelt , "Maciej W. Rozycki" , Zong Li Content-Type: text/plain; charset="UTF-8" On Mon, Jan 13, 2020 at 11:33 PM Arnd Bergmann wrote: > > On Sun, Jan 12, 2020 at 11:40 AM Alistair Francis > wrote: > > +# if __riscv_xlen == 32 > > +# define VDSO_NAME "LINUX_5.4" > > +# define VDSO_HASH 61765876 > > > +# define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64" > > +# define HAVE_GETCPU_VSYSCALL "__vdso_getcpu" > > Mainline linux doesn't have these yet on risc-v. I assume you have > patches to add them? No... I don't. I just assumed these were supported. I will drop this. Alistair > > Arnd