Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757453AbeAIGG1 (ORCPT + 1 other); Tue, 9 Jan 2018 01:06:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44314 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751980AbeAIGG0 (ORCPT ); Tue, 9 Jan 2018 01:06:26 -0500 Subject: Re: [PATCH 09/11] powerpc/64s: Allow control of RFI flush via sysfs To: Michael Ellerman , Thomas Gleixner References: <20180108165453.26066-1-mpe@ellerman.id.au> <20180108165453.26066-9-mpe@ellerman.id.au> <87y3l880js.fsf@concordia.ellerman.id.au> Cc: mikey@neuling.org, Peter Zijlstra , Greg KH , LKML , npiggin@gmail.com, linuxppc-dev@ozlabs.org, oohall@gmail.com, Anton Blanchard , Paul Mackerras From: Jon Masters Message-ID: Date: Tue, 9 Jan 2018 01:06:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <87y3l880js.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 09 Jan 2018 06:06:26 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 01/08/2018 05:09 PM, Michael Ellerman wrote: > Thomas Gleixner writes: > >> On Tue, 9 Jan 2018, Michael Ellerman wrote: >> >> Sorry, I wasn't aware about your efforts and did not cc you. I've just >> queued a more generic sysfs interface for this whole mess: > > No worries. > >> https://lkml.kernel.org/r/20180107214913.096657732@linutronix.de >> >> It should be simple to extend for write and it would be great if all >> affected architectures could share it. > > As you say this has all been a bit of a mess Indeed. All of us wish this went very differently. I've been testing various versions of these patches since before the holidays. For those doing backports to older kernels, a note that the IBM team added OOL (Out Of Line) exception handlers and reworked all of that code over the years since older kernels (e.g. 3.10) so you might get problems on those if you enable the debug entry. I've got notes on how to backport the OOL exceptions to older kernels if anyone cares. > and as a result we already have people running kernels with this patch, > so we don't want to remove the 'rfi_flush' file. Knowing that the IBM team was going to post with this sysfs interface, our trees contain the rfi_flush file. I mentioned it to some folks on this end (because we know we don't want to add things in sysfs generally, debugfs is a good substitute, per Andrea, and I raised this with him yesterday as a concern in the backport here) but in the end it seemed reasonable to pull this in because it was what got posted, and as Michael says, it's gone into other distro kernels beyond just ours. > But we will certainly add support on powerpc for the files you have > created, in addition to 'rfi_flush'. Thanks, Jon. -- Computer Architect | Sent from my Fedora powered laptop