Re: [PATCH 04/10] perf, tools: Handle header line in mapfile

2015-05-28 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | > if (line[0] == '#' || line[0] == '\n') | > continue; | > + if (!strncmp(line, "Family", 6)) | > + continue; | | I think we should fix mapfiles to put the 'Family' starting | line as a comment.. the

Re: [PATCH 0/3] fbuffer: performance improvement + code cleanup

2015-05-28 Thread Alexey Kardashevskiy
On 05/28/2015 11:13 PM, Greg Kurz wrote: If booted in frame buffer mode, board-qemu currently calls hv-logical-load and hv-logical-store for every pixel when enabling or disabling the cursor. This is suboptimal when writing one char at a time to the console since terminal-write always toggles the

Re: [PATCH 3/3] fbuffer: introduce the invert-region-x helper

2015-05-28 Thread Nikunj A Dadhania
Greg Kurz writes: > This patch simply moves the slow RX based logic from fb8-invert-screen > to board-js2x helpers and implement a fast hv-logical-memop based helper > for board-qemu. And we can drop hcall-invert-screen ! > > Signed-off-by: Greg Kurz Apart for the extra lines that Thomas pointe

Re: [PATCH 2/3] fbuffer: introduce the invert-region helper

2015-05-28 Thread Nikunj A Dadhania
Greg Kurz writes: > The inner loop in fb8-toggle-cursor can be implemented with hv-logical-memop > in board-qemu and get an incredible performance boost. > > Let's introduce a per-board helper: > - board-js2x: slow RB based, taken from current fb8-toggle-cursor > - board-qemu: faster hv-logical-m

Re: [PATCH 1/3] fbuffer: simplify address computations in fb8-toggle-cursor

2015-05-28 Thread Nikunj A Dadhania
Greg Kurz writes: > The inner loop deals with a contiguous region. It could easily be replaced > by faster board specific functions like hv-logical-memop in board-qemu. > Since hv-logical-memop does not return an address, let's have the enclosing > loop compute the next line address by itself and

[PATCH 3/3 v3] powerpc/powernv: Add opal-prd channel

2015-05-28 Thread Jeremy Kerr
This change adds a char device to access the "PRD" (processor runtime diagnostics) channel to OPAL firmware. Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta & Vishal Kulkarni. Signed-off-by: Neelesh Gupta Signed-off-by: Jeremy Kerr Acked-by: Stewart Smith -- v3: - Add ve

[PATCH 3/3] powerpc/mm: Change the swap encoding in pte.

2015-05-28 Thread Aneesh Kumar K.V
Current swap encoding in pte can't support large pfns above 4TB. Change the swap encoding such that we put the swap type in the PTE bits. Also add build checks to make sure we don't overlap with HPTEFLAGS. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pgtable-ppc64.h | 26

[PATCH 1/3] powerpc/mm: PTE_RPN_MAX is not used, remove the same

2015-05-28 Thread Aneesh Kumar K.V
Remove the unused #define Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pte-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/pte-common.h b/arch/powerpc/include/asm/pte-common.h index c5a755ef7011..b7c8d079c121 100644 --- a/arch/powerpc/inclu

[PATCH 2/3] powerpc/mm: Limit the max memory we can support

2015-05-28 Thread Aneesh Kumar K.V
We need to limit the max memory based on Linux page table format. For example, with 4K page size we can't support 64TB memory based on the existing pte format. Add checks to limit memory based on pte size. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/kernel/prom.c | 22 +++---

[PATCH 00/15] Replace module_init with device_initcall in non modules

2015-05-28 Thread Paul Gortmaker
This series of commits converts non-modular code that is using the module_init() call to hook itself into the system to instead use device_initcall(). The conversion is a runtime no-op, since module_init actually becomes __initcall in the non-modular case, and that in turn gets mapped onto device_

[PATCH 03/15] powerpc: use device_initcall for registering rtc devices

2015-05-28 Thread Paul Gortmaker
Currently these two RTC devices are in core platform code where it is not possible for them to be modular. It will never be modular, so using module_init as an alias for __initcall can be somewhat misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the fu

[PATCH 04/15] powerpc: don't use module_init in non-modular 83xx suspend code

