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 im

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

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

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 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/mips/loongson/lemote

[PATCH] octeon_edac: fix broken build

2015-06-16 Thread Aaro Koskinen
Commit debe6a623d3c ("MIPS: OCTEON: Update octeon-model.h code for new SoCs.") renamed some SoC model helper functions, but forgot to update the EDAC drivers resulting in build failures. Fix that. Cc: sta...@vger.kernel.org # v4.0+ Signed-off-by: Aaro Koskinen --- drivers/edac/octeon_

[PATCH RESEND] octeon_edac: fix broken build

2015-07-01 Thread Aaro Koskinen
Commit debe6a623d3c ("MIPS: OCTEON: Update octeon-model.h code for new SoCs.") renamed some SoC model helper functions, but forgot to update the EDAC drivers resulting in build failures. Fix that. Cc: sta...@vger.kernel.org # v4.0+ Signed-off-by: Aaro Koskinen --- drivers/edac/octeon_

[PATCH 2/2] perf: allow to specify custom linker command

2015-07-01 Thread Aaro Koskinen
Allow to specify custom linker command. This fixes MIPS64 builds for 64-bit userspace as it will allow to pass a linker using the correct linker flags for 64-bit ABI (by default GNU binutils ld will assume N32). Signed-off-by: Aaro Koskinen --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1

[PATCH 1/2] perf: create config.detected into OUTPUT directory

2015-07-01 Thread Aaro Koskinen
Create config.detected into OUTPUT directory instead of source directory. This fixes parallel builds that share the same source directory. Signed-off-by: Aaro Koskinen --- tools/build/Makefile.build | 2 +- tools/perf/Makefile.perf | 2 +- tools/perf/config/Makefile | 6 +++--- 3 files

Re: mips build failures due to commit 8dd928915a73 (mips: fix up obsolete cpu function usage)

2015-04-27 Thread Aaro Koskinen
> problem). Someone will have to test the patch on a real multi-core system. That works on Octeon+ EBH5600 board (8 cores) with 4.1-rc1. Tested-by: Aaro Koskinen Thanks, A. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

Re: Build regressions/improvements in v4.1-rc1

2015-04-27 Thread Aaro Koskinen
Hi, On Mon, Apr 27, 2015 at 12:03:32PM +0200, Geert Uytterhoeven wrote: > > *** ERRORS *** > > > > 34 regressions: > > The quiet days are over... > > > + /home/kisskb/slave/src/arch/mips/cavium-octeon/smp.c: error: passing > > argument 2 of 'cpumask_clear_cpu' discards 'volatile' qualifier

[RFC PATCH 01/11] MIPS: OCTEON: cvmx-helper: use function to access interface_port_count

2015-05-01 Thread Aaro Koskinen
Use function to access interface_port_count. This allows moving functions requiring the info to different files. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/cvmx-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/cavium-octeon

[RFC PATCH 07/11] MIPS: OCTEON: make all interface enumeration helpers static

2015-05-01 Thread Aaro Koskinen
Make all interface enumeration helpers static. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/cvmx-helper.c | 10 +- arch/mips/include/asm/octeon/cvmx-helper-npi.h | 11 --- arch/mips/include/asm/octeon/cvmx-helper-rgmii.h | 9 - arch/mips/include

[RFC PATCH 11/11] MIPS: OCTEON: move all ethernet-specific headers to staging

2015-05-01 Thread Aaro Koskinen
Move all ethernet-specific headers to staging. Signed-off-by: Aaro Koskinen --- arch/mips/include/asm/octeon/cvmx-helper-board.h | 70 --- arch/mips/include/asm/octeon/cvmx-helper.h | 124 .../asm => drivers/staging}/octeon/cvmx-address.h | 0 .../staging}/oct

[RFC PATCH 00/11] MIPS: OCTEON: move all octeon-ethernet code to staging

2015-05-01 Thread Aaro Koskinen
de. Tested on EdgeRouter Lite, EdgeRouter Pro and D-Link DSR-1000N. Also build tested with octeon-ethernet as built-in, module and completely disabled. Patches are based on staging-next. A. Aaro Koskinen (11): MIPS: OCTEON: cvmx-helper: use function to access interface_port_count MIPS: OCTEON: mov

