Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp31152imu; Thu, 10 Jan 2019 16:25:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN5al4KcAurzhIgkZMTMyLiBIXL3rexbAy5vMdtLFgF04NpnXc+QmTh0aUykwvtfnvXcn9fo X-Received: by 2002:a63:c748:: with SMTP id v8mr1280249pgg.108.1547166317068; Thu, 10 Jan 2019 16:25:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547166317; cv=none; d=google.com; s=arc-20160816; b=FUVodS0YwgHXdUcg1kwuI+mN87fE+/iUwVa6oyRMW4s3V4GXn6OL3Jn8e5aigEat+/ dQJ6TdzreiIDQ3PKBM+S+oC3v2Hq/VXKMJwdOWFu9OjJIydeYHDC5oRTKmZsE9zJQvnP J9EyK2v32gBeegAuNUJK0guypk5xl6ttmOp2811RxERpNU8EdVurTume+2kA8QarlSMa qylAZGFS26f9F1tMa+knIca2GhX91es+AHtq05RwR+tTI3MiTiAIkpWFCrwrulXTZpLI pqVDQks4Stcbl+s4Pj0NCYusqB3T/TGYc0Bp/tZE8LLWRjhwfeMxH3/YPMnFkBAv+vm1 C90Q== 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=yNKid8601Q74qbqdVMhf8FUFM1MYtF3TJK3jK7Mp7Ng=; b=eN37APpB+bYwKg1nG54vOFKbA5UjyjR6xqxwMXSwA8LvIyYlDzMg+t5tWggwDs2HC4 DgjpdM+woe6Cb09HVyAGm3NOpTgOjNInv84j5cijQgtd+EBpWn2MjY1dQBAaquMGocwj rQ8E2TyrIAVLPRi8sTnLbsUP4nY16J7X944kHB9JrbpgjiBEatOHPvUPZlr4Dqm0QTSP woXPtbGm/p7s1UImgBidWsbpTDWqHUurMHE/m522stmeda46vwdhQT2Rdw+S5eejPclV 9ly6PpRqQ0ACG8GyYjQnbaqZoFaC1QFFEP/3vz7HpNKu7uQuKDHaWSGy2JBxWq0Q29lT w4FA== 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 d15si2044066pgt.498.2019.01.10.16.24.56; Thu, 10 Jan 2019 16:25:17 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729559AbfAJWmx (ORCPT + 99 others); Thu, 10 Jan 2019 17:42:53 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:41860 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728848AbfAJWmw (ORCPT ); Thu, 10 Jan 2019 17:42:52 -0500 Received: by mail-qt1-f193.google.com with SMTP id l12so15848170qtf.8; Thu, 10 Jan 2019 14:42:50 -0800 (PST) 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=yNKid8601Q74qbqdVMhf8FUFM1MYtF3TJK3jK7Mp7Ng=; b=O6te3nUmMzsV5pDCs32/YMjtxw9UVFlyLUiKJp9VDQWtNuZgkrTIvIwHK8gAPr8Hha HibVKhSb5VQHZqZ5vXk1ZrjUVnxIV9zvins9G5AaPz0OOJeHkcYlPETDSw+vlN/bhhDf 2QeykFSvTVzqSzuaSykkaFi/gv2PcjsN7Ri8HPeu84MKWvo1A4v1AucULULMgSwO+wuz IPE3tb+dVXH9aoOMm7AI8OUzqwSzsEojVjS0yML4FJh5RaXfCJe4fVQ8iWfrkG70lGDO hNPYhfTb+8eOecyBdAHRAIVZdszmh4Bo+ftdhe8xE/uwEuKzCYHuOslbFinTFXSmREqe 0iRw== X-Gm-Message-State: AJcUukeF1OHFxv7eqEUMAkfMy3XW4JAtLCbRsK7JxslwcQqDyEXWdNip 482BEf2cwFH7LQDi6ka1nZ8sAT+x+EvRusvfoHA= X-Received: by 2002:a37:bdc6:: with SMTP id n189mr10790675qkf.330.1547160169972; Thu, 10 Jan 2019 14:42:49 -0800 (PST) MIME-Version: 1.0 References: <20190110162435.309262-1-arnd@arndb.de> In-Reply-To: From: Arnd Bergmann Date: Thu, 10 Jan 2019 23:42:32 +0100 Message-ID: Subject: Re: [PATCH 00/15] arch: synchronize syscall tables in preparation for y2038 To: Joseph Myers Cc: y2038 Mailman List , Linux API , Linux Kernel Mailing List , Ivan Kokshaysky , Matt Turner , Russell King - ARM Linux , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Geert Uytterhoeven , Michal Simek , Paul Burton , Helge Deller , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , Rich Felker , David Miller , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Max Filippov , Firoz Khan , "Eric W . Biederman" , Deepa Dinamani , Dominik Brodowski , Andrew Morton , Davidlohr Bueso , alpha , Linux ARM , linux-ia64@vger.kernel.org, linux-m68k , linux-mips@vger.kernel.org, Parisc List , linuxppc-dev , linux-s390 , Linux-sh list , sparclinux 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, Jan 10, 2019 at 7:10 PM Joseph Myers wrote: > > On Thu, 10 Jan 2019, Arnd Bergmann wrote: > > > - Add system calls that have not yet been integrated into all > > architectures but that we definitely want there. > > glibc has a note that alpha lacks statfs64, any plans for that? Good catch, I missed that because all other 64-bit architectures have a statfs() call with 64-bit fields. I see that it also has an osf_statfs64 structure and system call with lots of padding and some oddly sized fields: f_type, f_flags and f_namemax are only 16 bits wide, the rest is all 64-bit. Adding the regular statfs64() should be easy enough, we just need to decide which layout to use: a) use the currently unused 'struct statfs64' as provided by the alpha uapi headers, which has a 32-bit __statfs_word but 64-bit f_blocks, f_bfree, f_bavail, f_files, and f_ffree. b) copy asm-generic/statfs.h to the alpha asm/statfs.h and change statfs64 to have the regular layout that we use on all other 64-bit architectures, using all 64-bit fields. The other open question for alpha (as mentioned in one of the patches I sent) would be whether to add get{eg,eu,g,p,pp,u}id() with the regular calling conventions. Arnd