[PATCH v4 1/2] perf: Move arch specific code into separate arch directory

2010-04-19 Thread Ian Munsie
From: Ian Munsie The perf userspace tool included some architecture specific code to map registers from the DWARF register number into the names used by the regs and stack access API. This patch moves the architecture specific code out into a separate arch/x86 directory along with the infrastruc

[PATCH v4] perf: Split out arch specific code & improve PowerPC perf probe support

2010-04-19 Thread Ian Munsie
Here's the 4th version of the perf probe PowerPC support and perf arch specific infrastructure patches rebased on top of tip/perf/core. Changelog V4: * Rebased on top of tip/perf/core (with powerpc/next merged) and resolved merge conflicts. * Move the check for DWARF support prior to the inclus

Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-04-19 Thread Christian Kujau
On Tue, 20 Apr 2010 at 05:19, Rafael J. Wysocki wrote: > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15589 > Subject : 2.6.34-rc1: Badness at fs/proc/generic.c:316 > Submitter : Christian Kujau > Date : 2010-03-13 23:53 (38 days old) > Message-ID: > R

[git pull] Please pull powerpc.git merge branch

2010-04-19 Thread Kumar Gala
(Mostly defconfig updates, but a few minor bug fixes). The following changes since commit 01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f: Linus Torvalds (1): Linux 2.6.34-rc5 are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge Anto

Re: [PATCH 1/2] powerpc: 83xx: configure SIL SATA driver in 83xx-wide defconfig

2010-04-19 Thread Kumar Gala
On Apr 15, 2010, at 6:59 PM, Kim Phillips wrote: > to enable the storage controller on earlier rev. mpc834x itx boards. > > Signed-off-by: Kim Phillips > --- > arch/powerpc/configs/mpc83xx_defconfig |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) applied to merge. - k ___

Re: [PATCH 2/2] powerpc: mpc8xxx defconfigs: turn off SYSFS_DEPRECATED

2010-04-19 Thread Kumar Gala
On Apr 15, 2010, at 6:59 PM, Kim Phillips wrote: > a recent fc11 udev update on an 83xx board made root console login > disappear: > > Updating : udev-141-8.fc11.ppc32/83 > udev: starting version 141 > udev: deprecated sysfs layout; update the kernel or

Re: [PATCH V2] fsl_booke: Correct test for MMU_FTR_BIG_PHYS

2010-04-19 Thread Kumar Gala
On Apr 12, 2010, at 11:21 AM, Becky Bruce wrote: > The code was looking for this in cpu_features, not mmu_features. Fix this. > > Signed-off-by: Becky Bruce > --- > Switched to mmu_has_feature. > > arch/powerpc/mm/fsl_booke_mmu.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions

Re: [PATCH] powerpc/85xx/86xx: Fix build w/ CONFIG_PCI=n

2010-04-19 Thread Kumar Gala
On Apr 16, 2010, at 2:07 PM, Anton Vorontsov wrote: > Currently some MPC85xx and MPC86xx boards fail to build without > CONFIG_PCI: > > arch/powerpc/platforms/fsl_uli1575.c: In function 'quirk_final_uli5249': > arch/powerpc/platforms/fsl_uli1575.c:234: error: implicit declaration of > function

Re: [PATCH v2] PowerPC/FSL/CPM: Configure clock correctly for SCC

2010-04-19 Thread Kumar Gala
On Apr 3, 2010, at 9:11 AM, Wolfgang Ocker wrote: > Some board setup functions call cpm1_clk_setup() or cmp2_clk_setup() > to configure the clock source. > > If CPM_CLK_RTX has been used for the parameter mode, > the clock has been configured only for TX but not for RX. > > With this patch CPM_

Re: [PATCH 2/2] powerpc: 83xx: enable EPOLL syscall in defconfig

2010-04-19 Thread Kumar Gala
On Apr 5, 2010, at 11:14 AM, Kim Phillips wrote: > 83xx users looking to run apache will experience this error: > > /var/log/apache2/error.log: > [emerg] (38)Function not implemented: Couldn't create pollset in child; check > system or user limits > > enabling CONFIG_EPOLL in kernel config fix

