Re: [PATCH V2] MIPS: change type of asid_cache to unsigned long

2014-05-28 Thread Aaro Koskinen
Hi, On Tue, May 27, 2014 at 12:16:30PM +0800, Li Zefan wrote: > On 2014/5/21 13:36, Yong Zhang wrote: > > asid_cache must be unsigned long otherwise on 64bit system > > it will become 0 if the value in get_new_mmu_context() > > reaches 0x and in the end the assumption of > >

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 appli

Re: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible

2014-06-18 Thread Aaro Koskinen
Hi, On Wed, Jun 18, 2014 at 09:22:29PM +0200, Pali Rohár wrote: > So without this patch DT migration for Nokia N900 cannot be done > without breaking userspace - which is not acceptable... I guess the fact is that the Nokia N900 proprietary userspace has never worked properly with the mainline

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.

[PATCH 3/3] MIPS: OCTEON: add interface & port definitions for D-Link DSR-1000N

2014-06-28 Thread Aaro Koskinen
Add interface & port definitions for D-Link DSR-1000N. Signed-off-by: Aaro Koskinen --- .../cavium-octeon/executive/cvmx-helper-board.c | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c b/arch/mips/cavium-oc

[PATCH 2/3] MIPS: OCTEON: add USB clock type for D-Link DSR-1000N

2014-06-28 Thread Aaro Koskinen
Add USB clock type for D-Link DSR-1000N. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c

[PATCH 0/3] MIPS: OCTEON: Minimal support for D-Link DSR-1000N

2014-06-28 Thread Aaro Koskinen
Hi, The following patches add minimal support for D-Link DSR-1000N router. USB and ethernet ports should now work with these patches. (I guess WLAN (PCI/ath9k) should work too; I was able to scan networks, but for some reason it did not connect to my AP.) Aaro Koskinen (3): MIPS: OCTEON: cvmx

[PATCH 1/3] MIPS: OCTEON: cvmx-bootinfo: add D-Link DSR-1000N

2014-06-28 Thread Aaro Koskinen
Add a definition for D-Link DSR-1000N router. The bootloader on this board supplies 20006 in the bootinfo; the enum CVMX_BOARD_TYPE_CUST_DSR1000N comes from the GPL sources of the board. Signed-off-by: Aaro Koskinen --- arch/mips/include/asm/octeon/cvmx-bootinfo.h | 2 ++ 1 file changed, 2

Re: [PATCH 0/3] MIPS: OCTEON: Minimal support for D-Link DSR-1000N

2014-06-30 Thread Aaro Koskinen
Hi, On Mon, Jun 30, 2014 at 10:14:54AM -0700, David Daney wrote: > On 06/28/2014 01:34 PM, Aaro Koskinen wrote: > >The following patches add minimal support for D-Link DSR-1000N router. > > Which OCTEON chip does this device contain? [0.00] CPU0 revision is: 000d0601

Re: Linux 3.15: serial console regression

2014-06-13 Thread Aaro Koskinen
Hi, On Mon, Jun 09, 2014 at 07:48:17PM -0400, Peter Hurley wrote: > On 06/09/2014 04:59 PM, Aaro Koskinen wrote:> Hi, > > While testing the final 3.15, I noticed the serial console (sunsab) > > does not work anymore on Sun Ultra. > > > > It will tx fine the

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

[PATCH] video: omap: delete support for early fbmem allocation

2014-05-09 Thread Aaro Koskinen
was tested on Amstrad E3 and Nokia 770 and framebuffer functionality is not affected. Signed-off-by: Aaro Koskinen --- drivers/video/fbdev/omap/lcdc.c | 67 ++--- 1 file changed, 2 insertions(+), 65 deletions(-) diff --git a/drivers/video/fbdev/omap/lcdc.c b

Re: [PATCH 2/3] Enclose complex macro with parantheses in staging/octeon-usb/octeon-hcd.c

2014-05-11 Thread Aaro Koskinen
Hi, On Sun, May 11, 2014 at 01:38:22PM +0530, Paul Davies C wrote: > Complex macro is enlosed with parantheses. This patch breaks compilation. I'll send patches to remove the whole macro. A. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

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 >

[PATCH] MIPS: OCTEON: make get_system_type() thread-safe

2014-07-22 Thread Aaro Koskinen
/cpuinfo: (while true; do cat /proc/cpuinfo > /dev/null; done) & (while true; do cat /proc/cpuinfo > /dev/null; done) & ... Fix by initializing the system type string only once during the early boot. Signed-off-by: Aaro Koskinen Cc: sta...@vger.kernel.org

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

