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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 1A952C43387 for ; Thu, 10 Jan 2019 22:42:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D747F2063F for ; Thu, 10 Jan 2019 22:42:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UXnrnzGy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D747F2063F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5fg2dY2A7ioKCSBEd+45dEPIO6GeZloEBmutWFXVwVk=; b=UXnrnzGyf/xoGc leLO3OLDr8+gqcYwY1UKmhRA7mvTAW8KDqy2ExFME7Mrmk6yW6WDyZsZRaf1rFLCF8bdVlaV7m5aw WHN4BMI2nim5CXlBTwyVXLoV8u10jbyao25OHZFER0WW4SDHROkKznD1raKDyY8M+IgwWmHNbdxXp P6SKmHVESkKOeouomSWjqaLDXT+SSGi0XDaX4iefVXzq3yXACKfJbpwAV/GN5oMidqmzRT7cUo7wt 8AjP0wlVcne5r962KCyFKjYLY6F3tCsKFQGRBa96knTX6TV21woeIg1rHyydjWujYeRioKApVt2Hp sYZq1eaXhrv+YEYysuTQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ghj2O-0007yR-Ge; Thu, 10 Jan 2019 22:42:56 +0000 Received: from mail-qt1-f196.google.com ([209.85.160.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ghj2K-0007xW-KB for linux-arm-kernel@lists.infradead.org; Thu, 10 Jan 2019 22:42:54 +0000 Received: by mail-qt1-f196.google.com with SMTP id r14so15913878qtp.1 for ; 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=F/Fp+Dy0Z4NaXe7Hr4rLOizznW9zz/EqKYeAyU3+GHb1kpXFlYxruHwmr/HyXUbIPz CDfFYL/0g2eIMir+1tbM0fGEpxm+LY7MOAnBw00IIG2XLQNGmBkKtxp5b/j9DVOIYhkJ 7sNYcdd5LXRuOHXLTZnkq4Y8JkCre5gJGg8Dwv8mBV3BZ/vqGhI4jmzLUNW8NEaLRT6u uf4WC4mfeYtRblGMg6+DTCp5Cc7QBVNecvPOF/qScpNv9mqFOQg61Cw+rfzK1AlOVyb1 B56BTpRbhKc0bB9MekRTc5WMJiBE315pFUUVgvIo2roMU2TDGPkxOBTbp+DwmIxywkmk b/LA== X-Gm-Message-State: AJcUukfxzAzXlWxh1XaFNueOTcQZuYdsozLrvTq6fd/tpd1sykL3gv3v Zc3OxeAKDDdfEmNNuoo3b4Fg78rBritzotcJHfE= X-Google-Smtp-Source: ALg8bN4wMR/sIxtpNUyojzYiti1ruSkqKLKoKXLZmlthH3ilc8ugAlgx3EsdaYVXiGEAkGXDoaecVD7bYSRnjKp5c14= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190110_144252_668904_64BC8729 X-CRM114-Status: GOOD ( 14.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , linux-ia64@vger.kernel.org, Linux-sh list , Catalin Marinas , Heiko Carstens , Dominik Brodowski , linux-mips@vger.kernel.org, Max Filippov , Deepa Dinamani , "H. Peter Anvin" , sparclinux , linux-s390 , Davidlohr Bueso , y2038 Mailman List , Michael Ellerman , Helge Deller , the arch/x86 maintainers , Russell King - ARM Linux , Ingo Molnar , Geert Uytterhoeven , Firoz Khan , Matt Turner , Fenghua Yu , Will Deacon , linux-m68k , Ivan Kokshaysky , Andy Lutomirski , Thomas Gleixner , Linux ARM , Michal Simek , Tony Luck , Parisc List , Linux API , Linux Kernel Mailing List , Paul Burton , "Eric W . Biederman" , alpha , Martin Schwidefsky , Andrew Morton , linuxppc-dev , David Miller Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel