On 12.01.2012, at 07:44, Benjamin Herrenschmidt
wrote:
> On Tue, 2012-01-10 at 04:11 +0100, Alexander Graf wrote:
>> This is what book3s does:
>>
>>case EMULATE_FAIL:
>>printk(KERN_CRIT "%s: emulation at %lx failed
>> (%08x)\n",
>>
On Tue, 2012-01-10 at 04:11 +0100, Alexander Graf wrote:
> This is what book3s does:
>
> case EMULATE_FAIL:
> printk(KERN_CRIT "%s: emulation at %lx failed
> (%08x)\n",
>__func__, kvmppc_get_pc(vcpu),
> kvmppc_get_last_inst(vc
On Mon, Jan 09, 2012 at 04:35:52PM +0100, Alexander Graf wrote:
> Paul, does this work for you? IIRC you need this code to be
> available from real mode, which powerpc.c isn't in, right?
We don't need to allocated LPIDs from real mode, so it should be OK.
book3s_64_mmu_hv.c is not real mode code,
On Wed, 2012-01-11 at 20:37 -0200, Thadeu Lima de Souza Cascardo wrote:
> On Tue, Jan 10, 2012 at 03:05:35PM -, Benjamin Herrenschmidt wrote:
> > We just replaced the pseries platform idle loops with a cpuidle backend,
> > however that means that you won't get any power saving and won't return
On Tue, Jan 10, 2012 at 03:05:35PM -, Benjamin Herrenschmidt wrote:
> We just replaced the pseries platform idle loops with a cpuidle backend,
> however that means that you won't get any power saving and won't return
> any unused idle time to the hypervisor unless cpuidle is enabled.
>
> Thus
On 01/11/2012 01:23 PM, Grant Likely wrote:
> On Wed, Jan 11, 2012 at 1:50 PM, Grant Likely
> wrote:
>> On Wed, Jan 11, 2012 at 2:39 PM, Randy Dunlap wrote:
>>> On 01/11/2012 12:22 PM, Grant Likely wrote:
Here are the patches that I've been working on to finish up the creation
of the g
On Mon, 2012-01-09 at 11:38 -0700, Stephen Warren wrote:
> This hooks dtc into Kbuild's dependency system.
>
> Thus, for example, "make dtbs" will rebuild tegra-harmony.dtb if only
> tegra20.dtsi has changed yet tegra-harmony.dts has not. The previous
> lack of this feature recently caused me to h
On Wed, Jan 11, 2012 at 2:15 PM, Rob Herring wrote:
> Grant,
>
> On 01/11/2012 02:22 PM, Grant Likely wrote:
>> This patch removes the simplistic implementation of irq_domains and enables
>> the powerpc infrastructure for all irq_domain users. The powerpc
>> infrastructure includes support for co
On Wed, Jan 11, 2012 at 1:50 PM, Grant Likely wrote:
> On Wed, Jan 11, 2012 at 2:39 PM, Randy Dunlap wrote:
>> On 01/11/2012 12:22 PM, Grant Likely wrote:
>>> Here are the patches that I've been working on to finish up the creation
>>> of the generic irq_domain infrastructure.
>>
>> Does this fix
Grant,
On 01/11/2012 02:22 PM, Grant Likely wrote:
> This patch removes the simplistic implementation of irq_domains and enables
> the powerpc infrastructure for all irq_domain users. The powerpc
> infrastructure includes support for complex mappings between Linux and
> hardware irq numbers, and
On Wed, Jan 11, 2012 at 2:39 PM, Randy Dunlap wrote:
> On 01/11/2012 12:22 PM, Grant Likely wrote:
>> Here are the patches that I've been working on to finish up the creation
>> of the generic irq_domain infrastructure.
>
> Does this fix the linux-next build problems that I have reported?
>
> http
On 01/11/2012 12:22 PM, Grant Likely wrote:
> Here are the patches that I've been working on to finish up the creation
> of the generic irq_domain infrastructure.
Does this fix the linux-next build problems that I have reported?
https://lkml.org/lkml/2012/1/9/318
> kernel/irq/irqdomain.c
irq_domain_add_simple() was a stop-gap measure until complete irq_domain
support was complete. This patch removes the irq_domain_add_simple()
interface.
Signed-off-by: Grant Likely
---
arch/arm/mach-imx/imx51-dt.c|4 ++--
arch/arm/mach-imx/imx53-dt.c|4 ++--
arch/arm/mac
This patch removes the simplistic implementation of irq_domains and enables
the powerpc infrastructure for all irq_domain users. The powerpc
infrastructure includes support for complex mappings between Linux and
hardware irq numbers, and can manage allocation of irq_descs.
This patch also convert
Each revmap type has different arguments for setting up the revmap.
This patch splits up the generator functions so that each revmap type
can do its own setup and the user doesn't need to keep track of how
each revmap type handles the arguments.
Signed-off-by: Grant Likely
Cc: Benjamin Herrenschm
Add support for a legacy mapping where irq = (hwirq - first_hwirq + first_irq)
so that a controller driver can allocate a fixed range of irq_descs and use
a simple calculation to translate back and forth between linux and hw irq
numbers. This is needed to use an irq_domain with many of the ARM int
No functional changes. Replaces non-exported references to 'host' with domain.
Does not change any symbol names referenced by other .c files.
Signed-off-by: Grant Likely
Cc: Benjamin Herrenschmidt
---
kernel/irq/irqdomain.c | 219
1 files chang
This patch only moves the code. It doesn't make any changes, and the
code is still only compiled for powerpc. Follow-on patches will generalize
the code for other architectures.
Signed-off-by: Grant Likely
Cc: Benjamin Herrenschmidt
---
arch/powerpc/Kconfig |1 +
arch/powerpc/in
zero always means no irq when using irq domains. Get rid of the NO_IRQ
references.
Signed-off-by: Grant Likely
Cc: Benjamin Herrenschmidt
---
kernel/irq/irqdomain.c | 38 +++---
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/kernel/irq/irqdom
This patch drops the powerpc-specific irq_map table and replaces it with
directly using the irq_alloc_desc()/irq_free_desc() interfaces for allocating
and freeing irq_desc structures.
This patch is a preparation step for generalizing the powerpc-specific virq
infrastructure to become irq_domains.
There is only one user, and it is trivial to open-code.
Signed-off-by: Grant Likely
Cc: Benjamin Herrenschmidt
---
arch/powerpc/include/asm/irq.h |1 -
arch/powerpc/kernel/irq.c |7 ---
arch/powerpc/sysdev/xics/xics-common.c | 12 ++--
3 files changed,
Trivial change, microblaze doesn't use irq remapping yet.
Signed-off-by: Grant Likely
Cc: Michal Simek
---
arch/microblaze/include/asm/irq.h |4 ++--
arch/microblaze/kernel/irq.c |2 +-
arch/microblaze/kernel/setup.c|2 --
3 files changed, 3 insertions(+), 5 deletions(-)
d
Part of the series to unify the irq remapping mechanisms in the
kernel. A follow up patch will copy the powerpc implementation into
kernel/irq/irqdomain.c, which will be a lot easier if the structures
are identical.
Where they differ, I've chose to use the powerpc names since there is
a lot more
It printk's too much. Drop some output.
Signed-off-by: Grant Likely
Cc: Thomas Gleixner
---
kernel/irq/irqdomain.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 1f9e265..cc2cd43 100644
--- a/kernel/irq/irqdomai
Here are the patches that I've been working on to finish up the creation
of the generic irq_domain infrastructure.
I'm taking a different approach that I originally intended.
Originally I intended to start with the basic design of irq_host from
powerpc, but there were some things about the impleme
Hi Shaohui,
On Thu, Dec 29 2011, Shaohui Xie wrote:
> If dma is enabled, it'll be cleared when reset all is performed, this can
> be observed on some platforms, such as P2041 which has a version 2.3
> controller, but platform like P4080 which has a version 2.2 controller,
> does not suffer this, s
EEH may happen during a PCI driver probe. If the driver is trying to
access some register in a loop, the EEH code will try to print the
driver name. But the driver pointer in struct pci_dev is not set until
probe returns successfully.
Use a function to test if the device and the driver pointer is
This fixes a hang that was observed during live partition migration.
Since stop_topology_update must not be called from an interrupt
context, call it earlier in the migration process. The hang observed
can be seen below:
WARNING: at kernel/timer.c:1011
Modules linked in: ip6t_LOG xt_tcpudp xt_pk
On Wed, Jan 11, 2012 at 07:54:55AM +, Shi Xuelin-B29237 wrote:
> Hello Iris,
>
> As we discussed in the previous patch, I add one smp_mb() in fsl_tx_status.
> In my testing with iozone, this smp_mb() could cause 1%~2% performance
> degradation.
> Anyway it is acceptable for me. Do you have an
Adding more it,
I have removed the shared memory kernel driver dependency just to narrow down
the problem area and I have written a small piece of code in user space. A
writer & a reader application which access the shared memory and I got the same
behavior as with the shared memory kernel dri
Hello, Chris,
May I have your attention to this patch, please?
Best Regards,
Shaohui Xie
>-Original Message-
>From: Xie Shaohui-B21989
>Sent: Friday, January 06, 2012 3:58 PM
>To: 'c...@laptop.org'; linux-...@vger.kernel.org
>Cc: linuxppc-dev@lists.ozlabs.org; Xie Shaohui-B21989
>Sub
31 matches
Mail list logo