Re: [PATCH 2/2] memory: omap-gpmc: Add Kconfig option for debug

2016-01-06 Thread Aaro Koskinen
m> > Signed-off-by: Tony Lindgren <t...@atomide.com> This fixes also the detection issue on N950. Also tested the patch with N810. Tested-by: Aaro Koskinen <aaro.koski...@iki.fi> A. > --- a/arch/arm/mach-omap2/gpmc-onenand.c > +++ b/arch/arm/mach-omap2/gpmc-onenand.c >

Re: [PATCH] mtd: onenand: omap2: Simplify the DMA setup for various paths

2015-12-19 Thread Aaro Koskinen
Hi, On Fri, Dec 18, 2015 at 10:39:48AM -0800, Tony Lindgren wrote: > * Brian Norris [151218 10:11]: > > On Mon, Dec 14, 2015 at 11:49:32AM +0200, Peter Ujfalusi wrote: > > > We have 4 functions containing almost identical DMA setup code. Create one > > > function

[PATCH] ARM: OMAP: RX-51: fix a typo in log writing

2015-11-23 Thread Aaro Koskinen
Fix a typo when registering HW RNG. Signed-off-by: Aaro Koskinen <aaro.koski...@iki.fi> --- arch/arm/mach-omap2/board-rx51-peripherals.c | 2 +- arch/arm/mach-omap2/pdata-quirks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/boar

Re: [4.4-rc][PATCH] gpio: omap: drop omap1 mpuio specific irq_mask/unmask callbacks

2015-11-20 Thread Aaro Koskinen
(platform_drv_probe) from [] (really_probe+0x160/0x29c) > > Hence, fix it by remove obsolete callbacks assignment. After this > changeomap_gpio_mask_irq()/omap_gpio_unmask_irq() will be used > for MPUIO IRQs masking, but this now happens anyway from > omap_gpio_irq_startup/shutdown

Re: [BISECTED] v4.4-rc1 GPIO regression on OMAP1

2015-11-19 Thread Aaro Koskinen
Hi, On Thu, Nov 19, 2015 at 01:57:37PM +0200, Grygorii Strashko wrote: > On 11/18/2015 08:31 PM, Aaro Koskinen wrote: > > On Wed, Nov 18, 2015 at 02:58:38PM +0200, Grygorii Strashko wrote: > >> On 11/17/2015 11:42 PM, Aaro Koskinen wrote: > >>> Amstrad E3 compu

Re: [BISECTED] v4.4-rc1 GPIO regression on OMAP1

2015-11-18 Thread Aaro Koskinen
Hi, On Wed, Nov 18, 2015 at 02:58:38PM +0200, Grygorii Strashko wrote: > On 11/17/2015 11:42 PM, Aaro Koskinen wrote: > >Amstrad E3 computer (OMAP1) boot crashes early with v4.4-rc1. Bisected to: > > > > 450fa54cfd66e3dda6eda26256637ee8928af12a is the first bad

[PATCH v2] hw_random: omap3-rom-rng: convert timer to delayed work

2015-11-18 Thread Aaro Koskinen
We cannot put the HW RNG to idle using a timer because we cannot disable clocks from atomic context. Use a delayed work instead. Fixes a warning with CONFIG_DEBUG_MUTEXES on Nokia N900 during boot. Reported-by: Sebastian Reichel <s...@kernel.org> Signed-off-by: Aaro Koskinen <a

[BISECTED] v4.4-rc1 GPIO regression on OMAP1

2015-11-17 Thread Aaro Koskinen
Hi, Amstrad E3 computer (OMAP1) boot crashes early with v4.4-rc1. Bisected to: 450fa54cfd66e3dda6eda26256637ee8928af12a is the first bad commit commit 450fa54cfd66e3dda6eda26256637ee8928af12a Author: Grygorii Strashko Date: Fri Sep 25

Re: [BISECTED] v4.3-rc5: OMAP1 boot hang

2015-11-11 Thread Aaro Koskinen
). A. On Tue, Oct 13, 2015 at 10:30:46AM +0300, Aaro Koskinen wrote: > Hi, > > Amstrad E3 / OMAP1 boot hangs, and I bisected it to > a5e090acbf545c0a3b04080f8a488b17ec41fe02 ("ARM: software-based > priviledged-no-access support"). > > Below is the boot log. Di

[PATCH] hw_random: omap3-rom-rng: convert timer to delayed work

2015-11-05 Thread Aaro Koskinen
We cannot put the HW RNG to idle using a timer because we cannot disable clocks from atomic context. Use a delayed work instead. Fixes a warning with CONFIG_DEBUG_MUTEXES on Nokia N900 during boot. Reported-by: Sebastian Reichel <s...@kernel.org> Signed-off-by: Aaro Koskinen <a

[PATCH] ARM: OMAP1: fix incorrect INT_DMA_LCD

