Re: [PATCH 09/11] powerpc/64s: Allow control of RFI flush via sysfs

From: Jon Masters
Date: Tue Jan 09 2018 - 03:11:14 EST


On 01/09/2018 03:05 AM, Greg KH wrote:
> On Tue, Jan 09, 2018 at 01:06:23AM -0500, Jon Masters wrote:
>> 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.
>
> What distro kernels end up enabling does not really reflect on what we
> end up doing in mainline. The api for this should NOT be arch-specific
> if at all possible, that way lies madness. Do you want to write
> userspace tools to handle the 60+ different arch implementations?
>
> Don't let the fragmentation problems of the period in which no one was
> allowed to talk to each other, result in a unchangable mess, that would
> be insane.

Totally fine :) Just saying we tried to do reasonable things with what
we had. Whatever happens upstream in the end is, of course, what we'll
make sure fits into updates that go into the likes of RHEL.

Jon.

--
Computer Architect | Sent from my Fedora powered laptop