Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp304725ybi; Fri, 31 May 2019 01:36:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyfzsMo9ybaK4i+ONDY83RxjWjtx7Hd5Bk4aMTxvOn9B/kfqYi1JErZ8LKYzvMRFLOoqVX X-Received: by 2002:a17:902:9006:: with SMTP id a6mr3539936plp.305.1559291807874; Fri, 31 May 2019 01:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559291807; cv=none; d=google.com; s=arc-20160816; b=TQ1VGSeYvRMbHQRTTtL23wUGHEov3Rr8tEeyEaJ1wuoNDIYysR5Nzwu6UxxyCsAjE8 xBWoBpJqCmZrEfulWy03vRGvjCNqHluON5OeEkCWoF0yweI+mhDQxhczF0pD7W++YMn+ 8Uezy8BLd7hCVVGqcqNtbJrBJSz7nYy8f4oblVbUKOStinF/hJTXWjBr8lTAA8r9LRz1 Szqh2f1EYWSYA/dPPZZiVfoOXdqo8Rqgz+Xsd0ZQJIciuFjLz+hc8x9O8qP0AeHitSXp FJ1kM3chxCDNVF0NQaqL59utkEvgHmViJshUF8ioPrsNlLTmTQXBqVf6udtPyb9IGea6 1yUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=6IAGTJ1uN3QgaPB0JEyQM4jANte20b3cD0wECnCP0+4=; b=v3mIsmnyOdUiEsuCRUJaSF1XxTFJe39Gh1l/sB4uN51UC7+x4L4GAQql0EltJkSt2G oS6IPg0U/ZmRRmdYAkteb4aIxB8E9/ENnCXq5VGoHWkLEhrx9tz7veaq086rilCqoc0B KGg2IJiDZy5o/fR6bV2CwpuDQJkEcrd/y9VI73veJKyhGmc7hksNHZDC9vIXlTJQC1sq zQKxPRRYxaixFfN5UFUQTdfB4puoWlSOyHHBVH1N8OHFSFdmKPcl646BNwvCjgRhbihy iwaakn6jwJOPeY3M14l5m4V4ROPrgCLGR0aAbT93+Re/4O99+GlnveGPOLyyQNsJSPY2 injw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 36si5268347pgx.477.2019.05.31.01.36.30; Fri, 31 May 2019 01:36:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726853AbfEaIfR (ORCPT + 99 others); Fri, 31 May 2019 04:35:17 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:36259 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfEaIfR (ORCPT ); Fri, 31 May 2019 04:35:17 -0400 Received: by mail-qt1-f193.google.com with SMTP id u12so10398196qth.3; Fri, 31 May 2019 01:35:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6IAGTJ1uN3QgaPB0JEyQM4jANte20b3cD0wECnCP0+4=; b=n4dNxHkho9p36ijPunDYFCbKnuTSzDXRzM6VfR3VtuYRkQ5sqpjHkr3imVWxIv4Oxw gdmOC1B5RnOiK9UQSvHnPkZCdtShNip/BCTEH0/MuQmlF/TobDTCeJlJOH6nSE1oEc5Y g8NdCCk6xrIZdqPTn+5SK47VyOCovnvEX1t5+1QzP3bCJBIrqEiGUUi3YTZklCvSgjxD 7+eGF/YAdanOuAvtt9+x0m32NpNcPsrozsoCuhQiCejq7tbOGJO2XA6yoB0l9pEhEkG6 oKuDAFKwLbrkx8F/qGPFONHCScCOJit7RcLRzmW5eY17T3b2bVF3XFmLP9788so9Gaf7 D6hg== X-Gm-Message-State: APjAAAVp8cmCMkT7z2OqCBJ14Tyz2h69ZkisJVVX0Ocq5uS9TBcOLOC7 5la64MfGXgnNMgqAE55z0rsen5xpZ6CKEG1dV+Y= X-Received: by 2002:aed:2bc1:: with SMTP id e59mr7134581qtd.7.1559291715239; Fri, 31 May 2019 01:35:15 -0700 (PDT) MIME-Version: 1.0 References: <20190530141531.43462-1-vincenzo.frascino@arm.com> <20190530141531.43462-18-vincenzo.frascino@arm.com> In-Reply-To: <20190530141531.43462-18-vincenzo.frascino@arm.com> From: Arnd Bergmann Date: Fri, 31 May 2019 10:34:59 +0200 Message-ID: Subject: Re: [PATCH v6 17/19] mips: Add support for generic vDSO To: Vincenzo Frascino Cc: linux-arch , Linux ARM , Linux Kernel Mailing List , linux-mips@vger.kernel.org, "open list:KERNEL SELFTEST FRAMEWORK" , Catalin Marinas , Will Deacon , Russell King , Ralf Baechle , Paul Burton , Daniel Lezcano , Thomas Gleixner , Mark Salyzyn , Peter Collingbourne , Shuah Khan , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Huw Davies Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 30, 2019 at 4:16 PM Vincenzo Frascino wrote: > --- a/arch/mips/vdso/vdso.lds.S > +++ b/arch/mips/vdso/vdso.lds.S > @@ -99,6 +99,10 @@ VERSION > global: > __vdso_clock_gettime; > __vdso_gettimeofday; > + __vdso_clock_getres; > +#if _MIPS_SIM != _MIPS_SIM_ABI64 > + __vdso_clock_gettime64; > +#endif > #endif > local: *; > }; Same comment as for the corresponding arm change: I'd leave the ABI changes to a separate patch, and probably not add __vdso_clock_getres at all. Also, you seem to have a typo here: > +notrace int __vdso_clock_gettime_time64(clockid_t clock, > + struct __kernel_timespec *ts) > +{ > + return __cvdso_clock_gettime(clock, ts); > +} This should be __vdso_clock_gettime64, not __vdso_clock_gettime_time64 I think. Arnd