BUG (maybe) with find_get_entry()

2014-10-08 Thread Felipe Balbi
Hi, With today's linus/master and with greg/usb-next I keep getting random kernel oops from find_get_entry() (see below): [ 47.700065] Unable to handle kernel paging request at virtual address [ 47.707667] pgd = c0004000 [ 47.710506] [] *pgd=ae7f6821, *pte=, *ppte=

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-07 Thread Felipe Balbi
On Tue, Oct 07, 2014 at 03:49:33PM +0530, Vivek Gautam wrote: > Exynos7 also has a separate special gate clock going to the IP > apart from the usual AHB clock. So add support for the same. > > Signed-off-by: Vivek Gautam I'll take this one once -rc1 is tagged. The others have no direct dependen

Re: CPSW bug with AM437x SK

2014-10-06 Thread Felipe Balbi
Hi, On Mon, Oct 06, 2014 at 03:24:59PM +0530, Mugunthan V N wrote: > On Friday 03 October 2014 06:34 AM, Felipe Balbi wrote: > > [ 261.177168] [] (skb_panic) from [] > > (skb_put+0x5c/0x60) > > [ 261.184415] [] (skb_put) from [] > > (unix_stream_sendmsg+0x1

Re: [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window

2014-10-03 Thread Felipe Balbi
On Thu, Oct 02, 2014 at 04:59:30PM -0500, Felipe Balbi wrote: > Hi, > > On Thu, Oct 02, 2014 at 02:19:08PM -0700, Tony Lindgren wrote: > > * Felipe Balbi [141002 13:18]: > > > On Thu, Oct 02, 2014 at 12:52:38PM -0700, Tony Lindgren wrote: > > > > * Tony Lindgr

CPSW bug with AM437x SK

2014-10-02 Thread Felipe Balbi
Hi Mugunthan, I noticed that *really* rarely I get the skb panic below. What I have here is an AM437x SK running v3.17-rc6, with NFS root. Once booted, then I run cyclictest and hackbench (this one in an infinite loop) an eventually this will trigger. File system is mounted as read-only and anoth

Re: [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window

2014-10-02 Thread Felipe Balbi
Hi, On Thu, Oct 02, 2014 at 02:19:08PM -0700, Tony Lindgren wrote: > * Felipe Balbi [141002 13:18]: > > On Thu, Oct 02, 2014 at 12:52:38PM -0700, Tony Lindgren wrote: > > > * Tony Lindgren [141002 09:36]: > > > > * Tero Kristo [140924 02:04]: > > > &g

Re: [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window

2014-10-02 Thread Felipe Balbi
On Thu, Oct 02, 2014 at 12:52:38PM -0700, Tony Lindgren wrote: > * Tony Lindgren [141002 09:36]: > > * Tero Kristo [140924 02:04]: > > > On 09/19/2014 08:27 PM, Paul Walmsley wrote: > > > >On Fri, 19 Sep 2014, Paul Walmsley wrote: > > > > > > > >>However, I saw the following crash at boot on 37xx

Re: [PATCH v2 9/9] omap_hsmmc: remove unused slot_id parameter

2014-10-02 Thread Felipe Balbi
On Thu, Oct 02, 2014 at 09:45:29AM -0700, Tony Lindgren wrote: > * Felipe Balbi [141002 09:43]: > > On Mon, Sep 29, 2014 at 11:32:59AM +0200, Andreas Fenkart wrote: > > > omap_hsmmc only supports one slot. So slot id is always zero, and > > > slot id is never used

Re: [PATCH v2 9/9] omap_hsmmc: remove unused slot_id parameter

2014-10-02 Thread Felipe Balbi
On Mon, Sep 29, 2014 at 11:32:59AM +0200, Andreas Fenkart wrote: > omap_hsmmc only supports one slot. So slot id is always zero, and > slot id is never used in the callbacks I wonder if this will break slot multiplexing on n8x0. -- balbi signature.asc Description: Digital signature

Re: [PATCH v3 3/4] rtc: omap: Update Kconfig for OMAP RTC

2014-09-29 Thread Felipe Balbi
On Mon, Sep 29, 2014 at 10:55:39AM +0530, Lokesh Vutla wrote: > From: Tero Kristo > > RTC is present in AM43xx and DRA7xx also. Updating the Kconfig > to depend on ARCH_OMAP or ARCH_DAVINCI > > Signed-off-by: Lokesh Vutla > Signed-off-by: Tero Kristo Reviewed-by: Fel

Re: [PATCH 2/2] arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb

2014-09-27 Thread Felipe Balbi
make the code any > better. > > This code now works for both gcc and clang. > > Signed-off-by: Behan Webster > Suggested-by: Arnd Bergmann > Cc: Arnd Bergmann Reviewed-by: Felipe Balbi -- balbi signature.asc Description: Digital signature

Re: [PATCH 1/2] arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss

2014-09-27 Thread Felipe Balbi
make the code any > better. > > This code now works for both gcc and clang. > > Signed-off-by: Behan Webster > Suggested-by: Arnd Bergmann > Cc: Arnd Bergmann another one that make sense :-) And probably also deserves checkpatch/coccinelle/sparse. Reviewed-by: Fe

Re: [PATCH] clk, ti, LLVMLinux: Move __init outside of type definition

2014-09-26 Thread Felipe Balbi
most of the kernel code puts section attributes between the > return type and function name. In the case where the return type is a pointer, > it's important to place the '*' on left of the __init. > > This updated code works for both gcc and clang. > > Signed-off-by: Behan Webster > Reviewed-by: Mark Charlebois makes sense to me: Reviewed-by: Felipe Balbi I wonder if we should add this a Sparse or Coccinelle rule. -- balbi signature.asc Description: Digital signature

Re: [PATCH v2 3/4] rtc: omap: Update Kconfig for OMAP RTC

2014-09-25 Thread Felipe Balbi
On Thu, Sep 25, 2014 at 03:02:08PM +0530, Lokesh Vutla wrote: > From: Tero Kristo > > RTC is present in AM43xx and DRA7xx also. Updating the > same in Kconfig. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Tero Kristo > --- > Changes since v1: > - New patch > drivers/rtc/Kconfig|

Re: [PATCH v6 1/2] usb: rename phy to usb_phy in HCD

2014-09-24 Thread Felipe Balbi
On Wed, Sep 24, 2014 at 11:31:11PM +0400, Sergei Shtylyov wrote: > Hello. > > On 09/24/2014 11:28 PM, Felipe Balbi wrote: > > >>From: Antoine Tenart > > >>The USB PHY member of the HCD structure is renamed to 'usb_phy' and > >>modifications

Re: [PATCH v6 1/2] usb: rename phy to usb_phy in HCD

2014-09-24 Thread Felipe Balbi
pport. > > Signed-off-by: Antoine Tenart > [Sergei: added missing 'drivers/usb/misc/lvstest.c' file, resolved rejects, > updated changelog.] > Signed-off-by: Sergei Shtylyov > Acked-by: Alan Stern Acked-by: Felipe Balbi -- balbi signature.asc Description: Digital signature

Re: [PATCH 08/12] ARM: omap2plus_defconfig: Shrink with savedefconfig

2014-09-18 Thread Felipe Balbi
Hi, On Thu, Sep 18, 2014 at 08:57:32AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140915 21:57]: > > Hi, > > > > On Mon, Sep 15, 2014 at 08:12:02PM -0700, Tony Lindgren wrote: > > > This saves few lines and makes it easier to make patches >

Re: [PATCH] arm: arm: fiq: fix build breakage with CONFIG_FIQ

2014-09-17 Thread Felipe Balbi
Hi, On Wed, Sep 17, 2014 at 04:29:03PM -0700, Daniel Thompson wrote: > On 17/09/14 13:01, Felipe Balbi wrote: > > commit e1add97 (ARM: 8150/2: fiq: Replace default FIQ handler) > > has a typo which causes build breakage whenever CONFIG_FIQ is > > set. > > > >

Re: bug on ftrace with v3.17-rc5

2014-09-17 Thread Felipe Balbi
Hi, On Wed, Sep 17, 2014 at 04:42:11PM -0400, Steven Rostedt wrote: > On Wed, 17 Sep 2014 12:22:11 -0500 > Felipe Balbi wrote: > > > Hi, > > > > I just triggered a bug with trace by using tail on the trace file: > > > > # tail trace > > [ 2940.0392

[PATCH] arm: arm: fiq: fix build breakage with CONFIG_FIQ

2014-09-17 Thread Felipe Balbi
: Nicolas Pitre Fixes: e1add97 (ARM: 8150/2: fiq: Replace default FIQ handler) Signed-off-by: Felipe Balbi --- KernelVersion: next-20140917 Russell, let me know if this is the correct KernelVersion tag you want/need arch/arm/kernel/fiq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-09-17 Thread Felipe Balbi
Hi Mike, On Wed, Sep 03, 2014 at 12:22:03PM -0700, Mike Turquette wrote: > Quoting Tero Kristo (2014-08-21 06:47:45) > > In some cases, clocks can switch their parent with clk_set_rate, for > > example clk_mux can do this in some cases. Current implementation of > > clk_change_rate uses un-safe li

Re: bug on ftrace with v3.17-rc5

2014-09-17 Thread Felipe Balbi
Hi, On Wed, Sep 17, 2014 at 12:22:11PM -0500, Felipe Balbi wrote: > I just triggered a bug with trace by using tail on the trace file: > > # tail trace > [ 2940.039229] Unable to handle kernel paging request at virtual address > 814efa9e > [ 2940.046904] pgd = ec3dc0

bug on ftrace with v3.17-rc5

2014-09-17 Thread Felipe Balbi
Hi, I just triggered a bug with trace by using tail on the trace file: # tail trace [ 2940.039229] Unable to handle kernel paging request at virtual address 814efa9e [ 2940.046904] pgd = ec3dc000 [ 2940.049737] [814efa9e] *pgd= [ 2940.053552] Internal error: Oops: 5 [#1] SMP ARM [ 2940.0

Re: [PATCH] arm: omap2: n8x0: move i2c devices to DT

2014-09-17 Thread Felipe Balbi
On Wed, Sep 17, 2014 at 08:08:18AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140917 08:03]: > > On Wed, Sep 17, 2014 at 07:51:32AM -0700, Tony Lindgren wrote: > > > * Felipe Balbi [140916 13:34]: > > > > On Tue, Sep 16, 2014 at 03:31:40PM -0500, Felipe Balbi

Re: [PATCH] arm: omap2: n8x0: move i2c devices to DT

2014-09-17 Thread Felipe Balbi
On Wed, Sep 17, 2014 at 07:51:32AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140916 13:34]: > > On Tue, Sep 16, 2014 at 03:31:40PM -0500, Felipe Balbi wrote: > > > By moving i2c devices to DT we can clean up > > > i2c_board_info and fix a problem with moving >

