Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp190936ybb; Fri, 3 Apr 2020 00:27:34 -0700 (PDT) X-Google-Smtp-Source: APiQypIcqFc+8rJEoLsv5Fr/zGq0e0XwZauuvzvS04bwmfjUZycQsMgmhrNnkoTTS8s67k9GnI7k X-Received: by 2002:a9d:27c7:: with SMTP id c65mr5548960otb.318.1585898854063; Fri, 03 Apr 2020 00:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585898854; cv=none; d=google.com; s=arc-20160816; b=K8SbKjSu9V56LWsNHvUWAVmvjwCaY7QYAvvwD+7CEv895a5cbfB5vuc/hNBhF3pm06 o4lEzxDHEhyS0wCnTVWw4wsZ86BtCv5U9+7p4a8tTYW75DF8NDUTUNVvd7iKZsOm/BeI bo7pnKwS5M31SYypv42ijgyedhmDkT5IjdEWxa6Iukvq2eo9+V8qljcz6FB8QMidm7Qn 0LonOVKO+t1DJCrdWWwnMbhCKttfLYfoeTQ9SQL2Qd7iYGI+i4I8wcKfGG8lclSZgFS0 kPczJBSl4E+iN+0XQKmTlnLAH6GMx69JIVHfkPn+noAvXRKEhLARbk1/y8alkNZsVpbK GGqQ== 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:message-id :user-agent:mime-version:in-reply-to:references:cc:to:subject:from :date:dkim-signature; bh=gWN2/l3Nk/lqsKPF1eViKQ9o9AZt+XSnO9fYcexJ5do=; b=vvr4axiPzJsQaxpGEiwkkcyYXwzM0uiJeT/kTfosFCVALTLy0Xs62N7WvTNo6GLhh9 c+rOfb4DY7Q8hWPqBWFzpMCSKdSHZ5pk7P5LHJJxelIRCwfbYHIZsjVRJHs/Ql2Qe9Cp 5By1COT7EXJwRNvwPkTEGaQKifqCdN2j+FAnMH9ScPgPH3xqtNvFCGFYzXcP13rX8jb+ o12IkqmR2Mu4LJT2XAOe8RtiSXxVOpDHJmxPInk1FmC2MyQ2pqeOX27KdrUg7ZIEqatU JV/OnIO2o+bnfVAptyO+6w9wn25lwnpYN74lUoL6O3G/jE1GcG0p4VUjtOVjY3noRhj+ kc6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i3oPTvsH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61si3408441otb.20.2020.04.03.00.27.21; Fri, 03 Apr 2020 00:27:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i3oPTvsH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389600AbgDCHZU (ORCPT + 99 others); Fri, 3 Apr 2020 03:25:20 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38965 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730889AbgDCHZU (ORCPT ); Fri, 3 Apr 2020 03:25:20 -0400 Received: by mail-pl1-f196.google.com with SMTP id k18so2379385pll.6; Fri, 03 Apr 2020 00:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :user-agent:message-id:content-transfer-encoding; bh=gWN2/l3Nk/lqsKPF1eViKQ9o9AZt+XSnO9fYcexJ5do=; b=i3oPTvsH5TefcZSZ/s6cffxKNlmPapTR0Q18gP6u0mf/PMRHwDbL2wMinlbhvtjzE9 KMyVIR96vM2c4ZYzaRNYjWN2UL+Dd+CnEUla7XPaBIMJ/hslJUXLoqHnMKXgJfJC9IAp OWDPIN7DJ5qcvEKf2xLRfjwt1xPzCT3PfRjdbUbFXzbRM2Lb4wXi9irkzkWffxvnc5/F KB8eJVttUWM3vacwK3+R777MHdc+WXvEqYKX1ZvYy5AL6Y45SbW/W9WZN1ICx/edWvmk cLVPOd0BXu7Au8JXVDcwD5lTyHkgsWxs4z96cAVY0rv4QN5ptCxTRrZQkCNYJSUEJyyn L6ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:user-agent:message-id:content-transfer-encoding; bh=gWN2/l3Nk/lqsKPF1eViKQ9o9AZt+XSnO9fYcexJ5do=; b=KI7zYHQF47F20DM41plCmPVjO8jw6hFthvmD303ZRILTfDxKiCBi39fFxogdqYESO0 2vZP5GdTnegMRSCV+mdDwm9yY3zu5i2rZj2HphOdLRsPpArkflURmZIiuevoq4LyLQGq pGGb1OVqwu0G75xaPpkDK7eRbF3nxVdaXNfTOOhMKmiIqxy8+EOIlEu/E1W7v/V5JpwQ xE4TA4nRzn2BqHFqIeB3fBHR2FfRRV1ENnhfYyc9VrGze+rbqO8wl7VkfmEFpk3lRNL4 c6dzljWUhrzfs1E3uLpAeMzZBmeLNZFDHAZNfMMlm0m6wBaAklMXhX7XsL1xNv1xhVhh jRdA== X-Gm-Message-State: AGi0PuaSITHjAdJU8n9VkyTRkM5WbjzbdSfcHa/PzvtdEU8DE9VNpeT+ JVvhK6Piq9ASihBlJCs89Q0= X-Received: by 2002:a17:90a:35ce:: with SMTP id r72mr8190743pjb.126.1585898719557; Fri, 03 Apr 2020 00:25:19 -0700 (PDT) Received: from localhost (60-241-117-97.tpgi.com.au. [60.241.117.97]) by smtp.gmail.com with ESMTPSA id l190sm5103624pfl.212.2020.04.03.00.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 00:25:18 -0700 (PDT) Date: Fri, 03 Apr 2020 17:25:13 +1000 From: Nicholas Piggin Subject: Re: [PATCH v11 0/8] Disable compat cruft on ppc64le v11 To: linuxppc-dev@lists.ozlabs.org, Michal Suchanek Cc: Arnaldo Carvalho de Melo , Alexander Shishkin , Allison Randal , Andy Shevchenko , Arnd Bergmann , Thiago Jung Bauermann , Benjamin Herrenschmidt , Sebastian Andrzej Siewior , Claudio Carvalho , Christophe Leroy , "David S. Miller" , "Eric W. Biederman" , Eric Richter , Greg Kroah-Hartman , Gustavo Luiz Duarte , Hari Bathini , Jordan Niethe , Jiri Olsa , Jonathan Cameron , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , Masahiro Yamada , Mauro Carvalho Chehab , Michael Neuling , Ingo Molnar , Michael Ellerman , Namhyung Kim , Nayna Jain , Paul Mackerras , Peter Zijlstra , Rob Herring , Thomas Gleixner , Valentin Schneider , Alexander Viro References: <20200225173541.1549955-1-npiggin@gmail.com> In-Reply-To: MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1585898335.tckaz04a6x.astroid@bobo.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michal Suchanek's on March 19, 2020 10:19 pm: > Less code means less bugs so add a knob to skip the compat stuff. >=20 > Changes in v2: saner CONFIG_COMPAT ifdefs > Changes in v3: > - change llseek to 32bit instead of builing it unconditionally in fs > - clanup the makefile conditionals > - remove some ifdefs or convert to IS_DEFINED where possible > Changes in v4: > - cleanup is_32bit_task and current_is_64bit > - more makefile cleanup > Changes in v5: > - more current_is_64bit cleanup > - split off callchain.c 32bit and 64bit parts > Changes in v6: > - cleanup makefile after split > - consolidate read_user_stack_32 > - fix some checkpatch warnings > Changes in v7: > - add back __ARCH_WANT_SYS_LLSEEK to fix build with llseek > - remove leftover hunk > - add review tags > Changes in v8: > - consolidate valid_user_sp to fix it in the split callchain.c > - fix build errors/warnings with PPC64 !COMPAT and PPC32 > Changes in v9: > - remove current_is_64bit() > Chanegs in v10: > - rebase, sent together with the syscall cleanup > Changes in v11: > - rebase > - add MAINTAINERS pattern for ppc perf These all look good to me. I had some minor comment about one patch but=20 not really a big deal and there were more cleanups on top of it, so I=20 don't mind if it's merged as is. Actually I think we have a bit of stack reading fixes for 64s radix now (not a bug fix as such, but we don't need the hash fault logic in radix), so if I get around to that I can propose the changes in that series. Thanks, Nick =