2015-10-26 Thread Aaro Koskinen
A_LCD like the other interrupts. Cc: sta...@vger.kernel.org Fixes: 685e2d08c54b ("ARM: OMAP1: Change interrupt numbering for sparse IRQ") Signed-off-by: Aaro Koskinen <aaro.koski...@iki.fi> --- include/linux/omap-dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [BISECTED] Nokia 770 framebuffer breakage

2015-10-20 Thread Aaro Koskinen
On Mon, Oct 19, 2015 at 11:50:33PM +0100, Russell King - ARM Linux wrote: > It shouldn't (I've been through the resulting assembly code.) I wonder > if this is fixing the problem, but it's now failing elsewhere instead. > > What happens if you change it to: > > l = clkdev_create(r, alias,

Re: [BISECTED] Nokia 770 framebuffer breakage

2015-10-20 Thread Aaro Koskinen
Hi, On Tue, Oct 20, 2015 at 05:05:24PM +0100, Russell King - ARM Linux wrote: > On Tue, Oct 20, 2015 at 10:07:00AM +0100, Russell King - ARM Linux wrote: > > On Tue, Oct 20, 2015 at 11:50:03AM +0300, Aaro Koskinen wrote: > > > On Mon, Oct 19, 2015 at 11:50:33PM +0100, Russel

[BISECTED] Nokia 770 framebuffer breakage

2015-10-19 Thread Aaro Koskinen
Hi, Somewhere between 4.1 .. 4.3-rc6 framebuffer on Nokia 770 stopped working. Bisection points to: commit 2568999835d7797afce3dcc3a3f368051ffcaf1f Author: Russell King Date: Mon Mar 2 15:40:29 2015 + clkdev: add clkdev_create() helper The commit cannot

Re: [BISECTED] Nokia 770 framebuffer breakage

2015-10-19 Thread Aaro Koskinen
On Mon, Oct 19, 2015 at 09:05:22PM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 19, 2015 at 10:37:59PM +0300, Aaro Koskinen wrote: > > Hi, > > > > Somewhere between 4.1 .. 4.3-rc6 framebuffer on Nokia 770 stopped working. > > > > Bis

[BISECTED] v4.3-rc5: OMAP1 boot hang

2015-10-13 Thread Aaro Koskinen
Hi, Amstrad E3 / OMAP1 boot hangs, and I bisected it to a5e090acbf545c0a3b04080f8a488b17ec41fe02 ("ARM: software-based priviledged-no-access support"). Below is the boot log. Disabling CPU_SW_DOMAIN_PAN helps. Uncompressing Linux... done, booting the kernel. [0.00] Booting Linux on

GCC 5.1 bug affecting ARM kernels

2015-05-14 Thread Aaro Koskinen
Hi, There is a code generation bug in GCC 5.1 that affects some ARM kernels: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 The bug report mentions arm926ej-s, and also some OMAP1 and 2 kernels fail to boot (there is a crash after warnings about some bogus duplicate sysfs files)

v4.1-rc1 N900: annoying Nokia modem spam

2015-05-02 Thread Aaro Koskinen
Hi, With v4.1-rc1, after loading nokia_modem I get the following endless log spam until I load cmt_speech (for whatever reason it does not get modprobed automatically with busybox modprobe): [ 41.626983] nokia-modem n900-modem: Missing cmt-speech driver [ 41.804565]

Re: [PATCHv3 1/2] HSI: cmt_speech: Add cmt-speech driver

2015-03-29 Thread Aaro Koskinen
data between the Nokia N900/N950/N9's modem and its cpu. Signed-off-by: Kai Vehmanen kai.vehma...@nokia.com Signed-off-by: Carlos Chinea carlos.chi...@nokia.com Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com Acked-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from

Re: [PATCHv3 2/2] HSI: nokia-modem: Add cmt-speech support

2015-03-29 Thread Aaro Koskinen
Hi, On Sat, Mar 21, 2015 at 08:09:17PM +0100, Sebastian Reichel wrote: Register cmt-speech driver in nokia-modem driver and forward hsi channel information. Signed-off-by: Sebastian Reichel s...@kernel.org Acked-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from this list

[PATCH 0/3] mfd: menelaus: couple simple cleanups