Re: [PATCH] arm: omap2: n8x0: move i2c devices to DT

2014-09-16 Thread Felipe Balbi
On Tue, Sep 16, 2014 at 03:31:40PM -0500, Felipe Balbi wrote: > By moving i2c devices to DT we can clean up > i2c_board_info and fix a problem with moving > INTC to irq domain where IRQs can be renumbered > on each boot. > > Cc: Aaro Koskinen > Signed-off-by: Felipe Balbi

[PATCH] arm: omap2: n8x0: move i2c devices to DT

2014-09-16 Thread Felipe Balbi
By moving i2c devices to DT we can clean up i2c_board_info and fix a problem with moving INTC to irq domain where IRQs can be renumbered on each boot. Cc: Aaro Koskinen Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap2420-n810.dts | 7 +++ arch/arm/boot/dts/omap2420-n8x0

Re: [PATCH 08/12] ARM: omap2plus_defconfig: Shrink with savedefconfig

2014-09-15 Thread Felipe Balbi
Hi, On Mon, Sep 15, 2014 at 08:12:02PM -0700, Tony Lindgren wrote: > This saves few lines and makes it easier to make patches > against omap2plus_defconfig. > > Signed-off-by: Tony Lindgren while at that, can you enable voluntary preemption ? -- balbi signature.asc Description: Digital sign

