Re: [PATCH] powerpc/perf: Fix oops when grouping different pmu events

2017-11-30 Thread Madhavan Srinivasan
On Thursday 30 November 2017 02:03 PM, Ravi Bangoria wrote: When user tries to group imc (In-Memory Collections) event with normal event, (sometime) kernel crashes with following log: Faulting instruction address: 0x [link register ] c010ce88

[PATCH] powerpc/64s: ISAv3 initialize MMU registers before setting partition table

2017-11-30 Thread Nicholas Piggin
kexec can leave MMU registers set, PIDR in particular, when booting the new kernel. The boot sequence does not zero PIDR ever, and it only gets changed as CPUs first switch to userspace processes. This can leave a window where speculative accesses from a CPU to quadrant 0 can pick up translations

Re: [PATCH v4 2/2] ASoC: fsl_ssi: add 20-bit sample format for AC'97 and use it for capture

2017-11-30 Thread Nicolin Chen
On Fri, Dec 01, 2017 at 02:02:29AM +0100, Maciej S. Szmigiero wrote: > > I will clean up the driver a bit and I think the change would be > > highly related to AC97 code. So I'll later need you review/test. > From my perspective it would be great if the whole cleanup was in one > series, so the

Re: [PATCH v4 2/2] ASoC: fsl_ssi: add 20-bit sample format for AC'97 and use it for capture

2017-11-30 Thread Maciej S. Szmigiero
On 01.12.2017 00:53, Nicolin Chen wrote: > On Thu, Nov 30, 2017 at 08:20:08PM +0100, Maciej S. Szmigiero wrote: > >> In the AC'97 mode we have to differentiate two things: >> 1) Bit width of the physical AC'97 interface ("AC-link"), >> 2) Bit width of samples that are accepted during a playback

Re: [PATCH v4 2/2] ASoC: fsl_ssi: add 20-bit sample format for AC'97 and use it for capture