2015-03-28 Thread Aaro Koskinen
Hi, I came across these while trying to start DT conversion for menelaus (http://marc.info/?t=14197028735r=1w=2). While the DT work failed and is still pending, I think it's still worth to apply these as they are independent and they remove some cruft from the tree. A. Aaro Koskinen (3

[PATCH 1/3] mfd: menelaus: delete omap_has_menelaus

2015-03-28 Thread Aaro Koskinen
Delete unused macro. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- include/linux/mfd/menelaus.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/linux/mfd/menelaus.h b/include/linux/mfd/menelaus.h index f097e89..a1e12bf3 100644 --- a/include/linux/mfd/menelaus.h +++ b

[PATCH 3/3] mfd: menelaus: use macro for magic number

2015-03-28 Thread Aaro Koskinen
Use macro to check a register bit. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/menelaus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index 917fa86..c2ca665 100644 --- a/drivers/mfd/menelaus.c +++ b

[PATCH 2/3] mfd: menelaus: drop support for SW controller VCORE

2015-03-28 Thread Aaro Koskinen
Drop support for SW controlled VCORE, nobody uses it. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/menelaus.c | 23 --- include/linux/mfd/menelaus.h | 1 - 2 files changed, 24 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd

Re: [PATCH 0/8] gpio: omap: cleanup: get rid of system GPIO - GPIO offset converseations

2015-03-22 Thread Aaro Koskinen
from Aaro then will re-send if ok. Works fine on 770 and E3. Tested-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-07 Thread Aaro Koskinen
Hi, On Fri, Feb 27, 2015 at 01:40:44PM +0100, Pali Rohár wrote: However I get these when CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set: alg: hash: Chunking test 1 failed for omap-sha1 alg: hash: Chunking test 1 failed for omap-md5 alg: hash: Chunking test 1 failed for

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-06 Thread Aaro Koskinen
Hi, On Fri, Mar 06, 2015 at 10:36:32AM -0800, Tony Lindgren wrote: Are there any fixes in this series that should go into v4.0-rc series, or can it all wait for v4.1? I think these all should wait for v4.1. A. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: [PATCHv2 0/2] N900 Modem Speech Support

2015-03-04 Thread Aaro Koskinen
On Wed, Mar 04, 2015 at 08:24:19PM +0100, Pavel Machek wrote: @@ -1239,8 +1234,8 @@ static long cs_char_ioctl(struct file *file, unsigned int cmd, if (copy_to_user((void __user *)arg, ifver, sizeof(ifver))) r = -EFAULT; - break; } +

Re: [PATCH 1/9] HSI: cmt_speech: Add cmt-speech driver

2015-03-02 Thread Aaro Koskinen
Hi, On Mon, Mar 02, 2015 at 05:38:51AM +0100, Sebastian Reichel wrote: From: Kai Vehmanen kai.vehma...@nokia.com Introduces the cmt-speech driver, which implements a character device interface for transferring speech data frames over HSI/SSI. The driver is used to exchange voice/speech

Re: [PATCH, RESEND] usb: musb: fix Kconfig regression

2015-02-27 Thread Aaro Koskinen
: start using the control module driver) Acked-by: Acked-by: Pavel Machek pa...@ucw.cz Cc: sta...@vger.kernel.org # v3.9+ This patch allows me to disable redundant CONFIG_OMAP_CONTROL_PHY from 4.0-rc1 .config and still get a working USB on Nokia N9. So: Tested-by: Aaro Koskinen aaro.koski...@iki.fi

[PATCH] ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig

2015-02-26 Thread Aaro Koskinen
Enable TWL4030_USB which is used at least on Nokia N900/N950/N9 (OMAP3). Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig

Re: [PATCH 00/10] omap3 crypto fixes

2015-02-26 Thread Aaro Koskinen
1 failed for omap-hmac-md5 But that's probably unrelated to this series. For patches 1-8, feel free to add: Tested-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo

Re: 3.20-rc0 breaks nfsroot over usb

2015-02-26 Thread Aaro Koskinen
Hi, On Thu, Feb 26, 2015 at 11:19:50PM +0100, Pavel Machek wrote: Ok, it seems that new config dependencies broke my kconfig. These will not be enabled if you just to make oldconfig; you want to make sure they are on. OMAP2430 and onwards (USB_MUSB_OMAP2PLUS) [N/m/y] (NEW) TWL4030 USB

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-02-19 Thread Aaro Koskinen
Hi, On Thu, Feb 19, 2015 at 07:20:41PM +0100, Pali Rohár wrote: Anyway, in Nokia Harmattan N9/N950 2.6.32 kernel is this patch: +/* Do we need runtime check ? */ +#if __LINUX_ARM_ARCH__ 6 { do_bad, SIGBUS, 0, external abort on linefetch }, +#else +

Re: v3.19: Nokia N900 - boot errors

