Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Kumar Gala
On Sep 18, 2010, at 9:36 AM, Tabi Timur-B04825 wrote: On Sep 17, 2010, at 10:14 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2010-09-17 at 20:20 -0500, Timur Tabi wrote: I don't see any reason to limit it to GPL drivers. Not only that, but then we'll have this:

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Vitaly Wool
On Sat, Sep 18, 2010 at 5:34 PM, Kumar Gala kumar.g...@freescale.com wrote: I don't think either of these should be EXPORT_SYMBOL_GPL.  Why shouldn't a binary module be allowed to know these frequencies?  My view is why preclude anyone from using this how they want.  If they want to live in

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Josh Boyer
On Sat, Sep 18, 2010 at 11:34 AM, Kumar Gala kumar.g...@freescale.com wrote: On Sep 18, 2010, at 9:36 AM, Tabi Timur-B04825 wrote: On Sep 17, 2010, at 10:14 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2010-09-17 at 20:20 -0500, Timur Tabi wrote: I don't see any

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Josh Boyer
On Sat, Sep 18, 2010 at 1:36 PM, Tabi Timur-B04825 b04...@freescale.com wrote: Josh Boyer wrote: It is not, in my opinion, about what is technically possible and what isn't.  The kernel is licensed under the GPL.  This is a Linux kernel only symbol.  One would be hard pressed to claim they

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Josh Boyer
On Sat, Sep 18, 2010 at 1:55 PM, Tabi Timur-B04825 b04...@freescale.com wrote: Josh Boyer wrote: This is a new symbol being exported, not one that has been exported for years. Except that Ben says that I should change ppc_proc_freq from EXPORT_SYMBOL to EXPORT_SYMBOL_GPL as well.  In a

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Kumar Gala
On Sep 18, 2010, at 11:56 AM, Josh Boyer wrote: On Sat, Sep 18, 2010 at 11:34 AM, Kumar Gala kumar.g...@freescale.com wrote: On Sep 18, 2010, at 9:36 AM, Tabi Timur-B04825 wrote: On Sep 17, 2010, at 10:14 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2010-09-17

Re: [PATCH 1/2] PPC4xx: Generelizing drivers/dma/ppc4xx/adma.c

2010-09-18 Thread Wolfgang Denk
Dear tma...@apm.com, In message 1284774145-14543-1-git-send-email-tma...@apm.com you wrote: This patch generalizes the existing drver/dma/ppc4xx/adma.c, so that common code can be shared between different similar DMA engine drivers in other SoCs. ... * This driver supports the

Re: [PATCH 2/2] PPC4xx: Merge xor.h and dma.h into onefile ppc440spe-dma.h

2010-09-18 Thread Wolfgang Denk
Dear tma...@apm.com, In message 1284774162-14652-1-git-send-email-tma...@apm.com you wrote: From: Tirumala Marri tma...@apm.com This patch combines drivers/dma/ppc4xx/xor.h and driver/dma/dma/ppc4xx/dma.h into drivers/dma/ppc4xx/ppx440spe-dma.h . Signed-off-by: Tirumala R Marri

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Tabi Timur-B04825
Josh Boyer wrote: It is not, in my opinion, about what is technically possible and what isn't. The kernel is licensed under the GPL. This is a Linux kernel only symbol. One would be hard pressed to claim they have a driver that wasn't written for Linux that happens to need that symbol. As

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Tabi Timur-B04825
Josh Boyer wrote: This is a new symbol being exported, not one that has been exported for years. Except that Ben says that I should change ppc_proc_freq from EXPORT_SYMBOL to EXPORT_SYMBOL_GPL as well. In a sense, we're in a catch-22. We have three choices: 1. We *arbitrarily* change

Re: Generating elf kernel ?

2010-09-18 Thread tiejun.chen
Scott Wood wrote: On Fri, 17 Sep 2010 09:58:41 +0800 tiejun.chen tiejun.c...@windriver.com wrote: Scott Wood wrote: The guest OS *is* the same as native Linux, as far as TLB handling is concerned. Looks you means the TLB exception handler should be same between the native and the guest

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-18 Thread Benjamin Herrenschmidt
On Sat, 2010-09-18 at 10:34 -0500, Kumar Gala wrote: On Sep 18, 2010, at 9:36 AM, Tabi Timur-B04825 wrote: On Sep 17, 2010, at 10:14 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2010-09-17 at 20:20 -0500, Timur Tabi wrote: I don't see any reason to limit it to