2017-11-30 Thread Nicolin Chen
On Thu, Nov 30, 2017 at 08:20:08PM +0100, Maciej S. Szmigiero wrote: > In the AC'97 mode we have to differentiate two things: > 1) Bit width of the physical AC'97 interface ("AC-link"), > 2) Bit width of samples that are accepted during a playback and output > during a recording by the SSI (and,

Re: [PATCH] SB600 for the Nemo board has non-zero devices on non-root bus

2017-11-30 Thread Bjorn Helgaas
On Thu, Nov 30, 2017 at 12:39:36AM +0100, Christian Zigotzky wrote: > On 29 November 2017 at 11:34PM, Bjorn Helgaas wrote: > > On Wed, Nov 29, 2017 at 2:45 PM, Christian Zigotzky > >> Thank you for your answer. I have tried to boot the kernel 4.15 > >> RC1 (built without the patch above) with the

Re: [PATCH v4 1/2] livepatch: send a fake signal to all blocking tasks

2017-11-30 Thread Jiri Kosina
On Wed, 15 Nov 2017, Miroslav Benes wrote: > Live patching consistency model is of LEAVE_PATCHED_SET and > SWITCH_THREAD. This means that all tasks in the system have to be marked > one by one as safe to call a new patched function. Safe means when a > task is not (sleeping) in a set of patched

Re: Resend: [PATCH V5 3/4] hotplug/drc-info: Add code to search ibm,drc-info property

2017-11-30 Thread Nathan Fontenot
On 11/28/2017 05:07 PM, Michael Bringmann wrote: > rpadlpar_core.c: Provide parallel routines to search the older device- > tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" > and "ibm,drc-power-domains"), or the new property "ibm,drc-info". > > The interface to examine the

Re: Resend: [PATCH V5 2/4] pseries/drc-info: Search DRC properties for CPU indexes

2017-11-30 Thread Nathan Fontenot
On 11/28/2017 05:07 PM, Michael Bringmann wrote: > pseries/drc-info: Provide parallel routines to convert between > drc_index and CPU numbers at runtime, using the older device-tree > properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" > and "ibm,drc-power-domains"), or the new

Re: [PATCH v4 2/2] ASoC: fsl_ssi: add 20-bit sample format for AC'97 and use it for capture

2017-11-30 Thread Maciej S. Szmigiero
Hi Nicolin, On 30.11.2017 08:23, Nicolin Chen wrote: > Hi Maciej, > > On Mon, Nov 27, 2017 at 11:34:44PM +0100, Maciej S. Szmigiero wrote: >> There is no problem in using different bit widths in playback and capture >> in AC'97 mode so allow this, too. > >> @@ -1557,11 +1558,12 @@ static int

Re: BSOD with [PATCH 00/13] mmu_notifier kill invalidate_page callback

2017-11-30 Thread Radim Krčmář
2017-11-30 12:20+0100, Paolo Bonzini: > On 30/11/2017 10:33, Fabian Grünbichler wrote: > > > > It was reverted in 785373b4c38719f4af6775845df6be1dfaea120f after which > > the symptoms disappeared until this series was merged, which contains > > > > 369ea8242c0fb5239b4ddf0dc568f694bd244de4

Re: [PATCH] powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all

2017-11-30 Thread Balbir Singh
On Thu, Nov 30, 2017 at 8:05 PM, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > radix__flush_tlb_all() is called only in kexec path in real mode and any > tracepoints at this stage will make kexec to fail if enabled. > > To verify

Re: [PATCH 1/2] powerpc/lib/code-patching: refactor patch_instruction()

2017-11-30 Thread Balbir Singh
On Fri, Nov 24, 2017 at 6:31 PM, Christophe Leroy wrote: > patch_instruction() uses almost the same sequence as > __patch_instruction() > > This patch refactor it so that patch_instruction() uses > __patch_instruction() instead of duplicating code. > > Signed-off-by:

Re: BSOD with [PATCH 00/13] mmu_notifier kill invalidate_page callback

2017-11-30 Thread Paolo Bonzini
On 30/11/2017 10:33, Fabian Grünbichler wrote: > > It was reverted in 785373b4c38719f4af6775845df6be1dfaea120f after which > the symptoms disappeared until this series was merged, which contains > > 369ea8242c0fb5239b4ddf0dc568f694bd244de4 mm/rmap: update to new mmu_notifier > semantic v2 > >

Re: [alsa-devel] Applied "ALSA: pcm: add SNDRV_PCM_FORMAT_{S, U}20" to the asoc tree

2017-11-30 Thread Takashi Iwai
On Thu, 30 Nov 2017 11:41:59 +0100, Mark Brown wrote: > > On Wed, Nov 29, 2017 at 10:23:23PM +0100, Takashi Iwai wrote: > > > Mark, I already took this into my tree, as it's a change in ALSA core > > stuff. As mentioned in another mail, the branch was exposed to > > topic/pcm-20bit branch, so

Re: [alsa-devel] Applied "ALSA: pcm: add SNDRV_PCM_FORMAT_{S, U}20" to the asoc tree

2017-11-30 Thread Mark Brown
On Wed, Nov 29, 2017 at 10:23:23PM +0100, Takashi Iwai wrote: > Mark, I already took this into my tree, as it's a change in ALSA core > stuff. As mentioned in another mail, the branch was exposed to > topic/pcm-20bit branch, so that you can pull cleanly. That's what this is reporting - the

BSOD with [PATCH 00/13] mmu_notifier kill invalidate_page callback

2017-11-30 Thread Fabian Grünbichler
On Tue, Aug 29, 2017 at 07:54:34PM -0400, Jérôme Glisse wrote: > (Sorry for so many list cross-posting and big cc) Ditto (trimmed it a bit already, feel free to limit replies as you see fit). > > Please help testing ! > Kernels 4.13 and 4.14 (which both contain these patch series in its final

Re: [PATCH] powerpc/kmcent2: update the ethernet nodes to the internal switch

2017-11-30 Thread Valentin Longchamp
From: Valentin Longchamp Sent: Thursday, November 30, 2017 10:16 To: o...@buserror.net; linuxppc-dev@lists.ozlabs.org Cc: devicet...@vger.kernel.org; valentin.longch...@keymile.com Subject: [PATCH] powerpc/kmcent2: update the ethernet nodes to the internal switch

Re: a3b2cb30 broken panic reporting for qemu guests

2017-11-30 Thread David Gibson
On Wed, Nov 29, 2017 at 02:23:43PM +1000, Nicholas Piggin wrote: > On Wed, 29 Nov 2017 15:06:52 +1100 > David Gibson wrote: > > > a3b2cb30 "powerpc: Do not call ppc_md.panic in fadump panic notifier" > > purports to fix a problem when the kernel panics with fadump

[PATCH] powerpc/kmcent2: update the ethernet nodes to use phy-mode

2017-11-30 Thread Valentin Longchamp
The fman driver only calls of_get_phy_node, ignoring the phy-connection-type field. While we're at it, update the fixed link to the new more readable way to specify it and set phy-mode to rgmii-id for the node with a phy. Signed-off-by: Valentin Longchamp ---

[PATCH] powerpc/kmcent2: update the ethernet nodes to the internal switch

2017-11-30 Thread Valentin Longchamp
The fman driver only calls of_get_phy_node, ignoring the phy-connection-type field. While we're at it, update the fixed link to the new more readable way to specify it. Signed-off-by: Valentin Longchamp --- arch/powerpc/boot/dts/fsl/kmcent2.dts | 14

[PATCH] powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all

2017-11-30 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar radix__flush_tlb_all() is called only in kexec path in real mode and any tracepoints at this stage will make kexec to fail if enabled. To verify enable tlbie trace before kexec. $ echo 1 > /sys/kernel/debug/tracing/events/powerpc/tlbie/enable

[PATCH] powerpc/perf: Fix oops when grouping different pmu events

2017-11-30 Thread Ravi Bangoria
When user tries to group imc (In-Memory Collections) event with normal event, (sometime) kernel crashes with following log: Faulting instruction address: 0x [link register ] c010ce88 power_check_constraints+0x128/0x980 ... c010e238