Thanks, Stefan.
Please see my answer bellow.
Regards,
Duc Dang.
On Mon, Mar 5, 2012 at 2:41 PM, Stefan Roese wrote:
> On Monday 05 March 2012 05:03:44 Duc Dang wrote:
> > This patch includes:
> >
> > Configure EMAC PHY clock source (clock from PHY or internal clock).
> >
> > Do not adverti
This compatible value will be used to distinguish some special features of
APM821XX EMAC: no half duplex mode support, configuring jumbo frame.
Signed-off-by: Duc Dang
---
v3:
No change since v1/v2 patch sets. Added for completeness.
arch/powerpc/boot/dts/bluestone.dts |2 +-
1 files chan
This patch includes:
Configure EMAC PHY clock source (clock from PHY or internal clock).
Do not advertise PHY half duplex capability as APM821XX EMAC does not support
half duplex mode.
Add changes to support configuring jumbo frame for APM821XX EMAC.
Signed-off-by: Duc Dang
---
v3:
Ad
>> +/*
>> + * Host interrupt handlers may have clobbered these guest-readable
>> + * SPRGs, so we need to reload them here with the guest's values.
>> + */
>> +lwz r3, VCPU_VRSAVE(r4)
>> +lwz r5, VCPU_SHARED_SPRG4(r11)
>> +mtspr SPRN_VRSAVE, r3
>> +lwz
Hi, Kumar,
On Fri, 2012-03-02 at 09:11 -0600, Kumar Gala wrote:
> > diff --git a/arch/powerpc/sysdev/fsl_rmu.c b/arch/powerpc/sysdev/fsl_rmu.c
> > index 1548578..468011e 100644
> > --- a/arch/powerpc/sysdev/fsl_rmu.c
> > +++ b/arch/powerpc/sysdev/fsl_rmu.c
> > @@ -311,8 +311,8 @@ fsl_rio_dbell_han
I'm getting intermittent failures enumerating four PCIe endpoints and
looking for some help. Sometimes three will enumerate, sometimes
fewer, sometimes four but only three of them will have BARs mapped,
etc.
I'm running 2.6.37 on a Freescale P2020 (e500v2 cores), and I have
four PCIe end-points (F
On Sun, Mar 4, 2012 at 8:34 PM, Benjamin Herrenschmidt
wrote:
> On Sat, 2012-03-03 at 08:52 +1100, Benjamin Herrenschmidt wrote:
>
>> Or give me a chance to dig :-) I'll have a look next week.
>
> This is indeed what bjorn suspected on irc, this patch fixes it:
>
> (Bjorn, please fold it in the or
Hey Ben,
Thanks for the help! I was wondering if you could take a look at something
for me.
I've been working on this staging driver (zsmalloc memory allocator)
that does virtual mapping of two pages.
I have a github repo with the driver and the unsubmitted changes. I'm
trying to make to get t
This patch series cleans up the handling of cookies in DMA engine drivers.
This is done by providing a set of inline library functions for common
tasks:
- moving the 'last completed cookie' into struct dma_chan - everyone
has this in their driver private channel data structure
- consolidate all
On Mon, 5 Mar 2012 15:33:05 -0500
Alexandre Bounine wrote:
> Fixes queue wrapping bug in Inbound Doorbell handling routine.
The changelog doesn't describe the user-visible impact of the bug.
Please always include this so that people know whether to backport the
fix into their kernels, and so t
Now that we have the completed cookie in the dma_chan structure, we
can consolidate the tx_status functions by providing a function to set
the txstate structure and returning the DMA status. We also provide
a separate helper to set the residue for cookies which are still in
progress.
Signed-off-b
Every DMA engine implementation declares a last completed dma cookie
in their private dma channel structures. This is pointless, and
forces driver specific code. Move this out into the common dma_chan
structure.
Signed-off-by: Russell King
---
arch/arm/include/asm/hardware/iop_adma.h |2 --
Add a local private header file to contain definitions and declarations
which should only be used by DMA engine drivers.
Signed-off-by: Russell King
---
drivers/dma/amba-pl08x.c|2 ++
drivers/dma/at_hdmac.c |1 +
drivers/dma/coh901318.c |1 +
drivers/dma/dmaengine.h
Everyone deals with assigning DMA cookies in the same way (it's part of
the API so they should be), so lets consolidate the common code into a
helper function to avoid this duplication.
Signed-off-by: Russell King
---
drivers/dma/amba-pl08x.c|9 +++--
drivers/dma/at_hdmac.c |
Provide a common function to do the cookie mechanics for completing
a DMA descriptor.
Signed-off-by: Russell King
---
drivers/dma/amba-pl08x.c|2 +-
drivers/dma/at_hdmac.c |2 +-
drivers/dma/coh901318.c |2 +-
drivers/dma/dmaengine.h | 18 ++
driver
On Mon, Mar 5, 2012 at 9:14 PM, Russell King - ARM Linux
wrote:
> This patch series cleans up the handling of cookies in DMA engine drivers.
> This is done by providing a set of inline library functions for common
> tasks:
Overall this looks good, but I have a problem:
patch [1/9] does not appea
Fixes queue wrapping bug in Inbound Doorbell handling routine.
Signed-off-by: Alexandre Bounine
Cc: Chul Kim
Cc: Matt Porter
---
This patch is applicable to kernel version 3.2 and after.
drivers/rapidio/devices/tsi721.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --g
Ensure all DMA engine drivers initialize their cookies in the same way,
so that they all behave in a similar fashion. This means their first
issued cookie will be 2 rather than 1, and will increment to INT_MAX
before returning 1 and starting over.
In connection with this, Dan Williams said:
> Rus
On Mon, March 05, 2012 3:37 PM Andrew Morton wrote:
> Alexandre Bounine wrote:
>
> > Fixes queue wrapping bug in Inbound Doorbell handling routine.
>
> The changelog doesn't describe the user-visible impact of the bug.
> Please always include this so that people know whether to backport the
> fi
On Mon, Mar 05, 2012 at 09:50:51PM +0100, Linus Walleij wrote:
> On Mon, Mar 5, 2012 at 9:14 PM, Russell King - ARM Linux
> wrote:
>
> > This patch series cleans up the handling of cookies in DMA engine drivers.
> > This is done by providing a set of inline library functions for common
> > tasks:
On Monday, March 05, 2012 1:16 PM, Russell King wrote:
>
> Add a local private header file to contain definitions and declarations
> which should only be used by DMA engine drivers.
>
> Signed-off-by: Russell King
> ---
> drivers/dma/amba-pl08x.c|2 ++
> drivers/dma/at_hdmac.c |1
On Monday, March 05, 2012 1:17 PM, Russell King wrote:
>
> Now that we have the completed cookie in the dma_chan structure, we
> can consolidate the tx_status functions by providing a function to set
> the txstate structure and returning the DMA status. We also provide
> a separate helper to set t
On Monday, March 05, 2012 1:51 PM, Linus Walleij wrote:
> On Mon, Mar 5, 2012 at 9:14 PM, Russell King - ARM Linux wrote:
>
>> This patch series cleans up the handling of cookies in DMA engine drivers.
>> This is done by providing a set of inline library functions for common
>> tasks:
>
> Overall t
On Mon, Mar 05, 2012 at 08:14:11PM +, Russell King - ARM Linux wrote:
> This patch series cleans up the handling of cookies in DMA engine drivers.
> This is done by providing a set of inline library functions for common
> tasks:
>
> - moving the 'last completed cookie' into struct dma_chan - e
On Monday, March 05, 2012 1:17 PM, Russell King wrote:
>
> Now that we have the completed cookie in the dma_chan structure, we
> can consolidate the tx_status functions by providing a function to set
> the txstate structure and returning the DMA status. We also provide
> a separate helper to set
For the file "arch/powerpc/sysdev/fsl_rio.c", there will be some relocation
errors while using the corenet64_smp_defconfig:
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/genera
Please see my in-line reply.
On Wed, Feb 29, 2012 at 9:18 PM, Josh Boyer wrote:
> On Wed, Feb 29, 2012 at 3:47 AM, Mai La wrote:
> > This patch consists of:
> > - Enable PCI MSI as default for Bluestone board
> > - Define number of MSI interrupt for Maui APM821xx
>
> What is Maui? Is that the
This patch consists of:
- Enable PCI MSI as default for Bluestone board
- Define number of MSI interrupt for Maui APM821xx SoC using in Bluestone board
- Fix returning ENODEV as finding MSI node
- Fix MSI physical high and low address
- Keep MSI data logically
Signed-off-by: Mai La
---
arch/pow
Signed-off-by: Mai La
---
arch/powerpc/boot/dts/bluestone.dts | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/bluestone.dts
b/arch/powerpc/boot/dts/bluestone.dts
index 2a56a0d..8ea6325 100644
--- a/arch/powerpc/boot/dts/blue
On Mon, 05 Mar 2012 about 17:29:41 -, Mai La wrote:
>
> @@ -43,7 +43,12 @@
> #define PEIH_FLUSH0 0x30
> #define PEIH_FLUSH1 0x38
> #define PEIH_CNTRST 0x48
> +
> +#ifdef CONFIG_APM821xx
> +#define NR_MSI_IRQS 8
> +#else
> #define NR_MSI_IRQS 4
> +#endif
>
does this need to go into
On Mon, 2012-03-05 at 22:37 -0600, Milton Miller wrote:
> On Mon, 05 Mar 2012 about 17:29:41 -, Mai La wrote:
> >
> > @@ -43,7 +43,12 @@
> > #define PEIH_FLUSH00x30
> > #define PEIH_FLUSH10x38
> > #define PEIH_CNTRST0x48
> > +
> > +#ifdef CONFIG_APM821xx
> > +#defin
From: Liu Shuo
Fix the compatible string of sec 4.0 to match with CAMM driver according
to the documentation file Documentation/devicetree/bindings/crypto/fsl-sec4.txt.
Signed-off-by: Liu Shuo
Signed-off-by: Shengzhou Liu
---
against master branch of
git://git.kernel.org/pub/scm/linux/kernel/
32 matches
Mail list logo