2015-05-28 Thread Paul Gortmaker
The suspend.o is built for SUSPEND -- which is bool, and hence this code is either present or absent. It will never be modular, so using module_init as an alias for __initcall can be somewhat misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future.

Re: powerpc/fsl: Add FMan Port 10G compatibles

2015-05-28 Thread Scott Wood
On Mon, May 25, 2015 at 04:30:46PM +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch adds two boolean properties to FMan Port. > FMan has 3 types of ports: > - 1G ports > By default, all ports support 1G rate > - 10G Ports > Port which use 10

Re: [2/4] powerpc/fsl-booke: Add T1023RDB FMan device tree

2015-05-28 Thread Scott Wood
On Wed, May 20, 2015 at 03:41:38PM +0300, Madalin Bucur wrote: > diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi > b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi > index 48c1690..a6eb7ae 100644 > --- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi > +++ b/arch/powerpc/boot/dts/fsl/t1023si-po

Re: [v2,1/2] powerpc/mpc8xxx: Change EDAC for FSL SoC

2015-05-28 Thread Scott Wood
On Thu, May 07, 2015 at 05:41:37PM +0800, songwenbin wrote: > From: York Sun > > Remove mpc83xx and mpc85xx as dependency. > > Signed-off-by: York Sun > Signed-off-by: songwenbin > --- > drivers/edac/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) These patches need to be

Re: [v2] powerpc/mpc85xx: Add DPAA Ethernet QMan support to the device tree(s)

2015-05-28 Thread Scott Wood
On Wed, May 20, 2015 at 03:29:35PM +0300, Madalin Bucur wrote: > From: Emil Medve > > Signed-off-by: Emil Medve What does "DPAA Ethernet QMan support" mean? Is it ethernet support or qman support? In any case the subject is too long. > +/* These stubs are required to alloc qbman drivers to d

Re: [4/4,v3] powerpc/fsl-booke: Add T1023 RDB board support

2015-05-28 Thread Scott Wood
On Thu, Apr 09, 2015 at 04:07:45PM +0800, Shengzhou Liu wrote: > + i2c@118000 { > + eeprom@50 { > + compatible = "stm,m24256"; > + reg = <0x50>; > + }; Vendor prefix is "st", not "stm" -- se

Re: [2/4,v3] powerpc/fsl-booke: Add T1024 QDS board support

2015-05-28 Thread Scott Wood
On Thu, Apr 09, 2015 at 04:07:43PM +0800, Shengzhou Liu wrote: > + flash@2 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "eon,en25s64"; /* 8MB */ > +

Re: [1/4, v4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-05-28 Thread Scott Wood
On Wed, Apr 15, 2015 at 11:48:08AM +0800, Shengzhou Liu wrote: > + }; > +/include/ "qoriq-i2c-0.dtsi" > +/include/ "qoriq-i2c-1.dtsi" > +/include/ "qoriq-duart-0.dtsi" > +/include/ "qoriq-duart-1.dtsi" > +/include/ "qoriq-gpio-0.dtsi" > +/include/ "qoriq-gpio-1.dtsi" > +/include/ "qoriq-gpio-2.

Re: [PATCH V2] drivers/mtd: add powernv flash MTD abstraction driver

2015-05-28 Thread Neelesh Gupta
On 05/28/2015 06:36 PM, Cyril Bur wrote: Powerpc powernv platforms allow access to certain system flash devices through a firmwarwe interface. This change adds an mtd driver for these flash devices. Minor updates from Jeremy Kerr and Joel Stanley. Signed-off-by: Cyril Bur Signed-off-by: Joel

Re: [PATCH 2/2] PCI: pciehp: Convert pciehp to be builtin only, not modular

2015-05-28 Thread Benjamin Herrenschmidt
On Thu, 2015-05-28 at 15:08 -0700, Yinghai Lu wrote: > On Wed, May 27, 2015 at 6:30 PM, Rafael J. Wysocki wrote: > > On Wednesday, May 27, 2015 02:31:49 PM Bjorn Helgaas wrote: > > For debug you can always use pcie_ports=compat and that will disable > > pciehp too. > > That will disable AER at th

Re: [PATCH 2/2] PCI: pciehp: Convert pciehp to be builtin only, not modular

