Re: [PATCH 1/4] powerpc/mm/radix: Don't iterate all sets when flushing the PWC

2017-07-14 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Fri, 2017-07-14 at 11:11 +0530, Aneesh Kumar K.V wrote: >> With the current code, we use tlbiel_pwc() for doing a pwc flush. >> and that does what is done this patch. May be we can update this patch >> such that we drop tlbiel_pwc and switch all those instance

Re: [PATCH 1/4] powerpc/mm/radix: Don't iterate all sets when flushing the PWC

2017-07-14 Thread Benjamin Herrenschmidt
On Fri, 2017-07-14 at 12:33 +0530, Aneesh Kumar K.V wrote: > Benjamin Herrenschmidt writes: > > > On Fri, 2017-07-14 at 11:11 +0530, Aneesh Kumar K.V wrote: > > > With the current code, we use tlbiel_pwc() for doing a pwc flush. > > > and that does what is done this patch. May be we can update th

[linux-next][bisected 1c0eaf0f] Today's next kernel fails to boot on ppc bare-metal

2017-07-14 Thread Abdul Haleem
Hi Today's linux-next fails to boot on ppc bare-metal Test: Boot Machine: Power 8 bare-metal kernel: 4.12.0-next-20170713 gcc: version 4.8.5 config : Tul-NV-config attached. boot logs: -- OPAL nvram setup, 1048576 bytes Zone ranges: DMA [mem 0x-0x000f]

[PATCH/RFC] powerpc: Better handle "error" type page faults on book3s64

2017-07-14 Thread Benjamin Herrenschmidt
There are a number of conditions in the DSISR that represent conditions for which there is no point looking for a VMA or trying to update a PTE. In fact, POWER9 adds a few with bad AMOs, bad "paste" instruction etc... This improve our existing code to use symbolic constants for all DSISR bits, pro

Re: [alsa-devel] [PATCH] ASoC: fsl_asrc: constify snd_soc_dai_ops structure

2017-07-14 Thread Mark Brown
On Thu, Jul 13, 2017 at 11:18:11AM -0700, Joe Perches wrote: > I don't it's better. > It's not that confusing if the 0/n patch cover letter is cc'd > to all the appropriate mailing lists and all the [1..n]/n > patches are sent with in-reply-to of the cover letter and > send to the maintainers and

Re: [alsa-devel] [PATCH] ASoC: fsl_asrc: constify snd_soc_dai_ops structure

2017-07-14 Thread Joe Perches
On Fri, 2017-07-14 at 12:02 +0100, Mark Brown wrote: > On Thu, Jul 13, 2017 at 11:18:11AM -0700, Joe Perches wrote: > > > I don't it's better. > > It's not that confusing if the 0/n patch cover letter is cc'd > > to all the appropriate mailing lists and all the [1..n]/n > > patches are sent with i

Re: [alsa-devel] [PATCH] ASoC: fsl_asrc: constify snd_soc_dai_ops structure

2017-07-14 Thread Mark Brown
On Fri, Jul 14, 2017 at 04:08:21AM -0700, Joe Perches wrote: > On Fri, 2017-07-14 at 12:02 +0100, Mark Brown wrote: > > On Thu, Jul 13, 2017 at 11:18:11AM -0700, Joe Perches wrote: > > > I don't it's better. > > > It's not that confusing if the 0/n patch cover letter is cc'd > > > to all the appro

Re: [PATCH] POWER9 PMU interrupt after idle workaround

2017-07-14 Thread Anton Blanchard
Hi Nick, > POWER9 DD2 can see spurious PMU interrupts after state-loss idle in > some conditions. > > A solution is to save and reload MMCR0 over state-loss idle. Thanks, looks good. Tested-by: Anton Blanchard Anton > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/kernel/idle_book3s.S

[PATCH] machintosh: select defaults for cooling

2017-07-14 Thread Linus Walleij
I have this pretty nasty problem when trying to boot up a fresh openSuSE DVD on a PowerMac G5: the kernel by default does not have CONFIG_WINDFARM_PM72 enabled, with the effect that the cooling is not functioning. The BIOS on the PowerMac G5 reacts to this by, after a grace period when the BIOS ha

[GIT PULL] Please pull powerpc/linux.git powerpc-4.13-2 tag

2017-07-14 Thread Michael Ellerman
Hi Linus, Please pull the first set of powerpc fixes for 4.13: The following changes since commit af3c8d98508d37541d4bf57f13a984a7f73a328c: Merge tag 'drm-for-v4.13' of git://people.freedesktop.org/~airlied/linux (2017-07-09 18:48:37 -0700) are available in the git repository at: git://gi

Re: [PATCH 3/5] powerpc/lib/sstep: Add bpermd instruction emulation

2017-07-14 Thread Segher Boessenkool
On Fri, Jul 14, 2017 at 02:19:34PM +1000, Matt Brown wrote: > >> +static nokprobe_inline void do_bpermd(struct pt_regs *regs, unsigned long > >> v1, > >> + unsigned long v2, int ra) > >> +{ > >> + unsigned int idx, i; > >> + unsigned char perm; > >> + > >> +

Re: [PATCH 4/5] powerpc/lib/sstep: Add prty instruction emulation

2017-07-14 Thread kbuild test robot
Hi Matt, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.12 next-20170714] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Matt-Brown/powerpc-lib-sstep-Add-cmpb-instruction

Re: [PATCH] machintosh: select defaults for cooling

2017-07-14 Thread Benjamin Herrenschmidt
On Fri, 2017-07-14 at 13:46 +0200, Linus Walleij wrote: > I have this pretty nasty problem when trying to boot up a fresh > openSuSE DVD on a PowerMac G5: the kernel by default does not have > CONFIG_WINDFARM_PM72 enabled, with the effect that the cooling > is not functioning. > > The BIOS on the

Re: [PATCH 3/3] powerpc/mm: Mark __init memory no-execute when STRICT_KERNEL_RWX=y

2017-07-14 Thread kbuild test robot
Hi Michael, [auto build test ERROR on powerpc/next] [also build test ERROR on next-20170714] [cannot apply to v4.12] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michael-Ellerman/powerpc-mm