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=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 53DC3C3A5A3 for ; Tue, 27 Aug 2019 20:21:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BB9D20679 for ; Tue, 27 Aug 2019 20:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731378AbfH0UVV (ORCPT ); Tue, 27 Aug 2019 16:21:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:47008 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731237AbfH0UVV (ORCPT ); Tue, 27 Aug 2019 16:21:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C0A9AB0E5; Tue, 27 Aug 2019 20:21:18 +0000 (UTC) From: Michal Suchanek To: linuxppc-dev@lists.ozlabs.org Cc: Michal Suchanek , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Alexander Viro , "Dmitry V. Levin" , Thomas Gleixner , "Steven Rostedt" , Max Filippov , Firoz Khan , Christophe Leroy , Nicholas Piggin , Hari Bathini , Joel Stanley , Andrew Donnellan , Breno Leitao , "Eric W. Biederman" , Allison Randal , Michael Neuling , Andrew Morton , David Hildenbrand , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 0/4] Disable compat cruft on ppc64le Date: Tue, 27 Aug 2019 22:21:05 +0200 Message-Id: X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With endian switch disabled by default the ppc64le compat supports ppc32le only which is something next to nobody has binaries for. Less code means less bugs so drop the compat stuff. I am not particularly sure about the best way to resolve the llseek situation. I don't see anything in the syscal tables making it 32bit-only so I suppose it should be available on 64bit as well. This is tested on ppc64le top of https://patchwork.ozlabs.org/cover/1141078/ https://patchwork.ozlabs.org/cover/1153556/ https://patchwork.ozlabs.org/cover/1150815/ Thanks Michal Michal Suchanek (4): fs: always build llseek. powerpc: move common register copy functions from signal_32.c to signal.c powerpc/64: make buildable without CONFIG_COMPAT powerpc/64: Disable COMPAT if littleendian. arch/powerpc/Kconfig | 2 +- arch/powerpc/include/asm/syscall.h | 2 + arch/powerpc/kernel/Makefile | 15 ++- arch/powerpc/kernel/entry_64.S | 2 + arch/powerpc/kernel/signal.c | 146 ++++++++++++++++++++++++++++- arch/powerpc/kernel/signal_32.c | 140 --------------------------- arch/powerpc/kernel/syscall_64.c | 5 +- arch/powerpc/kernel/vdso.c | 4 +- arch/powerpc/perf/callchain.c | 14 ++- fs/read_write.c | 2 - 10 files changed, 177 insertions(+), 155 deletions(-) -- 2.22.0