Re: new execve/kernel_thread design

2012-10-25 Thread Richard Kuo
mode, so that it would be > safe to pull. There are some fun things that'll become possible once > all architectures are converted, but let's handle that stuff first, OK? Latest version of the Hexagon patches look good. Thanks! Acked-by: Richard Kuo -- Sent by an employee of

Re: kernel-doc : possible fix for non-fatal perl errors when parsing some function pointers

2008-02-15 Thread Richard Kennedy
On Fri, 2008-02-15 at 09:21 -0800, Randy Dunlap wrote: > On Fri, 15 Feb 2008 17:13:12 +0000 Richard Kennedy wrote: > > > When running "make htmldocs" I'm seeing some non-fatal perl errors > > caused by trying to parse the callback function definitions in > &g

kernel-doc : possible fix for non-fatal perl errors when parsing some function pointers

2008-02-15 Thread Richard Kennedy
e documentation to work, so I fixed kernel-doc instead - even though this is teaching it to understand code that might go away (The comment for blk_end_request_callback says that it should not be used and will removed at some point). Any ideas on which is the best way to fix this? Thanks Richar

Re: kernel-doc : possible fix for non-fatal perl errors when parsing some function pointers

2008-02-15 Thread Richard Kennedy
On Fri, 2008-02-15 at 09:44 -0800, Randy Dunlap wrote: > On Fri, 15 Feb 2008 09:21:54 -0800 Randy Dunlap wrote: > > > On Fri, 15 Feb 2008 17:13:12 + Richard Kennedy wrote: > > > > > When running "make htmldocs" I'm seeing some non-fatal perl

Re: kernel-doc : possible fix for non-fatal perl errors when parsing some function pointers

2008-02-16 Thread Richard Kennedy
On Fri, 2008-02-15 at 14:46 -0800, Randy Dunlap wrote: > On Fri, 15 Feb 2008 17:42:24 +0000 Richard Kennedy wrote: > > > > > On Fri, 2008-02-15 at 09:21 -0800, Randy Dunlap wrote: > > > On Fri, 15 Feb 2008 17:13:12 + Richard Kennedy wrote: > > > >

Re: [PATCH RFT RESEND linux-next] hexagon: dma-mapping: support debug_dma_mapping_error

2012-11-04 Thread Richard Kuo
_error(dev, dma_addr); > > if (dma_ops->mapping_error) > > return dma_ops->mapping_error(dev, dma_addr); > > > > This looks fine; I'm OK with this going through linux-next. Thanks! Acked-by: Richard Kuo -- Sent by an employee of the Qualcom

Re: [PATCH 0/6] Reduce compaction scanning and lock contention

2012-09-21 Thread Richard Davies
lock 1.11% qemu-kvm [kernel.kallsyms] [k] svm_vcpu_run I will follow up with the detailed traces for these three tests. Thank you! Richard. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More m

Re: [PATCH 0/6] Reduce compaction scanning and lock contention

2012-09-21 Thread Richard Davies
he testing, it's much > appreciated. I've already rebased the patches to Andrew's tree and tested > them overnight and the figures look good on my side. I'll update the > changelog and push them shortly. Great. On my side, I'm delighted that senior kernel developers

perf bench unexpected behaviour

