Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-08-31 Thread Hemant Kumar
(cc'ing Michael Ellerman with this reply) Hi Arnaldo, On 09/01/2015 01:43 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Aug 31, 2015 at 12:18:00PM +0530, Hemant Kumar escreveu: To analyze the exit events with perf, we need to export the related tracepoints through kvm_perf.h. kvm_perf.h is to be

Re: powerpc: Add user-return-notifier support

2015-08-31 Thread Ananth N Mavinakayanahalli
On Mon, Aug 31, 2015 at 08:35:17PM +1000, Michael Ellerman wrote: > On Tue, 2015-25-08 at 05:41:10 UTC, Ananth N Mavinakayanahalli wrote: > > Add user return notifier support for powerpc. Similar to x86, this feature > > keys off of the KVM Kconfig. > > Please flesh this out. > > What is it, why

[kexec-lite 3/3] Bump version to 1.0

2015-08-31 Thread Joel Stanley
Signed-off-by: Joel Stanley --- kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kexec.c b/kexec.c index a9f108e..d87d617 100644 --- a/kexec.c +++ b/kexec.c @@ -40,7 +40,7 @@ #include "kexec_memory_map.h" #include "kexec_trampoline.h" -#define VERSION "0.0.2" +#defi

[kexec-lite 2/3] Add licence file

2015-08-31 Thread Joel Stanley
All of the source files contain the GPL2+ notice. Signed-off-by: Joel Stanley --- COPYING | 339 1 file changed, 339 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 000..d159

[kexec-lite 1/3] Add dependencies to the readme

2015-08-31 Thread Joel Stanley
Signed-off-by: Joel Stanley --- README.md | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ca9ff2..4540d29 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,11 @@ kexec-lite == -A simple kexec for flattened device tree platforms.

Re: [PATCH] asm/opal-api: Assign numbers to OPAL_MSG macros of enum opal_msg_type

2015-08-31 Thread Stewart Smith
Vipin K Parashar writes: > This patch assigns numbers to OPAL_MSG macros of enum opal_msg_type > to prevent accidental insertion of any new value in between and thus > break OPAL API. This is also helpful while backporting mainline kernel > changes to distros which run downlevel kernel and thus do

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Michael Ellerman
On Mon, 2015-08-31 at 19:56 +0800, Boqun Feng wrote: > On Mon, Aug 31, 2015 at 09:19:26PM +1000, Michael Ellerman wrote: > > On Mon, 2015-08-31 at 15:53 +0800, Boqun Feng wrote: > > > On Mon, Aug 31, 2015 at 04:52:38PM +1000, Benjamin Herrenschmidt wrote: > > > > On Mon, 2015-08-31 at 14:44 +0800,

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Michael Ellerman
On Tue, 2015-09-01 at 06:40 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2015-08-31 at 21:19 +1000, Michael Ellerman wrote: > > > Yes. Maybe something like this? > > I would have done it the other way around with endian at the top > and only the supported platforms displayed based on the endian

Re: [RFC PATCH 1/9] powerpc: allocate sys_membarrier system call number

2015-08-31 Thread Michael Ellerman
On Mon, 2015-08-31 at 15:32 +, Mathieu Desnoyers wrote: > - On Aug 31, 2015, at 2:54 AM, Michael Ellerman m...@ellerman.id.au wrote: > > > On Thu, 2015-08-27 at 13:56 -0400, Mathieu Desnoyers wrote: > >> Allow it to be used from SPU, since it should not have unwanted > >> side-effects. >

[PATCH] asm/opal-api: Assign numbers to OPAL_MSG macros of enum opal_msg_type

2015-08-31 Thread Vipin K Parashar
This patch assigns numbers to OPAL_MSG macros of enum opal_msg_type to prevent accidental insertion of any new value in between and thus break OPAL API. This is also helpful while backporting mainline kernel changes to distros which run downlevel kernel and thus don't have all OPAL messages defined

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Benjamin Herrenschmidt
On Mon, 2015-08-31 at 21:19 +1000, Michael Ellerman wrote: > Yes. Maybe something like this? I would have done it the other way around with endian at the top and only the supported platforms displayed based on the endian... But I don't care *that* much either way >diff --git a/arch/powerpc/plat

Re: [PATCH] cpufreq: powernv: Increase the verbosity of OCC console messages

2015-08-31 Thread Stewart Smith
Shilpasri G Bhat writes: > Modify the OCC reset/load/active event message to make it clearer for > the user to understand the event and effect of the event. > > Suggested-by: Stewart Smith > Signed-off-by: Shilpasri G Bhat Acked-by: Stewart Smith __

[PATCH] ASoC: fsl_ssi: Fix checking of dai format for AC97 mode

2015-08-31 Thread Adam Thomson
Current code incorrectly treats dai format for AC97 as bit mask whereas it's actually an integer value. This causes DAI formats other than AC97 (e.g. DSP_B) to trigger AC97 related code, which is incorrect and breaks functionality. This patch fixes the code to correctly compare values to determine

Re: [PATCH v6 1/2] perf,kvm/powerpc: Add kvm_perf.h for powerpc

2015-08-31 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 31, 2015 at 12:18:00PM +0530, Hemant Kumar escreveu: > To analyze the exit events with perf, we need to export the related > tracepoints through kvm_perf.h. kvm_perf.h is to be added in the > arch/powerpc directory, where the kvm tracepoints needed to trace the > KVM exit events are def

Re: [PATCH v16 00/16] perf, tools: Add support for PMU events in JSON format

2015-08-31 Thread Sukadev Bhattiprolu
Sukadev Bhattiprolu [suka...@linux.vnet.ibm.com] wrote: | CPUs support a large number of performance monitoring events (PMU events) | and often these events are very specific to an architecture/model of the | CPU. To use most of these PMU events with perf, we currently have to identify | them by th

Re: [RFC PATCH 1/9] powerpc: allocate sys_membarrier system call number

2015-08-31 Thread Mathieu Desnoyers
- On Aug 31, 2015, at 2:54 AM, Michael Ellerman m...@ellerman.id.au wrote: > On Thu, 2015-08-27 at 13:56 -0400, Mathieu Desnoyers wrote: >> Allow it to be used from SPU, since it should not have unwanted >> side-effects. >> >> [ Untested on this architecture. To try it out: fetch linux-next/a

[PATCH 2/2] ASoC: fsl-asoc-card: add AC'97 support

2015-08-31 Thread Maciej S. Szmigiero
Add AC'97 support to fsl-asoc-card using generic ASoC AC'97 CODEC. The SSI controller will silently enable any TX AC'97 slots that have their bits set in SLOTREQ received from CODEC and then will redirect some of playback samples there. That's why it is important to make sure that any of CODEC pl

[PATCH 1/2] ASoC: fsl-asoc-card: put ASRC OF node in case of unknown device

2015-08-31 Thread Maciej S. Szmigiero
In case of unknown DT compatible device the ASRC OF node possibly acquired earlier by of_parse_phandle() has to be put before returning from probe method. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl-asoc-card.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/

Re: Kernel access of bad area on kernel 4.1.6

2015-08-31 Thread Ilia Mirkin
On Fri, Aug 28, 2015 at 1:30 AM, Ilia Mirkin wrote: > On Thu, Aug 27, 2015 at 9:56 PM, Michael Ellerman wrote: >> On Thu, 2015-08-27 at 11:31 -0400, Ilia Mirkin wrote: >>> I've recently come into the possession of a PowerMac7,3 and have been >>> cross-compiling a chroot for it on my (x86_64) desk

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Cédric Le Goater
On 08/31/2015 01:19 PM, Michael Ellerman wrote: > On Mon, 2015-08-31 at 15:53 +0800, Boqun Feng wrote: >> On Mon, Aug 31, 2015 at 04:52:38PM +1000, Benjamin Herrenschmidt wrote: >>> On Mon, 2015-08-31 at 14:44 +0800, Boqun Feng wrote: Hi all, I hit a strange build error on v4.2, when

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Boqun Feng
On Mon, Aug 31, 2015 at 09:19:26PM +1000, Michael Ellerman wrote: > On Mon, 2015-08-31 at 15:53 +0800, Boqun Feng wrote: > > On Mon, Aug 31, 2015 at 04:52:38PM +1000, Benjamin Herrenschmidt wrote: > > > On Mon, 2015-08-31 at 14:44 +0800, Boqun Feng wrote: > > > > Hi all, > > > > > > > > I hit a st

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Michael Ellerman
On Mon, 2015-08-31 at 15:53 +0800, Boqun Feng wrote: > On Mon, Aug 31, 2015 at 04:52:38PM +1000, Benjamin Herrenschmidt wrote: > > On Mon, 2015-08-31 at 14:44 +0800, Boqun Feng wrote: > > > Hi all, > > > > > > I hit a strange build error on v4.2, when I try to build a LE kernel > > > with a slight

Re: powerpc: Add user-return-notifier support

2015-08-31 Thread Michael Ellerman
On Tue, 2015-25-08 at 05:41:10 UTC, Ananth N Mavinakayanahalli wrote: > Add user return notifier support for powerpc. Similar to x86, this feature > keys off of the KVM Kconfig. Please flesh this out. What is it, why do we want it, why is your implementation correct. cheers _

[PATCH V7 3/3] QE: Move QE from arch/powerpc to drivers/soc

2015-08-31 Thread Zhao Qiang
ls1 has qe and ls1 has arm cpu. move qe from arch/powerpc to drivers/soc/fsl to adapt to powerpc and arm Signed-off-by: Zhao Qiang --- hanges for v2: - move code to driver/soc Changes for v3: - change drivers/soc/qe to drivers/soc/fsl-qe Changes for v4: - move drivers/soc/

[PATCH V7 2/3] qe_common: add qe_muram_ functions to manage muram

2015-08-31 Thread Zhao Qiang
muram is used for qe, add qe_muram_ functions to manage muram. Signed-off-by: Zhao Qiang --- Changes for v2: - no changes Changes for v3: - no changes Changes for v4: - no changes Changes for v5: - no changes Changes for v6: - using genalloc instead rheap t

[PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-08-31 Thread Zhao Qiang
Bytes alignment is required to manage some special RAM, so add gen_pool_first_fit_align to genalloc, meanwhile add gen_pool_alloc_data to pass data to gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper) Signed-off-by: Zhao Qiang --- Changes for v6: - patches set v6 include a new

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Benjamin Herrenschmidt
On Mon, 2015-08-31 at 15:53 +0800, Boqun Feng wrote: > Got it, thank you ;-) > > So should we modify Kconfigs of all the platform to reflect this? It would make sense to disable all platforms other than pseries and powernv in LE, yes. > > But the specific problem you are having looks like a dif

Re: [Question] Is little endian supported on all the platforms?

2015-08-31 Thread Boqun Feng
On Mon, Aug 31, 2015 at 04:52:38PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2015-08-31 at 14:44 +0800, Boqun Feng wrote: > > Hi all, > > > > I hit a strange build error on v4.2, when I try to build a LE kernel > > with a slightly modification of the ppc64_defconfig. What I did is just > > ma