2014-07-25 Thread Aaro Koskinen
b7e07464d...). > > 2. Support for OMAP7XX still exists but it must be configured by hand >(DEBUG_OMAP7XXUART1/2/3) rather than handled at runtime. > > Signed-off-by: Daniel Thompson Tested-by: Aaro Koskinen I tested this on OMAP1510. The generic code works, though there will

Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()

2014-08-18 Thread Aaro Koskinen
Hi, On Mon, Aug 18, 2014 at 03:30:16PM +0300, Meelis Roos wrote: > > U1, U2, U5, U10, E220R, E420R later or some other day, whenever I get > > to them physically. > > Ultra 5 is bad news with 3.17-rc1: it almost boots up, then aftyer > strarting postfix and ntpd, gets RED state exception and

Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()

2014-08-19 Thread Aaro Koskinen
Hi, On Tue, Aug 19, 2014 at 09:45:03AM +1000, Julian Calaby wrote: > Stupid question: aren't the Ultra 5 and Ultra 10 essentially > the same hardware? Basically yes, but often configurations are different (CPU speed, memory capacity, peripherals, PROM versions). A. -- To unsubscribe from this

Re: [PATCH] video: fbdev: omap2: remove rfbi

2018-04-27 Thread Aaro Koskinen
Hi, On Fri, Apr 27, 2018 at 05:09:14PM +0200, Bartlomiej Zolnierkiewicz wrote: > omapfb equivalent of drm's commit aa61321d4c08 ("drm/omap: remove rfbi"): > > The RFBI driver has not worked nor compiled for many years. There are > very few boards out there that use RFBI, and no one has stepped

Re: [PATCH] video: fbdev: omap2: remove rfbi

2018-04-27 Thread Aaro Koskinen
Hi, On Fri, Apr 27, 2018 at 07:58:28PM +0200, Bartlomiej Zolnierkiewicz wrote: > On Friday, April 27, 2018 08:47:14 PM Aaro Koskinen wrote: > > On Fri, Apr 27, 2018 at 05:09:14PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > omapfb equivalent of drm's commit aa61321d4c08 (&quo

Re: [PATCH] video: fbdev: omap2: remove rfbi

2018-04-27 Thread Aaro Koskinen
Hi, On Fri, Apr 27, 2018 at 05:09:14PM +0200, Bartlomiej Zolnierkiewicz wrote: > omapfb equivalent of drm's commit aa61321d4c08 ("drm/omap: remove rfbi"): > > The RFBI driver has not worked nor compiled for many years. There are What is the build failure you are seeing? When removing the

[PATCH] MAINTAINERS: update OMAP MMC entry

2018-04-27 Thread Aaro Koskinen
Jarkko's e-mail address hasn't worked for a long time. We still want to keep this driver working as it is critical for some of the OMAP boards. I use and test this driver frequently, so add myself as a maintainer with "Odd Fixes" status. Signed-off-by: Aaro Koskinen --- MAINTAINERS |

Re: [PATCH] video: fbdev: omap2: remove rfbi

2018-04-30 Thread Aaro Koskinen
Hi, On Mon, Apr 30, 2018 at 05:34:59PM +0200, Bartlomiej Zolnierkiewicz wrote: > BROKEN is not an user selectable config option so without modifying > drivers/video/fbdev/omap2/omapfb/dss/Kconfig the RFBI driver is not > even included in the kernel build.. Yes, I know. It's still incorrect to

Re: [PATCH] video: fbdev: omap2: remove rfbi

2018-04-30 Thread Aaro Koskinen
Hi, On Mon, Apr 30, 2018 at 10:06:11AM +0300, Tomi Valkeinen wrote: > On 27/04/18 21:12, Aaro Koskinen wrote: > >> You should be targeting omapdrm driver instead, fbdev subsystem is closed > >> for the new hardware support. > > > > AFAIK, based on N950 display su

Re: [PATCH 08/11 v2] ARM: OMAP1: constify gpio_led

2018-01-09 Thread Aaro Koskinen
On Tue, Dec 26, 2017 at 12:07:11PM +0530, Arvind Yadav wrote: > gpio_led are not supposed to change at runtime. > struct gpio_led_platform_data working with const gpio_led > provided by . So mark the non-const structs > as const. > > Signed-off-by: Arvind Yadav Acked

[BISECTED] v4.15-rc: Boot regression on x86_64/AMD

2018-01-05 Thread Aaro Koskinen
Hi, After v4.14, I've been unable to boot my AMD compilation box with the v4.15-rc mainline Linux. It just ends up in a silent reboot loop. I bisected this to: commit fa564ad9636651fd11ec2c79c48dee844066f73a Author: Christian König Date: Tue Oct 24 14:40:29 2017 -0500 x86/PCI: Enable a