2012-09-21 Thread Richard Kennedy
o a file that does odd things. AFAICT the message is only printed once, so any ideas why it does this? and is there anything I can do to stop it? This is on 3.6-rc*, I haven't tried any earlier kernels. thanks Richard -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH v3] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-22 Thread Richard Cochran
HYDEV_PRIV_FIBER; > + } > + val = phy_read(phydev, MII_PHYSID2); > + > + if (val < 0) > + return val; > + > + if ((val & 0xf) == 0) { /* rev A2 */ > + dev_info(&phydev->dev, " LXT973 revision A2 has bugs\n"); >

Re: [PATCH 05/14] userns: Convert hostfs to use kuid and kgid where appropriate

2012-09-23 Thread Richard Weinberger
Am 21.09.2012 02:28, schrieb Eric W. Biederman: > From: "Eric W. Biederman" > > Cc: Jeff Dike > Cc: Richard Weinberger > Acked-by: Serge Hallyn > Signed-off-by: Eric W. Biederman > --- Looks sane to me. Acked-by: Richard Weinberger BTW: How you do test

Re: [PATCH v4] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-24 Thread Richard Cochran
ibble of phy_id? > + .driver = { .owner = THIS_MODULE,}, > +}, { > + .phy_id = 0x00137a10, > .name = "LXT973", > .phy_id_mask = 0xfff0, > .features = PHY_BASIC_FEATURES, Thanks, Richard -- To unsubscribe from this l

[PATCH 06/10] UBI: Wire-up ->fm_sem

2012-09-24 Thread Richard Weinberger
Fastmap uses ->fm_sem to stop EBA changes while writing a new fastmap. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/eba.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index 8af2ebf..50b3045 100

[PATCH 05/10] UBI: Add fastmap bits to build.c

2012-09-24 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/build.c | 71 -- 1 files changed, 67 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 3497703..cc7c03c 100644 --- a/drivers/mtd/ubi/build.c +++ b

[PATCH 01/10] UBI: Add fastmap on-flash data structures

2012-09-24 Thread Richard Weinberger
Add the on-flash data structures neeed by fastmap to ubi-media.h Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/ubi-media.h | 137 +++ 1 files changed, 137 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi

[PATCH 09/10] UBI: Add fastmap core

2012-09-24 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/fastmap.c | 1560 + 1 files changed, 1560 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/ubi/fastmap.c diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c new file

[PATCH 10/10] UBI: Wire-up fastmap

2012-09-24 Thread Richard Weinberger
Make fastmap known to Kconfig, UBI Makefile and MAINTAINERS. Signed-off-by: Richard Weinberger --- MAINTAINERS |6 ++ drivers/mtd/ubi/Kconfig | 20 drivers/mtd/ubi/Makefile |1 + 3 files changed, 27 insertions(+), 0 deletions(-) diff --git a

[PATCH 08/10] UBI: Add fastmap support to the WL sub-system

2012-09-24 Thread Richard Weinberger
To make fastmap possible the WL sub-system needs some changes. Mostly to support fastmaps pools. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/wl.c | 576 ++ 1 files changed, 531 insertions(+), 45 deletions(-) diff --git a/drivers/mtd

[PATCH 07/10] UBI: Add fastmap stuff to attach.c

2012-09-24 Thread Richard Weinberger
- Export compare_lebs() as fastmap needs this function. - Implement fastmap scan logic. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c | 387 +++--- 1 files changed, 259 insertions(+), 128 deletions(-) diff --git a/drivers/mtd/ubi

UBI: Fastmap request for inclusion (v18)

2012-09-24 Thread Richard Weinberger
can find fastmap v18 also in my git repo on kernel.org: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubi2.git ubi2/v18 Thanks to the folks at CELF who sponsored this work! Thanks, //richard [1] http://lists.infradead.org/pipermail/linux-mtd/2012-June/042347.html [PATCH 01/10] UBI: Add fastmap

[PATCH 04/10] UBI: Add self_check_eba()

2012-09-24 Thread Richard Weinberger
self_check_eba() compares two ubi_attach_info objects. Fastmap uses this function for self checks. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/eba.c | 96 + 1 files changed, 96 insertions(+), 0 deletions(-) diff --git a/drivers/mtd

[PATCH 02/10] UBI: Add fastmap stuff to ubi.h

2012-09-24 Thread Richard Weinberger
This patch adds fastmap specific data structures to ubi.h. It moves also struct ubi_work to ubi.h as it is now needed for more than one c file. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/ubi.h | 119 +++- drivers/mtd/ubi/wl.c | 24

[PATCH 03/10] UBI: Export next_sqnum()

2012-09-24 Thread Richard Weinberger
Fastmap needs next_sqnum(), rename it to ubi_next_sqnum() and make it non-static. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/eba.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index a26d7d2

Re: [PATCH v4] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-25 Thread Richard Cochran
On Tue, Sep 25, 2012 at 08:23:42AM +0200, leroy christophe wrote: > > A2 chip has phy_id 0x00137a10 > A3 chip has phy_id 0x00137a11 Okay then, thanks. Acked-by: Richard Cochran -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH/resend/bypass] um: Preinclude include/linux/kern_levels.h

