Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp359971ybl; Mon, 2 Dec 2019 11:52:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxFltFafJcEsgDuA4Lj7r9OIRsTo4Rqt8FuusCNCYTRdneWJYeOM61VGyNlvHPQ3PYnq+Iy X-Received: by 2002:aa7:d48d:: with SMTP id b13mr777548edr.246.1575316327226; Mon, 02 Dec 2019 11:52:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575316327; cv=none; d=google.com; s=arc-20160816; b=Mrjsan1skgu2GzRTX85Pk133P1pEq1QHyaYygVmIEvGfTz9Vb2eRngqFTc7/O0uj+n pJ5SMGAsgPyGXiKNOdht7AedbLWemTPOESj1L5HvBWIoGFAEQTDuiefE8GsI5fKCUCRh goOBYXkD8h28tss2vyLvEivFJpOwzOkNlnS/7IXPcQGtV9Zz8JiiOxL0g7wzXH8YiBsJ LKp5FAA5psqZlcIi3uol175V22kKlheTWpQQ+vNdkOfi3yV2bev0GdVSWsNAZJnaXYlh DUwdf5j4FO0NWAj236EECRqgUhIMgzI1Mk1V4v1aUuZVD9dHg31uf6m2rtPSW1YWe15z VFWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:references:subject:cc:cc:cc :to:from:date:message-id; bh=D40FmzaiDeff7Hw4DIG6QAZpF+IlnvRnFmWOCFVQkeY=; b=bajl214gKR0dAHLOZUVaS+8WYU1w57MHNohEDdi+hcj6+xLPPSV7TCIqhoPQ0DjQRl P0XsoK4PP2RVqGb9Gezf1WQAepklukyhF9BM/J5tJ+CDTSI8jkL0KXtizkH8P4X9+M1S wMfzfM+ASTDj0wq7+Q9S/LUJSwAHKyajRYirVjsJ485eGie3R2Kbw1WbNo2RPGaMCkP8 Nw90u46ypVovG2JgcB/ZDM4kLnkjID4PWCSxEznwlzezh6+PbL3DP5UTYw/zhUYaSAD7 oDTRmDwD+yg0PNDb79n0P2PBKDglXoj9bSs8KlHaiE8mwFB/giNUFLGnwRE1c3R3eSbp 0Prg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si380109ejt.308.2019.12.02.11.51.42; Mon, 02 Dec 2019 11:52:07 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728112AbfLBTsY (ORCPT + 99 others); Mon, 2 Dec 2019 14:48:24 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:46482 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727686AbfLBTsX (ORCPT ); Mon, 2 Dec 2019 14:48:23 -0500 Received: by mail-pj1-f66.google.com with SMTP id z21so178029pjq.13; Mon, 02 Dec 2019 11:48:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:cc:subject :references:in-reply-to; bh=D40FmzaiDeff7Hw4DIG6QAZpF+IlnvRnFmWOCFVQkeY=; b=Pcoo7U2RvzgO1FrhfhekxKbtYRIAvFMA4vj86n1itjxGajiXRMU/pk34gq5l3nkaR8 qlSooZlWlSi3p/evVJPbmNpWwom99qf1jpYYE2dR9PbiahtlPdAQYSNt79+nXVpjX4sG 6xNBPtDxAHXiLWTtwc5gKzqpzliii2tH5u/h0JAqgFohLL5hRx30ndaghdQzbZ8rZGQi w8qVhJ/17rAg7XVnXUsJRi8198Gq3G/qvutSpiMuiDQ/8S0QAbvmieyWzFw0fxWFS4SJ Lzj3QV6OGgHHd9TOYikGLshLocSqng20aT7Wgv+r/mf7VYOtx4hZAMfRIzr8S9/IUdWE Y8Ng== X-Gm-Message-State: APjAAAXrVCFtWPpsMqMd6tl5b2dBqg15LFV0OtNaaUxa9Qv/rPeXUB7O 3Ar7n+TByYdfWi20y/+jgMM= X-Received: by 2002:a17:902:6bc7:: with SMTP id m7mr828197plt.341.1575316101366; Mon, 02 Dec 2019 11:48:21 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id 2sm374265pgo.79.2019.12.02.11.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 11:48:20 -0800 (PST) Message-ID: <5de56a84.1c69fb81.e0dc8.14af@mx.google.com> Date: Mon, 02 Dec 2019 11:48:19 -0800 From: Paul Burton To: Vincenzo Frascino CC: vincenzo.frascino@arm.com, paulburton@kernel.org, hns@goldelico.com CC: mips-creator-ci20-dev@googlegroups.com, letux-kernel@openphoenux.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org CC: linux-mips@vger.kernel.org Subject: Re: [PATCH] mips: Fix gettimeofday() in the vdso library References: <20191129143658.12224-1-vincenzo.frascino@arm.com> In-Reply-To: <20191129143658.12224-1-vincenzo.frascino@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Vincenzo Frascino wrote: > The libc provides a discovery mechanism for vDSO library and its > symbols. When a symbol is not exposed by the vDSOs the libc falls back > on the system calls. > > With the introduction of the unified vDSO library on mips this behavior > is not honored anymore by the kernel in the case of gettimeofday(). > > The issue has been noticed and reported due to a dhclient failure on the > CI20 board: > > root@letux:~# dhclient > ../../../../lib/isc/unix/time.c:200: Operation not permitted > root@letux:~# > > Restore the original behavior fixing gettimeofday() in the vDSO library. Applied to mips-fixes. > commit 7d2aa4bb90f5 > https://git.kernel.org/mips/c/7d2aa4bb90f5 > > Reported-by: H. Nikolaus Schaller > Tested-by: H. Nikolaus Schaller # CI20 with JZ4780 > Signed-off-by: Vincenzo Frascino > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]