From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E33BC432C3 for ; Thu, 21 Nov 2019 15:59:59 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 41A442063A for ; Thu, 21 Nov 2019 15:59:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 41A442063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47Jklx2f99zDqsQ for ; Fri, 22 Nov 2019 02:59:57 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=codethink.co.uk (client-ip=176.9.8.82; helo=imap1.codethink.co.uk; envelope-from=ben.hutchings@codethink.co.uk; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=codethink.co.uk Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47Jkgt1VTmzDqJC for ; Fri, 22 Nov 2019 02:56:24 +1100 (AEDT) Received: from [167.98.27.226] (helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iXooW-0002pj-Tl; Thu, 21 Nov 2019 15:56:13 +0000 Message-ID: <58067b19b218600f95dbb9726e63b435d040be1c.camel@codethink.co.uk> Subject: Re: [Y2038] [PATCH 3/8] powerpc: fix vdso32 for ppc64le From: Ben Hutchings To: Arnd Bergmann Date: Thu, 21 Nov 2019 15:56:12 +0000 In-Reply-To: References: <20191108203435.112759-1-arnd@arndb.de> <20191108203435.112759-4-arnd@arndb.de> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: y2038 Mailman List , "linux-kernel@vger.kernel.org" , Paul Mackerras , linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 2019-11-21 at 11:02 +0100, Arnd Bergmann wrote: > On Wed, Nov 20, 2019 at 10:49 PM Ben Hutchings > wrote: > > On Wed, 2019-11-20 at 20:35 +0100, Arnd Bergmann wrote: > > > On Wed, Nov 20, 2019 at 8:13 PM Ben Hutchings > > > wrote: > > > > On Fri, 2019-11-08 at 21:34 +0100, Arnd Bergmann wrote: > > > > > On little-endian 32-bit application running on 64-bit kernels, > > > > > the current vdso would read the wrong half of the xtime seconds > > > > > field. Change it to return the lower half like it does on > > > > > big-endian. > > > > > > > > ppc64le doesn't have 32-bit compat so this is only theoretical. > > > > > > That is probably true. I only looked at the kernel, which today still > > > supports compat mode for ppc64le, but I saw the patches to disable > > > it, and I don't think anyone has even attempted building user space > > > for it. > > > > COMPAT is still enabled for some reason, but VDSO32 isn't (since 4.2). > > Ok, I had missed that detail. Should I just drop my patch then? I think so. Ben. -- Ben Hutchings, Software Developer Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom