Re: [PATCH] uio: fix devm_request_irq usage

2013-12-20 Thread Aaro Koskinen
Hi, On Fri, Dec 20, 2013 at 08:49:13AM -0800, Greg Kroah-Hartman wrote: On Fri, Dec 20, 2013 at 04:19:47PM +0200, Aaro Koskinen wrote: Commit e6789cd3dfb553077606ccafeb05e0043f072481 (uio: Simplify uio error path by using devres functions) converted uio to use devm_request_irq

Re: [PATCH] MIPS: Replace CONFIG_MIPS64 and CONFIG_MIPS32_R2

2014-02-09 Thread Aaro Koskinen
Hi, On Sun, Feb 09, 2014 at 05:26:59PM +0100, Jonas Gorski wrote: On Sun, Feb 9, 2014 at 2:32 PM, Paul Bolle pebo...@tiscali.nl wrote: Commit 597ce1723e0f (MIPS: Support for 64-bit FP with O32 binaries) introduced references to two undefined Kconfig macros. CONFIG_MIPS32_R2 should clearly

Re: [PATCH] ARM: OMAP2+: Remove MACH_NOKIA_N800

2014-02-09 Thread Aaro Koskinen
. Signed-off-by: Paul Bolle pebo...@tiscali.nl Acked-by: Aaro Koskinen aaro.koski...@iki.fi A. --- Untested. arch/arm/mach-omap2/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 653b489..66da3f5 100644

Re: [PATCH 23/28] Remove MACH_OMAP_H4_OTG

2014-02-09 Thread Aaro Koskinen
On Sun, Feb 09, 2014 at 07:48:01PM +0100, Richard Weinberger wrote: The symbol is an orphan, get rid of it. Signed-off-by: Richard Weinberger rich...@nod.at Acked-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

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: 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 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: [PATCH] [next-20140808] [staging] [lustre] Fix coding style in llite/remote_perm.c

2014-08-09 Thread Aaro Koskinen
On Sat, Aug 09, 2014 at 08:22:48PM +, Junien Fridrick wrote: Sorry for the noise, this is part of task 10 of the Eudyptula Challenge. Nothing wrong with the patch itself, but maybe in the future you could put such comments after the --- line so that they won't be included in the git commit

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: [PATCH 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B (UPDATED)

2014-10-16 Thread Aaro Koskinen
Hi, On Wed, Oct 15, 2014 at 03:23:32PM +0800, Kelvin Cheung wrote: This patch adds cpufreq driver for Loongson1B which is capable of changing the CPU frequency dynamically. Signed-off-by: Kelvin Cheung keguang.zh...@gmail.com [...] obj-$(CONFIG_LOONGSON2_CPUFREQ) +=

Re: [PATCH] kernel: use the gnu89 standard explicitly

2014-10-19 Thread Aaro Koskinen
Hi, On Sun, Oct 19, 2014 at 01:05:22PM -0700, Linus Torvalds wrote: On Sun, Oct 19, 2014 at 9:07 AM, Sasha Levin sasha.le...@oracle.com wrote: gcc5 changes the default standard to c11, rather than gnu89, which makes kernel build unhappy. (I guess the default will be gnu11 instead of c11.)

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

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

2014-10-21 Thread Aaro Koskinen
-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sta...@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

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Aaro Koskinen
On Thu, Sep 04, 2014 at 11:37:19AM -0400, Sasha Levin wrote: We're missing include/linux/compiler-gcc5.h which is required now because gcc branched off to v5 in trunk. Just copy the relevant bits out of include/linux/compiler-gcc4.h, no new code is added as of now. This fixes a build

Re: [PATCH] Staging: octeon-hcd: removed unwanted return from void functions

2014-09-08 Thread Aaro Koskinen
On Mon, Sep 08, 2014 at 07:13:15PM +0200, Nitin Kuppelur wrote: This is a patch to the octeon-hcd.c file that fixes checkpatch.pl warning by removing return statement from void functions. Please format line length to = 76 characters in the commit log. Maybe you could fix

Re: [PATCH] Staging: octeon-hcd: removed unwanted return from void functions

2014-09-08 Thread Aaro Koskinen
Hi, On Mon, Sep 08, 2014 at 12:33:47PM -0700, Greg KH wrote: On Mon, Sep 08, 2014 at 09:59:23PM +0300, Aaro Koskinen wrote: On Mon, Sep 08, 2014 at 07:13:15PM +0200, Nitin Kuppelur wrote: This is a patch to the octeon-hcd.c file that fixes checkpatch.pl warning by removing return

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

2014-08-30 Thread Aaro Koskinen
Hi, On Mon, Aug 18, 2014 at 10:38:50AM -0700, David Miller wrote: All patches are in 3,17-rc1 FYI, the warning/bug still triggers with 3.17-rc2 during GCC bootstrap: [94075.963753] [ cut here ] [94076.018105] WARNING: CPU: 0 PID: 17192 at

Re: [PATCH] staging: nokia_h4: remove deprecated IRQF_DISABLED

2014-10-01 Thread Aaro Koskinen
Hi, On Wed, Oct 01, 2014 at 10:33:48PM +0200, Michael Opdenacker wrote: Remove the use of the IRQF_DISABLED flag from drivers/staging/nokia_h4p/nokia_core.c It's a NOOP since 2.6.35 and it will be removed soon. This driver has been deleted from the staging tree already. A. -- To

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

2014-10-01 Thread Aaro Koskinen
-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sta...@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

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

2014-09-21 Thread Aaro Koskinen
-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sta...@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

Re: [PATCH v5 1/1] powerpc/perf: Adjust callchain based on DWARF debug info

2014-09-22 Thread Aaro Koskinen
Hi, On Wed, Jun 25, 2014 at 08:49:03AM -0700, Sukadev Bhattiprolu wrote: powerpc/perf: Adjust callchain based on DWARF debug info When saving the callchain on Power, the kernel conservatively saves excess entries in the callchain. A few of these entries are needed in some cases but not

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 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 15/15] perf: replace _BSD_SOURCE macro by _DEFAULT_SOURCE

2014-09-28 Thread Aaro Koskinen
_BSD_SOURCE still there for a while for backwards compatibility? (Not sure if it has relevance for those using older glibcs...). Anyway to fix the perf + glibc-2.20 build failure: Tested-by: Aaro Koskinen aaro.koski...@iki.fi (BTW, your patch was missing Signed-off-by.) A. --- tools/perf/util

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 07/10] MIPS: support for hybrid FPRs

2014-12-23 Thread Aaro Koskinen
Hi, On Thu, Sep 11, 2014 at 08:30:20AM +0100, Paul Burton wrote: Hybrid FPRs is a scheme where scalar FP registers are 64b wide, but accesses to odd indexed single registers use bits 63:32 of the preceeding even indexed 64b register. In this mode all FP code except that built for the plain

Re: [PATCH 07/10] MIPS: support for hybrid FPRs

2014-12-23 Thread Aaro Koskinen
Hi, On Tue, Dec 23, 2014 at 11:31:54PM +, James Hogan wrote: On Wed, Dec 24, 2014 at 01:21:11AM +0200, Aaro Koskinen wrote: On Thu, Sep 11, 2014 at 08:30:20AM +0100, Paul Burton wrote: Hybrid FPRs is a scheme where scalar FP registers are 64b wide, but accesses to odd indexed single

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: 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 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: [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: [tpmdd-devel] [PATCH v8 0/8] TPM 2.0 support

2014-12-02 Thread Aaro Koskinen
Hi, On Wed, Dec 03, 2014 at 12:21:07AM +0100, Peter Hüwe wrote: --- a/drivers/char/tpm/tpm_i2c_nuvoton.c +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c @@ -605,10 +605,8 @@ static int i2c_nuvoton_probe(struct i2c_client *client, return -ENODEV; rc = tpm_chip_register(chip);

[PATCH 1/5] MIPS: OCTEON: add crypto helper functions

2014-12-21 Thread Aaro Koskinen
Add crypto helper functions which are needed for kernel level usage. The code for these has been extracted from the EdgeRouter Pro GPL tarball. While at it, also delete duplicate definitions of the functions. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/Makefile

[PATCH 0/5] MIPS/crypto: MD5 for OCTEON

2014-12-21 Thread Aaro Koskinen
update, 32 updates): 2.09x faster test 19 ( 8192 byte blocks, 1024 bytes per update, 8 updates): 2.66x faster test 20 ( 8192 byte blocks, 4096 bytes per update, 2 updates): 2.87x faster test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates): 2.87x faster A. Aaro Koskinen (5): MIPS