[PATCH 1/9] irqchip: add irq-omap-intc.h header

2014-09-15 Thread Felipe Balbi
and some of the PM-related code, we just include the new header from common.h which was already included by all users of IRQ-related PM code. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/common.h | 10 +- include/linux/irqchip/irq-omap-intc.h | 32

[PATCH 3/9] irqchip: omap-intc: minor improvement to omap_irq_pending()

2014-09-15 Thread Felipe Balbi
We already hold the number of Pending registers in omap_nr_pending. Let's use that instead. Acked-by: Jason Cooper Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-omap-intc.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-omap-int

[PATCH 4/9] irqchip: omap-intc: comment style cleanup

2014-09-15 Thread Felipe Balbi
no functional changes, just making sure comment follows Coding Style. Acked-by: Jason Cooper Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-omap-intc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap

[PATCH 6/9] irqchip: omap-intc: enable IP protection

2014-09-15 Thread Felipe Balbi
When PROTECTION bit in enabled in PROTECTION register, INTC's registers are only accessible from privileged mode. Acked-by: Jason Cooper Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-omap-intc.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --

[PATCH 5/9] irqchip: omap-intc: remove unnecesary of_address_to_resource() call

2014-09-15 Thread Felipe Balbi
of_iomap(), which is called from omap_init_irq_of(), already takes care of making sure we have a valid resource to deal with. Because of that, we can safely remove our explicit call to of_address_to_resource(). Acked-by: Jason Cooper Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-omap

[PATCH 8/9] irqchip: omap-intc: correct maximum number or MIR registers

2014-09-15 Thread Felipe Balbi
maximum number of MIR register is 4, rather than 3. Fix that. Acked-by: Jason Cooper Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-omap-intc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c index

[PATCH 9/9] irqchip: omap-intc: remove unnecessary comments

2014-09-15 Thread Felipe Balbi
no fuctional changes. Acked-by: Jason Cooper Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-omap-intc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c index 976d4c1..f3814e7 100644 --- a/drivers/irqchip/irq

[PATCH 2/9] arm: omap: irq: move irq.c to drivers/irqchip/

2014-09-15 Thread Felipe Balbi
Just move the code over as it has no dependencies on arch/arm/ anymore. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-omap2/Makefile | 3 +-- drivers/irqchip/Kconfig

[PATCH 7/9] irqchip: omap-intc: enable TURBO idle mode

2014-09-15 Thread Felipe Balbi
When TURBO bit is set in the INTC_IDLE register, the input synchronizer clock will be autogated based on activity on the INTC. Because this idle mode increases the interrupt latency by 2 clock cycles, we're only enabling it during suspend. Acked-by: Jason Cooper Signed-off-by: Felipe

[PATCH 0/9] arm: omap: intc: remaining patches

2014-09-15 Thread Felipe Balbi
Hi Tony, Here are the remaining INTC patches rebased on your omap-for-v3.18/intc-v2 branch. Based on our IRC chat, I kept irq-omap-intc.h header, but included it on common.h instead of modifying every board-file. cheers Felipe Balbi (9): irqchip: add irq-omap-intc.h header arm: omap: irq