2015-05-28 Thread Yinghai Lu
On Wed, May 27, 2015 at 6:30 PM, Rafael J. Wysocki wrote: > On Wednesday, May 27, 2015 02:31:49 PM Bjorn Helgaas wrote: > For debug you can always use pcie_ports=compat and that will disable > pciehp too. That will disable AER at the same time, right?.

Re: [PATCH 09/10] perf, tools: Add a --no-desc flag to perf list

2015-05-28 Thread Andi Kleen
On Thu, May 28, 2015 at 02:39:14PM +0200, Jiri Olsa wrote: > On Wed, May 27, 2015 at 02:23:28PM -0700, Sukadev Bhattiprolu wrote: > > From: Andi Kleen > > > > Add a --no-desc flag to perf list to not print the event descriptions > > that were earlier added for JSON events. This may be useful to >

Re: [PATCH 3/3] fbuffer: introduce the invert-region-x helper

2015-05-28 Thread Thomas Huth
On Thu, 28 May 2015 15:13:24 +0200 Greg Kurz wrote: > This patch simply moves the slow RX based logic from fb8-invert-screen > to board-js2x helpers and implement a fast hv-logical-memop based helper > for board-qemu. And we can drop hcall-invert-screen ! > > Signed-off-by: Greg Kurz > --- > b

Re: [PATCH 2/3] fbuffer: introduce the invert-region helper

2015-05-28 Thread Thomas Huth
On Thu, 28 May 2015 15:13:19 +0200 Greg Kurz wrote: > The inner loop in fb8-toggle-cursor can be implemented with hv-logical-memop > in board-qemu and get an incredible performance boost. > > Let's introduce a per-board helper: > - board-js2x: slow RB based, taken from current fb8-toggle-cursor

Re: [PATCH 2/4] perf: jevents: Program to convert JSON file to C style file

2015-05-28 Thread Andi Kleen
> So instead of this flat structure, there should at minimum be broad > categorization > of the various parts of the hardware they relate to: whether they relate to > the > branch predictor, memory caches, TLB caches, memory ops, offcore, decoders, > execution units, FPU ops, etc., etc. - so t

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Takashi Iwai
At Thu, 28 May 2015 16:43:12 +0200, Quentin Lambert wrote: > > On 28/05/2015 16:09, Takashi Iwai wrote: > > At Thu, 28 May 2015 15:59:50 +0200, > > Quentin Lambert wrote: > >> > >> > >> On 28/05/2015 15:52, Takashi Iwai wrote: > >>> At Thu, 28 May 2015 14:48:27 +0200, > >>> Quentin Lambert wrote:

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Quentin Lambert
On 28/05/2015 16:09, Takashi Iwai wrote: At Thu, 28 May 2015 15:59:50 +0200, Quentin Lambert wrote: On 28/05/2015 15:52, Takashi Iwai wrote: At Thu, 28 May 2015 14:48:27 +0200, Quentin Lambert wrote: You should use dev_groups instead of the dev_attrs field of struct bus_type. This converts t

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Takashi Iwai
At Thu, 28 May 2015 15:59:50 +0200, Quentin Lambert wrote: > > > > On 28/05/2015 15:52, Takashi Iwai wrote: > > At Thu, 28 May 2015 14:48:27 +0200, > > Quentin Lambert wrote: > >> You should use dev_groups instead of the dev_attrs field of struct > >> bus_type. This converts the MDIO bus code to

Re: [PATCH 3/5] mm/hugetlb: remove arch_prepare/release_hugepage from arch headers

2015-05-28 Thread Ralf Baechle
On Thu, May 28, 2015 at 01:52:35PM +0200, Dominik Dingel wrote: Acked-by: Ralf Baechle ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Quentin Lambert
On 28/05/2015 15:52, Takashi Iwai wrote: At Thu, 28 May 2015 14:48:27 +0200, Quentin Lambert wrote: You should use dev_groups instead of the dev_attrs field of struct bus_type. This converts the MDIO bus code to use the correct field. These modifications were made using Coccinelle. Signed-of

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Quentin Lambert
On 28/05/2015 15:52, Takashi Iwai wrote: At Thu, 28 May 2015 14:48:27 +0200, Quentin Lambert wrote: You should use dev_groups instead of the dev_attrs field of struct bus_type. This converts the MDIO bus code to use the correct field. These modifications were made using Coccinelle. Signed-of

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Takashi Iwai
At Thu, 28 May 2015 14:48:27 +0200, Quentin Lambert wrote: > > You should use dev_groups instead of the dev_attrs field of struct > bus_type. This converts the MDIO bus code to use the correct field. > > These modifications were made using Coccinelle. > > Signed-off-by: Quentin Lambert What's