2015-01-31 Thread Aaro Koskinen
Hi, On Sat, Jan 31, 2015 at 10:28:46AM +0100, Pali Rohár wrote: when I boot 3.19 kernel on real n900 device it show these errors in dmesg: [0.256103] hw-breakpoint: debug architecture 0x4 unsupported. [0.257659] In-band Error seen by MPU at address 0 [0.257720] [

Re: v3.19: Nokia N900 - boot errors

2015-01-31 Thread Aaro Koskinen
Hi, On Sat, Jan 31, 2015 at 12:08:31PM +0100, Pali Rohár wrote: On Saturday 31 January 2015 12:05:09 Aaro Koskinen wrote: Hi, On Sat, Jan 31, 2015 at 10:28:46AM +0100, Pali Rohár wrote: when I boot 3.19 kernel on real n900 device it show these errors in dmesg: [0.256103

Re: N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-27 Thread Aaro Koskinen
On Tue, Jan 27, 2015 at 01:50:22PM -0500, Nicolas Pitre wrote: Hence the ATAG-to-DT compat code in the decompressor. This was meant to smooth things around the transition to DT, etc. After all, those devices with non-replaceable bootloaders where shim layers are not possible should get

Re: N900 v3.19-rc5 errors

2015-01-25 Thread Aaro Koskinen
Hi, On Fri, Jan 23, 2015 at 02:15:56PM +0100, Pali Rohár wrote: I'm getting these two errors when booting DT linux v3.19-rc5 in n900 qemu: [0.309234] device-tree: Duplicate name in onenand@0,0, renamed to #1 [0.309417] device-tree: Duplicate name in onenand@0,0, renamed to #2 [

Re: 3.19 on Nokia n900: audio quality awful

2015-01-07 Thread Aaro Koskinen
Hi, On Tue, Jan 06, 2015 at 11:58:56PM +0100, Pavel Machek wrote: On Wed 2015-01-07 00:27:17, Aaro Koskinen wrote: On Tue, Jan 06, 2015 at 11:08:05PM +0100, Pavel Machek wrote: On Tue 2015-01-06 22:57:30, Aaro Koskinen wrote: Hi, On Tue, Jan 06, 2015 at 09:50:00PM +0100, Pavel

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-06 Thread Aaro Koskinen
Hi, On Mon, Jan 05, 2015 at 08:01:22PM -0600, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 01:16:21AM +0200, Aaro Koskinen wrote: I did some debugging and it seems the In-band Error occurs when omap_system_dma_probe() is being run, specifically when the interrupt is enabled. I believe

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-06 Thread Aaro Koskinen
Hi, On Tue, Jan 06, 2015 at 12:52:50PM +0100, Sebastian Reichel wrote: On Tue, Jan 06, 2015 at 12:25:12PM +0100, Peter Kümmel wrote: Am 05.01.2015 um 16:43 schrieb Felipe Balbi: Just booted AM335x with CONFIG_PREEMPT and haven't seen any problem. Perhaps this is something related to

Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900

2015-01-06 Thread Aaro Koskinen
to make sure it no longer causes issues? Seems to work fine with normal n900. Tested-by: Aaro Koskinen aaro.koski...@iki.fi I also tested with a development board, eth0 seemed to appear, but couldn't configure the MAC address with busybox ifconfig. How should it be done, I guess the interface does

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Aaro Koskinen
Hi, On Tue, Jan 06, 2015 at 06:51:15PM +0100, Pavel Machek wrote: On Tue 2015-01-06 11:25:45, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 06:04:33PM +0100, Pavel Machek wrote: In 3.18, sound is nice and clear. In 3.19, sound is unusable. It produces nasty tone when it should be

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Aaro Koskinen
Hi, On Tue, Jan 06, 2015 at 09:50:00PM +0100, Pavel Machek wrote: PS: Unfortunately, N900 will not boot using nfsroot in 3.16+ at least, and boot from MMC card is broken and has been for quite some time. USB networking works fine with 3.19-rc3 and also MMC card rootfs. What issues are you

Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900

2015-01-06 Thread Aaro Koskinen
Hi, On Tue, Jan 06, 2015 at 11:54:55AM -0800, Tony Lindgren wrote: Run u-boot/tools/gen_eth_addr to generate a random local mac, then swap the bytes for it for big endian. Enter them into a file with hexedit in big endian order. Then just do: # cat mac | ethtool -E eth0 offset 0x40 length 6

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Aaro Koskinen
On Tue, Jan 06, 2015 at 11:08:05PM +0100, Pavel Machek wrote: On Tue 2015-01-06 22:57:30, Aaro Koskinen wrote: Hi, On Tue, Jan 06, 2015 at 09:50:00PM +0100, Pavel Machek wrote: PS: Unfortunately, N900 will not boot using nfsroot in 3.16+ at least, and boot from MMC card is broken

Re: [PATCH] irqchip: omap-intc: fix legacy DMA regression

2015-01-06 Thread Aaro Koskinen
Hi, On Tue, Jan 06, 2015 at 06:05:32PM +, Russell King - ARM Linux wrote: On Tue, Jan 06, 2015 at 10:51:33AM -0600, Felipe Balbi wrote: +* FIXME legacy OMAP DMA driver sitting under arch/arm/plat-omap/dma.c +* depends is still not ready for linear IRQ domains; because of that +

Re: [PATCH] irqchip: omap-intc: fix legacy DMA regression

2015-01-06 Thread Aaro Koskinen
driver is fixed up. Fixes: 55601c9f2467 (arm: omap: intc: switch over to linear irq domain) Signed-off-by: Felipe Balbi ba...@ti.com I tested this on N950 with 3.19-rc3, and /proc/interrupts looks sane and also the In-band Error is gone. Tested-by: Aaro Koskinen aaro.koski...@iki.fi BTW, I

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-05 Thread Aaro Koskinen
Hi, On Mon, Jan 05, 2015 at 09:43:13AM -0600, Felipe Balbi wrote: On Sat, Jan 03, 2015 at 02:16:22PM +0200, Aaro Koskinen wrote: When updating (custom DM3730 board) from 3.18.1 ro 3.19-rc2 I see a In-band ERROR warning which wasn't present in 3.18.1. Could it be that I

[PATCH] hsi: nokia-modem: fix uninitialized device pointer

2015-01-04 Thread Aaro Koskinen
modem-device was never initialized. This resulted in logs such as: [ 241.386322] (NULL device *): CMT rst line change detected Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/hsi/clients/nokia-modem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hsi/clients/nokia

Re: OMAP baseline test results for v3.19-rc1

2015-01-04 Thread Aaro Koskinen
Hi, On Sun, Jan 04, 2015 at 05:46:31PM +0100, Arnd Bergmann wrote: On Saturday 03 January 2015 15:44:38 Aaro Koskinen wrote: On Sat, Jan 03, 2015 at 01:51:53PM +0100, Arnd Bergmann wrote: On Saturday 03 January 2015 07:21:49 Paul Walmsley wrote: Another ~300KB kernel object size

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-03 Thread Aaro Koskinen
Hi, On Fri, Jan 02, 2015 at 04:02:21PM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [150102 14:37]: On Fri, Jan 02, 2015 at 12:40:19PM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [150102 12:21]: On Fri, Jan 02, 2015 at 07:31:36PM +0100, Peter

Re: OMAP baseline test results for v3.19-rc1

2015-01-03 Thread Aaro Koskinen
Hi, On Sat, Jan 03, 2015 at 01:51:53PM +0100, Arnd Bergmann wrote: On Saturday 03 January 2015 07:21:49 Paul Walmsley wrote: Another ~300KB kernel object size increase for omap2plus_defconfig kernels. 300kb seems like a lot for a single release. Have you looked into where this is coming

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-02 Thread Aaro Koskinen
Hi, On Fri, Jan 02, 2015 at 07:31:36PM +0100, Peter Kümmel wrote: Am 02.01.2015 um 17:19 schrieb Tony Lindgren: * Aaro Koskinen aaro.koski...@iki.fi [150101 10:23]: On Thu, Jan 01, 2015 at 07:12:51PM +0100, Peter Kümmel wrote: When updating (custom DM3730 board) from 3.18.1 ro 3.19-rc2 I see

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-02 Thread Aaro Koskinen
Hi, On Fri, Jan 02, 2015 at 12:40:19PM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [150102 12:21]: On Fri, Jan 02, 2015 at 07:31:36PM +0100, Peter Kümmel wrote: Am 02.01.2015 um 17:19 schrieb Tony Lindgren: * Aaro Koskinen aaro.koski...@iki.fi [150101 10:23

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-01 Thread Aaro Koskinen
Hi, On Thu, Jan 01, 2015 at 07:12:51PM +0100, Peter Kümmel wrote: When updating (custom DM3730 board) from 3.18.1 ro 3.19-rc2 I see a In-band ERROR warning which wasn't present in 3.18.1. Could it be that I missed some DT updates? [0.366882] In-band Error seen by MPU at address 0 [

N900 / v3.19-rc2: nokia-modem crash

2014-12-31 Thread Aaro Koskinen
Hi, The below crash seems to be easily reproducible on N900. Just do: modprobe nokia-modem; modprobe -r nokia-modem; modprobe nokia-modem [ 139.990173] omap_ssi 48058000.ssi-controller: ssi controller 0 initialized (1 ports)! [ 140.022674] NET: Registered protocol family 35 [ 140.048797]

Re: v3.19-rc1 regression(?) on N900

2014-12-29 Thread Aaro Koskinen
Hi, On Mon, Dec 29, 2014 at 10:04:46AM +0200, Tomi Valkeinen wrote: On 26/12/14 00:21, Aaro Koskinen wrote: ...however, I can confirm that framebuffer is broken: [8.230743] omapfb omapfb: no displays [8.255584] omapfb omapfb: failed to setup omapfb [8.260620] platform

Re: [PATCH 3/7] mfd: menelaus: add initial DT support

2014-12-28 Thread Aaro Koskinen
Hi, On Sat, Dec 27, 2014 at 03:25:53PM -0600, Felipe Balbi wrote: On Sat, Dec 27, 2014 at 07:52:55PM +0200, Aaro Koskinen wrote: Add initial DT support. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- Documentation/devicetree/bindings/mfd/menelaus.txt | 30

[PATCH 0/7] Menelaus cleanup for DT, phase 1

2014-12-27 Thread Aaro Koskinen
Hi, These patches start removal of board-specific callbacks from Menelaus: delete platform data and a callback from the driver to the board files. Tested on top of 3.19-rc1 on N800/N810 which are the only in-tree users for the driver. Aaro Koskinen (7): mfd: menelaus: delete omap_has_menelaus

[PATCH 4/7] ARM: OMAP: N8x0: configure menelaus using DT

2014-12-27 Thread Aaro Koskinen
Configure Menelaus using DT. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/boot/dts/omap2420-n8x0-common.dtsi | 3 ++ arch/arm/mach-omap2/board-n8x0.c| 57 - arch/arm/mach-omap2/pdata-quirks.c | 1 - 3 files changed, 3

[PATCH 3/7] mfd: menelaus: add initial DT support

2014-12-27 Thread Aaro Koskinen
Add initial DT support. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- Documentation/devicetree/bindings/mfd/menelaus.txt | 30 + drivers/mfd/menelaus.c | 52 -- 2 files changed, 78 insertions(+), 4 deletions(-) create mode

[PATCH 2/7] mfd: menelaus: drop support for SW controller VCORE

2014-12-27 Thread Aaro Koskinen
Drop support for SW controlled VCORE, nobody uses it. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/menelaus.c | 23 --- include/linux/mfd/menelaus.h | 1 - 2 files changed, 24 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd

[PATCH 5/7] mfd: menelaus: delete platform data support

2014-12-27 Thread Aaro Koskinen
Delete platform data support. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mach-omap2/common-board-devices.h | 2 -- drivers/mfd/menelaus.c | 10 +- include/linux/mfd/menelaus.h | 6 -- 3 files changed, 1 insertion(+), 17

[PATCH 1/7] mfd: menelaus: delete omap_has_menelaus

2014-12-27 Thread Aaro Koskinen
Delete unused macro. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- include/linux/mfd/menelaus.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/linux/mfd/menelaus.h b/include/linux/mfd/menelaus.h index f097e89..a1e12bf3 100644 --- a/include/linux/mfd/menelaus.h +++ b

[PATCH 7/7] mfd: menelaus: use macro for magic number

2014-12-27 Thread Aaro Koskinen
Use macro to check a register bit. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/menelaus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index 8660adf..05bae40 100644 --- a/drivers/mfd/menelaus.c +++ b

[PATCH 6/7] mfd: menelaus: make vcore and regulator controls internal

2014-12-27 Thread Aaro Koskinen
Make vcore and regulator control functions internal to the driver. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/menelaus.c | 13 +++-- include/linux/mfd/menelaus.h | 12 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers/mfd

[PATCH] ARM: OMAP: DTS: N950/N9: add twl_power

2014-12-26 Thread Aaro Koskinen
Add twl_power for N950/N9. Start with the simplest configuration to just enable power off. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/boot/dts/omap3-n950-n9.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts

Re: v3.19-rc1 regression(?) on N900

2014-12-25 Thread Aaro Koskinen
Hi, On Thu, Dec 25, 2014 at 10:11:21AM +0100, Pavel Machek wrote: On Thu 2014-12-25 09:32:40, Pali Rohár wrote: On Wednesday 24 December 2014 23:57:38 Nishanth Menon wrote: based on automated testing with u-boot as a chained bootloader.. v3.19-rc1: hung

Re: [PATCH] tty: serial: serial-omap: depend on !8250_omap

2014-12-01 Thread Aaro Koskinen
Hi, On Mon, Dec 01, 2014 at 02:09:14PM +, One Thousand Gnomes wrote: Well the nightmare userspace switch from ttyS to ttyO few years ago is something we want to avoid.. I think the best solution would be to make serial-omap.c transparently provide support for ttyO using the new 8250

Re: [PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

2014-11-28 Thread Aaro Koskinen
Hi, On Fri, Nov 28, 2014 at 10:41:12PM +0100, Pali Rohár wrote: Does kernel provide some interface for telling userspace applications something like bootreason (e.g power key, software reset, rtc alarm, charger connected, ...)? In N950/N9, NOLO passes this information using kernel command

Re: [PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

2014-11-28 Thread Aaro Koskinen
Hi, On Fri, Nov 28, 2014 at 10:41:12PM +0100, Pali Rohár wrote: uboot (in mode when is loaded from NOLO) has those issues: 1) uboot cannot read n900 onenand mtd (uboot onenand driver not working, do not know why) 2) missing support for battery charging (can totally discharge battery) NOLO

Re: [PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

2014-11-28 Thread Aaro Koskinen
Hi, On Fri, Nov 28, 2014 at 11:49:00PM +0100, Pali Rohár wrote: On Friday 28 November 2014 23:41:35 Aaro Koskinen wrote: On Fri, Nov 28, 2014 at 10:41:12PM +0100, Pali Rohár wrote: uboot (in mode when is loaded from NOLO) has those issues: 1) uboot cannot read n900 onenand mtd (uboot

Re: [PATCH] i2c: omap: fix NACK and Arbitration Lost irq handling

2014-11-20 Thread Aaro Koskinen
any breakage or anything wrong on OMAP2 OMAP3. On OMAP1 I don't have anything on the OMAP I2C bus, so cannot really test anything there. Tested-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/i2c/busses/i2c-omap.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c

Re: [PATCH v12 11/15] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-11-15 Thread Aaro Koskinen
Hi, On Fri, Oct 24, 2014 at 11:54:32AM +0100, Daniel Thompson wrote: + config DEBUG_OMAP1UART1 + bool Kernel low-level debugging via OMAP1 UART1 + depends on ARCH_OMAP1 + select DEBUG_UART_8250 + help + Say Y here if you want

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Aaro Koskinen
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 which can receive an sms, initiate a call, and report missed call. If someone wants to play,

Re: [PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

2014-10-29 Thread Aaro Koskinen
On Wed, Oct 29, 2014 at 04:45:41PM -0500, Nishanth Menon wrote: On 12:39-20141029, Tony Lindgren wrote: OK, you want me to guess? A hundred million days, or maybe ten more minutes, somewhere in there, I just can't say, don't know. How about ~1 year? We have been talking about dt only boot

Re: [PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

2014-10-29 Thread Aaro Koskinen
and find out about any remaining issues. Note that for most boards we already have the .dts file and those can be booted with without changing the bootloader using the appended DTB mode. Signed-off-by: Tony Lindgren t...@atomide.com Reviewed-by: Aaro Koskinen aaro.koski...@iki.fi --- a/arch

Re: [PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

2014-10-27 Thread Aaro Koskinen
Hi, On Mon, Oct 27, 2014 at 01:00:09PM -0700, Tony Lindgren wrote: + + if (!of_have_populated_dt()) + pr_warn(WARNING: legacy booting deprecated, please update to boot with .dts\n); + Maybe use WARN so that the warning is more verbose and kernel gets tainted? A. -- To

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Aaro Koskinen
Hi, On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config with 3.17 and g_ether works OK. (My initramfs modprobes g_ether, runs

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Aaro Koskinen
Hi, On Tue, Oct 21, 2014 at 12:35:18AM +0300, Aaro Koskinen wrote: On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config

Re: [PATCH] watchdog: Fix omap watchdogs to enable the magic close bit

2014-10-14 Thread Aaro Koskinen
Hi, On Tue, Oct 14, 2014 at 12:25:19PM -0700, Tony Lindgren wrote: This allows testing the watchdog easily with distros just by doing pkill -9 watchdog. Reported-by: Thomas Dziedzic gos...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com Acked-by: Aaro Koskinen aaro.koski...@iki.fi

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Aaro Koskinen
Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: What GCC version are you using? 4.8.1 and 4.8.2 are known to miscompile the ARM kernel and these find_get_entry() crashes with 0x involved smell a lot like the earlier reports from kernels build with those

Re: [PATCH v10 5/9] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-09-16 Thread Aaro Koskinen
Hi, On Tue, Sep 16, 2014 at 11:46:24PM +0100, Daniel Thompson wrote: + config DEBUG_OMAP1UART1 + bool Kernel low-level debugging via OMAP1 UART1 + depends on ARCH_OMAP1 + select DEBUG_UART_8250 + help + Say Y here if you want

Re: [PATCH] mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators

2014-08-19 Thread Aaro Koskinen
: 43fef47f94a1 (mfd: twl4030-power: Add a configuration to turn off oscillator during off-idle) Cc: sta...@vger.kernel.org # v3.16 Signed-off-by: Tony Lindgren t...@atomide.com Tested-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [PATCH CFT v2] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-07-25 Thread Aaro Koskinen
exists but it must be configured by hand (DEBUG_OMAP7XXUART1/2/3) rather than handled at runtime. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org Tested-by: Aaro Koskinen aaro.koski...@iki.fi I tested this on OMAP1510. The generic code works, though there will be some more work

Re: Nokia N900 FB regression?

2014-07-24 Thread Aaro Koskinen
Hi, On Wed, Jul 23, 2014 at 12:37:06AM -0700, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [140722 14:25]: Hi, Somewhere between 3.16-rc2 and rc6 (I was on holidays...) I noticed the framebuffer stopped working on N900 (nothing on screen). I bisected

Nokia N900 FB regression?

2014-07-22 Thread Aaro Koskinen
Hi, Somewhere between 3.16-rc2 and rc6 (I was on holidays...) I noticed the framebuffer stopped working on N900 (nothing on screen). I bisected this to 913fd66e9809e93e06d5bbd49cf99a6cdbee (ARM: dts: Enable twl4030 off-idle configuration for selected omaps). With this commit reverted, I can

Re: [PATCH CFT] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-07-17 Thread Aaro Koskinen
Hi, On Thu, Jul 17, 2014 at 11:54:04AM +0100, Daniel Thompson wrote: The omap1's debug-macro.S is similar to the generic 8250 code. Compared to the 8520 code the omap1 macro automatically determines what UART to use based on breadcrumbs left by the bootloader and automatically copes with the

Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver

2014-07-02 Thread Aaro Koskinen
Hi, On Wed, Jul 02, 2014 at 11:09:32AM -0500, Felipe Balbi wrote: It has been only tested as console UART. The tty name is ttyS based instead of ttyO. How big is the pain here, what could be the easiest way to provide compatibility? have been considering that myself for months. You could

Re: [PATCH 2/7] mailbox/omap: remove OMAP1 mailbox driver

2014-06-26 Thread Aaro Koskinen
, including the creation of the mailbox platform device. Remove this stale driver so that the OMAP mailbox driver can be simplified and streamlined better for converting to mailbox framework. Cc: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Suman Anna s-a...@ti.com

Re: v3.16-rc1 default cachepolicy

2014-06-20 Thread Aaro Koskinen
Hi, On Fri, Jun 20, 2014 at 12:36:26AM +0100, Russell King - ARM Linux wrote: On Fri, Jun 20, 2014 at 01:40:04AM +0300, Aaro Koskinen wrote: So I tried the below change. But now it hangs early, even before the earlyprintk is working. :-/ Thanks for trying. I notice you said write-through

v3.16-rc1 default cachepolicy

2014-06-19 Thread Aaro Koskinen
Hi, When booting v3.16-rc1 on OMAP1, I noticed strange slowness. E.g. initramfs unpack takes several minutes. This was caused by default cachepolicy getting changed from writethrough - uncached for some reason: [0.00] Booting Linux on physical CPU 0x0 [0.00] Initializing cgroup

Re: v3.16-rc1 default cachepolicy

2014-06-19 Thread Aaro Koskinen
Hi, On Thu, Jun 19, 2014 at 09:58:53PM +0100, Russell King - ARM Linux wrote: On Thu, Jun 19, 2014 at 11:36:55PM +0300, Aaro Koskinen wrote: When booting v3.16-rc1 on OMAP1, I noticed strange slowness. E.g. initramfs unpack takes several minutes. This was caused by default cachepolicy

Re: [PATCH] omap3-n900.dts: Rename model name to Nokia RX-51 board

2014-06-18 Thread Aaro Koskinen
On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: Use same name as in legacy board code. There are lot of userspace applications which using machine/model name for determinating device type. Can you clarify this? Nokia kernel or userspace never had DT, so they cannot see e.g.

Re: [PATCH] omap3-n900.dts: Rename model name to Nokia RX-51 board

2014-06-18 Thread Aaro Koskinen
Hi, On Wed, Jun 18, 2014 at 10:23:03PM +0200, Pali Rohár wrote: On Wednesday 18 June 2014 22:12:41 Aaro Koskinen wrote: On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: Use same name as in legacy board code. There are lot of userspace applications which using machine/model

Re: OMAP baseline test results for v3.15-rc7

2014-05-27 Thread Aaro Koskinen
Hi Paul, On Tue, May 27, 2014 at 04:59:16PM +, Paul Walmsley wrote: Here are some basic OMAP test results for Linux v3.15-rc7. Logs and other details at: http://www.pwsan.com/omap/testlogs/test_v3.15-rc7/20140526221127/ This is great stuff, as always, but just curious, why are the

Re: [PATCHv3 0/5] tsc2005 DT binding

2014-05-15 Thread Aaro Koskinen
hardware component missing for N900 DT boot. FWIW, for all these patches feel free to add: Acked-by: Aaro Koskinen aaro.koski...@iki.fi Thanks for great work, A. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] ARM: OMAP: remove some dead code

2014-05-15 Thread Aaro Koskinen
-by: Paul Bolle pebo...@tiscali.nl Acked-by: Aaro Koskinen aaro.koski...@iki.fi --- Untested, as usual. A quick search across the history of the tree suggests CBUS_TAHVO_USB was N770 related. Not that this matters much. Yes, Tahvo USB is only used on Nokia 770 (which is the correct name

Re: [PATCH 13/13] video: omap: allow building on !MMU

2014-05-09 Thread Aaro Koskinen
Hi, On Thu, May 08, 2014 at 04:17:11PM -0700, Tony Lindgren wrote: OMAP1 fb is working very well. As a matter of fact, it's much more usable for me than fb on OMAP2/3 - apart from N900 (on which fb is working again with 3.15) none of my 4 other OMAP2/3 boards have a working display/fb in

  1   2   3   4   5   >