[RFC PATCH] mm: trace filemap add and del

2012-11-08 Thread Robert Jarzmik
/lib/libc.so) to see the eviction cycles, and find out if frequently used code is rather spread across many pages (bad) or coallesced (good). Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- include/trace/events/filemap.h | 79 mm/filemap.c

Re: [PATCH 2/4] rtc: pxa: fix rtc caculation issue

2012-11-29 Thread Robert Jarzmik
Chao Xie chao@marvell.com writes: Hi Chao Xie, First of all, could you please send patches from rtc-pxa to me also, as I'm maintaining that driver ? Second point, the original design of the driver relies on the special case of writing zeroes to WOM and DOM, as mentionned in PXA27x

Re: [PATCH 4/4] rtc: pxa: request rtc irqs when probe/remove the device

2012-11-29 Thread Robert Jarzmik
Chao Xie chao@marvell.com writes: The original pxa_rtc_open/pxa_rtc_release will be called when the /dev/rtc0 is opened or closed. In fact, these two functions will register/unregister the irqs. User application will use /dev/rtc0 to read the rtc time or set the alarm. The rtc should

[PATCH] mm: trace filemap add and del

2012-11-20 Thread Robert Jarzmik
/lib/libc.so) to see the eviction cycles, and find out if frequently used code is rather spread across many pages (bad) or coallesced (good). Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- include/trace/events/filemap.h | 79 mm/filemap.c

Re: [RFC PATCH] mm: trace filemap add and del