Re: [PATCH 30/35] irqchip: add irq-omap-intc.h header

2014-09-15 Thread Felipe Balbi
Hi, On Thu, Sep 11, 2014 at 02:08:01PM -0700, Tony Lindgren wrote: > * Felipe Balbi [140728 14:19]: > > OMAP INTC irqchip driver will be moved under > > drivers/irqchip/ soon but we still have a dependency > > with mach-omap2 when it comes to idle functions. > > >

Re: [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3

2014-09-11 Thread Felipe Balbi
On Wed, Sep 10, 2014 at 03:03:33PM +0300, Dmitry Lifshitz wrote: > Hi, > > On 09/08/2014 04:24 PM, Felipe Balbi wrote: > >Hi, > > > >On Mon, Sep 08, 2014 at 02:34:33PM +0300, Dmitry Lifshitz wrote: > >>Hi Felipe, Roger > >> > >>On 04/16/2014 0

Re: [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 03:32:37PM +0300, Dmitry Lifshitz wrote: > Hi Roger, > > Thank you for a quick reply. See, my reply below. > > On 09/08/2014 02:39 PM, Roger Quadros wrote: > >On 09/08/2014 02:34 PM, Dmitry Lifshitz wrote: > >>Hi Felipe, Roger > >

Re: [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 02:34:33PM +0300, Dmitry Lifshitz wrote: > Hi Felipe, Roger > > On 04/16/2014 07:16 PM, Felipe Balbi wrote: > >On Fri, Oct 11, 2013 at 05:46:12PM +0300, Roger Quadros wrote: > >>Hi, > >> > >>On 10/10/2013 01:49 PM, Kisho

Re: [PATCH v6 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-05 Thread Felipe Balbi
On Fri, Sep 05, 2014 at 05:55:20PM +0100, Peter Griffin wrote: > Hi Felipe, > > On Fri, 05 Sep 2014, Felipe Balbi wrote: > > > > + > > > > + device_for_each_child(&pdev->dev, NULL, st_dwc3_remove_child); > > > > > > same as before

Re: [PATCH v6 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-05 Thread Felipe Balbi
On Fri, Sep 05, 2014 at 10:47:01AM -0500, Felipe Balbi wrote: > Hi, > > On Fri, Sep 05, 2014 at 04:36:30PM +0100, Peter Griffin wrote: > > +static int st_dwc3_remove_child(struct device *dev, void *c) > > +{ > > + struct platform_device *pd

Re: [PATCH v6 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-05 Thread Felipe Balbi
Hi, On Fri, Sep 05, 2014 at 04:36:30PM +0100, Peter Griffin wrote: > +static int st_dwc3_remove_child(struct device *dev, void *c) > +{ > + struct platform_device *pdev = to_platform_device(dev); > + > + of_device_unregister(pdev); > + > + return 0; > +} > + > +static int st_dwc3_remov

Re: [PATCH v5 1/2] usb: rename phy to usb_phy in HCD

2014-09-05 Thread Felipe Balbi
pport. > > Signed-off-by: Antoine Tenart > [Sergei: added missing 'drivers/usb/misc/lvstest.c' file, resolved rejects > caused by patch reordering, updated changelog.] > Signed-off-by: Sergei Shtylyov > Acked-by: Alan Stern Acked-by: Felipe Balbi > --- > Changes

[PATCH] arm: boot: dts: am4372: fix USB regs size

2014-09-03 Thread Felipe Balbi
Size should be 64KiB instead of 92KiB. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/am4372.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 9b3d2ba..8689949 100644 --- a/arch/arm/boot/dts/am4372

Re: [PATCH v5 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-03 Thread Felipe Balbi
Hi, On Tue, Sep 02, 2014 at 06:08:47PM +0100, Peter Griffin wrote: > +static int st_dwc3_remove(struct platform_device *pdev) > +{ > + struct st_dwc3 *dwc3_data = platform_get_drvdata(pdev); > + > + device_for_each_child(&pdev->dev, NULL, st_dwc3_remove_child); you might want to use of_pl

Re: [PATCH 5/5] phy: exynos5-usbdrd: Adding Kconfig dependency for Exynos7

2014-09-03 Thread Felipe Balbi
On Wed, Sep 03, 2014 at 09:32:14AM +0530, Vivek Gautam wrote: > On Tue, Sep 2, 2014 at 8:07 PM, Felipe Balbi wrote: > > On Mon, Sep 01, 2014 at 01:30:21PM +0530, Vivek Gautam wrote: > >> On Thu, Aug 28, 2014 at 8:36 PM, Daniele Forsi wrote: > >> > 2014-08-2

Re: [PATCH v4 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-02 Thread Felipe Balbi
Hi, On Tue, Sep 02, 2014 at 12:18:12PM +0100, Peter Griffin wrote: > Hi Felipe, > > Sorry for the delay in replying to this mail, I've been trying to get > answers to the suspend/resume questions you had. np > > > +config USB_DWC3_ST > > > + tristate "STMicroelectronics Platforms" > > > + depen

Re: [PATCH 5/5] phy: exynos5-usbdrd: Adding Kconfig dependency for Exynos7

2014-09-02 Thread Felipe Balbi
On Mon, Sep 01, 2014 at 01:30:21PM +0530, Vivek Gautam wrote: > On Thu, Aug 28, 2014 at 8:36 PM, Daniele Forsi wrote: > > 2014-08-28 10:02 GMT+02:00 Vivek Gautam: > > > >> This USB 3.0 PHY controller is also present on Exynos7 > >> platform, so adding the dependency on ARCH_EXYNOS7 for this driver

Re: [PATCH 1/5] usb: dwc3: exynos: Add support for SCLK present on Exynos7

2014-09-02 Thread Felipe Balbi
On Tue, Sep 02, 2014 at 04:09:08PM +0530, Vivek Gautam wrote: > Hi, > > > On Fri, Aug 29, 2014 at 12:18 AM, Mark Rutland wrote: > > On Thu, Aug 28, 2014 at 09:01:56AM +0100, Vivek Gautam wrote: > >> Exynos7 also has a separate special gate clock going to the IP > >> apart from the usual AHB cloc

Re: [PATCH 15/15] tty: serial: 8250: omap: add dma support

2014-08-29 Thread Felipe Balbi
On Fri, Aug 29, 2014 at 11:32:36AM +0200, Sebastian Andrzej Siewior wrote: > On 08/29/2014 12:54 AM, Tony Lindgren wrote: > > * Sebastian Andrzej Siewior [140828 12:37]: > >> On 08/28/2014 06:46 PM, Tony Lindgren wrote: > >>> > >>> Sounds like there should be some way to clear that state.. I wonde

Re: [PATCH 4/5] usb: dwc3: Adding Kconfig dependency for Exynos7

2014-08-28 Thread Felipe Balbi
On Thu, Aug 28, 2014 at 01:31:59PM +0530, Vivek Gautam wrote: > The Exynos-DWC3 USB 3.0 DRD controller is also present on > Exynos7 platform, so adding the dependency on ARCH_EXYNOS7 > for this driver. > > Signed-off-by: Vivek Gautam > --- > drivers/usb/dwc3/Kconfig |2 +- > 1 file changed,

Re: [PATCH 3/5] phy: exynos5-usbdrd: Add facility for VBUS-BOOST-5V supply

2014-08-28 Thread Felipe Balbi
hi, On Thu, Aug 28, 2014 at 01:31:58PM +0530, Vivek Gautam wrote: > @@ -457,11 +458,19 @@ static int exynos5_usbdrd_phy_power_on(struct phy *phy) > clk_prepare_enable(phy_drd->ref_clk); > > /* Enable VBUS supply */ > + if (phy_drd->vbus_boost) { > + ret = regulator_en

Re: [PATCH 1/5] usb: phy: twl4030-usb: Remove unused irq_enabled

2014-08-27 Thread Felipe Balbi
Hi, On Wed, Aug 27, 2014 at 04:28:07PM -0700, Tony Lindgren wrote: > It's not being used any longer. > > Signed-off-by: Tony Lindgren > --- > drivers/phy/phy-twl4030-usb.c | 2 -- > drivers/usb/phy/phy-twl6030-usb.c | 2 -- > 2 files changed, 4 deletions(-) > > diff --git a/drivers/phy/phy

possible bug with v3.17-rc1

2014-08-26 Thread Felipe Balbi
Hi, first of all, yes, I will try v3.17-rc2 shortly ;-) So this kicked in when I was doing a rather large upgrade on my board, so many packages were unpacked, installed, setup, etc. I wonder if anybody has faced similar issues with v3.17-rc1 ? This is with an AM437x StarterKit btw. Logs below

Re: [RFC PATCH 3/4] tty: omap-serial: use threaded interrupt handler

2014-08-21 Thread Felipe Balbi
Hi, On Thu, Aug 21, 2014 at 11:41:17PM +0200, Frans Klaver wrote: > On Wed, Aug 20, 2014 at 11:06:05AM -0500, Felipe Balbi wrote: > > On Wed, Aug 20, 2014 at 08:40:28AM +0200, Frans Klaver wrote: > > > On Tue, Aug 19, 2014 at 01:57:02PM -0500, Felipe Balbi wrote: > > >

Re: [PATCH] usb: phy: twl4030-usb: Fix lost interrupts after ID pin goes down

2014-08-21 Thread Felipe Balbi
duplicate code. > > Fixes: 249751f22380 ("usb: phy: twl4030-usb: poll for ID disconnect") > Cc: sta...@vger.kernel.org # v3.12+ > Signed-off-by: Tony Lindgren looks ok to me: Acked-by: Felipe Balbi -- balbi signature.asc Description: Digital signature

Re: [PATCH] usb: phy: twl4030-usb: Fix regressions to runtime PM on omaps

2014-08-21 Thread Felipe Balbi
PM_OPS(twl4030_usb_runtime_suspend, > +twl4030_usb_runtime_resume, NULL) > +}; > + > static int twl4030_usb_probe(struct platform_device *pdev) > { > struct twl4030_usb_data *pdata = dev_get_platdata(&pdev->dev); > @@ -726,6 +755,11 @@ sta

Re: [PATCH v4 2/3] usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation

2014-08-21 Thread Felipe Balbi
Hi Peter, On Thu, Aug 21, 2014 at 03:03:47PM +0100, Peter Griffin wrote: > Hi Felipe, > > On Thu, 21 Aug 2014, Felipe Balbi wrote: > > > > Currently (in the vendor tree) one of the phys lives in > > > drivers/usb/phy and the other in drivers/phy. > > >

Re: [PATCH v4 2/3] usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation

2014-08-21 Thread Felipe Balbi
On Thu, Aug 21, 2014 at 02:33:40PM +0100, Peter Griffin wrote: > Hi Felipe, > > Thanks for reviewing, see my comments below: - > > On Wed, 20 Aug 2014, Felipe Balbi wrote: > > > > + dwc3: dwc3@990 { > > > + compatible = "snps,dwc3";

Re: [PATCH v2 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-08-20 Thread Felipe Balbi
On Wed, Jul 23, 2014 at 03:33:23PM +0100, Peter Griffin wrote: > > > > > + reset_control_assert(dwc3_data->rstc_pwrdn); > > > > > + > > > > > + pinctrl_pm_select_sleep_state(dev); > > > > pinctrl will select sleep and default states automatically for you. > > I've left this in v3, as grep

Re: [PATCH v4 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-08-20 Thread Felipe Balbi
Hi, On Wed, Jul 30, 2014 at 04:28:09PM +0100, Peter Griffin wrote: > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It manages the powerdown signal, > and configures the internal glue logic and syscfg registers. > > Signed-off-by: Giuseppe Cavallaro > Signed-off

Re: [PATCH v4 2/3] usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation

2014-08-20 Thread Felipe Balbi
On Wed, Jul 30, 2014 at 04:28:10PM +0100, Peter Griffin wrote: > This patch documents the device tree documentation required for > the ST usb3 controller glue layer found in STiH407 devices. > > Signed-off-by: Giuseppe Cavallaro > Signed-off-by: Peter Griffin > Acked-by: Lee Jones > --- > Docu

Re: [PATCH v4 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-08-20 Thread Felipe Balbi
On Wed, Jul 30, 2014 at 04:28:11PM +0100, Peter Griffin wrote: -ENOLOG > Signed-off-by: Peter Griffin > Acked-by: Lee Jones > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 702ca10..269ad3b 100644 > --- a/MAINTAINERS > +++ b/MAINTA

Re: [RFC PATCH 3/4] tty: omap-serial: use threaded interrupt handler

2014-08-20 Thread Felipe Balbi
On Wed, Aug 20, 2014 at 08:40:28AM +0200, Frans Klaver wrote: > On Tue, Aug 19, 2014 at 01:57:02PM -0500, Felipe Balbi wrote: > > On Tue, Aug 19, 2014 at 02:14:47PM +0200, Frans Klaver wrote: > > > At 3.6Mbaud, with slightly over 2Mbit/s data coming in, we see 1600 uart > &g

Re: [RFC PATCH 3/4] tty: omap-serial: use threaded interrupt handler

2014-08-19 Thread Felipe Balbi
On Tue, Aug 19, 2014 at 02:14:47PM +0200, Frans Klaver wrote: > At 3.6Mbaud, with slightly over 2Mbit/s data coming in, we see 1600 uart > rx buffer overflows within 30 seconds. Threading the interrupt handling > reduces > this to about 170 overflows in 10 minutes. Can you try Sebastian Siewior's

Re: [PATCH v7] 8250-core based serial driver for OMAP + DMA

2014-08-18 Thread Felipe Balbi
On Mon, Aug 18, 2014 at 11:15:17AM -0400, Peter Hurley wrote: > On 08/15/2014 04:28 PM, Tony Lindgren wrote: > > * Sebastian Andrzej Siewior [140815 12:16]: > >> On 08/15/2014 08:17 PM, Lennart Sorensen wrote: > >> > >>> Are you saying that with the new driver you have to respond to the RX > >>> i

Lock Directory failure

2014-08-18 Thread Felipe Balbi
Hi folks, with today's Linux next I keep getting below kernel error rather frequently with my beagle bone black (ARM Cortex A8): [5.096203] systemd[1]: Mounting User Runtime Directory... Mounting User Runtime Directory... [5.135060] systemd[1]: Mounting Lock Directory...

Re: DTR gpio handling removed by 985bfd54c826c0ba873ca0adfd5589263e0c6ee2

2014-08-15 Thread Felipe Balbi
Hi, On Fri, Aug 15, 2014 at 08:08:44AM +0200, Dr. H. Nikolaus Schaller wrote: > Hi Felipe, > > Am 15.08.2014 um 00:58 schrieb Felipe Balbi : > > > Hi, > > > > On Thu, Aug 14, 2014 at 11:04:58PM +0200, Belisko Marek wrote: > >> du

Re: DTR gpio handling removed by 985bfd54c826c0ba873ca0adfd5589263e0c6ee2

2014-08-14 Thread Felipe Balbi
Hi, On Thu, Aug 14, 2014 at 11:04:58PM +0200, Belisko Marek wrote: > during 3.15 release was removed by commit > 985bfd54c826c0ba873ca0adfd5589263e0c6ee2 code which was added by > 9574f36fb801035f6ab0fbb1b53ce2c12c17d100 by Neil Brown. We're using > DTR gpio in gta04 device. I plan to post DT bind

Re: OMAP baseline test results for v3.16-rc4

2014-08-08 Thread Felipe Balbi
Hi, On Fri, Aug 08, 2014 at 11:39:08PM +, Paul Walmsley wrote: > On Fri, 8 Aug 2014, Felipe Balbi wrote: > > > On Fri, Aug 08, 2014 at 06:11:54AM +, Paul Walmsley wrote: > > > On Thu, 7 Aug 2014, Felipe Balbi wrote: > > > > > > > we have sta

Re: OMAP baseline test results for v3.16-rc4

2014-08-08 Thread Felipe Balbi
On Fri, Aug 08, 2014 at 06:11:54AM +, Paul Walmsley wrote: > On Thu, 7 Aug 2014, Felipe Balbi wrote: > > > we have stable releases for that. > > Stable releases aren't a fix for process failures. of course not, but your claim that there's no way to fix v3.16 is

Re: OMAP baseline test results for v3.16-rc4

2014-08-07 Thread Felipe Balbi
Hi, On Thu, Aug 07, 2014 at 10:21:23PM +, Paul Walmsley wrote: > On Fri, 1 Aug 2014, Tony Lindgren wrote: > > > * Paul Walmsley [140731 12:29]: > > > On Thu, 31 Jul 2014, Tony Lindgren wrote: > > > > > > > * Paul Walmsley [140730 00:55]: > > > > > On Tue, 29 Jul 2014, Tony Lindgren wrote:

Re: Working in custom board - supporting and patches

2014-08-06 Thread Felipe Balbi
Hi, On Wed, Aug 06, 2014 at 11:44:47PM +0700, Boris Vinogradov wrote: > Hello, > > I'm using another arm boards and know basics in linux kernel. > > I need a little help (sorry, my english it's so bad) - Now I'm writed > patches for AM335x(BeagleBone Black) and need to append it in mainline > ke

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-08-01 Thread Felipe Balbi
Hi, On Fri, Aug 01, 2014 at 03:26:34PM +0300, Tero Kristo wrote: > >>I might have sent the wrong version as I had that same build error and > >>fixed it localy. > >> > >>>it fixes the regression for me, Also now the whole series works for > >>>me :) > >> > >>good to kno

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-31 Thread Felipe Balbi
Hi, On Thu, Jul 31, 2014 at 10:57:09AM +0300, Tero Kristo wrote: > On 07/31/2014 09:28 AM, Tony Lindgren wrote: > >* Felipe Balbi [140730 09:23]: > >>Hi, > >> > >>On Wed, Jul 30, 2014 at 10:45:41AM -0500, Nishanth Menon wrote: > >>>On Wed, Jul 30

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-30 Thread Felipe Balbi
Hi, On Wed, Jul 30, 2014 at 10:45:41AM -0500, Nishanth Menon wrote: > On Wed, Jul 30, 2014 at 9:40 AM, Felipe Balbi wrote: > > HI, > > > > On Tue, Jul 29, 2014 at 11:04:21PM -0700, Tony Lindgren wrote: > >> * Felipe Balbi [140729 09:36]: > >> > Hi, &

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-30 Thread Felipe Balbi
HI, On Tue, Jul 29, 2014 at 11:04:21PM -0700, Tony Lindgren wrote: > * Felipe Balbi [140729 09:36]: > > Hi, > > > > On Tue, Jul 29, 2014 at 10:40:57AM -0500, Felipe Balbi wrote: > > > On Tue, Jul 29, 2014 at 08:20:52AM -0700, Tony Lindgren wrote: > &g

Re: [PATCH v3 0/2] usb: fix controller-PHY binding for OMAP3 platform

2014-07-29 Thread Felipe Balbi
Hi, On Tue, Jul 29, 2014 at 02:38:24PM +0200, Laurent Pinchart wrote: > On Wednesday 23 July 2014 14:29:36 Kishon Vijay Abraham I wrote: > > On Monday 21 July 2014 08:45 PM, Felipe Balbi wrote: > > > On Mon, Jul 21, 2014 at 05:04:57PM +0200, Laurent Pinchart wrote

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-29 Thread Felipe Balbi
Hi, On Tue, Jul 29, 2014 at 10:40:57AM -0500, Felipe Balbi wrote: > On Tue, Jul 29, 2014 at 08:20:52AM -0700, Tony Lindgren wrote: > > * Felipe Balbi [140729 07:18]: > > > Hi, > > > > > > On Tue, Jul 29, 2014 at 05:14:25AM -0700, Tony Lindgren wrote: &

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-29 Thread Felipe Balbi
On Tue, Jul 29, 2014 at 08:20:52AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140729 07:18]: > > Hi, > > > > On Tue, Jul 29, 2014 at 05:14:25AM -0700, Tony Lindgren wrote: > > > * Felipe Balbi [140728 14:19]: > > > > now that we don't nee

Re: [PATCH 13/35] arm: omap: irq: call set_handle_irq() from intc_of_init

2014-07-29 Thread Felipe Balbi
On Tue, Jul 29, 2014 at 04:20:20AM +0200, Sebastian Reichel wrote: > Hi, > > On Mon, Jul 28, 2014 at 04:16:01PM -0500, Felipe Balbi wrote: > > this will let us drop .handle_irq and .init_irq fields > > from our generic machine_descs. > > > > Signed-off-by: Fe

Re: [PATCH 30/35] irqchip: add irq-omap-intc.h header

2014-07-29 Thread Felipe Balbi
On Tue, Jul 29, 2014 at 08:06:55AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140729 07:13]: > > On Tue, Jul 29, 2014 at 05:01:33AM -0700, Tony Lindgren wrote: > > > * Felipe Balbi [140728 14:19]: > > > > OMAP INTC irqchip driver will be moved under > > &g

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-29 Thread Felipe Balbi
Hi, On Tue, Jul 29, 2014 at 05:14:25AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140728 14:19]: > > now that we don't need to support legacy board-files, > > we can completely switch over to a linear irq domain > > and make use of irq_alloc_domain_generic_chips() t

Re: [PATCH 30/35] irqchip: add irq-omap-intc.h header

2014-07-29 Thread Felipe Balbi
On Tue, Jul 29, 2014 at 05:01:33AM -0700, Tony Lindgren wrote: > * Felipe Balbi [140728 14:19]: > > OMAP INTC irqchip driver will be moved under > > drivers/irqchip/ soon but we still have a dependency > > with mach-omap2 when it comes to idle functions. > > > >

[PATCH 16/35] arm: omap: irq: add specific compatibles for omap3 and am33xx devices

2014-07-28 Thread Felipe Balbi
with this, we can use a compatible flag to figure out how many irq lines are wired up, no need for our TI-specific ti,intc-size binding. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/irq.c b

[PATCH 04/35] arm: omap: irq: add a global omap_nr_irqs variable

2014-07-28 Thread Felipe Balbi
this will cache number of irqs. Also in preparation for removal of irq_banks array. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 83163d0..3870853 100644 --- a/arch/arm

[PATCH 07/35] arm: omap: irq: switch over to intc_readl on omap_intc_handle_irq

2014-07-28 Thread Felipe Balbi
an almost blind conversion from readl_relaxed to our newly introduced intc_readl(). While at that, also remove some hardcoded register addresses. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch

[PATCH 02/35] arm: omap: irq: define INTC_ILR0 register

2014-07-28 Thread Felipe Balbi
this is currently used as a hardcoded 0x100 offset. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 7b2cf9a..96073a2 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm

[PATCH 06/35] arm: omap: irq: remove unused macro

2014-07-28 Thread Felipe Balbi
no functional changes. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 8c85c39..8905ebb 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -42,8

[PATCH 00/35] arm: omap: move intc to drivers/irqchip/

2014-07-28 Thread Felipe Balbi
modes can access INTC's address space. Patches tested on top of v3.17-rc7 with a beagle bone black, the only plataform I have which still uses INTC. Tony, if you can run your PM test cases on your side, I'd be really glad. cheers Felipe Balbi (35): arm: omap: irq: make omap_irq_base glo

[PATCH 01/35] arm: omap: irq: make omap_irq_base global

2014-07-28 Thread Felipe Balbi
This is in preparation for removing the pointless irq_banks array. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 35b8590..7b2cf9a 100644 --- a/arch/arm

[PATCH 08/35] arm: omap: irq: remove unnecessary base_addr argument

2014-07-28 Thread Felipe Balbi
omap_intc_handle_irq now had an unnecessary base_addr argument. Let's remove it and fix all callers. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/

[PATCH 05/35] arm: omap: irq: remove rest of irq_banks usage

2014-07-28 Thread Felipe Balbi
now we can finally remove the pointless irq_banks array. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 128 +- 1 file changed, 47 insertions(+), 81 deletions(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index

[PATCH 13/35] arm: omap: irq: call set_handle_irq() from intc_of_init

2014-07-28 Thread Felipe Balbi
this will let us drop .handle_irq and .init_irq fields from our generic machine_descs. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index e6997c5..e452411 100644 --- a/arch

[PATCH 14/35] arm: omap: irq: use IRQCHIP_DECLARE macro

2014-07-28 Thread Felipe Balbi
IRQCHIP_DECLARE macro is used to declare the same of_device_id structure for irqchips, it's just a helper. No functional changes. Note that we're temporarily including irqchip.h with its full path, until we move this driver to drivers/irqchip/. Signed-off-by: Felipe Balbi --- arc

[PATCH 25/35] arm: omap: irq: remove unnecessary header

2014-07-28 Thread Felipe Balbi
There's no need for that header to be included. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 14716a8..a405b96 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm

[PATCH 22/35] arm: omap: irq: call set_handle_irq() from .init_irq

2014-07-28 Thread Felipe Balbi
the idea is that board-files won't need to set .handle_irq on their machine_descs, which lets us drop a little more pointless code. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-

<    3   4   5   6   7   8   9   10   11   12   >