Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp662303ybl; Wed, 28 Aug 2019 03:32:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy2Gc0k3G08UgZdlRSqj4l6Q6w6clEcbGd7+Kys1Ex6y6qmyYdPXS7MfltD967Lfk5YGNb X-Received: by 2002:a65:6817:: with SMTP id l23mr2866987pgt.46.1566988362794; Wed, 28 Aug 2019 03:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566988362; cv=none; d=google.com; s=arc-20160816; b=DfkZI6giWari1GvZ5iheKr0zjLTGFJz6uqeai2e4+CAJu+RQB33+3wmvvJLO5tJOhF BdFQL5EBPZzuKfrSJHy+fhT0TtYMibi8WrzizPWJgQtsdiVpJN5WIH0YPrewFrI/IP9A ImFF9IolfFWk8/b0tn536dSpZ6QispmEX22bGFtRfBJJpsCX3RbsjLlZyQMy4bZTwMeg k34kAk/0kUIK1YJU0gnXjnbcUZcgM2sDk9RjKcaOrxZP3bW8N9hh+35cSMM/Ut664mUj tnnAZKpQLvZgWfXzDUQZRFD5OupkkjKpbbMUdHh6FTvmRSTLemVS+/e3jZef+ws+c8Ad KW2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HdhngJ0h2vk1ceKo3Y11j+fvcUsOXbVg5zqy0VBb9mQ=; b=buBR+IrifRqEcfLMDgas5GV/eloetQ2b56iVbEL20E/OCClT0kQEK661oIWcb6B/XP T6h6SRhJydJjPqYYVsL01tE6MoQUex8GfU+/lcawW9KiVnAeZlBb9tBMlvgu1qdMX4Oy XsimDFVILauHTXNiSURi4koKYK3pIEtnneFpxHlGEDyvmHHqSamrbvdJRnlHumev/Ms0 eRGBwfvrCF+2QYT7Y+PJauelLzOqS6lgDyGPmc2cO6v6lVVHYrldGOkR5nkOF6TTQ56R gpIjbPBBzvN1FJsz3NrtHNqTxhW09V/6YlnjVss7E+eZhlPKHv0jH+P8fSd190rUskth SlGQ== 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 h185si1835816pge.199.2019.08.28.03.32.26; Wed, 28 Aug 2019 03:32:42 -0700 (PDT) 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 S1726548AbfH1Kal (ORCPT + 99 others); Wed, 28 Aug 2019 06:30:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:39566 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726315AbfH1Kal (ORCPT ); Wed, 28 Aug 2019 06:30:41 -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 4298BAFBE; Wed, 28 Aug 2019 10:30:39 +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 v2 0/4] Disable compat cruft on ppc64le v2 Date: Wed, 28 Aug 2019 12:30:25 +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/1153556/ Changes in v2: saner CONFIG_COMPAT ifdefs 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