[RFC PATCH 08/11] MIPS: OCTEON: move the link helpers into a separate file

2015-05-01 Thread Aaro Koskinen
Move the link helpers into a separate file. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/Makefile | 2 +- .../cavium-octeon/executive/cvmx-helper-board.c| 511 arch/mips/cavium-octeon/executive/cvmx-link.c | 534

[RFC PATCH 04/11] MIPS: OCTEON: move interface enumeration helpers to cvmx-helper

2015-05-01 Thread Aaro Koskinen
Move interface enumeration helpers to cvmx-helper. Signed-off-by: Aaro Koskinen --- .../mips/cavium-octeon/executive/cvmx-helper-npi.c | 38 --- .../cavium-octeon/executive/cvmx-helper-rgmii.c| 46 .../cavium-octeon/executive/cvmx-helper-sgmii.c| 4 - .../mips/cavium

[RFC PATCH 09/11] MIPS: OCTEON: move ethernet-specific helpers to staging

2015-05-01 Thread Aaro Koskinen
Move all ethernet-specific helpers to staging. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/Makefile| 8 +--- arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 1 + arch/mips/cavium-octeon/executive/cvmx-helper.c | 1 + drivers

[RFC PATCH 03/11] MIPS: OCTEON: make __cvmx_helper_sgmii/xaui_probe void

2015-05-01 Thread Aaro Koskinen
Make __cvmx_helper_sgmii/xaui_probe void, nobody is using return values and this makes functions independent of enumeration functions. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c | 5 + arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c | 5

[RFC PATCH 05/11] MIPS: OCTEON: delete calls to __cvmx_helper_npi/rgmii_probe

2015-05-01 Thread Aaro Koskinen
These calls have no side effects so drop the calls, so that we don't need to export these functions to modules. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/cvmx-helper-ethernet.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/cavium-octeon/executive/cvmx

[RFC PATCH 10/11] MIPS: OCTEON: ethernet: delete unneeded symbol exports

2015-05-01 Thread Aaro Koskinen
Delete unneeded symbol exports. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/cvmx-cmd-queue.c | 1 - drivers/staging/octeon/cvmx-helper-ethernet.c | 5 - drivers/staging/octeon/cvmx-helper-util.c | 4 drivers/staging/octeon/cvmx-pko.c | 2 -- drivers

[RFC PATCH 06/11] MIPS: OCTEON: rename __cvmx_helper_npi/rgmii_probe

2015-05-01 Thread Aaro Koskinen
Rename __cvmx_helper_npi/rgmii_probe to __cvmx_helper_npi/rgmii_enumerate as only latter are used. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/cvmx-helper.c | 12 ++-- arch/mips/include/asm/octeon/cvmx-helper-npi.h | 7 +++ arch/mips/include/asm/octeon

[RFC PATCH 02/11] MIPS: OCTEON: move ethernet-specific helpers into a separate file

2015-05-01 Thread Aaro Koskinen
Move ethernet-specific helpers into a separate file. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-octeon/executive/Makefile | 1 + .../cavium-octeon/executive/cvmx-helper-ethernet.c | 912 arch/mips/cavium-octeon/executive/cvmx-helper.c| 915

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

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? > > > > &

[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 --- arch/mips/cavium-octeon/Makefile | 1

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

2014-12-21 Thread Aaro Koskinen
es per 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):