2012-09-25 Thread Richard Weinberger
o include/generated and #include > > from user.h. And kill UM_KERN_... > > stuff. Objections? > > My first submission had "We may convert all UM_KERN_* users to KERN_* > and drop the extra defines?" as a suggestion, but so far I haven't > found time to i

[PATCH 01/10] UBI: Add fastmap on-flash data structures

2012-09-26 Thread Richard Weinberger
Add the on-flash data structures neeed by fastmap to ubi-media.h Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/ubi-media.h | 137 +++ 1 files changed, 137 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi

[PATCH 07/10] UBI: Add fastmap stuff to attach.c

2012-09-26 Thread Richard Weinberger
- Export compare_lebs() as fastmap needs this function. - Implement fastmap scan logic. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c | 386 +++--- drivers/mtd/ubi/build.c |2 +- drivers/mtd/ubi/ubi.h|2 +- 3 files changed

UBI: Fastmap request for inclusion (v19)

2012-09-26 Thread Richard Weinberger
repository: git://git.infradead.org/linux-ubi.git Thanks to the folks at CELF who sponsored this work! Thanks, //richard [1] http://lists.infradead.org/pipermail/linux-mtd/2012-June/042347.html MAINTAINERS |6 + drivers/mtd/ubi/Kconfig | 20 ++ drivers/mtd/ubi/Makefi

[PATCH 10/10] UBI: Wire-up fastmap

2012-09-26 Thread Richard Weinberger
Make fastmap known to Kconfig, UBI Makefile and MAINTAINERS. Signed-off-by: Richard Weinberger --- MAINTAINERS |6 ++ drivers/mtd/ubi/Kconfig | 20 drivers/mtd/ubi/Makefile |1 + 3 files changed, 27 insertions(+), 0 deletions(-) diff --git a

[PATCH 08/10] UBI: Add fastmap support to the WL sub-system

2012-09-26 Thread Richard Weinberger
To make fastmap possible the WL sub-system needs some changes. Mostly to support fastmaps pools. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/wl.c | 575 ++ 1 files changed, 531 insertions(+), 44 deletions(-) diff --git a/drivers/mtd

[PATCH 09/10] UBI: Add fastmap core

2012-09-26 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/fastmap.c | 1560 + 1 files changed, 1560 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/ubi/fastmap.c diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c new file

[PATCH 06/10] UBI: Wire-up ->fm_sem

2012-09-26 Thread Richard Weinberger
Fastmap uses ->fm_sem to stop EBA changes while writing a new fastmap. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/eba.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index d56ae1c..0e11671 100

[PATCH 05/10] UBI: Add fastmap bits to build.c

2012-09-26 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/build.c | 68 -- 1 files changed, 65 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 3497703..c9b99be 100644 --- a/drivers/mtd/ubi/build.c +++ b

[PATCH 04/10] UBI: Add self_check_eba()

2012-09-26 Thread Richard Weinberger
self_check_eba() compares two ubi_attach_info objects. Fastmap uses this function for self checks. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/eba.c | 96 + 1 files changed, 96 insertions(+), 0 deletions(-) diff --git a/drivers/mtd

[PATCH 03/10] UBI: Export next_sqnum()

2012-09-26 Thread Richard Weinberger
Fastmap needs next_sqnum(), rename it to ubi_next_sqnum() and make it non-static. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/eba.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index a26d7d2

Re: [PATCH 01/10] UBI: Add fastmap on-flash data structures

