Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4706570ybb; Tue, 14 Apr 2020 12:30:40 -0700 (PDT) X-Google-Smtp-Source: APiQypIDfcJnv9bD+r3XZ8zZuue4+Lg+tU6ipO1u3fRT+2t3IEqaxDV2iTpGsV4uEKrUIWhh8yi2 X-Received: by 2002:a17:906:55c4:: with SMTP id z4mr1574826ejp.353.1586892640044; Tue, 14 Apr 2020 12:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586892640; cv=none; d=google.com; s=arc-20160816; b=loblcrJYPWnDx8IkjAKyWM+6gskdL9xw8mJ/VFsjC/dqZ53SGc/QyjU2kg80BYCk+r 0yEVwkXuEPEtst93FNxvKqoOi76yGSkJwhdFBKWvCnW/o2ktMHYsaxJDk9uCQAd7HTUs PtwIVJi0BVqzEE9vMl/EBgJ4Twpo9AbE1/prHIwcS/9nt7ea8yc764QXRAw4HAmnOY/h OfzBtXGjDQKkjt0ZB0kWviaMA2Eq2ulqazjoZWEG5g19QwTh7/kHXWDOQx7OssgqaW5/ 1IEmboLREBiP74aQHKQzbUQfJPyCDwJUjnlJ1kkyeoCOOQXTp7N6HVPzOtMrktowaS47 NXrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=BYHT27sUp/ekhGRtEApr2RLqtcfmRBhpk+MKGTh+MJM=; b=LPaNfnr0FhLyUzLY1QiQmo10OI6hslJ2G1Q05xf6W5X/X2+WMKd26g76A60nx2BBC/ +iACgZ5BxVFDB/X3qpGNqSTCIfnI6B62cQhP6TdVoWxE9BiwJBl/u9aTxvMp1uTLUnv2 dOEIh9GTu2wWh5ux6Mq5iS8M0Q+vPQDKb2vWR7AiC7aIlr7tUbx/KlTwvdRSBdfWwf0d V02HvcDpWO1Wppvpq/AMl14nI1Mg0gre9hZCnfB/ThNowGHh2nFoyM1ZsJgXiHFzLc6D LgNkK34uscnyKnEVJLKxAgym6qwOlQzGjZfn/hyLINK/ckl75LVoxAF3aqbNOAgBuoWQ 8aCw== 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 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si8890764edk.133.2020.04.14.12.30.14; Tue, 14 Apr 2020 12:30:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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: best guess record for 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731245AbgDMQHr convert rfc822-to-8bit (ORCPT + 99 others); Mon, 13 Apr 2020 12:07:47 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38322 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731231AbgDMQHq (ORCPT ); Mon, 13 Apr 2020 12:07:46 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03DG2web011621; Mon, 13 Apr 2020 12:05:09 -0400 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 30b87dbchg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Apr 2020 12:05:08 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 03DFuTns017940; Mon, 13 Apr 2020 16:05:07 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma02dal.us.ibm.com with ESMTP id 30b5h6dv2c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Apr 2020 16:05:07 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03DG56AR49676558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 16:05:06 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 183EEC6055; Mon, 13 Apr 2020 16:05:06 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CF704C6057; Mon, 13 Apr 2020 16:05:05 +0000 (GMT) Received: from localhost (unknown [9.85.131.151]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 13 Apr 2020 16:05:05 +0000 (GMT) From: Nathan Lynch To: Christophe Leroy Cc: Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH vdsotest] Use vdso wrapper for gettimeofday() In-Reply-To: <1c2c6da1-e10f-d2a8-fc5e-ecf405879df5@c-s.fr> References: <0eddeeb64c97b8b5ce0abd74e88d2cc0303e49c6.1579090596.git.christophe.leroy@c-s.fr> <871rrzjq5j.fsf@linux.ibm.com> <1c2c6da1-e10f-d2a8-fc5e-ecf405879df5@c-s.fr> Date: Mon, 13 Apr 2020 11:05:04 -0500 Message-ID: <87d08b8j7z.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-13_07:2020-04-13,2020-04-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 mlxscore=0 priorityscore=1501 suspectscore=1 malwarescore=0 clxscore=1015 spamscore=0 impostorscore=0 bulkscore=0 adultscore=0 mlxlogscore=757 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130118 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > Hi Nathan, > > Le 16/01/2020 à 17:56, Nathan Lynch a écrit : >> Hi Christophe, >> >> Christophe Leroy writes: >>> To properly handle errors returned by gettimeofday(), the >>> DO_VDSO_CALL() macro has to be used, otherwise vdsotest >>> misinterpret VDSO function return on error. >>> >>> This has gone unnoticed until now because the powerpc VDSO >>> gettimeofday() always succeed, but while porting powerpc to >>> generic C VDSO, the following has been encountered: >> >> Thanks for this, I'll review it soon. >> >> Can you point me to patches for the powerpc generic vdso work? >> > > I have not seen any update on the vdsotest repository, have you been > able to have a look at the patch ? Thanks for the reminder. I've applied this now.