Re: [PATCH v2] video: imxfb: Do not crash on reboot

2012-10-08 Thread Baruch Siach
Hi Fabio, On Mon, Oct 08, 2012 at 07:23:58PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Issuing a reboot command after the LCD times out causes the following warnings: [snip] @@ -513,47 +514,53 @@ static void imxfb_exit_backlight(struct imxfb_info *fbi)

[BUG] irq_dispose_mapping after irq request failure

2013-02-10 Thread Baruch Siach
Hi lkml, The drivers/edac/mpc85xx_edac.c driver contains the following (abbreviated) code snippet it its .probe: res = devm_request_irq(op-dev, pdata-irq, mpc85xx_pci_isr, IRQF_DISABLED, [EDAC] PCI err,

Re: [BUG] irq_dispose_mapping after irq request failure

2013-02-10 Thread Baruch Siach
Hi Michael, On Mon, Feb 11, 2013 at 05:19:49PM +1100, Michael Ellerman wrote: On Mon, Feb 11, 2013 at 07:31:00AM +0200, Baruch Siach wrote: [...] mpc85xx_pci_err_probe: Unable to requiest irq 16 for MPC85xx PCI err While you're there, can you fix the typo :) The patch fixing it is already

Re: [RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Baruch Siach
Hi Barry, On Fri, Nov 23, 2012 at 10:50:22AM +0800, Barry Song wrote: [...] diff --git a/kernel/printk.c b/kernel/printk.c index 2d607f4..0b88d6bf 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -250,6 +250,9 @@ static u32 clear_idx; #define LOG_ALIGN __alignof__(struct log)

Re: [PATCH 2/2] pinctrl: mvebu: make pdma clock on dove mandatory

2012-11-26 Thread Baruch Siach
Hi Sebastian, On Mon, Nov 26, 2012 at 10:20:34AM +0100, Sebastian Hesselbarth wrote: [...] diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c b/drivers/pinctrl/mvebu/pinctrl-dove.c index 40c9c3e..90f257d 100644 --- a/drivers/pinctrl/mvebu/pinctrl-dove.c +++

Re: [PATCH] time: sched_clock: fix integer overflow

2013-07-29 Thread Baruch Siach
Hi Thomas, John, On Wed, Jul 17, 2013 at 12:46:53PM +0300, Baruch Siach wrote: The expression '(1 32)' happens to evaluate as 0 on ARM, but it evaluates as 1 on xtensa and x86_64. This zeros sched_clock_mask, and breaks sched_clock(). Set the type of 1 to 'unsigned long long' to get

Re: [GIT PULL] Generic sched_clock fix for 3.11

2013-08-18 Thread Baruch Siach
to 53c035204253efe373d9ff166fae6147e8c693b6: sched_clock: Fix integer overflow (2013-07-22 16:24:22 -0700) Baruch Siach (1): sched_clock: Fix integer overflow kernel/time/sched_clock.c | 2 +- 1 file changed

Re: [PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-08-18 Thread Baruch Siach
Hi John, On Wed, Jul 17, 2013 at 12:21:12PM -0700, John Stultz wrote: On 07/17/2013 12:12 PM, Baruch Siach wrote: On Wed, Jul 17, 2013 at 11:57:32AM -0700, John Stultz wrote: On 07/17/2013 03:05 AM, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- MAINTAINERS | 2

Re: [RFC PATCH 2/2] clocksource: dw_apb: allow build for architectures other than arm

2013-06-20 Thread Baruch Siach
Hi Pavel, On Thu, Jun 20, 2013 at 04:44:33PM +0200, Pavel Machek wrote: @@ -73,6 +77,9 @@ static void add_clocksource(struct device_node *source_timer) } static void __iomem *sched_io_base; +#ifndef CONFIG_HAVE_SETUP_SCHED_CLOCK +static u64 sched_clock_mult __read_mostly;

[PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-07-17 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bf61e04..bd9616a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7129,6 +7129,7 @@ M:Thomas Gleixner t...@linutronix.de T: git git

[PATCH] time: sched_clock: fix integer overflow

2013-07-17 Thread Baruch Siach
jcmvb...@gmail.com Acked-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Baruch Siach bar...@tkos.co.il --- kernel/time/sched_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c index a326f27..0b479a6 100644

Re: [PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-07-17 Thread Baruch Siach
Hi John, On Wed, Jul 17, 2013 at 11:57:32AM -0700, John Stultz wrote: On 07/17/2013 03:05 AM, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bf61e04..bd9616a 100644

Re: [PATCH v4 04/17] sched_clock: Add support for 32 bit sched_clock

2013-07-19 Thread Baruch Siach
Hi Stephen, On Thu, Jul 18, 2013 at 04:21:17PM -0700, Stephen Boyd wrote: The ARM architected system counter has at least 56 usable bits. Add support for counters with more than 32 bits to the generic sched_clock implementation so we can increase the time between wakeups due to dealing with

Re: [PATCH 1/1] clk/zynq: Fix possible memory leak

2013-10-06 Thread Baruch Siach
Hi Felipe, On Sun, Oct 06, 2013 at 09:55:17PM -0300, Felipe Pena wrote: The zynq_clk_register_fclk function can leak memory (fclk_lock) when unable to alloc memory for fclk_gate_lock Signed-off-by: Felipe Pena felipe...@gmail.com --- drivers/clk/zynq/clkc.c |1 + 1 file changed, 1

Re: [PATCH] ARM : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Baruch Siach
Hi Eunbong, On Thu, Nov 28, 2013 at 01:18:45AM +, Eunbong Song wrote: This patch removes CONFIG_MTD_PARTITIONS in config files for arm. Because CONFIG_MTD_PARTITIONS was removed by commit 6a8a98b22b10f1560d5f90aded4a54234b9b2724. --- I resend this patch because i forgot signoff. Well,

Re: [Linux-Xtensa] [PATCH v2] perf: add support for the xtensa architecture

2014-01-12 Thread Baruch Siach
Hi perf maintainers, Ping? Anyone taking this for v3.14? baruch On Thu, Jan 02, 2014 at 09:57:10AM +0200, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- v2: use the core ID field from /proc/cpuinfo (Max Filippov) --- tools/perf/perf.h | 7 +++ 1 file changed

[PATCH v3] perf: add support for the xtensa architecture

2014-01-13 Thread Baruch Siach
-by: Baruch Siach bar...@tkos.co.il --- v2: use the core ID field from /proc/cpuinfo (Max Filippov) v3: add testing and kernel dependency information (Ingo Molnar) --- tools/perf/perf.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/perf.h b/tools/perf/perf.h index b079304bd53d

Re: [PATCH] perf: design.txt: remove mention of set_perf_event_pending

2014-01-13 Thread Baruch Siach
Hi perf maintainers, Ping? On Thu, Nov 28, 2013 at 04:04:12PM +0200, Baruch Siach wrote: set_perf_event_pending() was removed in e360adbe (irq_work: Add generic hardirq context callbacks) Signed-off-by: Baruch Siach bar...@tkos.co.il --- tools/perf/design.txt | 1 - 1 file changed, 1

Re: [PATCHv2 0/6] Make ARM's sched_clock generic + 64 bit friendly

2013-06-16 Thread Baruch Siach
Hi John, On Tue, Jun 04, 2013 at 10:53:04AM -0700, John Stultz wrote: On 06/04/2013 09:09 AM, Will Deacon wrote: On Tue, Jun 04, 2013 at 01:19:48AM +0100, John Stultz wrote: On 06/01/2013 11:39 PM, Stephen Boyd wrote: This is mostly a resend of a patch series I sent a little over a month

Re: [PATCHv2 0/6] Make ARM's sched_clock generic + 64 bit friendly

2013-06-17 Thread Baruch Siach
Hi John, On Mon, Jun 17, 2013 at 09:23:00AM -0700, John Stultz wrote: On 06/16/2013 02:45 AM, Baruch Siach wrote: On Tue, Jun 04, 2013 at 10:53:04AM -0700, John Stultz wrote: On 06/04/2013 09:09 AM, Will Deacon wrote: On Tue, Jun 04, 2013 at 01:19:48AM +0100, John Stultz wrote: On 06/01/2013

Re: [PATCH 3/3] clocksource: dw_apb_timer_of: use clocksource_of_init

2013-06-03 Thread Baruch Siach
Hi Heiko, On Mon, Jun 03, 2013 at 09:59:55PM +0200, Heiko Stübner wrote: dw_apb_timer_init used to search the devicetree for matching timer devices, making calls to it from board files necessary. Change the dw_apb_timer_init to work with CLOCKSOURCE_OF_DECLARE. With this change the function

Re: [PATCH 2/8] clocksource: sun4i: Add clocksource and sched clock drivers

2013-06-27 Thread Baruch Siach
Hi Maxime, On Wed, Jun 26, 2013 at 11:16:55PM +0200, Maxime Ripard wrote: The A10 and the A13 has a 64 bits free running counter that we can use as a clocksource and a sched clock, that were both not used yet on these platforms. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

Re: [RFC PATCH 2/2] clocksource: dw_apb: allow build for architectures other than arm

2013-05-29 Thread Baruch Siach
Hi John, On Tue, May 28, 2013 at 01:24:17PM -0700, John Stultz wrote: On 05/26/2013 05:12 AM, Baruch Siach wrote: ARM is the only architecture providing sched_clock.h and setup_sched_clock(). Implement sched_clock() for use by other architectures. Cc: Ingo Molnar mi...@redhat.com Cc: Peter

Re: [RFC PATCH 2/2] clocksource: dw_apb: allow build for architectures other than arm

2013-05-30 Thread Baruch Siach
Hi John, On Thu, May 30, 2013 at 09:11:17AM -0700, John Stultz wrote: On 05/29/2013 10:32 PM, Baruch Siach wrote: On Tue, May 28, 2013 at 01:24:17PM -0700, John Stultz wrote: On 05/26/2013 05:12 AM, Baruch Siach wrote: static const struct of_device_id osctimer_ids[] __initconst

Re: [PATCH 02/10] clocksource: dw_apb_timer_of: add clock-handling

2013-06-02 Thread Baruch Siach
Hi Heiko, On Mon, Jun 03, 2013 at 12:56:37AM +0200, Heiko Stübner wrote: Add the possibility to get the clock-frequency from a timer clock instead of specifying it as dt property. Additionally also add the possibility to also define a controlling periphal clock for the timer block. The

Re: [PATCHv2 3/6] sched_clock: Make ARM's sched_clock generic for all architectures

2013-06-03 Thread Baruch Siach
Hi Stephen, On Sat, Jun 01, 2013 at 11:39:40PM -0700, Stephen Boyd wrote: Nothing about the sched_clock implementation in the ARM port is specific to the architecture. Generalize the code so that other architectures can use it by selecting GENERIC_SCHED_CLOCK. Signed-off-by: Stephen Boyd

Re: [PATCHv2 0/6] Make ARM's sched_clock generic + 64 bit friendly

2013-06-03 Thread Baruch Siach
patches. The last three patches add 64 bit support and move the architected timers on ARM64 and ARM to use it. You can have my Build-tested-by: Baruch Siach bar...@tkos.co.il for xtensa target, with the dw_apb_timer driver (no real hardware yet). Thanks for pushing this series. baruch Stephen

[RFC PATCH 2/2] clocksource: dw_apb: allow build for architectures other than arm

2013-05-26 Thread Baruch Siach
Iles ja...@jamieiles.com Cc: Dinh Nguyen dingu...@altera.com Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/Kconfig |1 + drivers/clocksource/Kconfig |3 +++ drivers/clocksource/dw_apb_timer_of.c | 18 ++ 3 files changed, 22

[PATCH 1/2] clocksource: dw_apb: remove unused header

2013-05-26 Thread Baruch Siach
...@linutronix.de Cc: Jamie Iles ja...@jamieiles.com Cc: Dinh Nguyen dingu...@altera.com Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/clocksource/dw_apb_timer_of.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource

[PATCH] clocksource: dw_apb: fix error check

2013-05-27 Thread Baruch Siach
irq_of_parse_and_map() returns 0 on error, while the code checks for NO_IRQ. This breaks on platforms that have NO_IRQ != 0. Cc: sta...@vger.kernel.org Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/clocksource/dw_apb_timer_of.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] clocksource: dw_apb: fix error check

2013-05-27 Thread Baruch Siach
Hi Daniel, On Mon, May 27, 2013 at 03:14:23PM +0200, Daniel Lezcano wrote: On 05/27/2013 01:51 PM, Baruch Siach wrote: irq_of_parse_and_map() returns 0 on error, while the code checks for NO_IRQ. This breaks on platforms that have NO_IRQ != 0. Cc: sta...@vger.kernel.org Signed-off

Re: [PATCH] clocksource/cadence_ttc: Reuse clocksource as sched_clock

2013-07-03 Thread Baruch Siach
Hi Soren, On Wed, Jul 03, 2013 at 02:50:16PM -0700, Soren Brinkmann wrote: Reuse the TTC clocksource timer as sched clock, too. Since only a single sched clock is supported in Linux, this feature optional and can be selected through Kconfig. Signed-off-by: Soren Brinkmann

Re: [PATCH v3] perf: add support for the xtensa architecture

2014-01-20 Thread Baruch Siach
Hi Ingo, On Mon, Jan 13, 2014 at 11:46:47AM +0100, Ingo Molnar wrote: * Baruch Siach bar...@tkos.co.il wrote: Tested using kernel tracepoints on a QEMU simulated environment. Kernel support for perf depends on the patch xtensa: enable HAVE_PERF_EVENTS, which is scheduled for v3.14

[PATCH RESEND] perf: design.txt: remove mention of set_perf_event_pending

2014-01-25 Thread Baruch Siach
set_perf_event_pending() was removed in e360adbe (irq_work: Add generic hardirq context callbacks) Signed-off-by: Baruch Siach bar...@tkos.co.il --- Resending with lkml added to Cc. --- tools/perf/design.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/design.txt b/tools/perf

Re: [PATCH 6/6] clocksource: dw_apb_timer_of: Fix support for dts binding snps, dw-apb-timer

2013-12-10 Thread Baruch Siach
Hi Daniel, Dinh, On Tue, Dec 10, 2013 at 08:16:12PM +0100, Daniel Lezcano wrote: From: Dinh Nguyen dingu...@altera.com In commit 620f5e1cbf (dts: Rename DW APB timer compatible strings), both snps,dw-apb-timer-sp and snps,dw-apb-timer-osc were deprecated in place of snps,dw-apb-timer. But

[PATCH] MAINTAINERS: add gpio subsystem git tree

2013-12-12 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 13c15c8..6e0c4eb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3767,6 +3767,7 @@ GPIO SUBSYSTEM M: Linus Walleij linus.wall...@linaro.org S

[PATCH v2] perf: add support for the xtensa architecture

2014-01-01 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- v2: use the core ID field from /proc/cpuinfo (Max Filippov) --- tools/perf/perf.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/perf.h b/tools/perf/perf.h index b079304bd53d..e441864dbe03 100644 --- a/tools/perf/perf.h

Re: linux-next: build failure after merge of the spi tree

2014-01-05 Thread Baruch Siach
Hi Stephen, On Mon, Jan 06, 2014 at 06:03:05PM +1100, Stephen Rothwell wrote: After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/spi/spi-dw-pci.c: In function 'spi_pci_probe': drivers/spi/spi-dw-pci.c:50:29: error: 'dev' undeclared (first

Re: [Linux-Xtensa] Re: [PATCH] time: sched_clock: fix integer overflow

2013-08-11 Thread Baruch Siach
Hi Thomas, John, On Mon, Jul 29, 2013 at 08:59:39AM +0300, Baruch Siach wrote: On Wed, Jul 17, 2013 at 12:46:53PM +0300, Baruch Siach wrote: The expression '(1 32)' happens to evaluate as 0 on ARM, but it evaluates as 1 on xtensa and x86_64. This zeros sched_clock_mask, and breaks

Re: [PATCH 1/2] gpio: pl061: get gpio base from alias id

2014-04-21 Thread Baruch Siach
Hi Haojian Zhuang, On Tue, Apr 22, 2014 at 09:35:42AM +0800, Haojian Zhuang wrote: If gpio base number isn't specified, the gpio base will be find from the end of gpio number. In order to keep with schematics, use alias to get the ID of gpio chip. Signed-off-by: Haojian Zhuang

Re: [PATCH 2/8] clocksource: sun4i: Add clocksource and sched clock drivers

2013-06-27 Thread Baruch Siach
Hi Maxime, On Thu, Jun 27, 2013 at 11:35:58AM +0200, Maxime Ripard wrote: On Thu, Jun 27, 2013 at 09:02:34AM +0300, Baruch Siach wrote: On Wed, Jun 26, 2013 at 11:16:55PM +0200, Maxime Ripard wrote: +static u32 sun4i_timer_sched_read(void) You commit message mentions 64 bits free

Re: [PATCH 2/8] clocksource: sun4i: Add clocksource and sched clock drivers

2013-06-27 Thread Baruch Siach
Hi Maxime, On Thu, Jun 27, 2013 at 07:21:44PM +0200, Maxime Ripard wrote: On Thu, Jun 27, 2013 at 12:46:49PM +0300, Baruch Siach wrote: On Thu, Jun 27, 2013 at 11:35:58AM +0200, Maxime Ripard wrote: On Thu, Jun 27, 2013 at 09:02:34AM +0300, Baruch Siach wrote: On Wed, Jun 26, 2013 at 11

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-07-11 Thread Baruch Siach
Hi Linus, On Tue, Jul 08, 2014 at 11:27:57AM +0200, Linus Walleij wrote: On Mon, Jul 7, 2014 at 5:23 PM, Baruch Siach bar...@tkos.co.il wrote: On Mon, Jul 07, 2014 at 04:51:56PM +0200, Linus Walleij wrote: This needs someone to step in and provide a replacement, my preferred mechanism

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-07-11 Thread Baruch Siach
Hi Linus, On Fri, Jul 11, 2014 at 02:06:29PM +0200, Linus Walleij wrote: On Fri, Jul 11, 2014 at 8:28 AM, Baruch Siach bar...@tkos.co.il wrote: On Tue, Jul 08, 2014 at 11:27:57AM +0200, Linus Walleij wrote: What is the usecase here? During boot I need to know, for example, when an FPGA

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-07-07 Thread Baruch Siach
Hi Linux, On Mon, Jul 07, 2014 at 04:51:56PM +0200, Linus Walleij wrote: On Wed, Jun 18, 2014 at 5:36 PM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: The first is, how is userspace supposed to find the correct offset for a GPIO pin. The sysfs interface to GPIO is *NOT* *GOOD* this

Re: [PATCH 2/2] ARM: mvebu: Added dts defintion for Lenovo Iomega ix4-300d NAS

2014-07-23 Thread Baruch Siach
Hi Benoit, On Wed, Jul 23, 2014 at 03:52:53PM -0700, Benoit Masson wrote: The Lenovo Iomega ix4-300d is a 4-Bay sata NAS with dual Gb, USB2.0 3.0, powered by a Marvell Armada XP MV78230 dual core CPU. http://shop.lenovo.com/fr/fr/servers/network-storage/lenovoemc/ix4-300d/ I guess most

Re: [PATCH] i2c: designware: prevent early stop on TX FIFO empty

2014-11-19 Thread Baruch Siach
Hi Wolfram, On Wed, Nov 19, 2014 at 10:21:22AM +0100, Wolfram Sang wrote: On Fri, Nov 07, 2014 at 12:10:44PM +, Andrew Jackson wrote: If the Designware core is configured with IC_EMPTYFIFO_HOLD_MASTER_EN set to zero, allowing the TX FIFO to become empty causes a STOP condition to be

[PATCH 5/8] irqchip: Conexant CX92755 interrupts controller driver

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-digicolor.c | 135 2 files changed, 136 insertions(+) create mode 100644 drivers/irqchip/irq-digicolor.c diff --git a/drivers/irqchip/Makefile

[PATCH 4/8] ARM: devicetree: document supported Conexant Digicolor SoC

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- Documentation/devicetree/bindings/arm/digicolor.txt | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/digicolor.txt diff --git a/Documentation/devicetree/bindings/arm/digicolor.txt b

[PATCH 8/8] clocksource: devicetree: document Conexant Digicolor timer binding

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../devicetree/bindings/timer/digicolor-timer.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/digicolor-timer.txt diff --git a/Documentation/devicetree/bindings/timer

[PATCH 0/8] ARM: Conexant Digicolor CX92755 SoC support

2014-12-23 Thread Baruch Siach
driver available from https://patchwork.kernel.org/patch/5515861/. Baruch Siach (8): ARM: initial support for Conexant Digicolor CX92755 SoC ARM: digicolor: add low level debug support ARM: digicolor: add minimal device tree description ARM: devicetree: document supported Conexant

[PATCH 7/8] clocksource: driver for Conexant Digicolor SoC timer

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/mach-digicolor/Kconfig | 1 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-digicolor.c | 155 ++ 3 files changed, 157 insertions(+) create mode 100644 drivers

[PATCH 6/8] irqchip: devicetree: document Conexant Digicolor irq binding

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../bindings/interrupt-controller/digicolor-ic.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt diff --git a/Documentation/devicetree

[PATCH 3/8] ARM: digicolor: add minimal device tree description

2014-12-23 Thread Baruch Siach
cx92755.dtsi describes CX92755 on chip peripherals. conexant_equinox.dts describes the Equinox evaluation board for the CX92755 SoC. Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/conexant_equinox.dts | 67

[PATCH 1/8] ARM: initial support for Conexant Digicolor CX92755 SoC

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/Kconfig| 2 ++ arch/arm/mach-digicolor/Kconfig | 3 +++ arch/arm/mach-digicolor/Makefile| 1 + arch/arm/mach-digicolor/digicolor.c | 18 ++ 4 files changed, 24 insertions(+) create mode

[PATCH 2/8] ARM: digicolor: add low level debug support

2014-12-23 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/Kconfig.debug | 12 ++-- arch/arm/include/debug/digicolor.S | 35 +++ arch/arm/mach-digicolor/digicolor.c | 1 + 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644

Re: [PATCH 2/8] ARM: digicolor: add low level debug support

2014-12-23 Thread Baruch Siach
Hi Arnd, On Tue, Dec 23, 2014 at 10:00:17PM +0100, Arnd Bergmann wrote: On Tuesday 23 December 2014 09:58:39 Baruch Siach wrote: @@ -14,5 +14,6 @@ static const char *digicolor_dt_compat[] __initconst = { }; DT_MACHINE_START(DIGICOLOR, Conexant Digicolor (Flattened Device Tree

Re: [PATCH 5/8] irqchip: Conexant CX92755 interrupts controller driver

2014-12-23 Thread Baruch Siach
Hi Arnd, On Tue, Dec 23, 2014 at 10:02:18PM +0100, Arnd Bergmann wrote: On Tuesday 23 December 2014 09:58:42 Baruch Siach wrote: +static void __exception_irq_entry digicolor_handle_irq(struct pt_regs *regs) +{ + u32 status, hwirq; + + do { + status

Re: [PATCH 3.19-rc1 v14 1/8] arm: cnx3xxx: Remove spurious default for DEBUG_CNS3xxx

2014-12-22 Thread Baruch Siach
Hi Daniel, On Mon, Dec 22, 2014 at 04:59:32PM +, Daniel Thompson wrote: The default value for DEBUG_CNS3XXX appears twice. This patch removes the one with the wrong sort order. In Subject s/cnx3xxx/cns3xxx/ baruch Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org ---

Re: [PATCH v5 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Baruch Siach
Hi Daniel, On Mon, Jan 26, 2015 at 02:44:15PM +0100, Daniel Lezcano wrote: diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile index 94d90b24b56b..a993c108be67 100644 --- a/drivers/clocksource/Makefile +++ b/drivers/clocksource/Makefile @@ -10,6 +10,7 @@

[PATCH v6 0/2] clocksource: Conexant CX92755 timers support

2015-01-26 Thread Baruch Siach
v1: http://article.gmane.org/gmane.linux.kernel/1855028 http://article.gmane.org/gmane.linux.kernel/1855025 Baruch Siach (2): clocksource: devicetree: document Conexant Digicolor timer binding clocksource: driver for Conexant Digicolor SoC timer .../devicetree/bindings/timer/digicolor

[PATCH v6 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Baruch Siach
Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event. Signed-off-by: Baruch Siach bar

[PATCH v6 1/2] clocksource: devicetree: document Conexant Digicolor timer binding

2015-01-26 Thread Baruch Siach
as watchdog. This commit adds devicetree binding definition of this hardware module. The binding defined here should be reusable for other SoCs in the Digicolor series. Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../devicetree/bindings/timer/digicolor-timer.txt | 18 ++ 1

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-16 Thread Baruch Siach
Hi Chunyan Zhang, On Fri, Jan 16, 2015 at 06:00:11PM +0800, Chunyan Zhang wrote: + if (uart_handle_sysrq_char(port, ch)) + continue; You don't define SUPPORT_SYSRQ, so uart_handle_sysrq_char has no effect. See include/linux/serial_core.h. baruch --

[PATCH v3 1/2] irqchip: devicetree: document Conexant Digicolor irq binding

2015-01-15 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../bindings/interrupt-controller/digicolor-ic.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt diff --git a/Documentation/devicetree

[PATCH v3 2/2] irqchip: Conexant CX92755 interrupts controller driver

2015-01-15 Thread Baruch Siach
Add interrupt controller driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Use the generic irq framework support. Use syscon to access the system global UC_IRQ_CONTROL register. Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/irqchip/Makefile| 1

[PATCH v3 0/2] irqchip: Conexant CX92755 interrupts controller support

2015-01-15 Thread Baruch Siach
* Migrate the irq driver to generic irq chip, simplifying the code somewhat (Arnd Bergmann) v1: http://thread.gmane.org/gmane.linux.kernel/1855027 Baruch Siach (2): irqchip: devicetree: document Conexant Digicolor irq binding irqchip

[PATCH v3 0/2] clocksource: Conexant CX92755 timers support

2015-01-20 Thread Baruch Siach
. * Move arch/arm Kconfig changes from the clocksource driver patch to the base arch support patch to reduce dependency between them v1: http://article.gmane.org/gmane.linux.kernel/1855028 http://article.gmane.org/gmane.linux.kernel/1855025 Baruch Siach (2): clocksource

[PATCH v3 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-20 Thread Baruch Siach
Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event. Signed-off-by: Baruch Siach bar

[PATCH v3 1/2] clocksource: devicetree: document Conexant Digicolor timer binding

2015-01-20 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../devicetree/bindings/timer/digicolor-timer.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/digicolor-timer.txt diff --git a/Documentation/devicetree/bindings/timer

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-27 Thread Baruch Siach
Hi Chunyan Zhang, On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: [...] +static inline void sprd_rx(struct uart_port *port) +{ + struct tty_port *tty = port-state-port; + unsigned int ch, flag, lsr, max_count = SPRD_TIMEOUT; + + while ((serial_in(port, SPRD_STS1)

Re: [PATCH v3 3/4] ARM: digicolor: add minimal device tree description

2015-01-28 Thread Baruch Siach
Hi Olof, On Tue, Jan 27, 2015 at 03:01:41PM -0800, Olof Johansson wrote: On Wed, Jan 14, 2015 at 10:40:32AM +0200, Baruch Siach wrote: cx92755.dtsi describes CX92755 on chip peripherals. conexant_equinox.dts describes the Equinox evaluation board for the CX92755 SoC. Acked-by: Arnd

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-28 Thread Baruch Siach
Hi Lyra Zhang, On Wed, Jan 28, 2015 at 04:46:33PM +0800, Lyra Zhang wrote: On Wed, Jan 28, 2015 at 2:12 PM, Baruch Siach bar...@tkos.co.il wrote: On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: + if (uart_handle_sysrq_char(port, ch

Re: [PATCH v2 0/8] ARM: Conexant Digicolor CX92755 SoC support

2015-01-28 Thread Baruch Siach
Hi Paul, On Wed, Jan 28, 2015 at 11:33:15PM +0100, Paul Bolle wrote: On Thu, 2015-01-08 at 23:46 +0100, Arnd Bergmann wrote: Once there are no more review comments, please submit the first three patches to a...@kernel.org, and send the other patches as separate series to the respective

Re: [PATCH 6/9] clocksource: Driver for Conexant Digicolor SoC timer

2015-01-29 Thread Baruch Siach
Hi Paul, On Thu, Jan 29, 2015 at 02:37:36PM +0100, Paul Bolle wrote: On Thu, 2015-01-29 at 14:08 +0100, Daniel Lezcano wrote: From: Baruch Siach bar...@tkos.co.il +config DIGICOLOR_TIMER + bool And the select for this symbol (see https://lkml.org/lkml/2015/1/26/360) will be provided

Re: [PATCH v4 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Baruch Siach
Hi Daniel, On Mon, Jan 26, 2015 at 10:43:43AM +0100, Daniel Lezcano wrote: [...] +static struct dc_dev_t { +void __iomem *timer_base; +u32 ticks_per_jiffy; +} dc_dev; Hi Baruch, your code is valid but I think there is a misunderstanding when we talked about the encapsulation.

Re: [PATCH v3 0/4] ARM: Conexant Digicolor CX92755 SoC support

2015-01-25 Thread Baruch Siach
Hi ARM SoC maintainers, On Wed, Jan 14, 2015 at 10:40:29AM +0200, Baruch Siach wrote: This series adds initial support for the Conexant CX92755 SoC. The CX92755 is one of the Digicolor series of SoCs, all sharing many of the same peripherals. The code was tested on the CX92755 evaluation kit

[PATCH v4 0/2] clocksource: Conexant CX92755 timers support

2015-01-25 Thread Baruch Siach
: http://article.gmane.org/gmane.linux.kernel/1855028 http://article.gmane.org/gmane.linux.kernel/1855025 Baruch Siach (2): clocksource: devicetree: document Conexant Digicolor timer binding clocksource: driver for Conexant Digicolor SoC timer .../devicetree/bindings/timer/digicolor-timer.txt

[PATCH v4 1/2] clocksource: devicetree: document Conexant Digicolor timer binding

2015-01-25 Thread Baruch Siach
as watchdog. This commit adds devicetree binding definition of this hardware module. The binding defined here should be reusable for other SoCs in the Digicolor series. Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../devicetree/bindings/timer/digicolor-timer.txt | 18 ++ 1

[PATCH v4 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-25 Thread Baruch Siach
Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event. Signed-off-by: Baruch Siach bar

[PATCH 1/2] tools/liblockdep: ignore generated .so file

2015-01-25 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- tools/lib/lockdep/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/lib/lockdep/.gitignore diff --git a/tools/lib/lockdep/.gitignore b/tools/lib/lockdep/.gitignore new file mode 100644 index ..cc0e7a9f99e3

[PATCH 2/2] tools/liblockdep: don't include host headers

2015-01-25 Thread Baruch Siach
Adding host headers to include path may cause unexpected surprises when cross compiling. Remove /usr/local/include from the default include path. Signed-off-by: Baruch Siach bar...@tkos.co.il --- tools/lib/lockdep/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools

Re: [PATCH v3 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-25 Thread Baruch Siach
Hi Daniel, On Thu, Jan 22, 2015 at 01:54:39PM +0100, Daniel Lezcano wrote: On 01/21/2015 07:36 AM, Baruch Siach wrote: + * Based on: + * Allwinner SoCs hstimer driver If this is based on the Allwinnner driver, may be you can have a look at the patchset sent by Maxim to make sure your

[PATCH v5 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Baruch Siach
Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event. Signed-off-by: Baruch Siach bar

[PATCH v5 0/2] clocksource: Conexant CX92755 timers support

2015-01-26 Thread Baruch Siach
. * Move arch/arm Kconfig changes from the clocksource driver patch to the base arch support patch to reduce dependency between them v1: http://article.gmane.org/gmane.linux.kernel/1855028 http://article.gmane.org/gmane.linux.kernel/1855025 Baruch Siach (2): clocksource: devicetree: document

[PATCH v5 1/2] clocksource: devicetree: document Conexant Digicolor timer binding

2015-01-26 Thread Baruch Siach
as watchdog. This commit adds devicetree binding definition of this hardware module. The binding defined here should be reusable for other SoCs in the Digicolor series. Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../devicetree/bindings/timer/digicolor-timer.txt | 18 ++ 1

Re: [PATCH v2 4/8] irqchip: devicetree: document Conexant Digicolor irq binding

2015-01-11 Thread Baruch Siach
Hi Mark, On Fri, Jan 09, 2015 at 11:50:14AM +, Mark Rutland wrote: On Thu, Jan 08, 2015 at 07:40:00PM +, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../bindings/interrupt-controller/digicolor-ic.txt | 20 1 file changed, 20

Re: [PATCH v2 0/8] ARM: Conexant Digicolor CX92755 SoC support

2015-01-11 Thread Baruch Siach
Hi Arnd, On Thu, Jan 08, 2015 at 11:46:46PM +0100, Arnd Bergmann wrote: On Thursday 08 January 2015 21:39:56 Baruch Siach wrote: This series adds initial support for the Conexant CX92755 SoC. The CX92755 is one of the Digicolor series of SoCs, all sharing many of the same peripherals

Re: [PATCH v2 3/8] ARM: digicolor: add minimal device tree description

2015-01-11 Thread Baruch Siach
Hi Mark, On Fri, Jan 09, 2015 at 11:46:24AM +, Mark Rutland wrote: On Thu, Jan 08, 2015 at 07:39:59PM +, Baruch Siach wrote: cx92755.dtsi describes CX92755 on chip peripherals. conexant_equinox.dts describes the Equinox evaluation board for the CX92755 SoC. I didn't spot any cpu

Re: [PATCH v2 4/8] irqchip: devicetree: document Conexant Digicolor irq binding

2015-01-11 Thread Baruch Siach
Hi Sergei, On Fri, Jan 09, 2015 at 06:12:44PM +0300, Sergei Shtylyov wrote: On 1/8/2015 10:40 PM, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- .../bindings/interrupt-controller/digicolor-ic.txt | 20 1 file changed, 20 insertions

Re: [PATCH] serial: digicolor: fix sysrq handling

2015-01-13 Thread Baruch Siach
Hi Arnd, On Tue, Jan 13, 2015 at 03:37:11PM +0100, Arnd Bergmann wrote: Trying to build the digicolor-usart driver when sysrq is disabled results in a compile error: drivers/tty/serial/digicolor-usart.c: In function 'digicolor_uart_console_write':

[PATCH] tty/serial: digicolor: remove sysrq reference

2015-01-13 Thread Baruch Siach
'digicolor_uart_console_write': drivers/tty/serial/digicolor-usart.c:407:33: error: 'struct uart_port' has no member named 'sysrq' Reported-by: Arnd Bergmann a...@arndb.de Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/tty/serial/digicolor-usart.c | 5 + 1 file changed, 1 insertion(+), 4 deletions

[PATCH v3 1/4] ARM: initial support for Conexant Digicolor CX92755 SoC

2015-01-14 Thread Baruch Siach
Add initial support for the Conexant CX92755 SoC. The CX92755 is one of the Digicolor series of SoCs, all sharing many of the same peripherals. The code was tested on the CX92755 evaluation kit, AKA Equinox. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Baruch Siach bar...@tkos.co.il

[PATCH v3 2/4] ARM: digicolor: add low level debug support

2015-01-14 Thread Baruch Siach
Use the USART peripheral as UART for low level debug. Only the UA0 port is currently supported. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/Kconfig.debug | 12 ++-- arch/arm/include/debug/digicolor.S | 35

[PATCH v3 0/4] ARM: Conexant Digicolor CX92755 SoC support

2015-01-14 Thread Baruch Siach
clearer. * Move arch/arm Kconfig changes from the clocksource driver patch to the base arch support patch to reduce dependency between them v1: http://thread.gmane.org/gmane.linux.kernel/1855027 Baruch Siach (4): ARM: initial support for Conexant Digicolor CX92755 SoC ARM: digicolor

[PATCH v3 4/4] ARM: devicetree: document supported Conexant Digicolor SoC

2015-01-14 Thread Baruch Siach
Of the Digicolor SoCs series only CX92755 is currently supported. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Baruch Siach bar...@tkos.co.il --- Documentation/devicetree/bindings/arm/digicolor.txt | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 3/4] ARM: digicolor: add minimal device tree description

2015-01-14 Thread Baruch Siach
cx92755.dtsi describes CX92755 on chip peripherals. conexant_equinox.dts describes the Equinox evaluation board for the CX92755 SoC. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Baruch Siach bar...@tkos.co.il --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts

Re: [PATCH] i2c: designware: use {readl|writel}_relaxed instead of readl/writel

2015-01-13 Thread Baruch Siach
Hi Wolfram, On Tue, Jan 13, 2015 at 03:36:54PM +0100, Wolfram Sang wrote: The driver does not perform DMA, so it's safe to use the relaxed version. From another side, the relaxed io accessor macros are available on all architectures now, so we can use the relaxed versions instead. Can

[PATCH RFC] usb: chipidea: add support for usb_phy in generic usb2

2015-01-03 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/usb/chipidea/ci_hdrc_usb2.c | 5 + 1 file changed, 5 insertions(+) I'm sending this as RFC as I'm not sure this is the right thing to do. There seems to be a move away from USB specific PHY drivers towards the generic PHY framework

Re: [PATCH RFC] usb: chipidea: add support for usb_phy in generic usb2

2015-01-04 Thread Baruch Siach
Hi Kishon, On Mon, Jan 05, 2015 at 11:09:35AM +0530, Kishon Vijay Abraham I wrote: On Sunday 04 January 2015 11:58 AM, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/usb/chipidea/ci_hdrc_usb2.c | 5 + 1 file changed, 5 insertions(+) I'm sending

  1   2   3   4   5   >