Re: [BISECTED] v4.15-rc: Boot regression on x86_64/AMD

2018-01-05 Thread Aaro Koskinen
Hi, On Fri, Jan 05, 2018 at 04:00:25PM -0800, Linus Torvalds wrote: > On Fri, Jan 5, 2018 at 2:04 PM, Aaro Koskinen wrote: > > After v4.14, I've been unable to boot my AMD compilation box with the > > v4.15-rc mainline Linux. It just ends up in a silent reboot loop. >

Re: [BISECTED] v4.15-rc: Boot regression on x86_64/AMD

2018-01-06 Thread Aaro Koskinen
Hi, On Sat, Jan 06, 2018 at 04:10:38AM +0200, Aaro Koskinen wrote: > On Fri, Jan 05, 2018 at 04:00:25PM -0800, Linus Torvalds wrote: > > On Fri, Jan 5, 2018 at 2:04 PM, Aaro Koskinen wrote: > > > After v4.14, I've been unable to boot my AMD compilation box with the > > &

Re: [BISECTED] v4.15-rc: Boot regression on x86_64/AMD

2018-01-06 Thread Aaro Koskinen
Hi, On Sat, Jan 06, 2018 at 05:47:10PM +0100, Christian König wrote: > Am 06.01.2018 um 13:02 schrieb Aaro Koskinen: > > On Sat, Jan 06, 2018 at 04:10:38AM +0200, Aaro Koskinen wrote: > > > On Fri, Jan 05, 2018 at 04:00:25PM -0800, Linus Torvalds wrote: > > > >

Re: [PATCH 1/5] x86, pti: fix boot problems from Global-bit setting

2018-04-23 Thread Aaro Koskinen
flush_range() to the other two sites and check for early boot. > > Signed-off-by: Dave Hansen > Fixes: 39114b7a7 (x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel > image) > Reported-by: Mariusz Ceier > Reported-by: Aaro Koskinen Tested-by: Aaro Koskinen A. >

Re: [PATCH 2/5] x86, pti: fix boot warning from Global-bit setting

2018-04-23 Thread Aaro Koskinen
ng when holes in the kernel image are encountered. > > Signed-off-by: Dave Hansen > Fixes: 39114b7a7 (x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel > image) > Reported-by: Mariusz Ceier > Reported-by: Aaro Koskinen Tested-by: Aaro Koskinen A. > Cc: Andrea Arc

4.17-rc1: early boot crash on x86_64 & pti

2018-04-17 Thread Aaro Koskinen
Hi, I'm getting early crash on x86_64 box with 4.17-rc1 and PTI enabled. Bisected to: commit 39114b7a743e6759bab4d96b7d9651d44d17e3f9 Author: Dave Hansen Date: Fri Apr 6 13:55:17 2018 -0700 x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel image I can see the crash only with

Re: 4.17-rc1: early boot crash on x86_64 & pti

2018-04-17 Thread Aaro Koskinen
Hi, On Tue, Apr 17, 2018 at 06:01:30PM +0300, Aaro Koskinen wrote: > I'm getting early crash on x86_64 box with 4.17-rc1 and PTI > enabled. Bisected to: > > commit 39114b7a743e6759bab4d96b7d9651d44d17e3f9 > Author: Dave Hansen > Date: Fri Apr 6 13:55:17 2018 -0700 >

Re: 4.17-rc1: early boot crash on x86_64 & pti