2012-09-26 Thread Richard Weinberger
Artem, Am Wed, 26 Sep 2012 13:33:11 +0300 schrieb Artem Bityutskiy : > Richard, thanks, here is the deal I suggest > > 1. I do not really have time to review this in details. > 2. I do not want to block this either > 3. I want to merge this to 3.7 with come pre-conditions (see

[PATCH 02/10] UBI: Add fastmap stuff to ubi.h

2012-09-26 Thread Richard Weinberger
This patch adds fastmap specific data structures to ubi.h. It moves also struct ubi_work to ubi.h as it is now needed for more than one c file. Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/ubi.h | 116 - drivers/mtd/ubi/wl.c | 24

kmemleak report on isp1763 and sierra MC8705

2012-10-26 Thread Richard Retanubun
removed */ What is leaking here? qh_destroy release the memory already. Thanks for everyone's time! -- Richard Retanubun unreferenced object 0xd5922c00 (size 1024): comm "khubd", pid 1034,

Re: [PULL REQ] IXP4xx changes for Linux 3.7

2012-10-29 Thread Richard Cochran
cherry-picking would probably make some sense. So if no one else wants to do this, then I am willing to look after the IXP code. I think that I do have the time for it. Thanks, Richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: kmemleak report on isp1763 and sierra MC8705

2012-10-29 Thread Richard Retanubun
On 26/10/12 07:35 PM, Greg KH wrote: On Fri, Oct 26, 2012 at 05:57:23PM -0400, Richard Retanubun wrote: Hi Guys, I am debugging a reported kmemleak involving a sierra wireless MC8705 connected through isp1763 on powerpc linux-3.0.22 Does this also happen on 3.6.3? thanks, greg k-h Hi

Re: [PATCH v4 1/4] lib: Introduce atomic MMIO modify

2013-08-24 Thread Richard Weinberger
Am 24.08.2013 21:58, schrieb Ezequiel Garcia: > On Sat, Aug 24, 2013 at 08:27:10PM +0200, richard -rw- weinberger wrote: >> On Sat, Aug 24, 2013 at 5:35 PM, Ezequiel Garcia >> wrote: >>> Some platforms have MMIO regions that are shared across orthogonal >>> sub

Re: [PATCH v4 1/4] lib: Introduce atomic MMIO modify

2013-08-24 Thread Richard Weinberger
Am 24.08.2013 22:49, schrieb Ezequiel Garcia: > On Sat, Aug 24, 2013 at 10:35:34PM +0200, Richard Weinberger wrote: >> Am 24.08.2013 21:58, schrieb Ezequiel Garcia: >>> On Sat, Aug 24, 2013 at 08:27:10PM +0200, richard -rw- weinberger wrote: >>>> On Sat, Aug 24, 20

[PATCH] UBI: fix refill_wl_user_pool()

2013-08-26 Thread Richard Weinberger
If no free PEBs are available refill_wl_user_pool() must not return with -ENOSPC immediately. It has to block till produce_free_peb() produced a free PEB. Reported-and-Tested-by: Richard Genoud Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/wl.c | 4 1 file changed, 4 deletions

Re: sun4i_handle_irq: WARNING at net/ipv4/tcp_input.c:2711 tcp_fastretrans_alert

2013-08-26 Thread Richard Genoud
2013/8/23 Maxime Ripard : > Hi Richard, > > On Wed, Aug 21, 2013 at 11:47:20AM +0200, Richard GENOUD wrote: >> Hi Maxime, Stephan >> >> I just realise that, *sometimes*, I have some warnings on my cubieboard >> (6 since the 22 of july, and the board is runnning

Re: [PATCH] DMA: let filter functions of of_dma_simple_xlate possible check of_node

2013-08-26 Thread Richard Zhao
On Mon, Aug 26, 2013 at 02:17:43PM +0200, Laurent Pinchart wrote: > On Friday 23 August 2013 09:57:43 Stephen Warren wrote: > > On 08/22/2013 07:29 PM, Richard Zhao wrote: > > > On Fri, Aug 23, 2013 at 04:18:27AM +0800, Stephen Warren wrote: > > >> On 08/21/201

Re: [PATCH] DMA: let filter functions of of_dma_simple_xlate possible check of_node

2013-08-26 Thread Richard Zhao
On Fri, Aug 23, 2013 at 09:57:43AM -0600, Stephen Warren wrote: > On 08/22/2013 07:29 PM, Richard Zhao wrote: > > On Fri, Aug 23, 2013 at 04:18:27AM +0800, Stephen Warren wrote: > >> On 08/21/2013 11:19 PM, Richard Zhao wrote: > >>> On Fri, Aug 02, 2013 at 10:00:

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Richard Weinberger
Am 03.10.2013 17:00, schrieb Artem Bityutskiy: > On Sat, 2013-09-28 at 15:55 +0200, Richard Weinberger wrote: >> If no free PEBs are available refill_wl_user_pool() must not >> return with -ENOSPC immediately. >> It has to block till produce_free_peb() produced a free PE

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Richard Weinberger
Am 03.10.2013 17:27, schrieb Artem Bityutskiy: > On Thu, 2013-10-03 at 17:08 +0200, Richard Weinberger wrote: >> Am 03.10.2013 17:00, schrieb Artem Bityutskiy: >>> On Sat, 2013-09-28 at 15:55 +0200, Richard Weinberger wrote: >>>> If no free PEBs are available

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Richard Weinberger
Am 03.10.2013 18:00, schrieb Artem Bityutskiy: > On Thu, 2013-10-03 at 17:53 +0200, Richard Weinberger wrote: >> Am 03.10.2013 17:27, schrieb Artem Bityutskiy: >>> On Thu, 2013-10-03 at 17:08 +0200, Richard Weinberger wrote: >>>> Am 03.10.2013 17:00, schrieb Artem Bit

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Richard Weinberger
Am 03.10.2013 18:41, schrieb Artem Bityutskiy: > On Thu, 2013-10-03 at 18:35 +0200, Richard Weinberger wrote: >> Am 03.10.2013 18:00, schrieb Artem Bityutskiy: >>> On Thu, 2013-10-03 at 17:53 +0200, Richard Weinberger wrote: >>>> Am 03.10.2013 17:27, schrieb Artem Bit

Re: [PATCH] MAINTAINERS: remove Richard Purdie as backlight maintainer

2013-10-04 Thread Richard Purdie
On Thu, 2013-10-03 at 17:43 -0700, Andrew Morton wrote: > On Fri, 04 Oct 2013 08:50:57 +0900 Jingoo Han wrote: > > > On Friday, October 04, 2013 8:21 AM, Andrew Morton wrote: > > > On Fri, 27 Sep 2013 12:59:28 +0900 Jingoo Han wrote: > > > > > > > Re

Re: [PATCH] fs: make sure we do not read beyond allocation

2013-10-04 Thread Richard Weinberger
;>> bugs that might be much more serious. >> >> Possibly true. But then I'd suggest wrapping that into a different ifdef; >> grep for ifdef __CHECKER__, with comment along the lines of "to simplify >> analysis of potential out-of-bounds accesses". >

Re: [PATCH] fs: make sure we do not read beyond allocation

2013-10-04 Thread Richard Weinberger
Am 04.10.2013 12:53, schrieb Dmitry Vyukov: > On Fri, Oct 4, 2013 at 2:38 PM, Richard Weinberger > wrote: >>>>>> ... >>>>>> [1] yes, yes, I know - the mere mention of security should've prevented >>>>>> such >>>>>&g

Re: [PATCH] kernel/irq/proc.c: set MAX_NAMELEN 11 instead of 10 which express the maximize size of "%d" or "%u".

2013-10-05 Thread Richard Weinberger
refore %d makes not really sense. Both should use %u. IMHO sprintf() should also get replaced by snprintf() but that's a matter of taste. -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] kernel/irq/proc.c: set MAX_NAMELEN 11 instead of 10 which express the maximize size of "%d" or "%u".

2013-10-05 Thread Richard Weinberger
Am 05.10.2013 19:06, schrieb Chen Gang: > On 10/06/2013 12:50 AM, Chen Gang wrote: >> On 10/06/2013 12:08 AM, Richard Weinberger wrote: >>> On Sat, Oct 5, 2013 at 5:46 PM, Chen Gang wrote: >>>> On 10/05/2013 11:41 PM, Joe Perches wrote: >>>>> On Sa

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-08 Thread Richard Genoud
2013/7/8 Bo Shen : > Hi Richard, > > > On 7/5/2013 23:15, Richard Genoud wrote: >>>> >>>> + card->dev = &pdev->dev; >>>> >>+ card->owner = THIS_MODULE; >>>> >>+ card->dai_link = dai; >

[PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-08 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts

[PATCH v2 5/5] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-08 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index bd0f7b8..6684d4b 100644 --- a/arch/arm

[PATCH v2 3/5] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-08 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index d107241..e6fb309 100644

[PATCH v2 0/5] Sound support for at91sam9x5-wm8731 based boards

2013-07-08 Thread Richard Genoud
ework * drop unneeded SND_ATMEL_SOC_PDC config selection * use static snd_soc_card and snd_soc_dai_link structures. Best regards, Richard. Nicolas Ferre (1): sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards Richard Genoud (4): ARM: AT91: DTS: sam9x5: add SSC DMA parameter

[PATCH v2 4/5] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-08 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-08 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch

Re: [PATCH 18/32] hexagon: delete __cpuinit usage from all hexagon files

2013-07-08 Thread Richard Kuo
ly hexagon does not have any __CPUINIT used in assembly files. [1] https://lkml.org/lkml/2013/5/20/589 Cc: Richard Kuo Cc: linux-hexa...@vger.kernel.org Signed-off-by: Paul Gortmaker --- [This commit is part of the __cpuinit removal work. If you don't see any problems with it, then yo

Re: [PATCHv3] uml: Fix which_tmpdir failure when /dev/shm is a symlink, and in other edge cases

2013-07-08 Thread Richard Weinberger
v/shm was a prefix of another mount point. > This fixes these cases. Applies to 3.9.6. > > Signed-off-by: Tristan Schmelcher Is this just a resend or did your alter the patch you sent me already? I'm about to send my UML patches to Linus tomorrow. Thanks, //richard -- To unsubscri

Re: [alsa-devel] [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
2013/7/8 Lars-Peter Clausen : > On 07/08/2013 03:29 PM, Richard Genoud wrote: > [...] >> +/* >> + * Logic for a wm8731 as connected on a at91sam9x5 based board. >> + */ >> +static int at91sam9x5ek_wm8731_init(struct snd_soc_pcm_runtime *rtd) >> +{ > [...] >

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
2013/7/8 Mark Brown : > On Mon, Jul 08, 2013 at 03:29:49PM +0200, Richard Genoud wrote: > >> + * Nicolas Ferre >> + * >> + * Based on sam9g20_wm8731.c by: >> + * Sedji Gaouaou > > The obvious question here is of course if we can use the same driver

Re: [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
2013/7/8 Mark Brown : > On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote: >> Signed-off-by: Richard Genoud >> --- >> arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ > > There was no binding document in your first patch - there should be one > for any ne

Re: [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote: > >> The dma binding is documented here >> Documentation/devicetree/bindings/dma/atmel-dma.txt >> But you're right, I shoud update >> Documentation/devicetree/bindings/misc

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 10:19:45AM +0200, Richard Genoud wrote: >> 2013/7/8 Mark Brown : > >> > The obvious question here is of course if we can use the same driver for >> > both of them. > >> I haven't got a g20 to test that, but

[PATCH v3 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch

[PATCH v3 6/7] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-09 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
As atmel-ssc can be used with DMA, the documentation should be updated. Also, a configuration DMA example is given. Signed-off-by: Richard Genoud --- .../devicetree/bindings/misc/atmel-ssc.txt | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a

[PATCH v3 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-09 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud Acked-by: Mark Brown --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index

[PATCH v3 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts

[PATCH v3 7/7] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-09 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 2bf51cc..0534c58 100644 --- a/arch/arm

[PATCH v3 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver

2013-07-09 Thread Richard Genoud
This add the sound DT binding for sam9x5ek-wm8731 machine driver Signed-off-by: Richard Genoud --- .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731

[PATCH v3 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Richard Genoud
unneeded SND_ATMEL_SOC_PDC config selection * use static snd_soc_card and snd_soc_dai_link structures. Best regards, Richard. Nicolas Ferre (1): sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards Richard Genoud (6): Documentation: DT: add sam9x5ek-wm8731 machine driver Do

Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
2013/7/9 Richard Genoud : > As atmel-ssc can be used with DMA, the documentation should be updated. > Also, a configuration DMA example is given. > > Signed-off-by: Richard Genoud > --- > .../devicetree/bindings/misc/atmel-ssc.txt | 24 > ++--

Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
2013/7/9 Nicolas Ferre : > On 09/07/2013 15:19, Richard Genoud : > >> 2013/7/9 Richard Genoud : >>> >>> As atmel-ssc can be used with DMA, the documentation should be updated. >>> Also, a configuration DMA example is given. >>> >>> Si

[PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Richard Genoud
drop patches on SSC since Bo Chen already did the work * reorder patches to have the machine driver first * drop code already handled by the ASoC framework * drop unneeded SND_ATMEL_SOC_PDC config selection * use static snd_soc_card and snd_soc_dai_link structures. Best regards, Richard. Nicola

[PATCH v4 6/7] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-09 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch

[PATCH v4 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-09 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud Acked-by: Mark Brown --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index

[PATCH v4 7/7] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-09 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 2bf51cc..0534c58 100644 --- a/arch/arm

[PATCH v4 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver

2013-07-09 Thread Richard Genoud
This add the sound DT binding for sam9x5ek-wm8731 machine driver Signed-off-by: Richard Genoud --- .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731

[PATCH v4 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Richard Genoud
As atmel-ssc can be used with DMA, the documentation should be updated. Also, a configuration DMA example is given. Signed-off-by: Richard Genoud --- .../devicetree/bindings/misc/atmel-ssc.txt | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a

[PATCH v4 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-09 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts

Re: [PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-09 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 04:25:26PM +0200, Richard Genoud wrote: >> [I've just seen that I forgot to cc Uwe to the cover letter, sorry for that.] > > This is the second or third copy of this patch set I've been sent > *today*. Worse, everythi

Re: [PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-10 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 04:25:27PM +0200, Richard Genoud wrote: > >> +/* >> + * Authorized rates are: >> + * Rate = MCLK_RATE / (n * 2) >> + * Where n is in [1..4095] >> + * (cf register SSC_CMR) >> + */ >> +static unsign

Re: [PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-10 Thread Richard Genoud
2013/7/10 Bo Shen : > Hi Richard, Hi ! > On 7/9/2013 22:25, Richard Genoud wrote: > [snip] > > >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> + >

Re: [PATCH v4 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver

2013-07-10 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 04:25:28PM +0200, Richard Genoud wrote: >> This add the sound DT binding for sam9x5ek-wm8731 machine driver >> >> Signed-off-by: Richard Genoud >> --- >> .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30 &g

Re: [PATCH v4 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-10 Thread Richard Genoud
2013/7/9 Mark Brown : > On Tue, Jul 09, 2013 at 04:25:29PM +0200, Richard Genoud wrote: > >> - reg: Should contain SSC registers location and length >> - interrupts: Should contain SSC interrupt >> +For dma transfer: >> +- dmas: DMA specifier, consisting of a

[PATCH v5 1/7] sound: codec: wm8731: add rates constraints

2013-07-11 Thread Richard Genoud
Depending on the mclk (or crystal) selected, the wm8731 codec have some constraints on its data sampling rates: e.g. with a 12.288MHz or 18.432MHz crystal, the authorized rates are 8KHz, 32KHz, 48KHz and 96KHz. Signed-off-by: Richard Genoud --- sound/soc/codecs/wm8731.c | 57

[PATCH v5 2/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-11 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch

[PATCH v5 0/7] Sound support for at91sam9x5-wm8731 based boards

2013-07-11 Thread Richard Genoud
#x27;s ok !) Changes from v1-RFC: * drop patches on SSC since Bo Chen already did the work * reorder patches to have the machine driver first * drop code already handled by the ASoC framework * drop unneeded SND_ATMEL_SOC_PDC config selection * use static snd_soc_card and snd_soc_dai_link str

[PATCH v5 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-11 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud Acked-by: Mark Brown --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index

[PATCH v5 7/7] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-11 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v5 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-11 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts

[PATCH v5 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-11 Thread Richard Genoud
As atmel-ssc can be used with DMA, the documentation should be updated. Also, a configuration DMA example is given. Signed-off-by: Richard Genoud --- .../devicetree/bindings/misc/atmel-ssc.txt | 23 +++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a

[PATCH v5 6/7] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-11 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index e6fb309..f3e83f7 100644 --- a/arch/arm

<    1   2   3   4   5   6   7   8   9   10   >