Re: [PATCH 1/2] powerpc: 83xx: add RTC drivers in 83xx defconfig

2010-04-19 Thread Kumar Gala
On Apr 5, 2010, at 11:13 AM, Kim Phillips wrote: > 83xx boards typically have the DS1307 or DS1374: > > git grep RTC_DRV arch/powerpc/configs/*83* | grep "=y" > arch/powerpc/configs/83xx/asp8347_defconfig:CONFIG_RTC_DRV_DS1374=y > arch/powerpc/configs/83xx/mpc8313_rdb_defconfig:CONFIG_RTC_DRV_DS

Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-19 Thread Li Yang
On Mon, Apr 19, 2010 at 8:19 PM, Kumar Gala wrote: > > On Apr 18, 2010, at 11:50 PM, Li Yang wrote: > >> On 4/19/2010 10:40 AM, Michael Ellerman wrote: >>> On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: >>> From: Zhao Chenhui In fsl_of_msi_probe(), the virt_msir's chip_data have

Re: [PATCH 1/5] sched: fix capacity calculations for SMT4

2010-04-19 Thread Michael Neuling
In message <1271688543.1488.253.ca...@laptop> you wrote: > On Mon, 2010-04-19 at 07:34 +1000, Michael Neuling wrote: > > > Are there any numbers available on how much they gain? It might be worth > > > to stick in real numbers instead of this alleged 15%. > > > > I get some gain numbers but obviou

Pending interrupts not always replayed

2010-04-19 Thread Guillaume Knispel
Hi, >From reading the code (kernel/irq stuffs), it seems that at least some handle_edge_irq based interrupts are not replayed when enabling if desc->chip->retrigger == NULL and on a platform where CONFIG_HARDIRQS_SW_RESEND is not set (which for now is only defined for (some?) arm and avr32). Depen

Re: [PATCH 1/5] sched: fix capacity calculations for SMT4

2010-04-19 Thread Peter Zijlstra
On Mon, 2010-04-19 at 07:34 +1000, Michael Neuling wrote: > > Are there any numbers available on how much they gain? It might be worth > > to stick in real numbers instead of this alleged 15%. > > I get some gain numbers but obviously the workloads makes a huge > difference. From a scheduler pers

Re: Pending interrupts not always replayed

2010-04-19 Thread Guillaume Knispel
On Sun, 18 Apr 2010 21:14:12 +0200 (CEST) Thomas Gleixner wrote: > On Sun, 18 Apr 2010, Guillaume Knispel wrote: > > Now everything seems to work fine: my device was not previously not > > interrupting anymore after typically 1 or 2 minutes (because the > > interrupt signal stays at level low unt

Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-19 Thread Kumar Gala
On Apr 18, 2010, at 11:50 PM, Li Yang wrote: > On 4/19/2010 10:40 AM, Michael Ellerman wrote: >> On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: >> >>> From: Zhao Chenhui >>> >>> In fsl_of_msi_probe(), the virt_msir's chip_data have been stored >>> the pointer to struct mpic. We add a struc

[PATCH 2/2] ehea: fix possible DLPAR/mem deadlock

2010-04-19 Thread Thomas Klein
Force serialization of userspace-triggered DLPAR/mem operations Signed-off-by: Thomas Klein --- Patch created against 2.6.34-rc4 diff -Nurp linux-2.6.34-rc4.orig//drivers/net/ehea/ehea.h linux-2.6.34-rc4//drivers/net/ehea/ehea.h --- linux-2.6.34-rc4.orig//drivers/net/ehea/ehea.h 2010-04-

[PATCH 1/2] ehea: error handling improvement

2010-04-19 Thread Thomas Klein
Reset a port's resources only if they're actually in an error state Signed-off-by: Thomas Klein --- Patch created against 2.6.34-rc4 diff -Nurp linux-2.6.34-rc4.orig//drivers/net/ehea/ehea_main.c linux-2.6.34-rc4//drivers/net/ehea/ehea_main.c --- linux-2.6.34-rc4.orig//drivers/net/ehea/ehea_m