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

2018-01-09 Thread Jon Masters
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

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

2018-01-09 Thread Greg KH
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 go

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

2018-01-09 Thread Greg KH
On Tue, Jan 09, 2018 at 03:54:51AM +1100, Michael Ellerman wrote: > From: Nicholas Piggin > > Expose the state of the RFI flush (enabled/disabled) via sysfs, and > allow it to be enabled/dissabled at runtime. > > Signed-off-by: Nicholas Piggin > Signed-off-by: Michael Ellerman > --- > arch/po

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

2018-01-08 Thread Jon Masters
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

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

2018-01-08 Thread Michael Ellerman
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.096657...@linutronix.de > > It sho

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

2018-01-08 Thread Thomas Gleixner
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: https://lkml.kernel.org/r/20180107214913.096657...@linutronix.de It should be simple to extend for write and it would be g

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

2018-01-08 Thread Michael Ellerman
From: Nicholas Piggin Expose the state of the RFI flush (enabled/disabled) via sysfs, and allow it to be enabled/dissabled at runtime. Signed-off-by: Nicholas Piggin Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/setup.h | 2 ++ arch/powerpc/kernel/sysfs.c | 41 +