2012-11-21 Thread Robert Jarzmik
Andrew Morton a...@linux-foundation.org writes: +TP_STRUCT__entry( +__field(struct page *, page) +__field(unsigned long, i_no) May as well call this i_ino - there's little benefit in using a different identifier. Agreed for patch V2. +

Re: [RFC PATCH] mm: trace filemap add and del

2012-11-21 Thread Robert Jarzmik
Dave Chinner da...@fromorbit.com writes: We actually have an informal convention for formating filesystem trace events, and that is to use the device number + ), + + TP_printk(page=%p pfn=%lu blk=%d:%d inode+ofs=%lu+%lu, ... and to prefix messages like: TP_printk(dev

Re: [RFC PATCH] mm: trace filemap add and del

2012-11-21 Thread Robert Jarzmik
Hugh Dickins hu...@google.com writes: On Thu, 8 Nov 2012, Robert Jarzmik wrote: --- a/mm/filemap.c +++ b/mm/filemap.c @@ -467,6 +471,7 @@ int add_to_page_cache_locked(struct page *page, struct address_space *mapping, } else { page-mapping = NULL

Re: [RFC PATCH] mm: trace filemap add and del

2012-11-22 Thread Robert Jarzmik
Dave Chinner da...@fromorbit.com writes: We actually have an informal convention for formating filesystem trace events, and that is to use the device number + ), + + TP_printk(page=%p pfn=%lu blk=%d:%d inode+ofs=%lu+%lu, ... and to prefix messages like: TP_printk(dev

[PATCH v2] mm: trace filemap add and del

2012-11-23 Thread Robert Jarzmik
/lib/libc.so) to see the eviction cycles, and find out if frequently used code is rather spread across many pages (bad) or coallesced (good). Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since V1: - included Andrew's comments - included Dave's comment - fixed according to Hugh's

[PATCH v3] mm: trace filemap add and del

2012-11-23 Thread Robert Jarzmik
/lib/libc.so) to see the eviction cycles, and find out if frequently used code is rather spread across many pages (bad) or coallesced (good). Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since V1: - included Andrew's comments - included Dave's comment - fixed according to Hugh's

Re: [PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock

2012-11-25 Thread Robert Jarzmik
description. But anyway : Acked-by: Robert Jarzmik robert.jarz...@free.fr -- Robert -- 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

Re: linux-next: Tree for Jan 14 (mtd)

2013-01-14 Thread Robert Jarzmik
771d13b0094421b98310171d8794f2a793ec5d4d Mon Sep 17 00:00:00 2001 From: Robert Jarzmik robert.jarz...@free.fr Date: Mon, 9 Apr 2012 13:19:08 +0200 Subject: [PATCH] mtd: docg3 fix missing bitreverse lib Fix missing dependency which can cause a build error such as: ERROR: byte_rev_table [drivers/mtd/devices/docg3.ko] undefined

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: (adding Robert to CC) I don't think any data is freed by pxa_free_dma(), it only disables DMA on a certain channel. Theoretically there could be a different problem: pxa_free_dma() deactivates DMA, whereas pxa_dma_start_channels()

Re: [PATCH] mtg: docg3: use free_bch() instead of kfree()

2013-10-11 Thread Robert Jarzmik
Wei Yongjun weiyj...@gmail.com writes: From: Wei Yongjun yongjun_...@trendmicro.com.cn Use free_bch() instead of kfree() to free init_bch() allocated data. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Acked-by: Robert Jarzmik robert.jarz...@free.fr -- To unsubscribe from

Re: Stricter module param and sysfs permission checks

2014-03-20 Thread Robert Jarzmik
Dave Jones da...@redhat.com writes: On Thu, Mar 20, 2014 at 01:43:44PM +1030, Rusty Russell wrote: drivers/mtd/devices/docg3.c: __ATTR(f##id##_dps0_protection_key, S_IWUGO, NULL, dps0_insert_key), \ __ATTR(f##id##_dps1_protection_key, S_IWUGO, NULL, dps1_insert_key), \

Re: [PATCH 1/2] Revert drivers/rtc/rtc-pxa.c: fix set time sync time issue

2013-05-09 Thread Robert Jarzmik
Chao Xie chao@marvell.com writes: This patch have something wrong. 1.The pxa_sync_time API is not needed. The RTC sync can be done by user space applications, so in kernel this API is not needed. 2.The pxa_rtc_open can not be deleted. This change has been declined during review at the

Re: [PATCH] mtd: diskonchip: remove unused entries in Kconfig

2013-07-08 Thread Robert Jarzmik
(except in comments). Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com This clean up looks good to me. Acked-by: Kees Cook keesc...@chromium.org Yes, a consequence of the beheading in the commit mtd: doc: remove support for DoC 2000/2001/2001+, excellent. Acked-by: Robert

[PATCH 1/2] regulator: max1586 add device-tree support

2014-06-14 Thread Robert Jarzmik
Add device-tree support to max1586. The driver can still be used with the legacy platform data, or the new device-tree way. This work is heavily inspired by the device-tree support of its cousin max8660 driver. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/regulator/max1586.c

[PATCH 2/2] regulator: max1586 add device-tree support

2014-06-14 Thread Robert Jarzmik
Add max1586 regulator device-tree bindings documentation. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- .../bindings/regulator/max1586-regulator.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator

Re: [PATCH 1/2] regulator: max1586 add device-tree support

2014-06-17 Thread Robert Jarzmik
Mark Brown broo...@kernel.org writes: On Sat, Jun 14, 2014 at 04:54:24PM +0200, Robert Jarzmik wrote: +matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); +of_node_put(np); +if (matched = 0) +return matched; Why is this treating zero as an error? We

Re: [PATCH 5/9] ARM: dts: provide DMA config to pxamci

2013-12-11 Thread Robert Jarzmik
is not signaled by the tasklet Cheers. -- Robert (1) commit 4741ba6 (pxa_camera_dmaengine, backup/pxa_camera_dmaengine) Author: Robert Jarzmik robert.jarz...@free.fr Date: Sat Aug 24 21:13:38 2013 +0200 WIP: pxa_camera dmaengine conversion Only slightly tested, without much success

Re: [PATCH 9/16] arch/arm/mach-pxa/mioa701.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-12 Thread Robert Jarzmik
Julia Lawall julia.law...@lip6.fr writes: From: Julia Lawall julia.law...@lip6.fr Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. Acked-by: Robert Jarzmik robert.jarz...@free.fr As a side I'm curious why this change didn't touch also

Re: [PATCH 1/2] regulator: max1586 add device-tree support

2014-06-24 Thread Robert Jarzmik
Mark Brown broo...@kernel.org writes: On Tue, Jun 17, 2014 at 09:16:52PM +0200, Robert Jarzmik wrote: Mark Brown broo...@kernel.org writes: On Sat, Jun 14, 2014 at 04:54:24PM +0200, Robert Jarzmik wrote: + matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); + of_node_put

[PATCH 3/3] ARM: add CLKSRC_OF dependency for PXA

2014-06-21 Thread Robert Jarzmik
Select CLKSRC_OF for PXA architectures, as the clocksource driver can be also initialized from device-tree. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Cc: Russell King li...@arm.linux.org.uk --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b

[PATCH 1/3] clocksource: move PXA timer to clocksource framework

2014-06-21 Thread Robert Jarzmik
Move time.c from arch/arm/mach-pxa/time.c to drivers/clocksource/pxa_timer.c. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/mach-pxa/Makefile | 2 +- drivers/clocksource/Makefile| 1 + arch/arm/mach-pxa/time.c

[PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-06-21 Thread Robert Jarzmik
Add device-tree support to PXA platforms. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clocksource/pxa_timer.c | 131 ++-- 1 file changed, 98 insertions(+), 33 deletions(-) diff --git a/drivers/clocksource/pxa_timer.c b/drivers/clocksource

Re: [PATCH v3 4/4] arm: pxa: add non device-tree timer link to clocksource

2014-07-21 Thread Robert Jarzmik
Daniel Lezcano daniel.lezc...@linaro.org writes: On 07/14/2014 06:52 PM, Robert Jarzmik wrote: As clocksource pxa_timer was moved to clocksource framework, the pxa_timer initialization needs to be a bit amended, to pass the necessary informations to clocksource, ie : - the timer interrupt

Re: [PATCH 1/3] clocksource: move PXA timer to clocksource framework

2014-06-29 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Move time.c from arch/arm/mach-pxa/time.c to drivers/clocksource/pxa_timer.c. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Ping ? Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-04 Thread Robert Jarzmik
Daniel Lezcano daniel.lezc...@linaro.org writes: Good question. Maybe not, I followed the same rationale as in orion-timer, which is : - as this timer is the only possible timer for PXA boards, and because without it the kernel boot will stall (scheduling will be blocked), it's better

[PATCH v2 1/4] clocksource: move PXA timer to clocksource framework

2014-07-05 Thread Robert Jarzmik
Move time.c from arch/arm/mach-pxa/time.c to drivers/clocksource/pxa_timer.c. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/mach-pxa/Makefile | 2 +- drivers/clocksource/Makefile| 1 + arch/arm/mach-pxa/time.c

[PATCH v2 4/4] arm: pxa: add non device-tree timer link to clocksource

2014-07-05 Thread Robert Jarzmik
As clocksource pxa_timer was moved to clocksource framework, the pxa_timer initialization needs to be a bit amended, to pass the necessary informations to clocksource, ie : - the timer interrupt (mach specific) - the timer registers base (ditto) - the timer clockrate Signed-off-by: Robert

[PATCH v2 3/4] arm: pxa: add CLKSRC_OF dependency

2014-07-05 Thread Robert Jarzmik
Select CLKSRC_OF for PXA architectures. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 87b63fd..472dea1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -644,6 +644,7

[PATCH v2 2/4] clocksource: add device-tree support for PXA timer

2014-07-05 Thread Robert Jarzmik
Add device-tree support to PXA platforms. The driver still needs to maintain backward non device-tree compatibility as well, which implies : - a non device-tree init function - a static registers base address in the driver Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since V1

[PATCH v3 1/4] clocksource: move PXA timer to clocksource framework

2014-07-14 Thread Robert Jarzmik
Move time.c from arch/arm/mach-pxa/time.c to drivers/clocksource/pxa_timer.c. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/mach-pxa/Makefile | 2 +- drivers/clocksource/Makefile| 1 + arch/arm/mach-pxa/time.c

[PATCH v3 4/4] arm: pxa: add non device-tree timer link to clocksource

2014-07-14 Thread Robert Jarzmik
the current settings. diff --git a/include/clocksource/pxa.h b/include/clocksource/pxa.h new file mode 100644 index 000..1efbe5a --- /dev/null +++ b/include/clocksource/pxa.h @@ -0,0 +1,18 @@ +/* + * PXA clocksource, clockevents, and OST interrupt handlers. + * + * Copyright (C) 2014 Robert Jarzmik

[PATCH v3 3/4] arm: pxa: add CLKSRC_OF dependency

2014-07-14 Thread Robert Jarzmik
Select CLKSRC_OF for PXA architectures. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 87b63fd..472dea1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -644,6 +644,7

[PATCH v3 2/4] clocksource: add device-tree support for PXA timer

2014-07-14 Thread Robert Jarzmik
Add device-tree support to PXA platforms. The driver still needs to maintain backward non device-tree compatibility as well, which implies : - a non device-tree init function - a static registers base address in the driver Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since V1

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Robert Jarzmik
Daniel Lezcano daniel.lezc...@linaro.org writes: -#include mach/regs-ost.h #include mach/irqs.h +#include mach/hardware.h Now as the driver is in 'drivers', do not reference the headers files in mach. Moving the driver to the drivers directory implies some cleanup with the headers

Re: [PATCH 2/3] clocksource: add device-tree support for PXA timer

2014-07-03 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Daniel Lezcano daniel.lezc...@linaro.org writes: -#include mach/regs-ost.h #include mach/irqs.h +#include mach/hardware.h Now as the driver is in 'drivers', do not reference the headers files in mach. Moving the driver to the drivers

Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-07-26 Thread Robert Jarzmik
pxa_timer_nodt_init(), which is. The function is only called at init time, so it is safe to also annotate it this way. Signed-off-by: Arnd Bergmann a...@arndb.de Indeed. Acked-by: Robert Jarzmik robert.jarz...@free.fr Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re : Re: [PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

2014-09-07 Thread robert . jarzmik
Yes please Arnd, I'm still out for 1.5 week, so it would be great if you take that through your tree with my ack. Thanks. Robert PS: I know, top-posting is madness, but I'm really limited by technology right now. - Mail d'origine - De: Arnd Bergmann a...@arndb.de À: Robert Jarzmik

[PATCH v2 1/2] regulator: max1586 add device-tree support

2014-08-31 Thread Robert Jarzmik
Add device-tree support to max1586. The driver can still be used with the legacy platform data, or the new device-tree way. This work is heavily inspired by the device-tree support of its cousin max8660 driver. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since V1: added the comment

[PATCH v2 2/2] regulator: max1586 add device-tree support

2014-08-31 Thread Robert Jarzmik
Add max1586 regulator device-tree bindings documentation. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- .../bindings/regulator/max1586-regulator.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator

[PATCH v2 RESEND 2/2] regulator: max1586 add device-tree support

2014-08-31 Thread Robert Jarzmik
Add max1586 regulator device-tree bindings documentation. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- .../bindings/regulator/max1586-regulator.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator

[PATCH v2 RESEND 1/2] regulator: max1586 add device-tree support

2014-08-31 Thread Robert Jarzmik
Add device-tree support to max1586. The driver can still be used with the legacy platform data, or the new device-tree way. This work is heavily inspired by the device-tree support of its cousin max8660 driver. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since V1: added the comment

Re: [PATCH 7/8] arm: mach-pxa: Convert pr_warning to pr_warn

2014-09-21 Thread Robert Jarzmik
Joe Perches j...@perches.com writes: Use the more common pr_warn. Other miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches j...@perches.com Applied to pxa/cleanup branch, thanks. -- Robert -- To unsubscribe from this list: send the line unsubscribe

Re: N900 modem support in 3.18-rc1

2014-11-19 Thread Robert Jarzmik
Pavel Machek pa...@ucw.cz writes: Thanks for the info. I added +Mainline has support for Mitac Mio A701, but that having only 64MiB +RAM, QTopia is the software to use there. Thanks Pavel, that looks good. Cheers. -- Robert -- To unsubscribe from this list: send the line

Re: arm: pxa: CPU_PXA27x?

2014-11-21 Thread Robert Jarzmik
Paul Bolle pebo...@tiscali.nl writes: Robert, Your commit 03ec7fe70c5c (arm: pxa: add pxa27x device-tree support) is included in today's linux-next (ie, next-20141121). It adds a select statement for CPU_PXA27x. But there's no Kconfig symbol CPU_PXA27x. Ah yes, you're perfectly right,

[PATCH] ARM: pxa: arbitrarily set first interrupt number

2014-11-24 Thread Robert Jarzmik
As IRQ0, the legacy timer interrupt should not be used as an interrupt number, shift the interrupts by a fixed number. As we had in a special case a shift of 16 when ISA bus was used on a PXA, use that value as the first interrupt number, regardless of ISA or not. Signed-off-by: Robert Jarzmik

Re: [PATCH v3 4/4] arm: pxa: add non device-tree timer link to clocksource

2014-09-26 Thread Robert Jarzmik
Daniel Lezcano daniel.lezc...@linaro.org writes: On 07/21/2014 08:15 PM, Robert Jarzmik wrote: Daniel Lezcano daniel.lezc...@linaro.org writes: On 07/14/2014 06:52 PM, Robert Jarzmik wrote: As clocksource pxa_timer was moved to clocksource framework, the pxa_timer initialization needs

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-11 Thread Robert Jarzmik
Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: 2014-11-09 0:01 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: clock enable_cnt prepare_cntrate accuracy phase

[PATCH v3] clk: add pxa25x clock drivers

2014-11-11 Thread Robert Jarzmik
. The remaining steps are : - pxa3xx - once PXA is fully converted to device tree, if that happens, clk-pxa2* and clk-pxa3* should only hold the core clocks which cannot be described in devicetree. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Tested-by: Dmitry Eremin-Solenikov dbarysh

[PATCH 1/4] arm: pxa: change clocks init sequence

2014-12-27 Thread Robert Jarzmik
, which cannot acquire the OSTIMER0 clock. To solve this issue, the clocks initialization is moved to pxa_timer(), so that clocks are initialized before clocksource for non device-tree. For device-tree, the standard arm time_init() will take care of the ordering. Signed-off-by: Robert Jarzmik

[PATCH 4/4] clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc

2014-12-27 Thread Robert Jarzmik
Add 2 clocks which were erronously forgotten by the clock framework port, namely : - sa1100-rtc - irda for pxa2xx-ir:UARTCLK Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clk/pxa/clk-pxa27x.c | 29 + 1 file changed, 29 insertions(+) diff --git

[PATCH 3/4] arm: pxa: move gpio11 clock to board files

2014-12-27 Thread Robert Jarzmik
The pxa25x gpio11 clock output was previously selected on its pin by the clock enabling, toggling the pin function. As we transition to common clock framework, the pin function is moved to board file for the 2 users, ie. lubbock and eseries. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr

[PATCH 0/4] Transition of pxa25x and pxa27x to clock framework

2014-12-27 Thread Robert Jarzmik
). This is targeted at 3.20 window. Cheers. -- Robert Robert Jarzmik (4): arm: pxa: change clocks init sequence arm: pxa: Transition pxa25x and pxa27x to clk framework arm: pxa: move gpio11 clock to board files clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc arch/arm/Kconfig

[PATCH 2/4] arm: pxa: Transition pxa25x and pxa27x to clk framework

2014-12-27 Thread Robert Jarzmik
). Machine files should be amended to take that into account. This is the last step of clock framework transition for pxa25x and pxa27x, leaving only pxa3xx for further work. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/Kconfig | 1 + arch/arm/mach-pxa/Makefile | 9

[PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-02 Thread Robert Jarzmik
. And if you want to give a review, even better. Cheers. -- Robert Robert Jarzmik (3): clk: add pxa25x clock drivers arm: pxa: Transition pxa25x to clk framework ARM: pxa: move gpio11 clock to board files arch/arm/Kconfig | 1 + arch/arm/mach-pxa/Makefile | 9 +- arch/arm

[PATCH v1 2/3] arm: pxa: Transition pxa25x to clk framework

2014-11-02 Thread Robert Jarzmik
files should be amended to take that into account. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/Kconfig| 1 + arch/arm/mach-pxa/Makefile | 9 +-- arch/arm/mach-pxa/generic.c | 2 + arch/arm/mach-pxa/generic.h | 1 + arch/arm/mach-pxa/pxa25x.c | 182

[PATCH v1 1/3] clk: add pxa25x clock drivers

2014-11-02 Thread Robert Jarzmik
. The remaining steps are : - pxa3xx - once PXA is fully converted to device tree, if that happens, clk-pxa2* and clk-pxa3* should only hold the core clocks which cannot be described in devicetree. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clk/pxa/Makefile | 1 + drivers

[PATCH v1 3/3] ARM: pxa: move gpio11 clock to board files

2014-11-02 Thread Robert Jarzmik
The pxa25x gpio11 clock output was previously selected on its pin by the clock enabling, toggling the pin function. As we transition to common clock framework, the pin function is moved to board file for the 2 users, ie. lubbock and eseries. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr

[PATCH] mfd: cottula: add cottula board

2014-12-14 Thread Robert Jarzmik
the lubbock IO board interrupts. This patch moves all that handling to a mfd driver. It's only purpose for the time being is the interrupt handling, but in the future it should encompass all the motherboard CPLDs handling : - leds - switches - hexleds Signed-off-by: Robert Jarzmik robert.jarz

[PATCH] ARM: pxa: lubbock: use new cottula driver

2014-12-14 Thread Robert Jarzmik
As the interrupt handling was transferred to the cottula driver, make the switch in lubbock platform code. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/mach-pxa/include/mach/lubbock.h | 7 +- arch/arm/mach-pxa/lubbock.c | 112 +-- 2

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-06 Thread Robert Jarzmik
Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: Hello, Tested in qemu (pxa25x target). Excellent. 0) Had to revert 23c4a3a5212701ad34bd30591fa33d7bacef9c5f to get kernel to build for pxa25x + pxa27x. Yes, good move. 1) I got the following backtrace early in the boot: Division by

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-08 Thread Robert Jarzmik
7f43d2f9c9d415b8bc1ed7e2f3e422de349d6957 Mon Sep 17 00:00:00 2001 From: Robert Jarzmik robert.jarz...@free.fr Date: Sat, 8 Nov 2014 18:20:18 +0100 Subject: [PATCH] fixup! clk: add pxa25x clock drivers --- drivers/clk/pxa/clk-pxa25x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-08 Thread Robert Jarzmik
Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: 2014-11-08 20:26 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: Hello, Tested in qemu (pxa25x target). 2) sa1100-rtc could not find a clock and thus failed to be probed. 4) Got

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-09 Thread Robert Jarzmik
Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: 2014-11-09 0:01 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Tested-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com OK, that's really great, thanks for your testing effort. I'll digest the clk_summary output next week to cross-check

[PATCH v2] clk: add pxa25x clock drivers

2014-11-09 Thread Robert Jarzmik
. The remaining steps are : - pxa3xx - once PXA is fully converted to device tree, if that happens, clk-pxa2* and clk-pxa3* should only hold the core clocks which cannot be described in devicetree. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Tested-by: Dmitry Eremin-Solenikov dbarysh

Re: N900 modem support in 3.18-rc1

2014-11-16 Thread Robert Jarzmik
Pavel Machek pa...@ucw.cz writes: On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: Hi, On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141113 08:23]: OTOH ofono seems pretty reasonable. So I played a bit, and result is python/pygtk gui

Re: [PATCH] optimize ktime_divns for constant divisors

2014-12-03 Thread Robert Jarzmik
Nicolas Pitre nicolas.pi...@linaro.org writes: Let ktime_divns() use do_div() inline whenever the divisor is constant and small enough. This will make things like ktime_to_us() and ktime_to_ms() much faster. Hi Nicolas, I suppose the small enough is linked to the !(div 32) in your patch.

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-12-03 Thread Robert Jarzmik
Haojian Zhuang haojian.zhu...@gmail.com writes: I think that it's a kind of irq muxing, just like lots of PMIC (power management IC). We should move the lubbock board irqs to a mfd driver, and register them as threaded irqs. I will have a look. I didn't consider mfd for motherboard gates,

Re: [PATCH] mfd: cottula: add cottula board

2014-12-20 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Arnd Bergmann a...@arndb.de writes: On Monday 15 December 2014 00:10:06 Robert Jarzmik wrote: + + platform_set_drvdata(pdev, cot); + cot-gpio0 = gpiod_get(pdev-dev, lubbock_irq, 0); + if (IS_ERR(cot-gpio0

Re: [PATCH] mfd: cottula: add cottula board

2014-12-15 Thread Robert Jarzmik
Arnd Bergmann a...@arndb.de writes: On Monday 15 December 2014 00:10:06 Robert Jarzmik wrote: + + platform_set_drvdata(pdev, cot); + cot-gpio0 = gpiod_get(pdev-dev, lubbock_irq, 0); + if (IS_ERR(cot-gpio0)) { + dev_err(pdev-dev, Couldn't request GPIO : ret

Re: [PATCH] mfd: cottula: add cottula board

2014-12-15 Thread Robert Jarzmik
Arnd Bergmann a...@arndb.de writes: Will that look correct ? I'd still prefer the platform data, but this seems good enough and I see no serious problems with it. OK, so I'll try with the 2 resources. If I'm bitten afterwards and am forced to have a platform data, you'll tell me I had warned

[PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Robert Jarzmik
that pxa_gpio_probe() was called before, so that lubbock handler becomes the true IRQ chained handler of GPIO0, demuxing the lubbock IO board interrupts. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- For Thomas: as a side note, I'm not very happy with this patch. What makes me unhappy

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-28 Thread Robert Jarzmik
Thomas Gleixner t...@linutronix.de writes: So what is the relationship between installing that chained handler and that gpio-pxa probe stuff? The relation is in gpio-pxa probe, look at the extract of pxa_gpio_probe() : pxa_gpio_probe() irq = gpio_to_irq(0);

[PATCH] arm: pxa: fix pxa27x device-tree support kconfig

2014-11-28 Thread Robert Jarzmik
Remove the useless CPU_PXA27x non existing kconfig option. The true options is PXA27x, which is already selected. Reported-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/mach-pxa/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-04 Thread Robert Jarzmik
Mika Westerberg mika.westerb...@linux.intel.com writes: Once the current message is finished, the driver notifies SPI core about this by calling spi_finalize_current_message(). This function queues next message to be transferred. If there are more messages in the queue, it is possible that

Re: [PATCH] arm: pxa: fix pxa27x device-tree support kconfig

2014-12-04 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Remove the useless CPU_PXA27x non existing kconfig option. The true options is PXA27x, which is already selected. Reported-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Queued to pxa/for-next. -- Robert

Re: [PATCH] ARM: pxa: arbitrarily set first interrupt number

2014-12-04 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: As IRQ0, the legacy timer interrupt should not be used as an interrupt number, shift the interrupts by a fixed number. As we had in a special case a shift of 16 when ISA bus was used on a PXA, use that value as the first interrupt number

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-05 Thread Robert Jarzmik
Mika Westerberg mika.westerb...@linux.intel.com writes: On Thu, Dec 04, 2014 at 10:01:06PM +0100, Robert Jarzmik wrote: So with your change, we have : drv_data-cur_chip = NULL; spi_finalize_current_message(drv_data-master); In that case, if spi_finalize_current_message() queues

Re: [PATCH v2] [LBR] Dump LBRs on Exception

2014-12-06 Thread Robert Jarzmik
Andy Lutomirski l...@amacapital.net writes: I don't really care about the number of instructions. Right, a couple of test/jz/jnz is negligible in the exception path, that's what I also think. But there are still all the nasty cases: - Context switch during exception processing (both in the

Re: [PATCH v2] [LBR] Dump LBRs on Exception

2014-12-07 Thread Robert Jarzmik
Hi Andy, Andy Lutomirski l...@amacapital.net writes: On Dec 6, 2014 2:31 AM, Robert Jarzmik robert.jarz...@intel.com wrote: We would have a LBR resource variable to track who owns the LBR : - nobody : LBR_UNCLAIMED - the exception handler : LBR_EXCEPTION_DEBUG_USAGE Which exception handler

[PATCH v2] mfd: lubbock_io: add lubbock_io board

2015-01-03 Thread Robert Jarzmik
, demuxing the lubbock IO board interrupts. This patch moves all that handling to a mfd driver. It's only purpose for the time being is the interrupt handling, but in the future it should encompass all the motherboard CPLDs handling : - leds - switches - hexleds Signed-off-by: Robert Jarzmik

Re: [PATCH v2] ARM: pxa: fix pxa interrupts handling in DT

2015-02-02 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: @@ -66,18 +67,20 @@ static inline void __iomem *irq_base(int i) void pxa_mask_irq(struct irq_data *d) { void __iomem *base = irq_data_get_irq_chip_data(d); + irq_hw_number_t irq = irqd_to_hwirq(d); uint32_t icmr = __raw_readl

Re: [PATCH] clk: pxa: fix pxa27x_clocks_init scope

2015-02-02 Thread Robert Jarzmik
Stephen Boyd sb...@codeaurora.org writes: On 01/31/15 14:37, Robert Jarzmik wrote: As pxa27x_clocks_init() is called from early boot stage, it has to be reachable from pxa architecture code, as are pxa25x_clocks_init() and pxa2xx_clock_init(). Remove the static declaration, which

Re: [PATCH 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-06 Thread Robert Jarzmik
Sergei Shtylyov sergei.shtyl...@cogentembedded.com writes: +clocksources { +#address-cells = 1; +#size-cells = 1; +ranges; + +pxa-timer@40a0 { Just timer@40a0, please. Hi Sergei, I forgot that in the v2, sorry. I'll put it in

[PATCH v2 2/5] ARM: dts: pxa: add clocks

2015-02-06 Thread Robert Jarzmik
disable them automatically (unused clocks shutdown) Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 36 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH v2 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-02-06 Thread Robert Jarzmik
Each pxa variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm

[PATCH v2 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa has an embedded OS Timers IP. The kernel cannot work without a valid clocksource, and this adds the OS Timers to the pxa device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: removed clocksource node, pxa-timer being directly under pxabus

[PATCH v2 4/5] ARM: dts: pxa: add pxa27x-keypad to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa27x has an embedded keypad controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH v2 3/5] ARM: dts: pxa: add pxa27x-udc to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa27x has an embedded usb udc controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

Re: [PATCH v3 20/20] arm: mach-pxa: Decrement the power supply's device reference counter

2015-02-07 Thread Robert Jarzmik
...@kernel.org Acked-by: Robert Jarzmik robert.jarz...@free.fr -- Robert -- 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

[PATCH v3 4/5] ARM: dts: pxa: add pxa27x-keypad to pxa27x

2015-02-07 Thread Robert Jarzmik
Each pxa27x has an embedded keypad controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH v3 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-07 Thread Robert Jarzmik
Each pxa has an embedded OS Timers IP. The kernel cannot work without a valid clocksource, and this adds the OS Timers to the pxa device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: removed clocksource node, pxa-timer being directly under pxabus

[PATCH v3 3/5] ARM: dts: pxa: add pxa27x-udc to pxa27x

2015-02-07 Thread Robert Jarzmik
Each pxa27x has an embedded usb udc controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH v3 2/5] ARM: dts: pxa: add clocks

2015-02-07 Thread Robert Jarzmik
disable them automatically (unused clocks shutdown) Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH v3 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-02-07 Thread Robert Jarzmik
pxa27x variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa27x description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v2

Re: [PATCH v3 2/5] ARM: dts: pxa: add clocks

2015-02-07 Thread Robert Jarzmik
Sergei Shtylyov sergei.shtyl...@cogentembedded.com writes: Hello. On 2/7/2015 3:39 PM, Robert Jarzmik wrote: +stuart: uart@4070 { +clocks = pxa2xx_clks CLK_STUART; +}; + The ePAPR standard tells to call such nodes serial, not uart. Good

[PATCH] ARM: pxa: pxa27x skip default device initialization with DT

2015-02-07 Thread Robert Jarzmik
When booting via DT, the default PXA devices must not have been probed before, otherwise the augmented information from the device tree is ignored. This is the twin commit of commit 82ce44d104dc (ARM: pxa3xx: skip default device initialization when booting via DT). Signed-off-by: Robert Jarzmik

  1   2   3   4   5   6   7   8   9   10   >