Re: [PATCH net-next] net: ucc_geth: Omit check for multicast bit in netdev_for_each_mc_addr

2011-06-30 Thread David Miller
From: Tobias Klauser Date: Wed, 29 Jun 2011 14:16:33 +0200 > There is no need to check for the address being a multicast address in > the netdev_for_each_mc_addr loop, so remove it. > > Signed-off-by: Tobias Klauser Applied. ___ Linuxppc-dev mailing

[PATCH] 4xx: Add check_link to struct ppc4xx_pciex_hwops

2011-06-30 Thread Tony Breeds
All current pcie controllers unconditionally use SDR to check the link and poll for reset. Refactor the code to include device reset in the port_init_hw() op and add a new check_link() op. This will make room fro new controllers that do not use SDR for these operations. Tested on 460ex. Signed-

Re: [PATCH 1/2] mtd/nand : don't free the global data fsl_lbc_ctrl_dev->nand in fsl_elbc_chip_remove()

2011-06-30 Thread Artem Bityutskiy
On Thu, 2011-06-30 at 11:26 -0500, Scott Wood wrote: > If the NULL assignment is dropped, consider what happens if the > fsl_elbc_nand module is removed then reinserted. On reinsertion, it > will > see a non-NULL fsl_lbc_ctrl_dev->nand, and will skip allocating a new > one. > Then you're referenci

[PATCH] powerpc/hvsi: Fix conflict with old HVSI driver

2011-06-30 Thread Benjamin Herrenschmidt
A mix of thinko & mismerge on my side caused a problem where both the new hvsi_lib and the old hvsi driver gets compiled and try to define symbols with the same name. This fixes it by renaming the hvsi_lib exported symbols. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/hvsi

Re: linux-next: build failure after merge of the powerpc tree