Re: [PATCH 1/3] fbuffer: simplify address computations in fb8-toggle-cursor

2015-05-28 Thread Thomas Huth
On Thu, 28 May 2015 15:13:14 +0200 Greg Kurz wrote: > The inner loop deals with a contiguous region. It could easily be replaced > by faster board specific functions like hv-logical-memop in board-qemu. > Since hv-logical-memop does not return an address, let's have the enclosing > loop compute t

[PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-28 Thread Quentin Lambert
You should use dev_groups instead of the dev_attrs field of struct bus_type. This converts the MDIO bus code to use the correct field. These modifications were made using Coccinelle. Signed-off-by: Quentin Lambert --- sound/aoa/soundbus/core.c |3 ++- sound/aoa/soundbus/soundbus.h |

[PATCH 3/3] fbuffer: introduce the invert-region-x helper

2015-05-28 Thread Greg Kurz
This patch simply moves the slow RX based logic from fb8-invert-screen to board-js2x helpers and implement a fast hv-logical-memop based helper for board-qemu. And we can drop hcall-invert-screen ! Signed-off-by: Greg Kurz --- board-js2x/slof/helper.fs |5 + board-qemu/slof

[PATCH 2/3] fbuffer: introduce the invert-region helper

2015-05-28 Thread Greg Kurz
The inner loop in fb8-toggle-cursor can be implemented with hv-logical-memop in board-qemu and get an incredible performance boost. Let's introduce a per-board helper: - board-js2x: slow RB based, taken from current fb8-toggle-cursor - board-qemu: faster hv-logical-memop based With standard graph

[PATCH 1/3] fbuffer: simplify address computations in fb8-toggle-cursor

2015-05-28 Thread Greg Kurz
The inner loop deals with a contiguous region. It could easily be replaced by faster board specific functions like hv-logical-memop in board-qemu. Since hv-logical-memop does not return an address, let's have the enclosing loop compute the next line address by itself and drop the confusing "char-wi

[PATCH 0/3] fbuffer: performance improvement + code cleanup

2015-05-28 Thread Greg Kurz
If booted in frame buffer mode, board-qemu currently calls hv-logical-load and hv-logical-store for every pixel when enabling or disabling the cursor. This is suboptimal when writing one char at a time to the console since terminal-write always toggles the cursor. And this is precisely what grub is

[PATCH] cxl: Set up and enable PSL Timebase

2015-05-28 Thread Philippe Bergheaud
This patch configures the PSL Timebase function and enables it, after the CAPP has been initialized by OPAL. Failures are reported and ignored. --- drivers/misc/cxl/cxl.h |5 + drivers/misc/cxl/pci.c | 35 +++ 2 files changed, 40 insertions(+), 0 deletions

[PATCH V2] drivers/mtd: add powernv flash MTD abstraction driver

2015-05-28 Thread Cyril Bur
Powerpc powernv platforms allow access to certain system flash devices through a firmwarwe interface. This change adds an mtd driver for these flash devices. Minor updates from Jeremy Kerr and Joel Stanley. Signed-off-by: Cyril Bur Signed-off-by: Joel Stanley Signed-off-by: Jeremy Kerr --- V2:

Re: [PATCH 2/4] perf: jevents: Program to convert JSON file to C style file

2015-05-28 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > On Wed, May 27, 2015 at 11:59:04PM +0900, Namhyung Kim wrote: > > > Hi Andi, > > > > > > On Wed, May 27, 2015 at 11:40 PM, Andi Kleen wrote: > > > >> So we build tables of all models in the architecture, and choose > > > >> matching one when

Re: [PATCH 03/10] Use pmu_events_map table to create event aliases

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:22PM -0700, Sukadev Bhattiprolu wrote: > At run time, (i.e when perf is starting up), locate the specific events > table for the current CPU and create event aliases for each of the events. > > Use these aliases to parse user's specified perf event. > > Signed-off-by

Re: [PATCH 0/10] perf: Add support for PMU events in JSON format

2015-05-28 Thread Jiri Olsa
On Thu, May 28, 2015 at 01:42:06PM +0200, Jiri Olsa wrote: SNIP > > g...@github.com:sukadev/linux.git #branch json-v11 > > could you please also pull in Andi's changes with x86 events? > it seems to be under his tree branch perf/builtin-json-2, > follwing commits: > > b68aa7b0d4e4 perf, too

Re: [PATCH 04/10] perf, tools: Handle header line in mapfile

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:23PM -0700, Sukadev Bhattiprolu wrote: > From: Andi Kleen > > Support a header line in the mapfile.csv, to match the existing > mapfiles > > Signed-off-by: Andi Kleen > --- > tools/perf/pmu-events/jevents.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --

Re: [PATCH 09/10] perf, tools: Add a --no-desc flag to perf list

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:28PM -0700, Sukadev Bhattiprolu wrote: > From: Andi Kleen > > Add a --no-desc flag to perf list to not print the event descriptions > that were earlier added for JSON events. This may be useful to > get a less crowded listing. > > It's still default to print descrip

[PATCH 0/5] Remove s390 sw-emulated hugepages and cleanup

2015-05-28 Thread Dominik Dingel
Hi everyone, there is a potential bug with KVM and hugetlbfs if the hardware does not support hugepages (EDAT1). We fix this by making EDAT1 a hard requirement for hugepages and therefore removing and simplifying code. As s390, with the sw-emulated hugepages, was the only user of arch_prepare/r

[PATCH 2/5] mm/hugetlb: remove unused arch hook prepare/release_hugepage

2015-05-28 Thread Dominik Dingel
With s390 dropping support for emulated hugepages, the last user of arch_prepare_hugepage and arch_release_hugepage is gone. Acked-by: Martin Schwidefsky Signed-off-by: Dominik Dingel --- mm/hugetlb.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c ind

[PATCH 5/5] s390/mm: forward check for huge pmds to pmd_large()

2015-05-28 Thread Dominik Dingel
We already do the check in pmd_large, so we can just forward the call. Acked-by: Martin Schwidefsky Signed-off-by: Dominik Dingel --- arch/s390/mm/hugetlbpage.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/s390/mm/hugetlbpage.c b/arch/s390/mm/hugetlbpage.c index

[PATCH 3/5] mm/hugetlb: remove arch_prepare/release_hugepage from arch headers

2015-05-28 Thread Dominik Dingel
Nobody used these hooks so they were removed from common code, and can now be removed from the architectures. Acked-by: Martin Schwidefsky Signed-off-by: Dominik Dingel --- arch/arm/include/asm/hugetlb.h | 9 - arch/arm64/include/asm/hugetlb.h | 9 - arch/ia64/include/asm/

[PATCH 4/5] s390/hugetlb: remove dead code for sw emulated huge pages

2015-05-28 Thread Dominik Dingel
We now support only hugepages on hardware with EDAT1 support. So we remove the prepare/release_hugepage hooks and simplify set_huge_pte_at and huge_ptep_get. Acked-by: Martin Schwidefsky Signed-off-by: Dominik Dingel --- arch/s390/include/asm/hugetlb.h | 3 --- arch/s390/mm/hugetlbpage.c

[PATCH 1/5] s390/mm: make hugepages_supported a boot time decision

2015-05-28 Thread Dominik Dingel
By dropping support for hugepages on machines which do not have the hardware feature EDAT1, we fix a potential s390 KVM bug. The bug would happen if a guest is backed by hugetlbfs (not supported currently), but does not get pagetables with PGSTE. This would lead to random memory overwrites. Acke

Re: [PATCH 2/4] perf: jevents: Program to convert JSON file to C style file

2015-05-28 Thread Ingo Molnar
* Jiri Olsa wrote: > On Wed, May 27, 2015 at 11:59:04PM +0900, Namhyung Kim wrote: > > Hi Andi, > > > > On Wed, May 27, 2015 at 11:40 PM, Andi Kleen wrote: > > >> So we build tables of all models in the architecture, and choose > > >> matching one when compiling perf, right? Can't we do that

Re: [PATCH 02/10] jevents: Program to convert JSON file to C style file

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:21PM -0700, Sukadev Bhattiprolu wrote: SNIP > > $(PERF_IN): $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h FORCE > $(Q)$(MAKE) $(build)=perf > > -$(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) > - $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $(PERF_IN) $(LIBS) -o

Re: [PATCH 02/10] jevents: Program to convert JSON file to C style file

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:21PM -0700, Sukadev Bhattiprolu wrote: SNIP > > diff --git a/tools/perf/pmu-events/Build b/tools/perf/pmu-events/Build > new file mode 100644 > index 000..7e0c85c > --- /dev/null > +++ b/tools/perf/pmu-events/Build > @@ -0,0 +1,10 @@ > +jevents-y+= json.o j

Re: [PATCH 2/4] perf: jevents: Program to convert JSON file to C style file

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 11:59:04PM +0900, Namhyung Kim wrote: > Hi Andi, > > On Wed, May 27, 2015 at 11:40 PM, Andi Kleen wrote: > >> So we build tables of all models in the architecture, and choose > >> matching one when compiling perf, right? Can't we do that when > >> building the tables? IO

Re: [PATCH 0/10] perf: Add support for PMU events in JSON format

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:19PM -0700, Sukadev Bhattiprolu wrote: SNIP > - All known events tables for the architecture are included in the > perf binary. > > - Inconsistencies between the JSON files and the mapfile can result > in build failures in perf (although

Re: [PATCH 0/10] perf: Add support for PMU events in JSON format

2015-05-28 Thread Jiri Olsa
On Wed, May 27, 2015 at 02:23:19PM -0700, Sukadev Bhattiprolu wrote: SNIP > > At run time, perf identifies the specific events table, based on the model > of the CPU perf is running on. Perf uses that table to create event aliases > which would allow the user to specify the event as: > >

Re: [PATCH]perf/core: remove newline char in perf_event_sysfs_show

2015-05-28 Thread Peter Zijlstra
On Thu, May 28, 2015 at 02:59:26PM +0530, Madhavan Srinivasan wrote: > When a event also carries a event.unit file, having newline char > will make perf userspace tool to print the event name in > the next line when dumping counter data. And changing the kernel will break the API (it includes a '\

Re: [PATCH] hvc_xen: avoid uninitialized variable warning

2015-05-28 Thread David Vrabel
On 28/05/15 09:28, Jan Beulich wrote: > Older compilers don't recognize that "v" can't be used uninitialized; > other code using hvm_get_parameter() zeros the value too, so follow > suit here. Applied to for-linus-4.2, thanks. David ___ Linuxppc-dev mai

[PATCH]perf/core: remove newline char in perf_event_sysfs_show

2015-05-28 Thread Madhavan Srinivasan
When a event also carries a event.unit file, having newline char will make perf userspace tool to print the event name in the next line when dumping counter data. Cc: Ingo Molnar Cc: Jiri Olsa Cc: Sukadev Bhattiprolu Cc: Michael Ellerman Signed-off-by: Madhavan Srinivasan --- kernel/events/c

Re: [Cbe-oss-dev] [PATCH] powerpc/cell: Drop cbe-oss-dev mailing list from MAINTAINERS

2015-05-28 Thread Christoph Arenz
> You bet, or hell let's just have *another* party, the "cbe-oss-dead" party. > cheers Aah.. those were the days -- let's raise our glasses! Greetings to all who were involved in the project -- hope you are all doing well! Kind Regards / Mit freundlichen Grüßen Christoph Arenz ___

[PATCH] hvc_xen: avoid uninitialized variable warning

2015-05-28 Thread Jan Beulich
Older compilers don't recognize that "v" can't be used uninitialized; other code using hvm_get_parameter() zeros the value too, so follow suit here. Signed-off-by: Jan Beulich --- drivers/tty/hvc/hvc_xen.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- 4.1-rc5/drivers/tty

Re: [alsa-devel] [RFC] sound: ppc: keywest: check if DEQ was already instantiated

2015-05-28 Thread Takashi Iwai
At Tue, 26 May 2015 02:19:34 -0700, Dan DeVoto wrote: > > Hi, > > I applied this patch ("check if DEQ was already instantiated") on top of > "sound: ppc: keywest: drop using attach adapter" and sound works great. > Everything works as expected. Below is my dmesg output. Very well, shall I merg