From patchwork Mon Feb 18 21:07:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10818871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D029C6CB for ; Mon, 18 Feb 2019 21:08:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC4552BCD0 for ; Mon, 18 Feb 2019 21:08:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B01CC2BCDF; Mon, 18 Feb 2019 21:08:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 57F2B2BCD0 for ; Mon, 18 Feb 2019 21:08:24 +0000 (UTC) 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:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wyq8G3iIKSc9I03BGM3Ae/bYS8jgxAZOZu1YeN4oudg=; b=a3SlJoQtvubn7A ljxzurOLHe4IKXvZCZ+hfK6unq3VpN91ffCjEhQitBgzZeLN6SiVT9nvM+mXT7nXGH5vRG69u8hT2 cqkb0V8ig6mcbHNQ/bhZxK46qZ6XyZOILULRiZ+cM+FioXHYyhbAnc/f6ZXlTVPe7F3QXjPgOxtBl T2XBDlz28f5czSdPjIl2hH90B5WfVgeIPqy5gxXvpsfxpB8ophoA0PxBZ0HcmggfN7i7+Abgzwb6y NKbzq0SwRqv+zJfgO0dQ75TRjGCylM5a7bntlzcqdlKPEqNYcwAtJZhmhBNqDrNkejC0n0ZrreYjk yb41NrWOVtpJrcAqCPqg==; 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 1gvq9D-00060f-BS; Mon, 18 Feb 2019 21:08:19 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gvq8m-0005Oe-KQ; Mon, 18 Feb 2019 21:07:55 +0000 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1Mbj7g-1hTVem3oWU-00dE5E; Mon, 18 Feb 2019 22:07:23 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org Subject: [PATCH 0/8] y2038: remove time32 ABI on rv32 and csky Date: Mon, 18 Feb 2019 22:07:04 +0100 Message-Id: <20190218210712.3503891-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:bewU9ZGmWDBtcDorCLKIF2OaAK8VSnBIubbe5DS6pS/6b8qt/SS f6LXyp4kr6e6Z3kldb3eHoHSBObighrIEpHcdRLjtlUPPrk5QaLjeSKlsAalGwaRwzXX4i9 I83r7JDkzhbY1oGOcJJFrP/4x2NukuhHqN2o+gloMkAatap4+DzKebOdWAJ22I/7kBwNYRi 1mAoh4l7XSz+NHzV2I+ZQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:++/WGXsV8HA=:0G8jutlWE0HQkQ4WJ8Mb7c KiLTRFlvlB8D5fy2LLKwEBvdniXHVLQV/K02hHS0WqbLmncvVe9AO/1/nOwnpTNMPA1W/Uho8 IcoZGgfbRm0vGPpPsIfypOitumOArxmY/Vs6CNuM7akXOgVqwFd2ineAvikWOCzEobBxGakGd 7AleQ8CwfhvspfbAQbk2LS0SaSJkHRQVHJEOCyuP/wlz5budE5RuA1gdrdFB/wzqs2Y2ikqg2 wQifJ1JpoGpCzNexZvBEw61IhCOd7J5zv6OVwCQOHHGuDwTQ3HQfTyI011wozNiwu2SIBqOkn E1cI2rmf6MdhLdAkPtUhYwUWPs8TZY43ERGOWO8FjeCk33FQZXbWNjOdbO67u/5iZI5RVH59+ GUZqpSIRTFMwS1BewtQz/J0DOeQ/6VeHxTeSTgiptXAbdcY0/bpNLgf8e68qhrnov48b2VUJm BMHkXb/DJXGgoWJNGbmCVG/chPZI0HvUvUXY6tAWGK0r+Cx3OZCBJwm068oRCLs0b/cJSa/LS JQemRph4DrHk//s+R+YfjRnXaelFSEW6uTnjgbm4L1fVOhoqDV3sdL3bPwM6zsaCmJY1UEGH1 ROzslqjkbtkvJagvVWMVIEkWjTQ9H+ENnSfylSAz2AIYZX1JlVEguoT7+yom8s95pckxI1BUE +SfLFDshAmo1Iz+rTA+QYorObhMRmETUNiseYSOOx8yjZfOUfYG83cQQ08crrIoNv6o3uKdWE YTKfcKNTEPtOrDWOeBedIyB8a+3LOR22Eh10vg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190218_130752_968773_E6B34006 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, arnd@arndb.de, yury.norov@gmail.com, linux-api@vger.kernel.org, Palmer Dabbelt , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Vineet Gupta , Guo Ren , Greentime Hu , linux-hexagon@vger.kernel.org, Thomas Gleixner , Guan Xuetao , Stafford Horne , linux-arm-kernel@lists.infradead.org Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is a follow-up to the y2038 syscall patches that Thomas already merged. Both the csky and riscv maintainers have requested that the time_t syscall ABI should be completely converted before an official glibc port is merged. The series achieves this in a few steps: - A couple of bug fixes for minor regressions I introduced in the original series - A couple of older patches from Yury Norov that I had never merged in the past, these fix up the openat/open_by_handle_at and getrlimit/setrlimit syscalls to disallow the old versions of off_t and rlimit. - Hiding the deprecated system calls behind an #ifdef in include/uapi/asm-generic/unistd.h - Changing the two architectures to use the new style syscall ABI for all three types: loff_t, rusage, and time_t. Arnd Bergmann (5): asm-generic: Make time32 syscall numbers optional unicore32: Fix __ARCH_WANT_STAT64 definition checksyscalls: fix up mq_timedreceive and stat exceptions csky: Use latest system call ABI riscv: Use latest system call ABI Yury Norov (3): compat ABI: use non-compat openat and open_by_handle_at variants 32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option asm-generic: Drop getrlimit and setrlimit syscalls from default list arch/Kconfig | 15 ++++++++ arch/arc/Kconfig | 1 + arch/arc/include/uapi/asm/unistd.h | 2 ++ arch/arm/Kconfig | 1 + arch/arm64/include/uapi/asm/unistd.h | 2 ++ arch/c6x/Kconfig | 1 + arch/c6x/include/uapi/asm/unistd.h | 2 ++ arch/h8300/Kconfig | 1 + arch/h8300/include/uapi/asm/unistd.h | 2 ++ arch/hexagon/Kconfig | 1 + arch/hexagon/include/uapi/asm/unistd.h | 2 ++ arch/m68k/Kconfig | 1 + arch/microblaze/Kconfig | 1 + arch/mips/Kconfig | 1 + arch/nds32/Kconfig | 1 + arch/nds32/include/uapi/asm/unistd.h | 2 ++ arch/nios2/Kconfig | 1 + arch/nios2/include/uapi/asm/unistd.h | 2 ++ arch/openrisc/Kconfig | 1 + arch/openrisc/include/uapi/asm/unistd.h | 2 ++ arch/parisc/Kconfig | 1 + arch/powerpc/Kconfig | 1 + arch/riscv/include/uapi/asm/unistd.h | 1 + arch/riscv/kernel/vdso/Makefile | 2 ++ arch/sh/Kconfig | 1 + arch/sparc/Kconfig | 1 + arch/unicore32/Kconfig | 1 + arch/unicore32/include/uapi/asm/unistd.h | 4 ++- arch/x86/Kconfig | 1 + arch/x86/um/Kconfig | 1 + arch/xtensa/Kconfig | 1 + include/linux/fcntl.h | 2 +- include/uapi/asm-generic/unistd.h | 46 ++++++++++++++++++++++-- scripts/checksyscalls.sh | 15 ++++++-- 34 files changed, 112 insertions(+), 8 deletions(-)