2011-06-30 Thread Benjamin Herrenschmidt
p.h:6: Error: Unrecognized opcode: `extern' > make[2]: *** [arch/powerpc/kernel/head_64.o] Error 1 > > Caused by commit a9c0f41b3a64 ("powerpc: Add printk companion for > ppc_md.progress"). Clearly not build tested for 64 but powerpc :-( > > I have used the version o

linux-next: build failure after merge of the powerpc tree

2011-06-30 Thread Stephen Rothwell
1 Caused by commit a9c0f41b3a64 ("powerpc: Add printk companion for ppc_md.progress"). Clearly not build tested for 64 but powerpc :-( I have used the version of the powerpc tree from next-20110630 for today. -- Cheers, Stephen Rothwells...@c

Re: [PATCH 7/7] [v6] drivers/virt: introduce Freescale hypervisor management driver

2011-06-30 Thread Tabi Timur-B04825
On Thu, Jun 9, 2011 at 4:04 PM, Arnd Bergmann wrote: > On Thursday 09 June 2011 22:52:06 Timur Tabi wrote: >> Add the drivers/virt directory, which houses drivers that support >> virtualization environments, and add the Freescale hypervisor management >> driver. >> >> Signed-off-by: Timur Tab

[PATCH] powerpc: Use -mtraceback=no

2011-06-30 Thread Anton Blanchard
gcc 4.7 will be more strict about parsing the -mtraceback option: gcc: error: unrecognized argument in option '-mtraceback=none' gcc: note: valid arguments to '-mtraceback=' are: full no part gcc used to do a 2 char compare so both "no" and "none" would match. Switch to using -mtraceback=no sh

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Benjamin Herrenschmidt
> Regarding that. There's another option - the ioctl code embeds the > structure size. So if we extend the ioctl parsing to pad up (or > truncate down) from the user's size to our size, and similarly in the > other direction, we can get away from this ugliness. I don't like relying on that m

broken g5?

2011-06-30 Thread kevin diggs
Hi, I would like to figure out if my G5 is broken. And if so how to fix it? As I have previously posted it behaves strangely when using the cpufreq driver. Anyone have suggestions to figure out what is going on? Thanks! kevin ___ Linuxppc-dev mailing

Re: [PATCH 2/5] hugetlb: add phys addr to struct huge_bootmem_page

2011-06-30 Thread Becky Bruce
On Jun 28, 2011, at 4:39 PM, Benjamin Herrenschmidt wrote: > On Tue, 2011-06-28 at 14:54 -0500, Becky Bruce wrote: >> struct page *alloc_huge_page_node(struct hstate *h, int nid); >> diff --git a/mm/hugetlb.c b/mm/hugetlb.c >> index 6402458..2db81ea 100644 >> --- a/mm/hugetlb.c >> +++ b/mm/hugetl

Re: [PATCH 2/2] Add cpufreq driver for Momentum Maple boards

2011-06-30 Thread Dave Jones
On Thu, Jun 30, 2011 at 01:23:03PM -0500, kevin diggs wrote: > Hi, > > On Wed, Jun 29, 2011 at 3:58 PM, Dmitry Eremin-Solenikov > wrote: > > > > drivers/cpufreq/powerpc. However my current version (as suggested by Ben) > > goes directly to drivers/cpufreq > > > Uh ... Just curious ... wh

Re: [PATCH 2/2] Add cpufreq driver for Momentum Maple boards

2011-06-30 Thread kevin diggs
Hi, On Wed, Jun 29, 2011 at 3:58 PM, Dmitry Eremin-Solenikov wrote: > > drivers/cpufreq/powerpc. However my current version (as suggested by Ben) > goes directly to drivers/cpufreq > Uh ... Just curious ... why is arch specific code now being put outside of the arch directories? When I wrote the

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Alexander Graf
On 30.06.2011, at 18:00, Avi Kivity wrote: > On 06/30/2011 06:22 PM, Alexander Graf wrote: >>> Regarding that. There's another option - the ioctl code embeds the >>> structure size. So if we extend the ioctl parsing to pad up (or truncate >>> down) from the user's size to our size, and simil

Re: [PATCH 1/2] mtd/nand : don't free the global data fsl_lbc_ctrl_dev->nand in fsl_elbc_chip_remove()

2011-06-30 Thread Scott Wood
On Thu, 30 Jun 2011 14:53:13 +0300 Artem Bityutskiy wrote: > On Wed, 2011-06-29 at 11:45 -0500, Scott Wood wrote: > > If we're freeing fsl_lbc_ctrl, we'd better get rid of references to it... > > Yes, on the one hand this is a good defensive programming practice, on > the other hand it hides dou

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Avi Kivity
On 06/30/2011 06:22 PM, Alexander Graf wrote: Regarding that. There's another option - the ioctl code embeds the structure size. So if we extend the ioctl parsing to pad up (or truncate down) from the user's size to our size, and similarly in the other direction, we can get away from this ugl

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Alexander Graf
On 06/30/2011 05:16 PM, Avi Kivity wrote: On 06/30/2011 06:04 PM, Alexander Graf wrote: +4.64 KVM_PPC_SET_PLATFORM + +Capability: none +Architectures: powerpc +Type: vm ioctl +Parameters: struct kvm_ppc_set_platform (in) +Returns: 0, or -1 on error + +This is used by userspace to tell KVM what s

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Avi Kivity
On 06/30/2011 06:04 PM, Alexander Graf wrote: +4.64 KVM_PPC_SET_PLATFORM + +Capability: none +Architectures: powerpc +Type: vm ioctl +Parameters: struct kvm_ppc_set_platform (in) +Returns: 0, or -1 on error + +This is used by userspace to tell KVM what sort of platform it should +emulate. The re

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Alexander Graf
On 06/29/2011 12:41 PM, Paul Mackerras wrote: This new ioctl allows userspace to specify what paravirtualization interface (if any) KVM should implement, what architecture version the guest virtual processors should conform to, and whether the guest can be permitted to use a real supervisor mode.

Re: [PATCH 1/2] mtd/nand : don't free the global data fsl_lbc_ctrl_dev->nand in fsl_elbc_chip_remove()

2011-06-30 Thread Artem Bityutskiy
On Wed, 2011-06-29 at 11:45 -0500, Scott Wood wrote: > On Wed, 29 Jun 2011 09:20:25 +0300 > Artem Bityutskiy wrote: > > > On Tue, 2011-06-28 at 09:50 +0800, b35...@freescale.com wrote: > > > From: Liu Shuo > > > > > > The global data fsl_lbc_ctrl_dev->nand don't have to be freed in > > > fsl_el

Re: [PATCH 2/2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-06-30 Thread Artem Bityutskiy
On Wed, 2011-06-29 at 11:43 -0500, Scott Wood wrote: > On Wed, 29 Jun 2011 09:22:04 +0300 > Artem Bityutskiy wrote: > > > On Tue, 2011-06-28 at 09:50 +0800, b35...@freescale.com wrote: > > > + /* Hack for supporting the flash chip whose writesize is > > > + * larger than 2K bytes. > > > + */ >

Problem with a driver in Linux-2.6.33

2011-06-30 Thread MohanReddy koppula
Hi, I am writing a device driver for DSP Embedded Line and Port Interface Controller PEB 20570 (Delic) from infineon. I am using MPC885 custom board. First we wrote a driver without OS and tested transmission and reception, they are working fine. But when I port the same code to the Linux-2.6.33,

Re: [RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

2011-06-30 Thread Avi Kivity
On 06/29/2011 02:58 PM, Josh Boyer wrote: >> This makes me wonder if a similar thing might eventually be usable for >> running an i686 or x32 guest on an x86_64 KVM host. I have no idea if >> that is even theoretically possible, but if it is it might be better to >> rename the ioctl to be ar

Re: linux-next: build failure after merge of the final tree (powerpc tree related)

2011-06-30 Thread Benjamin Herrenschmidt
On Thu, 2011-06-30 at 16:36 +1000, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/tty/hvc/hvsi.c:701:12: error: conflicting types for 'hvsi_put_chars' > arch/powerpc/include/asm/hvsi.h:92:12: note

Re: [BUG?]3.0-rc4+ftrace+kprobe: set kprobe at instruction 'stwu' lead to system crash/freeze

2011-06-30 Thread Yong Zhang
On Wed, Jun 29, 2011 at 2:46 PM, Ananth N Mavinakayanahalli wrote: > > Certain functions are off limits for probing -- look for __kprobe Yup. > annotations in the kernel. Some such functions are arch specific, but > show_interrupts() would definitely not be one of them. It works fine on > my (64