[PATCH] ARM: OMAP1: fix incorrect INT_DMA_LCD

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

Re: [PATCH v2 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

2015-01-30 Thread Aaro Koskinen
Hi, On Fri, Jan 30, 2015 at 02:59:57PM +, James Hogan wrote: > On 30/01/15 12:47, Maciej W. Rozycki wrote: > > On Fri, 30 Jan 2015, James Hogan wrote: > > > >>> Hmm, why can a call to `printk' cause a TLB miss, what's so special > >>> about > >>> this function? Does it use kernel mapped a

[PATCH v2 1/2] MIPS: OCTEON: fix kernel crash when offlining a CPU

2015-01-15 Thread Aaro Koskinen
off-by: Aaro Koskinen Acked-by: David Daney Cc: stable@vger.kernel.org # v3.18+ --- v2: Remove local_irq_disable/local_irq_enable altogether, instead of saving and restoring the old context. v1: http://marc.info/?l=linux-mips&m=142134781818170&w=2 arch/mips

[PATCH v2 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

2015-01-15 Thread Aaro Koskinen
cpu_report() in start_secondary() only after the exception handlers have been initialized to fix this. Without the patch the kernel will randomly either lockup or crash after a CPU is onlined and the console driver is a module. Signed-off-by: Hemmo Nieminen Signed-off-by: Aaro Koskinen Cc

Re: [PATCH 1/2] MIPS: OCTEON: fix kernel crash when offlining a CPU

2015-01-15 Thread Aaro Koskinen
Hi, On Thu, Jan 15, 2015 at 12:10:08PM -0800, David Daney wrote: > On 01/15/2015 11:53 AM, Aaro Koskinen wrote: > >Hi, > > > >On Thu, Jan 15, 2015 at 11:36:12AM -0800, David Daney wrote: > >>On 01/15/2015 10:49 AM, Aaro Koskinen wrote: > >>>octeon

Re: [PATCH 1/2] MIPS: OCTEON: fix kernel crash when offlining a CPU

2015-01-15 Thread Aaro Koskinen
Hi, On Thu, Jan 15, 2015 at 11:36:12AM -0800, David Daney wrote: > On 01/15/2015 10:49 AM, Aaro Koskinen wrote: > >octeon_cpu_disable() will unconditionally enable interrupts when called > >with interrupts disabled. Fix that. > > interrupts are always disabled here, so...

[PATCH 1/2] MIPS: OCTEON: fix kernel crash when offlining a CPU

2015-01-15 Thread Aaro Koskinen
<00020336> dc82 10400037 010f 010f [ 94.267183] ---[ end trace c9e3815ee655bdaa ]--- [ 94.271804] Fatal exception: panic in 5 seconds Reported-by: Hemmo Nieminen Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- arch/mips/cavium-octeon/smp.c | 5 +++--

[PATCH 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

2015-01-15 Thread Aaro Koskinen
cpu_report() in start_secondary() only after the exception handlers have been initialized to fix this. Without the patch the kernel will randomly either lockup or crash after a CPU is onlined and the console driver is a module. Signed-off-by: Hemmo Nieminen Signed-off-by: Aaro Koskinen Cc

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

2014-11-20 Thread Aaro Koskinen
C. > > Signed-off-by: Alexander Kochetkov > Fixes: 1d7afc9 i2c: omap: ack IRQ in parts > Cc: # v3.7+ I could not see 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: Aa

[PATCH RESEND] MIPS: loongson: make platform serial setup always built-in

2014-11-19 Thread Aaro Koskinen
built-in. Cc: stable@vger.kernel.org Reported-by: Ralf Baechle Signed-off-by: Aaro Koskinen --- RESEND: Sorry, I screwed up the Cc: list in the original. arch/mips/loongson/common/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/mips/loongson/common

[PATCH] MIPS: loongson: make platform serial setup always built-in

2014-11-19 Thread Aaro Koskinen
built-in. Cc: stable@vger.kernel.org Reported-by: Ralf Baechle Signed-off-by: Aaro Koskinen --- arch/mips/loongson/common/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/mips/loongson/common/Makefile b/arch/mips/loongson/common/Makefile index 0bb9cc9..d87e033

[PATCH RESEND 1/3] MIPS: oprofile: fix backtrace on 64-bit kernel

2014-11-11 Thread Aaro Koskinen
Fix incorrect cast that always results in wrong address for the new frame on 64-bit kernels. Cc: stable@vger.kernel.org Signed-off-by: Aaro Koskinen --- arch/mips/oprofile/backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/oprofile/backtrace.c b/arch/mips

[PATCH RESEND] MIPS/loongson2_cpufreq: Fix CPU clock rate setting mismerge

2014-10-21 Thread Aaro Koskinen
: Aaro Koskinen Cc: stable@vger.kernel.org # 3.16 --- arch/mips/loongson/lemote-2f/clock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/mips/loongson/lemote-2f/clock.c b/arch/mips/loongson/lemote-2f/clock.c index a217061..462e34d 100644 --- a/arch/mips/loongson/lemote

[PATCH 1/3] MIPS: oprofile: fix backtrace on 64-bit kernel

2014-10-17 Thread Aaro Koskinen
Fix incorrect cast that always results in wrong address for the new frame on 64-bit kernels. Cc: stable@vger.kernel.org Signed-off-by: Aaro Koskinen --- arch/mips/oprofile/backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/oprofile/backtrace.c b/arch/mips

[PATCH] MIPS: uapi/asm/ptrace.h: add a missing include

2014-10-13 Thread Aaro Koskinen
quot;MIPS: ptrace: Fix user pt_regs definition, use in ptrace_{get, set}regs()") Cc: stable@vger.kernel.org # 3.17 Signed-off-by: Aaro Koskinen --- arch/mips/include/uapi/asm/ptrace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/include/uapi/asm/ptrace.h b/arch/mips/include/uapi/as

[PATCH RESEND] MIPS/loongson2_cpufreq: Fix CPU clock rate setting mismerge

2014-10-01 Thread Aaro Koskinen
: Aaro Koskinen Cc: stable@vger.kernel.org # 3.16 --- arch/mips/loongson/lemote-2f/clock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/mips/loongson/lemote-2f/clock.c b/arch/mips/loongson/lemote-2f/clock.c index a217061..462e34d 100644 --- a/arch/mips/loongson/lemote

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

2014-07-22 Thread Aaro Koskinen
s of /proc/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: stable@vger.k

[PATCH v2] MIPS/loongson2_cpufreq: fix CPU clock rate setting

2014-04-03 Thread Aaro Koskinen
loops_per_jiffy adjustments are incorrect (1000 times too long). The patch fixes this by changing cpu_clk rate to Hz. Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- v2: Initialize rate_khz when it's declared. v1: http://marc.info/?t=13964656271&r=1&w=

Re: [PATCH] MIPS/loongson2_cpufreq: fix CPU clock rate setting

2014-04-03 Thread Aaro Koskinen
Hi, On Thu, Apr 03, 2014 at 09:51:41AM +0530, Viresh Kumar wrote: > On 3 April 2014 00:37, Aaro Koskinen wrote: > > Loongson2 has been using (incorrectly) kHz for cpu_clk rate. This has > > been unnoticed, as loongson2_cpufreq was the only place where the rate > > was

[PATCH] MIPS/loongson2_cpufreq: fix CPU clock rate setting

2014-04-02 Thread Aaro Koskinen
loops_per_jiffy adjustments are incorrect (1000 times too long). The patch fixes this by changing cpu_clk rate to Hz. Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- arch/mips/loongson/lemote-2f/clock.c | 7 +-- drivers/cpufreq/loongson2_cpufreq.c | 4 ++-- 2 files changed, 7 insertions

[PATCH] MIPS: OCTEON: fix EARLY_PRINTK_8250 build failure

2014-03-25 Thread Aaro Koskinen
Enabling EARLY_PRINTK_8250 breaks OCTEON builds because of multiple prom_putchar() implementations. OCTEON provides its own prom_putchar() (also used by the watchdog driver), so we should prevent user from selecting EARLY_PRINTK_8250 on OCTEON. Signed-off-by: Aaro Koskinen Cc: stable

[PATCH RESEND v2] ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance

2013-11-27 Thread Aaro Koskinen
Fix by removing double unlock and handling the locking completely inside acx565akm_panel_power_on() when doing the power on. Reported-by: Eduardo Valentin Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- drivers/video/omap2/displays-new/panel-sony-acx565akm.c | 5 ++--- 1 file cha

[PATCH v2] ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance

2013-11-11 Thread Aaro Koskinen
Fix by removing double unlock and handling the locking completely inside acx565akm_panel_power_on() when doing the power on. Reported-by: Eduardo Valentin Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- drivers/video/omap2/displays-new/panel-sony-acx565akm.c | 5 ++--- 1 file cha

Re: [PATCH] ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance

2013-11-11 Thread Aaro Koskinen
Hi, On Mon, Nov 11, 2013 at 03:37:37PM +0200, Tomi Valkeinen wrote: > On 2013-11-06 23:24, Aaro Koskinen wrote: > > When booting Nokia N900 smartphone with v3.12 + omap2plus_defconfig > > (LOCKDEP enabled) and CONFIG_DISPLAY_PANEL_SONY_ACX565AKM enabled, > > the following B

[PATCH] ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance

2013-11-06 Thread Aaro Koskinen
Fix by removing the extra mutex_unlock(). Reported-by: Eduardo Valentin Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- drivers/video/omap2/displays-new/panel-sony-acx565akm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/omap2/displays-new/pan

Re: [PATCH 076/133] ARM: update FIQ support for relocation of vectors

2013-08-18 Thread Aaro Koskinen
On Fri, Aug 16, 2013 at 03:33:38PM -0700, Kamal Mostafa wrote: > 3.8.13.7 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Russell King > > commit e39e3f3ebfef03450cf7bfa7a974a8c61f7980c8 upstream. > > FIQ should no longer copy the FI

[PATCH v2] cpufreq: loongson2: fix broken cpufreq

2013-08-05 Thread Aaro Koskinen
initialization. Tested on Lemote FuLoong mini-PC. Signed-off-by: Aaro Koskinen Acked-by: Viresh Kumar Cc: stable@vger.kernel.org --- Changes since the first version (http://marc.info/?l=linux-kernel&m=137357177225034&w=2): - Changed the subject prefix. I guess this should b

[PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-11 Thread Aaro Koskinen
initialization. Tested on Lemote FuLoong mini-PC. Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- drivers/cpufreq/loongson2_cpufreq.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c index

[PATCH RESEND] MIPS: loongson: fix random early boot hang

2013-06-13 Thread Aaro Koskinen
tainted [ 28.14] ra: 802380f8 __do_softirq+0xd0/0x258 [ 28.14] Status: 140044e3KX SX UX KERNEL EXL IE [ 28.14] Cause : 10008400 [ 28.14] PrId : 6303 (ICT Loongson-2) Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- arch/mips/loongson/common

Re: [000/126] 3.6.11.3-stable review

2013-05-07 Thread Aaro Koskinen
> let me know. > > Responses should be made by Thu May 9 23:54:01. > Anything received after that time might be too late. Where is this tree maintained? www.kernel.org only has link to 3.6.11-stable but it says it's EOL, and the last tag is 3.6.11 from 2012. How can I see w

[PATCH] ARM: OMAP: RX-51: change probe order of touchscreen and panel SPI devices

2013-05-01 Thread Aaro Koskinen
SPI device list. The patch fixes the following failure: [1.260955] acx565akm spi1.2: invalid display ID [1.265899] panel-acx565akm display0: acx_panel_probe panel detect error [1.273071] omapdss CORE error: driver probe failed: -19 Tested-by: Sebastian Reichel Signed-off-by: Aaro

Re: [PATCH 3.8-stable] ARM: 7692/1: iop3xx: move IOP3XX_PERIPHERAL_VIRT_BASE

2013-04-25 Thread Aaro Koskinen
Hi, On Thu, Apr 25, 2013 at 08:57:50AM +0900, Jonghwan Choi wrote: > This patch looks like it should be in the 3.8-stable tree, should we apply > it? > > -- > > From: "Aaro Koskinen " > > commit f5d6a1441a5045824f36ff7c6b6bba

[PATCH RESEND] MIPS: loongson: fix random early boot hang

2013-03-04 Thread Aaro Koskinen
tainted [ 28.14] ra: 802380f8 __do_softirq+0xd0/0x258 [ 28.14] Status: 140044e3KX SX UX KERNEL EXL IE [ 28.14] Cause : 10008400 [ 28.14] PrId : 6303 (ICT Loongson-2) Signed-off-by: Aaro Koskinen Cc: stable@vger.kernel.org --- arch/mips/loongson/common

Re: [PATCH 02/11] ARM: samsung: fix assembly syntax for new gas

2013-02-16 Thread Aaro Koskinen
Hi, On Thu, Feb 14, 2013 at 02:49:18PM +0100, Arnd Bergmann wrote: > Recent assembler versions complain about extraneous > whitespace inside [] brackets. This fixes all of > these instances for the samsung platforms. We should > backport this to all kernels that might need to > be built with new b