[PATCH 3/5] MIPS: OCTEON: reintroduce crypto features check

2014-12-21 Thread Aaro Koskinen
Reintroduce run-time check for crypto features. The old one was deleted because it was unreliable, now decide the crypto availability on early boot when the model string is constructed. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/executive/octeon-model.c | 6

[PATCH 4/5] MIPS: OCTEON: crypto: add MD5 module

2014-12-21 Thread Aaro Koskinen
Add OCTEON MD5 module. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/Makefile| 2 + arch/mips/cavium-octeon/crypto/octeon-crypto.h | 2 + arch/mips/cavium-octeon/crypto/octeon-md5.c| 216 + 3 files changed, 220

[PATCH 2/5] MIPS: OCTEON: crypto: add instruction definitions for MD5

2014-12-21 Thread Aaro Koskinen
Add instruction definitions for MD5. Based on information extracted from EdgeRouter Pro GPL source tarball. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/octeon-crypto.h | 56 ++ 1 file changed, 56 insertions(+) diff --git a/arch

[PATCH 5/5] crypto: enable OCTEON MD5 module selection

2014-12-21 Thread Aaro Koskinen
Enable user to select OCTEON MD5 module. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- crypto/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 87bbc9c..1618468 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -427,6 +427,15

Re: [PATCH 09/14] MIPS: OCTEON: Add ability to used an initrd from a named memory block.

2014-12-15 Thread Aaro Koskinen
On Mon, Dec 15, 2014 at 09:03:15PM +0300, Aleksey Makarov wrote: From: David Daney david.da...@cavium.com If 'rd_name=xxx' is passed to the kernel, the named block with name 'xxx' is used for the initrd. Maybe use initrd_name for consistency or even just initrd (if the xxx is not in form of

Re: [PATCH 12/14] MIPS: OCTEON: Update octeon-model.h code for new SoCs.

2014-12-15 Thread Aaro Koskinen
Hi, On Mon, Dec 15, 2014 at 09:03:18PM +0300, Aleksey Makarov wrote: From: David Daney david.da...@cavium.com Add coverage for OCTEON III models. [...] +#define OCTEON_IS_OCTEON1() OCTEON_IS_MODEL(OCTEON_CN3XXX) +#define OCTEON_IS_OCTEONPLUS() OCTEON_IS_MODEL(OCTEON_CN5XXX)

Re: [PATCH 13/14] MIPS: OCTEON: Add register definitions for OCTEON III reset unit.

2014-12-15 Thread Aaro Koskinen
Hi, On Mon, Dec 15, 2014 at 09:03:19PM +0300, Aleksey Makarov wrote: From: David Daney david.da...@cavium.com Needed by follow-on patches. Looks like only one of the unions was needed (cvmx_rst_boot)...? A. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 14/14] MIPS: OCTEON: Handle OCTEON III in csrc-octeon.

