Re: oprofile callgraph support missing for common cpus

2011-11-18 Thread Joakim Tjernlund
Robert Richter robert.rich...@amd.com wrote on 2011/11/18 00:20:27: On 17.11.11 22:27:46, Joakim Tjernlund wrote: For my e300c2 cpu both if's are false and I don't get support for callgraph/backtrace support. Moving the ops-backtrace = op_powerpc_backtrace; to the top enables

Re: oprofile callgraph support missing for common cpus

2011-11-18 Thread Joakim Tjernlund
Robert Richter robert.rich...@amd.com wrote on 2011/11/18 00:20:27: On 17.11.11 22:27:46, Joakim Tjernlund wrote: For my e300c2 cpu both if's are false and I don't get support for callgraph/backtrace support. Moving the ops-backtrace = op_powerpc_backtrace; to the top enables

Re: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled by KEXEC patch

2011-11-18 Thread Zhao Chenhui
On Wed, Nov 16, 2011 at 12:42:14PM -0600, Scott Wood wrote: On 11/16/2011 03:55 AM, Zhao Chenhui wrote: From: Li Yang le...@freescale.com The timebase sync is not only necessary when using KEXEC. It should also be used by normal boot up and cpu hotplug. Remove the ifdef added by the

Re: [RFC PATCH 0/11] KVM: PPC: Update Book3S HV memory handling

2011-11-18 Thread Alexander Graf
On 16.11.2011, at 23:50, Paul Mackerras wrote: This series of patches updates the Book3S-HV KVM code that manages the guest hashed page table (HPT) to enable several things: * MMIO emulation and MMIO pass-through * Use of small pages (4kB or 64kB, depending on config) to back the guest

[PATCH 2/3] powerpc/85xx: add pixis indirect mode device tree node

2011-11-18 Thread Timur Tabi
The Freescale P1022 has a unique pin muxing feature where the DIU video controller's video signals are muxed with 24 of the local bus address signals. When the DIU is enabled, the bulk of the local bus is disabled, preventing access to memory-mapped devices like NOR flash and the pixis FPGA. In

[PATCH 3/3] [v2] powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode

2011-11-18 Thread Timur Tabi
When the P1022's DIU video controller is active, the pixis must be accessed in indirect mode, which uses localbus chip select addresses. Switching between the DVI and LVDS monitor ports is handled by the pixis, so that switching needs to be done via indirect mode. This has the side-effect of no

Re: [PATCH v2 1/7] powerpc/85xx: re-enable timebase sync disabled by KEXEC patch

2011-11-18 Thread Scott Wood
On Fri, Nov 18, 2011 at 08:35:02AM -0600, Kumar Gala wrote: On Nov 16, 2011, at 12:42 PM, Scott Wood wrote: On 11/16/2011 03:55 AM, Zhao Chenhui wrote: From: Li Yang le...@freescale.com The timebase sync is not only necessary when using KEXEC. It should also be used by normal boot

Re: [PATCH 2/2] powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode

2011-11-18 Thread Scott Wood
On Fri, Nov 18, 2011 at 11:00:04AM -0600, Timur Tabi wrote: Scott Wood wrote: How do I update the device tree from platform code? prom_update_property() I assume this needs to be called after the DT has been unflattened, since it takes a device_node* as a parameter. Is there any way I

Re: [PATCH 2/2] powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode

2011-11-18 Thread Timur Tabi
Scott Wood wrote: What's wrong with doing it in setup_arch()? Well, I was hoping to encapsulate everything into one function -- the early_param() callback function. But I guess that's not going to work. -- Timur Tabi Linux kernel developer at Freescale

Re: [RFC PATCH 0/11] KVM: PPC: Update Book3S HV memory handling

2011-11-18 Thread Paul Mackerras
On Fri, Nov 18, 2011 at 02:57:11PM +0100, Alexander Graf wrote: This touches areas that I'm sure non-PPC people would want to see as well. Could you please CC kvm@vger too next time? Avi, Marcelo, mind to review some of the bits in this patch set? :) I did cc the last patch (the one that

Re: [PATCH 2/2] powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode

2011-11-18 Thread Stephen Rothwell
Hi Timur, On Thu, 17 Nov 2011 16:09:17 -0600 Timur Tabi ti...@freescale.com wrote: Stephen Rothwell wrote: + struct device_node *indirect_node = NULL; + struct ccsr_guts_85xx __iomem *guts = NULL; + u8 __iomem *lbc_lcs0_ba = NULL; + u8 __iomem *lbc_lcs1_ba = NULL; And if you