2018-04-17 Thread Aaro Koskinen
Hi, On Tue, Apr 17, 2018 at 08:38:18AM -0700, Dave Hansen wrote: > On 04/17/2018 08:28 AM, Aaro Koskinen wrote: > > > >> [0.00] Kernel/User page tables isolation: enabled > >> [0.00] [ cut here ] > >> [0.000

Re: v4.17-rc1: regressions on N900, N950

2018-04-23 Thread Aaro Koskinen
Hi, On Sun, Apr 22, 2018 at 09:42:13AM +0200, Pavel Machek wrote: > v4.17-rc1 broke display for me on Nokia N900. (I don't know if system > boots, but I can see on red flash LED that at least that driver > succeeded. So it should not be early boot crash). > > v4.17-rc1 also broke boot on N950. >

[PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-02 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen --- init/do_mounts_rd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 99e0b64..e3cba12 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c @@ -255,7 +255,7 @@ int __init rd_load_image(char

[PATCH] documentation: add my name to kernel driver statement

2018-03-04 Thread Aaro Koskinen
Add my name to kernel driver statement. Signed-off-by: Aaro Koskinen --- Documentation/process/kernel-driver-statement.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/process/kernel-driver-statement.rst b/Documentation/process/kernel-driver-statement.rst index 60d9d86

Re: [PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-04 Thread Aaro Koskinen
Hi, On Sat, Mar 03, 2018 at 06:14:33PM +0200, Andy Shevchenko wrote: > On Fri, Mar 2, 2018 at 10:55 PM, Aaro Koskinen wrote: > > Use pr_cont() at the end of ramdisk loading. This will avoid the rotator > > and an extra newline appearing in the dmesg. > > >

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-29 Thread Aaro Koskinen
Hi, On Thu, Jun 15, 2017 at 09:51:06AM +0300, Tomi Valkeinen wrote: > On 15/06/17 01:11, Aaro Koskinen wrote: > > When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and there > > is no display. > > Are you sure it doesn't probe? It fails the omapdss_sta

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-29 Thread Aaro Koskinen
Hi, On Thu, Jun 29, 2017 at 09:50:13PM +0300, Aaro Koskinen wrote: > On Thu, Jun 15, 2017 at 09:51:06AM +0300, Tomi Valkeinen wrote: > > On 15/06/17 01:11, Aaro Koskinen wrote: > > > When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and there > > > is no dis

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-30 Thread Aaro Koskinen
Hi, On Fri, Jun 30, 2017 at 09:41:35AM +0300, Tomi Valkeinen wrote: > On 29/06/17 21:50, Aaro Koskinen wrote: > > On Thu, Jun 15, 2017 at 09:51:06AM +0300, Tomi Valkeinen wrote: > >> On 15/06/17 01:11, Aaro Koskinen wrote: > >>> When booting v4.12-rc5 on Noki

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-30 Thread Aaro Koskinen
Hi, On Fri, Jun 30, 2017 at 11:47:55AM +0300, Tomi Valkeinen wrote: > > So, I don't know... I guess I need to try to invent some horrible hacks > > around the driver to somehow manage the omap3 problems. Perhaps > > disabling/enabling the outputs when sync lost happens... > > Well, I tried that

Re: [REGRESSION] omapdrm/N900 display broken

2020-08-23 Thread Aaro Koskinen
Hi, On Tue, Aug 04, 2020 at 03:39:37PM +0300, Tomi Valkeinen wrote: > On 04/08/2020 15:13, Tomi Valkeinen wrote: > > Can you try to pinpoint a bit where the hang happens? Maybe add > > DRM/omapdrm debug prints, or perhaps sysrq works and it shows a lock > > that's in deadlock. > > Also, one

[PATCH] ARM: OMAP1: OSK: fix ohci-omap breakage

2020-12-14 Thread Aaro Koskinen
;usb: ohci-omap: Fix descriptor conversion") Signed-off-by: Linus Walleij [aaro.koski...@iki.fi: rebased and updated the changelog] Signed-off-by: Aaro Koskinen --- This is the patch that should have been merged: https://marc.info/?l=linux-usb=160682513710441=2 arch/arm/mach-omap1/b

[BISECTED REGRESSION] Broken USB/GPIO on OMAP1 OSK

2020-11-28 Thread Aaro Koskinen
Hi, I tried to upgrade my OMAP1 OSK board to v5.9, but the rootfs cannot be accessed anymore due to broken USB. It fails to probe with the following logs: [9.219940] ohci ohci: cannot find GPIO chip i2c-tps65010, deferring [9.250366] ohci ohci: cannot find GPIO chip i2c-tps65010,

Re: [BISECTED REGRESSION] Broken USB/GPIO on OMAP1 OSK

2020-11-29 Thread Aaro Koskinen
Hi, On Sun, Nov 29, 2020 at 01:51:54AM +0200, Aaro Koskinen wrote: > I tried to upgrade my OMAP1 OSK board to v5.9, but the rootfs cannot > be accessed anymore due to broken USB. It fails to probe with the > following logs: > > [9.219940] ohci ohci: cannot find GPIO ch

[PATCH] ARM: dts: OMAP3: disable AES on N950/N9

2020-11-29 Thread Aaro Koskinen
AES needs to be disabled on Nokia N950/N9 as well (HS devices), otherwise kernel fails to boot. Fixes: c312f066314e ("ARM: dts: omap3: Migrate AES from hwmods to sysc-omap2") Signed-off-by: Aaro Koskinen --- arch/arm/boot/dts/omap3-n950-n9.dtsi | 8 1 file changed, 8

Re: [PATCH 14/22] ARM: omap1: use pci_ioremap_io() for omap_cf

2019-08-16 Thread Aaro Koskinen
Hi, On Wed, Aug 14, 2019 at 12:36:40PM +0200, Arnd Bergmann wrote: > On Wed, Aug 14, 2019 at 9:49 AM Tony Lindgren wrote: > > * Arnd Bergmann [190813 19:34]: > > > -#define OMAP1_IO_OFFSET0x0100 /* Virtual IO > > > = 0xfefb */ > > > +#define OMAP1_IO_OFFSET

Re: [PATCH 1/7] [RFC] ARM: remove Intel iop33x and iop13xx support

2019-08-16 Thread Aaro Koskinen
Hi, On Wed, Aug 14, 2019 at 10:36:01AM +0200, Linus Walleij wrote: > On Mon, Aug 12, 2019 at 11:45 AM Martin Michlmayr wrote: > > As Arnd points out, Debian used to have support for various iop32x > > devices. While Debian hasn't supported iop32x in a number of years, > > these devices are

Re: [PATCH 1/7] [RFC] ARM: remove Intel iop33x and iop13xx support

2019-08-16 Thread Aaro Koskinen
Hi, On Fri, Aug 16, 2019 at 04:58:33PM +0100, Russell King - ARM Linux admin wrote: > On Fri, Aug 16, 2019 at 06:42:49PM +0300, Aaro Koskinen wrote: > > On Wed, Aug 14, 2019 at 10:36:01AM +0200, Linus Walleij wrote: > > > On Mon, Aug 12, 2019 at 11:45 AM Martin Michlmayr wrot

OMAP DRM regression on N900

2019-08-18 Thread Aaro Koskinen
Hi, I haven't got display working on N900 since v5.1. Bisected to: d17eb4537a7eb16da9eafbfd5717e12b45b77251 is the first bad commit commit d17eb4537a7eb16da9eafbfd5717e12b45b77251 Author: Laurent Pinchart Date: Wed Sep 12 19:41:31 2018 +0300 drm/omap: Factor out common init/cleanup code

Re: [PATCH] powerpc: enable a 30-bit ZONE_DMA for 32-bit pmac

2019-06-14 Thread Aaro Koskinen
o allow them to reliably allocate dma coherent memory. > > Fixes: 65a21b71f948 ("powerpc/dma: remove dma_nommu_dma_supported") > Reported-by: Aaro Koskinen > Signed-off-by: Christoph Hellwig Tested-by: Aaro Koskinen A. > --- > arch/powerpc/include/asm/page.h

Re: [PATCH] powerpc: enable a 30-bit ZONE_DMA for 32-bit pmac

2019-06-14 Thread Aaro Koskinen
stopped working. Add a 30-bit ZONE_DMA to the 32-bit pmac builds > > to allow them to reliably allocate dma coherent memory. > > > > Fixes: 65a21b71f948 ("powerpc/dma: remove dma_nommu_dma_supported") > > Reported-by: Aaro Koskinen > > Signed-off-by: Ch

[PATCH v3 2/6] watchdog: omap_wdt: convert kzalloc() to devm_kzalloc()

2012-10-10 Thread Aaro Koskinen
Use devm_kzalloc() to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 23 ++- 1 files changed, 6 insertions(+), 17 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d28ad5e..d6722db 100644

[PATCH v3 0/6] watchdog: omap_wdt: convert to new watchdog core

2012-10-10 Thread Aaro Koskinen
(https://lkml.org/lkml/2012/9/4/217): The initial version. Aaro Koskinen (6): watchdog: omap_wdt: convert to new watchdog core watchdog: omap_wdt: convert kzalloc() to devm_kzalloc() watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region() watchdog: omap_wdt

[PATCH v3 4/6] watchdog: omap_wdt: convert ioremap() to devm_ioremap()

2012-10-10 Thread Aaro Koskinen
Use devm_ioremap() to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 14 +++--- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 45019b0..7e8d3e0 100644 --- a/drivers

[PATCH v3 5/6] watchdog: omap_wdt: delete redundant platform_set_drvdata() calls

2012-10-10 Thread Aaro Koskinen
It's not needed to manually reset the driver data. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 7e8d3e0..af1e72e 100644 --- a/drivers

[PATCH v3 3/6] watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region()

2012-10-10 Thread Aaro Koskinen
Use devm_request_mem_region() to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d6722db..45019b0 100644

[PATCH v3 6/6] watchdog: omap_wdt: eliminate goto

2012-10-10 Thread Aaro Koskinen
Eliminate a goto to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index af1e72e..bee43a9 100644 --- a/drivers/watchdog

[PATCH v3 1/6] watchdog: omap_wdt: convert to new watchdog core

2012-10-10 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen Tested-by: Jarkko Nikula Tested-by: Lokesh Vutla --- drivers/watchdog/Kconfig|1 + drivers/watchdog/omap_wdt.c | 274 ++- 2 files changed, 118 insertions(+), 157 deletions(-) diff --git a/drivers/watchdog/Kconfig b

[PATCH v2 0/4] cbus/retu drivers

2012-10-31 Thread Aaro Koskinen
- added IRQ functionality to retu-mfd - added power button key driver - some cleanups Aaro Koskinen (4): i2c: introduce i2c-cbus driver mfd: introduce retu-mfd driver watchdog: introduce retu_wdt driver input: misc: introduce retu-pwrbutton arch/arm/mach-omap2/board-n8

[PATCH v2 4/4] input: misc: introduce retu-pwrbutton

2012-10-31 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Acked-by: Felipe Balbi Signed-off-by: Aaro Koskinen --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile |1 + drivers/input/misc/retu-pwrbutton.c | 118 +++ 3

[PATCH v2 1/4] i2c: introduce i2c-cbus driver

2012-10-31 Thread Aaro Koskinen
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users of this driver. Cc: linux-...@vger.kernel.org Acked-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- arch

[PATCH v2 2/4] mfd: introduce retu-mfd driver

2012-10-31 Thread Aaro Koskinen
-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- drivers/mfd/Kconfig |9 ++ drivers/mfd/Makefile |1 + drivers/mfd/retu-mfd.c | 264 ++ include/linux/mfd/retu.h | 22 4 files changed, 296 insertions(+), 0

[PATCH v2 3/4] watchdog: introduce retu_wdt driver

2012-10-31 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog/retu_wdt.c | 178

[PATCH v3 0/4] cbus/retu drivers

2012-11-01 Thread Aaro Koskinen
- added DT support for getting i2c-cbus GPIO pins - merged n8x0 board file changes into i2c-cbus patch - corrected typo in Kconfig for MFD_RETU - added power off functionality to retu-mfd - added IRQ functionality to retu-mfd - added power button key dr

[PATCH v3 2/4] mfd: introduce retu-mfd driver

2012-11-01 Thread Aaro Koskinen
-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- drivers/mfd/Kconfig |9 ++ drivers/mfd/Makefile |1 + drivers/mfd/retu-mfd.c | 264 ++ include/linux/mfd/retu.h | 22 4 files changed, 296 insertions(+), 0

[PATCH v3 1/4] i2c: introduce i2c-cbus driver

2012-11-01 Thread Aaro Koskinen
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users of this driver. Cc: linux-...@vger.kernel.org Acked-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- arch

[PATCH v3 4/4] input: misc: introduce retu-pwrbutton

2012-11-01 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Acked-by: Felipe Balbi Signed-off-by: Aaro Koskinen --- drivers/input/misc/Kconfig | 10 drivers/input/misc/Makefile |1 + drivers/input/misc/retu-pwrbutton.c | 102 +++ 3

[PATCH v3 3/4] watchdog: introduce retu_wdt driver

2012-11-01 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog/retu_wdt.c | 178

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-13 Thread Aaro Koskinen
On Thu, Sep 13, 2012 at 12:53:09PM +0200, Wolfram Sang wrote: > On Mon, Sep 03, 2012 at 11:23:22PM +0300, Aaro Koskinen wrote: > > Add i2c driver to enable access to devices behind CBUS on Nokia Internet > > Tablets. > > > > The patch also adds CBUS I2C configur

Re: [PATCH] mips: Move __virt_addr_valid() to a place for MIPS 64

2013-01-26 Thread Aaro Koskinen
Hi, On Fri, Jan 25, 2013 at 01:13:15PM -0500, Steven Rostedt wrote: > Commit d3ce88431892 "MIPS: Fix modpost error in modules attepting to use > virt_addr_valid()" moved __virt_addr_valid() from a macro in a header > file to a function in ioremap.c. But ioremap.c is only compiled for MIPS > 32,

Re: [PATCH] mips: Move __virt_addr_valid() to a place for MIPS 64

2013-01-26 Thread Aaro Koskinen
Hi, On Sat, Jan 26, 2013 at 04:01:44PM -0500, Steven Rostedt wrote: > On Sat, 2013-01-26 at 22:15 +0200, Aaro Koskinen wrote: > > On Fri, Jan 25, 2013 at 01:13:15PM -0500, Steven Rostedt wrote: > > > Commit d3ce88431892 "MIPS: Fix modpost error in modules attepting to us

Re: [PATCH v5] watchdog: introduce retu_wdt driver

2013-01-28 Thread Aaro Koskinen
Hi, On Thu, Dec 27, 2012 at 10:58:29PM +0200, Aaro Koskinen wrote: > Introduce Retu watchdog driver. Wim, any comments about this driver? Do you think it could be queued for 3.9? Thanks, A. > Cc: linux-watch...@vger.kernel.org > Acked-by: Felipe Balbi > Acked-by: Tony Lindgren

Re: [PATCH] Documentation: talk about "Cc: sta...@vger.kernel.org"

2012-07-06 Thread Aaro Koskinen
Hi, On Fri, Jul 06, 2012 at 05:38:50PM -0400, Theodore Ts'o wrote: > I couldn't remember whether the canonical marking is sta...@kernel.org > or sta...@vger.kernel.org, so I went looking, and discovered that it > wasn't mentioned in the kernel sources. You can find mention of it in > Greg K-H's

Re: [PATCH 03/19 v2] Staging: xgifb: Remove LCDA detection in xgifb_probe().

2012-07-09 Thread Aaro Koskinen
Hi, On Mon, Jul 09, 2012 at 11:39:47AM -0700, Greg KH wrote: > On Fri, Jul 06, 2012 at 12:40:38PM +0200, Miguel Gómez wrote: > > The piece of code that checks for LCDA in xgifb_probe() just checks for some > > register values but doesn't really do anything in response to them (the > > actions >

[RESEND PATCH v3 3/6] watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region()

2012-10-25 Thread Aaro Koskinen
Use devm_request_mem_region() to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d6722db..45019b0 100644

[RESEND PATCH v3 6/6] watchdog: omap_wdt: eliminate goto

2012-10-25 Thread Aaro Koskinen
Eliminate a goto to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index af1e72e..bee43a9 100644 --- a/drivers/watchdog

[RESEND PATCH v3 0/6] watchdog: omap_wdt: convert to new watchdog core

2012-10-25 Thread Aaro Koskinen
to Jarkko Nikula for reporting this. v1 (https://lkml.org/lkml/2012/9/4/217): The initial version. Aaro Koskinen (6): watchdog: omap_wdt: convert to new watchdog core watchdog: omap_wdt: convert kzalloc() to devm_kzalloc() watchdog: omap_wdt: convert request_mem_region

[RESEND PATCH v3 1/6] watchdog: omap_wdt: convert to new watchdog core

2012-10-25 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen Tested-by: Jarkko Nikula Tested-by: Lokesh Vutla --- drivers/watchdog/Kconfig|1 + drivers/watchdog/omap_wdt.c | 274 ++- 2 files changed, 118 insertions(+), 157 deletions(-) diff --git a/drivers/watchdog/Kconfig b

[RESEND PATCH v3 5/6] watchdog: omap_wdt: delete redundant platform_set_drvdata() calls

2012-10-25 Thread Aaro Koskinen
It's not needed to manually reset the driver data. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 7e8d3e0..af1e72e 100644 --- a/drivers

[RESEND PATCH v3 4/6] watchdog: omap_wdt: convert ioremap() to devm_ioremap()

2012-10-25 Thread Aaro Koskinen
Use devm_ioremap() to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 14 +++--- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 45019b0..7e8d3e0 100644 --- a/drivers

[RESEND PATCH v3 2/6] watchdog: omap_wdt: convert kzalloc() to devm_kzalloc()

2012-10-25 Thread Aaro Koskinen
Use devm_kzalloc() to simplify the code. Signed-off-by: Aaro Koskinen --- drivers/watchdog/omap_wdt.c | 23 ++- 1 files changed, 6 insertions(+), 17 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d28ad5e..d6722db 100644

[RESEND PATCH v3 3/6] watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region()

2012-11-12 Thread Aaro Koskinen
Use devm_request_mem_region() to simplify the code. Signed-off-by: Aaro Koskinen Cc: Wim Van Sebroeck --- drivers/watchdog/omap_wdt.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d6722db

[RESEND PATCH v3 1/6] watchdog: omap_wdt: convert to new watchdog core

2012-11-12 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen Tested-by: Jarkko Nikula Tested-by: Lokesh Vutla Cc: Wim Van Sebroeck --- drivers/watchdog/Kconfig|1 + drivers/watchdog/omap_wdt.c | 274 ++- 2 files changed, 118 insertions(+), 157 deletions(-) diff --git a/drivers

[RESEND PATCH v3 5/6] watchdog: omap_wdt: delete redundant platform_set_drvdata() calls

2012-11-12 Thread Aaro Koskinen
It's not needed to manually reset the driver data. Signed-off-by: Aaro Koskinen Cc: Wim Van Sebroeck --- drivers/watchdog/omap_wdt.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 7e8d3e0..af1e72e 100644

[RESEND PATCH v3 2/6] watchdog: omap_wdt: convert kzalloc() to devm_kzalloc()

2012-11-12 Thread Aaro Koskinen
Use devm_kzalloc() to simplify the code. Signed-off-by: Aaro Koskinen Cc: Wim Van Sebroeck --- drivers/watchdog/omap_wdt.c | 23 ++- 1 files changed, 6 insertions(+), 17 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d28ad5e

[RESEND PATCH v3 0/6] watchdog: omap_wdt: convert to new watchdog core

2012-11-12 Thread Aaro Koskinen
(https://lkml.org/lkml/2012/9/4/217): The initial version. Aaro Koskinen (6): watchdog: omap_wdt: convert to new watchdog core watchdog: omap_wdt: convert kzalloc() to devm_kzalloc() watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region() watchdog: omap_wdt: convert

[RESEND PATCH v3 4/6] watchdog: omap_wdt: convert ioremap() to devm_ioremap()

2012-11-12 Thread Aaro Koskinen
Use devm_ioremap() to simplify the code. Signed-off-by: Aaro Koskinen Cc: Wim Van Sebroeck --- drivers/watchdog/omap_wdt.c | 14 +++--- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 45019b0..7e8d3e0

[RESEND PATCH v3 6/6] watchdog: omap_wdt: eliminate goto

2012-11-12 Thread Aaro Koskinen
Eliminate a goto to simplify the code. Signed-off-by: Aaro Koskinen Cc: Wim Van Sebroeck --- drivers/watchdog/omap_wdt.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index af1e72e..bee43a9 100644

[RESEND PATCH v3 2/4] mfd: introduce retu-mfd driver

2012-11-12 Thread Aaro Koskinen
-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen --- drivers/mfd/Kconfig |9 ++ drivers/mfd/Makefile |1 + drivers/mfd/retu-mfd.c | 264 ++ include/linux/mfd/retu.h | 22 4 files changed, 296 insertions(+), 0

[RESEND PATCH v3 0/4] cbus/retu drivers

2012-11-12 Thread Aaro Koskinen
- added DT support for getting i2c-cbus GPIO pins - merged n8x0 board file changes into i2c-cbus patch - corrected typo in Kconfig for MFD_RETU - added power off functionality to retu-mfd - added IRQ functionality to retu-mfd - added power button key dr

[RESEND PATCH v3 3/4] watchdog: introduce retu_wdt driver

2012-11-12 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen Cc: Wim Van Sebroeck --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog/retu_wdt.c | 178

[RESEND PATCH v3 4/4] input: misc: introduce retu-pwrbutton

2012-11-12 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Acked-by: Felipe Balbi Signed-off-by: Aaro Koskinen Cc: Dmitry Torokhov --- drivers/input/misc/Kconfig | 10 drivers/input/misc/Makefile |1 + drivers/input/misc/retu-pwrbutton.c | 102

[RESEND PATCH v3 1/4] i2c: introduce i2c-cbus driver

2012-11-12 Thread Aaro Koskinen
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users of this driver. Cc: linux-...@vger.kernel.org Acked-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Aaro Koskinen Cc: Wolfram

[PATCH] ARM: kexec: fix segment memory addresses check

2012-10-16 Thread Aaro Koskinen
Commit c564df4db85aac8d1d65a56176a0a25f46138064 (ARM: 7540/1: kexec: Check segment memory addresses) added a safety check with accidentally reversed condition, and broke kexec functionality on ARM. Fix this. Signed-off-by: Aaro Koskinen --- arch/arm/kernel/machine_kexec.c |7 +++ 1

[PATCH] regulator: twl-regulator: fix up VINTANA1/VINTANA2

2012-08-14 Thread Aaro Koskinen
normal standby [0.286865] VINTANA2: 2750 mV normal standby [0.288208] VINTDIG: 1500 mV normal standby [0.289978] VSDI_CSI: 1800 mV normal standby ... Signed-off-by: Aaro Koskinen --- drivers/regulator/twl-regulator.c |4 ++-- 1 files changed, 2

Re: [PATCH v2 11/31] arm64: IRQ handling

2012-08-14 Thread Aaro Koskinen
Hi, On Tue, Aug 14, 2012 at 06:52:12PM +0100, Catalin Marinas wrote: > +void handle_IRQ(unsigned int irq, struct pt_regs *regs) > +{ > + struct pt_regs *old_regs = set_irq_regs(regs); > + > + irq_enter(); > + > + /* > + * Some hardware gives randomly wrong interrupts. Rather > +

Re: [PATCH] watchdog: omap_wdt: convert to new watchdog core

2012-09-07 Thread Aaro Koskinen
On Fri, Sep 07, 2012 at 04:31:07PM +0300, Jarkko Nikula wrote: > On Tue, Sep 04, 2012 at 05:41:24PM +0300, Aaro Koskinen wrote: > > Convert omap_wdt to new watchdog core. On OMAP boards, there are usually > > multiple watchdogs. Since the new watchdog core supports multiple >

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