2014-12-15 Thread Aaro Koskinen
Hi, On Mon, Dec 15, 2014 at 09:03:20PM +0300, Aleksey Makarov wrote: if (current_cpu_type() == CPU_CAVIUM_OCTEON2) { union cvmx_mio_rst_boot rst_boot; + rst_boot.u64 = cvmx_read_csr(CVMX_MIO_RST_BOOT); rdiv = rst_boot.s.c_mul;/* CPU

Re: [PATCH 14/14] MIPS: OCTEON: Handle OCTEON III in csrc-octeon.

2014-12-15 Thread Aaro Koskinen
Hi, On Mon, Dec 15, 2014 at 01:29:28PM -0800, David Daney wrote: On 12/15/2014 01:24 PM, Aaro Koskinen wrote: On Mon, Dec 15, 2014 at 09:03:20PM +0300, Aleksey Makarov wrote: if (current_cpu_type() == CPU_CAVIUM_OCTEON2) { union cvmx_mio_rst_boot rst_boot

Re: [PATCH 13/14] MIPS: OCTEON: Add register definitions for OCTEON III reset unit.

2014-12-15 Thread Aaro Koskinen
Hi, On Mon, Dec 15, 2014 at 01:31:28PM -0800, David Daney wrote: On 12/15/2014 01:09 PM, Aaro Koskinen wrote: Hi, On Mon, Dec 15, 2014 at 09:03:19PM +0300, Aleksey Makarov wrote: From: David Daney david.da...@cavium.com Needed by follow-on patches. Looks like only one of the unions

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: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Aaro Koskinen
On Fri, Oct 10, 2014 at 05:18:35PM +0100, Russell King - ARM Linux wrote: On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: 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

Re: [GIT PULL] parisc architecture patch for v3.18

2014-10-13 Thread Aaro Koskinen
Hi, On Mon, Oct 13, 2014 at 10:24:53PM +0200, Helge Deller wrote: On 10/13/2014 03:41 PM, One Thousand Gnomes wrote: I somehow doubt your kill command magically corrects its signal numbering table. Likewise what does gdb do given a core dump that died from one of those signals, and what does

Re: [PATCH] Staging: octeon: Added several blank lines after declarations

2014-12-03 Thread Aaro Koskinen
Hi, On Wed, Dec 03, 2014 at 09:43:51PM +, Jamie Lawler wrote: --- a/drivers/staging/octeon/ethernet-rx.c +++ b/drivers/staging/octeon/ethernet-rx.c @@ -84,6 +84,7 @@ static int cvm_irq_cpu; static void cvm_oct_enable_napi(void *_) { int cpu = smp_processor_id(); +

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

2015-01-15 Thread Aaro Koskinen
-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sta...@vger.kernel.org --- arch/mips/cavium-octeon/smp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c index ecd903d..9673c5b 100644 --- a/arch/mips/cavium-octeon

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

2015-01-15 Thread Aaro Koskinen
...@iki.fi Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sta...@vger.kernel.org --- arch/mips/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index c94c4e9..1c0d8c5 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips

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... Is that also true for all

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_cpu_disable() will unconditionally enable interrupts when

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

2015-01-15 Thread Aaro Koskinen
] Fatal exception: panic in 5 seconds Reported-by: Hemmo Nieminen hemmo.niemi...@iki.fi Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: David Daney david.da...@cavium.com Cc: sta...@vger.kernel.org # v3.18+ --- v2: Remove local_irq_disable/local_irq_enable altogether, instead

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

2015-01-15 Thread Aaro Koskinen
...@iki.fi Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sta...@vger.kernel.org --- v2: No changes in this patch. v1: http://marc.info/?l=linux-mipsm=142134783418176w=2 arch/mips/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel

Re: [PATCH] SATA: OCTEON: support SATA on OCTEON platform

2015-01-22 Thread Aaro Koskinen
Hi, On Wed, Jan 21, 2015 at 09:17:31AM -0800, David Daney wrote: On 01/21/2015 08:54 AM, Mark Rutland wrote: While the DTB may already exist, the string cavium,octeon-7130-ahci isn't in mainline, and as far as I can see has never been supported. There seems to be a disconnect here. The DTB

Re: [PATCH v2] perf: fix building error in x86_64

2015-02-19 Thread Aaro Koskinen
Hi, On Fri, Feb 13, 2015 at 03:11:14PM +0800, He Kuang wrote: When build with ARCH=x86_64, perf failed to compile with following error: tests/builtin-test.o:(.data+0x158): undefined reference to `test__perf_time_to_tsc' [...] +ifeq ($(ARCH), x86_64) + override ARCH := x86 +endif The

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: [PATCH] staging: xgifb: XGI_main_26: Change variables that is never used

2015-01-28 Thread Aaro Koskinen
Hi, On Wed, Jan 28, 2015 at 10:38:07PM +0100, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. Instead use the struct variable of the same name. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

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 addresses for any

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: mmc does not work in qemu n900

2015-01-26 Thread Aaro Koskinen
Hi, On Mon, Jan 26, 2015 at 10:04:59PM +0100, Pali Rohár wrote: problem? Why any of these two patches fix problem when mmc is not detected by kernel in qemu (machine n900)? Detection of mmc fails because function mmc_send_op_cond() without one of above patches fails. Has it ever worked?

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: Getting new udev to run with 2.6.28

2015-01-10 Thread Aaro Koskinen
Hi, On Sat, Jan 10, 2015 at 06:39:20PM +0100, Pavel Machek wrote: N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28... I guess you

Re: Getting new udev to run with 2.6.28

2015-01-10 Thread Aaro Koskinen
Hi, On Sat, Jan 10, 2015 at 09:18:05PM +, Al Viro wrote: On Sat, Jan 10, 2015 at 09:13:35PM +0200, Aaro Koskinen wrote: On Sat, Jan 10, 2015 at 06:39:20PM +0100, Pavel Machek wrote: N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile

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: 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

[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: [PATCH] Revert 9fc2105aeaaf56b0cf75296a84702d0f9e64437b to fix pyaudio (and probably more)

2015-01-04 Thread Aaro Koskinen
Hi, On Sun, Jan 04, 2015 at 10:40:49PM +0100, Pavel Machek wrote: On Sun 2015-01-04 21:26:59, Russell King - ARM Linux wrote: On Sun, Jan 04, 2015 at 04:20:57PM -0500, Nicolas Pitre wrote: On Sun, 4 Jan 2015, Linus Torvalds wrote: On Sun, Jan 4, 2015 at 12:56 PM, Nicolas Pitre

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: [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: [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 octeon-usb] fix 'line over 80 characters'

2015-03-18 Thread Aaro Koskinen
Hi, On Wed, Mar 18, 2015 at 08:12:32PM +0530, Amitoj Kaur Chawla wrote: This file contained a warning of a line being over 80 characters and so the file has been edited to remove that warning. Signed-off-by: Amitoj Kaur Chawla amitoj1...@gmail.com ---

Re: [PATCH] octeon-usb: fix 'too many leading tabs'

2015-03-18 Thread Aaro Koskinen
Hi, On Wed, Mar 18, 2015 at 10:18:29PM +0530, Amitoj Kaur Chawla wrote: This file contained a lot of warnings of line of over 80 characters and that the code needs to be refactored due to nested if else conditions. The file was accordingly edited to remove some of the warnings.

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-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH v2 3/3] MIPS: OCTEON: Use device tree to probe for flash chips.

2015-03-15 Thread Aaro Koskinen
-by: Aaro Koskinen aaro.koski...@iki.fi A. -- 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://www.tux.org/lkml/

Re: [PATCH v3] mmc: OCTEON: Add host driver for OCTEON MMC controller

2015-03-15 Thread Aaro Koskinen
-by: Aleksey Makarov aleksey.maka...@auriga.com Seems to work fine on EdgeRouter Pro (cn61xx). Tested-by: Aaro Koskinen aaro.koski...@iki.fi However, there is a sparse warning that probably needs to be fixed: octeon_mmc.c:1141:29: error: incompatible types for operation

Re: [PATCH] staging: octeon-usb: Made octeon_usb_match const

2015-03-09 Thread Aaro Koskinen
Hi, On Mon, Mar 09, 2015 at 11:09:03PM +0100, Mateusz Kulikowski wrote: An of_device_id should be const (checkpatch.pl warning). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com Acked-by: Aaro Koskinen aaro.koski...@iki.fi A. -- To unsubscribe from this list: send the line

[PATCH 0/7] crypto: OCTEON MD5 bugfix + SHA modules

2015-03-08 Thread Aaro Koskinen
per update, 32 updates): 6.18x faster test 19 ( 8192 byte blocks, 1024 bytes per update, 8 updates): 9.26x faster test 20 ( 8192 byte blocks, 4096 bytes per update, 2 updates): 10.64x faster test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates): 10.65x faster A. Aaro Koskinen (7

[PATCH 5/7] crypto: octeon - add SHA256 module

2015-03-08 Thread Aaro Koskinen
Add OCTEON SHA256 module. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/Makefile| 1 + arch/mips/cavium-octeon/crypto/octeon-sha256.c | 280 + 2 files changed, 281 insertions(+) create mode 100644 arch/mips/cavium-octeon

[PATCH 7/7] crypto: octeon - enable OCTEON SHA1/256/512 module selection

2015-03-08 Thread Aaro Koskinen
Enable user to select OCTEON SHA1/256/512 modules. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- crypto/Kconfig | 27 +++ 1 file changed, 27 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 50f4da4..38b2315 100644 --- a/crypto/Kconfig +++ b/crypto

[PATCH 6/7] crypto: octeon - add SHA512 module

2015-03-08 Thread Aaro Koskinen
Add OCTEON SHA512 module. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/Makefile| 1 + arch/mips/cavium-octeon/crypto/octeon-sha512.c | 277 + 2 files changed, 278 insertions(+) create mode 100644 arch/mips/cavium-octeon

[PATCH 1/7] crypto: octeon - don't disable bottom half in octeon-md5

2015-03-08 Thread Aaro Koskinen
] [81337050] shash_compat_digest+0xd0/0x1b0 Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/octeon-md5.c | 4 1 file changed, 4 deletions(-) diff --git a/arch/mips/cavium-octeon/crypto/octeon-md5.c b/arch/mips/cavium-octeon/crypto/octeon-md5.c index b909881

[PATCH 3/7] crypto: octeon - add instruction definitions for SHA1/256/512

2015-03-08 Thread Aaro Koskinen
Add instruction definitions for SHA1/256/512. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/octeon-crypto.h | 83 -- 1 file changed, 79 insertions(+), 4 deletions(-) diff --git a/arch/mips/cavium-octeon/crypto/octeon-crypto.h b

[PATCH 4/7] crypto: octeon - add SHA1 module

2015-03-08 Thread Aaro Koskinen
Add OCTEON SHA1 module. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/Makefile | 3 +- arch/mips/cavium-octeon/crypto/octeon-sha1.c | 241 +++ 2 files changed, 243 insertions(+), 1 deletion(-) create mode 100644 arch/mips

[PATCH 2/7] crypto: octeon - always disable preemption when using crypto engine

2015-03-08 Thread Aaro Koskinen
Always disable preemption on behalf of the drivers when crypto engine is taken into use. This will simplify the usage. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/mips/cavium-octeon/crypto/octeon-crypto.c | 4 +++- arch/mips/cavium-octeon/crypto/octeon-md5.c| 4 2 files

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 14/22] parisc: %pF is only for function pointers

2015-03-12 Thread Aaro Koskinen
Hi, On Thu, Mar 12, 2015 at 02:04:41PM -0400, James Bottomley wrote: On Thu, 2015-03-12 at 11:14 -0500, Scott Wood wrote: On Thu, 2015-03-12 at 08:11 -0400, James Bottomley wrote: On Wed, 2015-03-11 at 22:13 -0500, Scott Wood wrote: Use %pS for actual addresses, otherwise you'll get bad

[PATCH 2/3] rtc: __rtc_read_time: reduce log level

2015-03-28 Thread Aaro Koskinen
hwclock: RTC_RD_TIME: Invalid argument If there's a real error, it's likely that lower level or higher level code will tell it anyway. Make these logs debug logs, and also print the error code for the read failure. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/rtc/interface.c | 5

[PATCH 1/3] rtc: initialize rtc name early

2015-03-28 Thread Aaro Koskinen
Fix by initializing the name early. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/rtc/class.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 472a5ad..014ecbc 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc

[PATCH 3/3] rtc: hctosys: use function name in the error log

2015-03-28 Thread Aaro Koskinen
Use function name in the error log instead of __FILE__. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/rtc/hctosys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/hctosys.c b/drivers/rtc/hctosys.c index 6c719f2..7748a61 100644 --- a/drivers/rtc

[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

[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

Re: [PATCH] README: Update references to version 4

2015-03-29 Thread Aaro Koskinen
Hi, On Sat, Mar 28, 2015 at 11:46:30PM -0400, Pranith Kumar wrote: Since we bumped the version to 4.0, let us update the references to match that in the README file. Documentation/HOWTO seems to have plenty of references to 3.x as well... A. -- To unsubscribe from this list: send the line

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

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

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