[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 --- arch/mips/cavium-octeon/executive/octeon-model.c | 6 ++ arch/mips

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

2014-12-21 Thread Aaro Koskinen
Add OCTEON MD5 module. Signed-off-by: Aaro Koskinen --- 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 insertions(+) create mode

[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 --- arch/mips/cavium-octeon/crypto/octeon-crypto.h | 56 ++ 1 file changed, 56 insertions(+) diff --git a/arch/mips/cavium-octeon

[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 --- 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 @@ config CRYPTO_MD5

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

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 >

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

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

2014-10-21 Thread Aaro Koskinen
-by: Aaro Koskinen 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/mips/loongson/lemote

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

[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 --- drivers/hsi/clients/nokia-modem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hsi/clients/nokia-modem.c b/driv

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,

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

Re: [PATCHv3 01/17] mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines

2015-02-26 Thread Aaro Koskinen
way. They need > to define these macros themself. This patch adds missing defines. > > The patch fixes mm->nr_pmds underflow and eliminates dead __pmd_alloc() > and __pud_alloc() on architectures without these page table levels. > > Signed-off-by: Kirill A. Shutemov > Cc:

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

2015-03-08 Thread Aaro Koskinen
__local_bh_enable_ip+0x9c/0xd8() [ 52.671780] Modules linked in: tcrypt(+) [...] [ 52.763539] [] warn_slowpath_common+0x94/0xd8 [ 52.769465] [] __local_bh_enable_ip+0x9c/0xd8 [ 52.775390] [] octeon_md5_final+0x12c/0x1e8 [ 52.781144] [] shash_compat_digest+0xd0/0x1b0 Signed-off-by: Aaro

[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 --- 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/arch/mips/cavium-octeon

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

2015-03-08 Thread Aaro Koskinen
Add OCTEON SHA1 module. Signed-off-by: Aaro Koskinen --- 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/cavium-octeon/crypto

[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 --- arch/mips/cavium-octeon/crypto/octeon-crypto.c | 4 +++- arch/mips/cavium-octeon/crypto/octeon-md5.c| 4 2 files changed, 3 insertions

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

2015-03-08 Thread Aaro Koskinen
Add OCTEON SHA512 module. Signed-off-by: Aaro Koskinen --- 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/crypto/octeon-sha512

[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 --- 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/crypto/octeon-sha256

[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 --- 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/Kconfig @@ -546,6

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 Acked-by: Aaro Koskinen A. -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

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, , sizeof(ifver))) > r = -EFAULT; > - break; > } >

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-kernel" in the

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

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 >

Re: wl1251 & mac address & calibration data

2016-11-24 Thread Aaro Koskinen
Hi, On Thu, Nov 24, 2016 at 04:20:45PM +0100, Pali Rohár wrote: > Proprietary, signed and closed bootloader NOLO does not support DT. So > for booting you need to append DTS file to kernel image. > > U-Boot is optional and can be used as intermediate bootloader between > NOLO and kernel. But

v4.8 cpufreq regression?

2016-10-07 Thread Aaro Koskinen
Hi, I'm upgrading from v4.7 to v4.8 on MIPS/loongson2_cpufreq with cpufreq/ondemand and I noticed that /proc/cpuinfo is always reporting (regardless of system load): BogoMIPS: 697150.20 and sysfs: /sys/devices/system/cpu/cpufreq/policy0/affected_cpus:0

[PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-30 Thread Aaro Koskinen
forwarding test using two flows and 16 RX groups distributed between two cores - the routing throughput is roughly doubled. A. Aaro Koskinen (9): staging: octeon: disable rx interrupts in oct_rx_shutdown staging: octeon: use passed interrupt number in the handler staging: octeon: pass the NAPI

[PATCH 3/9] staging: octeon: pass the NAPI instance reference to irq handler

2016-08-30 Thread Aaro Koskinen
Pass the NAPI instance reference to the interrupt handler. This is preparation for having multiple NAPI instances. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/octeon/ethernet

[PATCH 4/9] staging: octeon: move common poll code into a separate function

2016-08-30 Thread Aaro Koskinen
Move common poll code into a separate function. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c

[PATCH 1/9] staging: octeon: disable rx interrupts in oct_rx_shutdown

2016-08-30 Thread Aaro Koskinen
Disable RX interrupts in oct_rx_shutdown(). This way we don't need to expose the RX IRQ numbers outside the RX module. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 9 + drivers/staging/octeon/ethernet.c| 9 - 2 files changed, 9 insertions(+), 9

[PATCH 9/9] staging: octeon: enable taking multiple rx groups into use

2016-08-30 Thread Aaro Koskinen
Enable taking multiple RX groups into use. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 42 +-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index

[PATCH 2/9] staging: octeon: use passed interrupt number in the handler

2016-08-30 Thread Aaro Koskinen
Use passed interrupt number in the handler, so we can avoid using the global variable. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon

[PATCH 5/9] staging: octeon: create a struct for rx group specific data

2016-08-30 Thread Aaro Koskinen
Create a struct for RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 140e8af

[PATCH 6/9] staging: octeon: move irq into rx group specific data

2016-08-30 Thread Aaro Koskinen
Move IRQ number into RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 65f6013

[PATCH 7/9] staging: octeon: move group number into rx group data

2016-08-30 Thread Aaro Koskinen
Move group number into RX group data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 776003c

[PATCH 8/9] staging: octeon: support enabling multiple rx groups

2016-08-30 Thread Aaro Koskinen
Support enabling multiple RX groups. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 126 ++- drivers/staging/octeon/ethernet.c| 6 +- drivers/staging/octeon/octeon-ethernet.h | 2 +- 3 files changed, 81 insertions(+), 53

Re: [PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-31 Thread Aaro Koskinen
Hi, On Tue, Aug 30, 2016 at 06:12:17PM -0700, Ed Swierk wrote: > On Tue, Aug 30, 2016 at 11:47 AM, Aaro Koskinen wrote: > > This series implements multiple RX group support that should improve > > the networking performance on multi-core OCTEONs. Basically we register > >

Re: [PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-31 Thread Aaro Koskinen
Hi, On Tue, Aug 30, 2016 at 06:12:17PM -0700, Ed Swierk wrote: > On Tue, Aug 30, 2016 at 11:47 AM, Aaro Koskinen wrote: > > This series implements multiple RX group support that should improve > > the networking performance on multi-core OCTEONs. Basically we register > >

[PATCH v2 00/11] staging: octeon: multi rx group (queue) support

2016-08-31 Thread Aaro Koskinen
failure with CONFIG_NET_POLL_CONSOLE. - Disable the extended group tag mask bits on CN68XX. - Set up PKND for all interfaces. - Don't allow poll before RX init is completed. v1: http://marc.info/?t=14725829975=1=2 Aaro

[PATCH v2 06/11] staging: octeon: move irq into rx group specific data

2016-08-31 Thread Aaro Koskinen
Move IRQ number into RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 65f6013

[PATCH v2 05/11] staging: octeon: create a struct for rx group specific data

2016-08-31 Thread Aaro Koskinen
Create a struct for RX group specific data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 140e8af

[PATCH v2 09/11] staging: octeon: enable taking multiple rx groups into use

2016-08-31 Thread Aaro Koskinen
Enable taking multiple RX groups into use. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 49 +-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index

[PATCH v2 02/11] staging: octeon: use passed interrupt number in the handler

2016-08-31 Thread Aaro Koskinen
Use passed interrupt number in the handler, so we can avoid using the global variable. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon

[PATCH v2 03/11] staging: octeon: pass the NAPI instance reference to irq handler

2016-08-31 Thread Aaro Koskinen
Pass the NAPI instance reference to the interrupt handler. This is preparation for having multiple NAPI instances. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/octeon/ethernet

[PATCH v2 04/11] staging: octeon: move common poll code into a separate function

2016-08-31 Thread Aaro Koskinen
Move common poll code into a separate function. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c

[PATCH v2 07/11] staging: octeon: move group number into rx group data

2016-08-31 Thread Aaro Koskinen
Move group number into RX group data. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 776003c

[PATCH v2 10/11] staging: octeon: set up pknd for all interfaces

2016-08-31 Thread Aaro Koskinen
RX path uses pknd to find the correct device, and we maintain 1:1 port to pknd mapping. However, this is only set for XAUI interfaces (in the arch code). But it should be set for all interface types. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet.c | 2 ++ 1 file changed, 2

[PATCH v2 08/11] staging: octeon: support enabling multiple rx groups

2016-08-31 Thread Aaro Koskinen
Support enabling multiple RX groups. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 126 ++- drivers/staging/octeon/ethernet.c| 6 +- drivers/staging/octeon/octeon-ethernet.h | 2 +- 3 files changed, 81 insertions(+), 53

[PATCH v2 11/11] staging: octeon: prevent poll during rx init

2016-08-31 Thread Aaro Koskinen
Prevent poll before the RX init has been completed. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 4f32fa3..ce1e2a3 100644

[PATCH v2 01/11] staging: octeon: disable rx interrupts in oct_rx_shutdown

2016-08-31 Thread Aaro Koskinen
Disable RX interrupts in oct_rx_shutdown(). This way we don't need to expose the RX IRQ numbers outside the RX module. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 9 + drivers/staging/octeon/ethernet.c| 9 - 2 files changed, 9 insertions(+), 9

Re: [PATCH 0/9] staging: octeon: multi rx group (queue) support

2016-08-31 Thread Aaro Koskinen
Hi, On Wed, Aug 31, 2016 at 09:20:07AM -0700, Ed Swierk wrote: > I'm not using CONFIG_NET_POLL_CONTROLLER either; the problem is in the > normal cvm_oct_napi_poll() path. > > Here's my workaround: [...] > -static int cvm_oct_poll(struct oct_rx_group *rx_group, int budget) > +static int

Re: [PATCH] USB: ohci-omap: defer probe if PHY is missing

2017-01-03 Thread Aaro Koskinen
Hi, On Tue, Jan 03, 2017 at 05:51:43PM +0100, Greg Kroah-Hartman wrote: > On Mon, Jan 02, 2017 at 10:53:55PM +0200, Aaro Koskinen wrote: > > Defer probe if PHY is missing. E.g. on Nokia 770 several modules needs > > to be loaded to get the PHY going and ohci-omap should

Re: [PATCH] USB: ohci-omap: defer probe if PHY is missing

2017-01-03 Thread Aaro Koskinen
Hi, On Tue, Jan 03, 2017 at 08:05:04PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 03, 2017 at 08:50:31PM +0200, Aaro Koskinen wrote: > > On Tue, Jan 03, 2017 at 05:51:43PM +0100, Greg Kroah-Hartman wrote: > > > On Mon, Jan 02, 2017 at 10:53:55PM +0200, Aaro Koskinen wrote: &

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-04 Thread Aaro Koskinen
Hi, On Mon, Jan 02, 2017 at 10:05:39PM +0100, joerg Reisenweber wrote: > On Mon 02 January 2017 21:01:01 Pali Rohár wrote: > > On Monday 02 January 2017 19:49:45 Aaro Koskinen wrote: > > > The schematic shows ECI(5:0), but only 3 are connected/used. There > > >

Re: [PATCH] ARM: OMAP1: DMA: Correct the number of logical channels

2017-01-05 Thread Aaro Koskinen
nyways. > > Signed-off-by: Peter Ujfalusi Acked-by: Aaro Koskinen A. > --- > arch/arm/mach-omap1/dma.c | 16 +++- > 1 file changed, 7 insertions(+), 9 deletions(-) > > diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c > index f6ba589cd3

Re: [PATCH] MAINTAINERS: Add Aaro Koskinen as TI omap1 SoC co-maintainer

2017-01-05 Thread Aaro Koskinen
Hi, On Thu, Jan 05, 2017 at 01:41:01PM -0800, Tony Lindgren wrote: > Aaro has been doing a great job making sure mach-omap1 stays working > with the mainline kernel. So let's add Aaro as omap1 co-maintainer to > the MAINTAINERS file. > > Cc: Aaro Koskinen > Signed-off-by: Ton

Re: [PATCH] mfd: menelaus: remove obsolete local_irq_disable() and local_irq_enable()

2017-04-12 Thread Aaro Koskinen
; Signed-off-by: Martin Kepplinger > Cc: Henri Roosen I think the patch looks OK, so: Acked-by: Aaro Koskinen But when trying to test it on N810/N800, I noticed I was missing RTC altogether. My custom config was missing CONFIG_RTC_DRV_TWL92330, but when enabling it I still get: [5.75991

Re: [PATCH v13 0/6] Cavium MMC driver

2017-04-12 Thread Aaro Koskinen
Hi, On Thu, Mar 30, 2017 at 05:31:22PM +0200, Jan Glauber wrote: > Hi Ulf, > > we have a bug on some Octeon plattforms so I removed the Octeon driver for now > (but kept the DT bindings for it). We'll submit the Octeon driver later when > we've fixed the issue. Please rather post a new version

Re: [PATCH V2] cpufreq: skip invalid entries when searching the frequency

2016-10-12 Thread Aaro Koskinen
Hi, On Wed, Oct 12, 2016 at 08:45:05AM +0530, Viresh Kumar wrote: > From: Aaro Koskinen > > Skip invalid entries when searching the frequency. This fixes cpufreq > at least on loongson2 MIPS board. > > Fixes: da0c6dc00c69 ("cpufreq: Handle sorted frequency tables more &

[PATCH] ALSA: snd-aoa: enable sound on PowerBook G4 12"

2016-08-24 Thread Aaro Koskinen
Enable sound on PowerBook G4 12". Signed-off-by: Aaro Koskinen --- sound/aoa/fabrics/layout.c | 8 sound/aoa/soundbus/i2sbus/core.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c index 8f71f7e..ed

Re: [PATCH] ALSA: snd-aoa: enable sound on PowerBook G4 12"

2016-08-24 Thread Aaro Koskinen
Hi, On Wed, Aug 24, 2016 at 09:43:23PM +0200, Johannes Berg wrote: > On Wed, 2016-08-24 at 20:57 +0300, Aaro Koskinen wrote: > > Enable sound on PowerBook G4 12". > > Looks good to me, I assume you tested it and it works :) Yes, I have this laptop in use. A.

Re: [BISECTED REGRESSION] v4.8-rc: gpio-leds broken on OCTEON

2016-08-25 Thread Aaro Koskinen
Hi, On Wed, Aug 24, 2016 at 11:42:00AM -0500, Steven J. Hill wrote: > It is actually two patches that cause the breakage. The other is: > >commit e55aeb6ba4e8cc3549bff1e75ea1d029324bce21 >of/irq: Mark interrupt controllers as populated before initialisation > > I needed to revert both

Re: [BISECTED REGRESSION] v4.8-rc: DT/OCTEON driver probing broken

2016-08-28 Thread Aaro Koskinen
atform/olpc/olpc_dt.c A. > On 16.08.2016 17:00, Aaro Koskinen wrote: > > Hi, > > > > Commit 44a7185c2ae6 ("of/platform: Add common method to populate default > > bus") added new arch_initcall of_platform_default_populate_init() that > > wil

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

2017-06-14 Thread Aaro Koskinen
Hi, When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and there is no display. Bisected to: a09d2bc1503508c17ef3a71c6b1905e3660f3029 is the first bad commit commit a09d2bc1503508c17ef3a71c6b1905e3660f3029 Author: Peter Ujfalusi Date: Tue May 3 22:08:01 2016 +0300 drm/omap:

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

2017-06-18 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_stack_is_ready

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

2017-06-18 Thread Aaro Koskinen
Hi, On Thu, Jun 15, 2017 at 10:28:31AM +0300, Peter Ujfalusi wrote: > On 2017-06-15 01:11, Aaro Koskinen wrote: > > When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and there > > is no display. > > > > Bisected to: > > > > a09d2bc1503508c17e

Re: [PATCH v2 00/11] staging: octeon: multi rx group (queue) support

2016-09-01 Thread Aaro Koskinen
Hi, On Wed, Aug 31, 2016 at 07:09:13PM -0700, Ed Swierk wrote: > On 8/31/16 13:57, Aaro Koskinen wrote: > > This series implements multiple RX group support that should improve > > the networking performance on multi-core OCTEONs. Basically we register > > IRQ and NAPI fo

[PATCH 0/3] MIPS: OCTEON: Add support for D-Link DSR-500N router

2016-09-02 Thread Aaro Koskinen
Hi, D-Link DSR-500N is close to 1000N and with small changes we can support both. A. Aaro Koskinen (3): MIPS: OCTEON: split dlink_dsr-1000n.dts MIPS: OCTEON: add DTS for D-Link DSR-500N MIPS: OCTEON: fix PCI interrupt routing on D-Link DSR-500N .../boot/dts/cavium-octeon/dlink_dsr

[PATCH 3/3] MIPS: OCTEON: fix PCI interrupt routing on D-Link DSR-500N

2016-09-02 Thread Aaro Koskinen
Fix PCI interrupt routing on D-Link DSR-500N. Signed-off-by: Aaro Koskinen --- arch/mips/pci/pci-octeon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/pci/pci-octeon.c b/arch/mips/pci/pci-octeon.c index c258cd4..308d051 100644 --- a/arch/mips/pci/pci-octeon.c +++ b/arch/mips

<    5   6   7   8   9   10   11   >