Re: [PATCH] Documentation/Changes: phase out Changes file that hasn't changed

2013-07-23 Thread Aaro Koskinen
Hi, On Tue, Jul 23, 2013 at 06:10:01PM -0500, Rob Landley wrote: > On 07/23/2013 05:57:15 PM, Aaro Koskinen wrote: > >Is there any file describing the needed tools (and minimum versions) to > >_build_ the kernel? I agree that trying to describe such for the run-time > >user

Re: v3.11-rc1 USB regressions

2013-07-24 Thread Aaro Koskinen
Hi, On Tue, Jul 16, 2013 at 08:57:10PM +0300, Aaro Koskinen wrote: > On Tue, Jul 16, 2013 at 08:33:06AM +0200, Daniel Mack wrote: > > > fe4cb0912f8e737f8e4b8b38b9e692f8062f5423 > > > usb: musb: gadget: remove hcd initialization > > > (Reverting this fixes erro

Re: v3.11-rc1 USB regressions

2013-07-24 Thread Aaro Koskinen
Hi, On Wed, Jul 24, 2013 at 09:04:28PM +0200, Daniel Mack wrote: > On 24.07.2013 20:51, Aaro Koskinen wrote: > >> When I revert fe4cb0912f8e737f8e4b8b38b9e692f8062f5423 and > >> 8b125df5b24cfb0ec7fa1971e343cc0badc1827d, it works like before (3.10): > > > > I&#x

Re: [PATCH] Change request_irq() to use struct net_device *dev->name

2013-07-25 Thread Aaro Koskinen
Hi, On Thu, Jul 25, 2013 at 10:33:24PM +0400, Sergei Shtylyov wrote: >It's also called managed device API. In fact, I've never heard it > named devres API. Never read the documentation. :-) $ head -1 Documentation/driver-model/devres.txt Devres - Managed Device Resource A. -- To unsubscrib

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-01 Thread Aaro Koskinen
On Fri, Mar 01, 2013 at 12:09:12PM +0200, Ивайло Димитров wrote: > Unfortunately it is necessary, on RX-51 PPA/NOLO leaves IBE bit unset. You sure? I think you need to explain this more - the commit message in the original patch is empty/missing... A. -- To unsubscribe from this list: send the li

[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: sta...@vger.kernel.org --- arch/mips/loongson/common

Re: [RESEND][PATCH 1/3] arm: dts: introduce config HAS_BANDGAP

2013-05-06 Thread Aaro Koskinen
On Mon, May 06, 2013 at 05:00:56PM -0400, Eduardo Valentin wrote: > Introduce HAS_BANDGAP config entry. This config is a > boolean value so that arch code can flag is they > feature a bandgap device. Maybe it could be mentioned that omap-thermal already depend on this? At least for a random review

Re: [RESEND][PATCH 1/3] arm: dts: introduce config HAS_BANDGAP

2013-05-07 Thread Aaro Koskinen
On Tue, May 07, 2013 at 12:27:11PM -0600, Jason Gunthorpe wrote: > On Tue, May 07, 2013 at 09:15:00AM -0400, Eduardo Valentin wrote: > > > But broadly the direction seems that drivers should have minimal > > > dependencies so, eg, the thermal maintainer compiling for x86 should > > > be able to com

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

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

Re: [PATCH] MIPS: Enable interrupts before WAIT instruction.

2013-05-22 Thread Aaro Koskinen
Hi, On Thu, May 02, 2013 at 01:48:12PM -0700, David Daney wrote: > From: David Daney > > As noted by Thomas Gleixner: > >commit cdbedc61c8 (mips: Use generic idle loop) broke MIPS as I did >not realize that MIPS wants to invoke the wait instructions with >interrupts enabled. > > In

[PATCH 1/2] MIPS: cavium-octeon: cvmx-helper-board: print unknown board warning only once

2013-05-26 Thread Aaro Koskinen
When booting a new board for the first time, the console is flooded with "Unknown board" messages. This is not really helpful. Board type is not going to change after the boot, so it's sufficient to print the warning only once. Signed-off-by: Aaro Koskinen --- arch/mips/cavium-o

[PATCH 2/2] MIPS: cavium-octeon: enable interfaces on EdgeRouter Lite

2013-05-26 Thread Aaro Koskinen
Enable interfaces on EdgeRouter Lite. Tested with cavium_octeon_defconfig and busybox shell. DHCP & ping works with eth0, eth1 and eth2. The board type "UBNT_E100" is taken from the sources of the vendor kernel shipped with the product. Signed-off-by: Aaro Koskinen --- arch/mips

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-04-01 Thread Aaro Koskinen
Hi, On Sun, Mar 31, 2013 at 03:05:42PM +0300, Ивайло Димитров wrote: > Yep, the code looks almost identical, I guess with some tweaks all SMC > code from that patch could be removed and instead used the one from SMC > PPA API. > > What I don't get, is why one needs to disable/enable fiqs/irqs: [

Re: [PATCH] ARM: OMAP: drop "select MACH_NOKIA_RM696"

2013-03-08 Thread Aaro Koskinen
On Fri, Mar 08, 2013 at 11:29:56AM +0100, Paul Bolle wrote: > When support was added for Nokia N9 (RM-696), with commit > 63fc5f3bb3d0ca9ab4767a801b518aa6335f87ad ("ARM: OMAP: add minimal > support for Nokia RM-696"), a select statement for MACH_NOKIA_RM696 was > added to the tree. But there's no K

linux 3.9-rc1: nouveau crash on PPC

2013-03-09 Thread Aaro Koskinen
Hi, There's nouveau crash during boot with 3.9-rc1 on iMac G5 (nVidia GeForce FX 5200 Ultra). This happens also with current mainline kernel HEAD (0aefda3e8188ad71168bd32152d41b3d72f04087). git bisect tells the first bad commit is 1d7c71a3e2f77336df536855b0efd2dc5bdeb41b (drm/nouveau/disp: port v

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote: > > And really: Wasting 1/3 of the 80 character line is too much. > > You _WASTE_ 4 chars only if you are interested in this info by > enabling: CONFIG_PRINTK_CPUID I guess you waste 4 + 3 chars? You could optimize the length b

[PATCH] ARM: dma-mapping: fix incorrect freeing of atomic allocations

2012-08-05 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen --- arch/arm/mm/dma-mapping.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index c2cdf65..2cc77b7 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -648,12

[PATCH] ARM: dma-mapping: fix atomic allocation alignment

2012-08-05 Thread Aaro Koskinen
The alignment mask is calculated incorrectly. Fixing the calculation makes strange hangs/lockups disappear during the boot with Amstrad E3 and 3.6-rc1 kernel. Signed-off-by: Aaro Koskinen --- arch/arm/mm/dma-mapping.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a

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

2012-09-19 Thread Aaro Koskinen
On Fri, Sep 14, 2012 at 12:08:06PM +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 configuration f

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

2012-09-19 Thread Aaro Koskinen
Hi, On Wed, Sep 19, 2012 at 06:02:30PM +0200, Samuel Ortiz wrote: > On Mon, Sep 03, 2012 at 11:23:23PM +0300, Aaro Koskinen wrote: > > Retu is a multi-function device found on Nokia Internet Tablets > > implementing at least watchdog, RTC, headset detection and power button &g

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

[PATCH] spi: tsc2005: delete soon-obsolete e-mail address

2012-08-17 Thread Aaro Koskinen
Delete soon-obsolete e-mail address. Signed-off-by: Aaro Koskinen --- include/linux/spi/tsc2005.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/spi/tsc2005.h b/include/linux/spi/tsc2005.h index d9b0c84..8f721e4 100644 --- a/include/linux/spi/tsc2005.h

[PATCH] powerpc: dma-iommu: fix IOMMU window check

2012-08-18 Thread Aaro Koskinen
-pci-bridge 0001:01:01.0: Warning: IOMMU window too big for device mask b43-pci-bridge 0001:01:01.0: mask: 0x3fff, table end: 0x8000 b43-phy0 ERROR: The machine/kernel does not support the required 30-bit DMA mask Signed-off-by: Aaro Koskinen --- arch/powerpc/kernel/dma-iommu.c |9

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

[PATCH] MIPS: fix 64-bit kernel build

2013-01-21 Thread Aaro Koskinen
3e468): undefined reference to `__virt_addr_valid' Fix by providing __virt_addr_valid also when CONFIG_32BIT is not set. Signed-off-by: Aaro Koskinen --- arch/mips/mm/Makefile |6 +++--- arch/mips/mm/ioremap.c |4 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/mips/

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

Re: [PATCH] ADP1653 board code for Nokia RX-51

2013-02-17 Thread Aaro Koskinen
Hi, On Sun, Feb 17, 2013 at 04:16:49PM +0100, Pali Rohár wrote: > I'm sending ADP1653 flash torch board code for Nokia RX-51. Kernel > driver ADP1653 is already in upstream kernel. Board code was extracted > from this big camera meego patch: > > https://api.pub.meego.com/public/source/CE:Adaptati

[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

3.8-rc3: yet another MIPS build failure

2013-01-10 Thread Aaro Koskinen
Hi, Commit d3ce88431892b703b04769566338a89eda6b0477 (MIPS: Fix modpost error in modules attepting to use virt_addr_valid()) broke the 64-bit MIPS build: LD init/built-in.o kernel/built-in.o: In function `memory_bm_free': snapshot.c:(.text+0x3c76c): undefined reference to `__virt_addr_valid

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

2012-12-13 Thread Aaro Koskinen
Hi, On Fri, Dec 14, 2012 at 02:23:36AM +0100, Sebastian Reichel wrote: > On Mon, Nov 12, 2012 at 02:47:03PM -0800, Tony Lindgren wrote: > > * Aaro Koskinen [121112 10:49]: > > > Convert omap_wdt to new watchdog core. On OMAP boards, there are usually > > > multip

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 b

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Aaro Koskinen
On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > > On Sun, Jul 17, 2016 at 10:03:39PM +0200, Pavel Machek wrote: > > > > Ok, thanks for the inf

Re: [PATCH] MIPS: Octeon: Use defines instead of magic numbers

2016-09-13 Thread Aaro Koskinen
Hi, On Tue, Sep 13, 2016 at 07:04:54PM +, Asbjørn Sloth Tønnesen wrote: > On Tue, 13 Sep 2016 00:03:14 +0300, Aaro Koskinen > wrote: > > On Mon, Sep 12, 2016 at 08:33:43PM +, Asbjoern Sloth Toennesen wrote: > > > The patch will be followed by a similar patch to

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

2016-08-30 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&r=1&

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

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

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 cvm_oct_

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

[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

[PATCH 1/3] MIPS: OCTEON: split dlink_dsr-1000n.dts

2016-09-02 Thread Aaro Koskinen
Split dlink_dsr-1000n.dts to allow reuse with D-Link DSR-500N. Signed-off-by: Aaro Koskinen --- .../boot/dts/cavium-octeon/dlink_dsr-1000n.dts | 45 + .../dts/cavium-octeon/dlink_dsr-500n-1000n.dtsi| 58 ++ 2 files changed, 59 insertions(+), 44

[PATCH 2/3] MIPS: OCTEON: add DTS for D-Link DSR-500N

2016-09-02 Thread Aaro Koskinen
Add DTS for D-Link DSR-500N. Signed-off-by: Aaro Koskinen --- .../mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts diff --git a/arch/mips/boot/dts/cavium-octeon

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

2016-08-23 Thread Aaro Koskinen
Hi, gpio-leds fails to probe on OCTEON with v4.8-rc3 and when using arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts. Leds still worked with v4.7. I bisected this to: commit 15cc2ed6dcf91a8658e084be4e140147161819d7 Author: Jon Hunter Date: Mon Jun 20 14:49:18 2016

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

Re: 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another

2017-10-25 Thread Aaro Koskinen
Hi, On Wed, Oct 25, 2017 at 02:28:07PM -0700, Tony Lindgren wrote: > Also try booting with mem=512M@0x8000 or 256M or 768M. Maybe the > memory is different size or partially broken? Yeah, some early N950s may have only 512 MB. A.

Re: [RFT PATCH] mips: lemote2f_defconfig: convert to use libata PATA drivers

2015-10-07 Thread Aaro Koskinen
A host driver and > full support in a newer CS5536 PATA one (pata_cs5536). Thus > most likely this platform should switch to using the latter > host driver. > > Cc: Huacai Chen > Signed-off-by: Bartlomiej Zolnierkiewicz Maybe too late but: Tested-by: Aaro Koskinen I al

Re: [PATCH] staging: octeon: fixed few coding style warnings

2015-10-14 Thread Aaro Koskinen
Hi, On Wed, Oct 14, 2015 at 07:36:37PM +0530, Sakshi Bansal wrote: > Fixed allignment issues and line over 80 characters You are also doing many other things which are not mention in the commit log. > /* > - printk_ratelimited("Port %d

Re: [PATCH v3 2/2] Staging: octeon-usb: Changes macro CVMX_WAIT_FOR_FIELD32 to function call.

2018-07-29 Thread Aaro Koskinen
Hi, On Sun, Jul 29, 2018 at 02:40:35PM +0300, Georgios Tsotsos wrote: > +/** > + * Loop through register until txfflsh or rxfflsh become zero. > + * > + * @usb: USB block > + * @address: 64bit address to read > + * @timeout_usec: Timeout > + * @fflsh_type:Indicates fflsh type,

Re: [PATCH v4 1/1] Staging: octeon-usb: Using defined error codes and applying coding style

2018-07-29 Thread Aaro Koskinen
Hi, On Sun, Jul 29, 2018 at 05:33:38PM +0300, Georgios Tsotsos wrote: > diff --git a/drivers/staging/octeon-usb/octeon-hcd.c > b/drivers/staging/octeon-usb/octeon-hcd.c > index 3f44ac260eff..edf87d1b3609 100644 > --- a/drivers/staging/octeon-usb/octeon-hcd.c > +++ b/drivers/staging/octeon-usb/oct

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

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

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-22 Thread Aaro Koskinen
Hi, On Thu, Nov 22, 2018 at 10:31:31AM +0200, Peter Ujfalusi wrote: > On 20/11/2018 23.04, Aaro Koskinen wrote: > > On Tue, Nov 20, 2018 at 09:28:37AM +0200, Peter Ujfalusi wrote: > >> On 19/11/2018 20.46, Aaro Koskinen wrote: > >>> On Mon, Nov 19, 2018 at 12:40:40

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-22 Thread Aaro Koskinen
Hi, On Thu, Nov 22, 2018 at 03:12:36PM +, Russell King - ARM Linux wrote: > On Thu, Nov 22, 2018 at 10:29:48AM +, Russell King - ARM Linux wrote: > > On Tue, Nov 20, 2018 at 11:04:06PM +0200, Aaro Koskinen wrote: > > > I had switched to PIO mode in 2015 since the WARN

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-22 Thread Aaro Koskinen
Hi, On Fri, Nov 23, 2018 at 12:25:49AM +, Russell King - ARM Linux wrote: > The patch was more for Peter to take a peek at OK, I'll hack with other platforms meanwhile. A.

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Aaro Koskinen
Hi, On Fri, Nov 23, 2018 at 02:35:04PM +0200, Peter Ujfalusi wrote: > On 22/11/2018 17.12, Russell King - ARM Linux wrote: > > I'm also not sure about this: > > > > if (cpu_is_omap15xx()) > > end++; > > > > in dma_dest_len() - is that missing from the omap-dma driver? It

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Aaro Koskinen
Hi, On Fri, Nov 23, 2018 at 01:45:46PM +0200, Peter Ujfalusi wrote: > On 23/11/2018 0.01, Aaro Koskinen wrote: > > With that reverted, the DMA works OK (and I can also now confirm that > > OMAP_DMA_LCH_2D works). I haven't yet checked if we actually need that > > q

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Aaro Koskinen
Hello, On Sat, Nov 24, 2018 at 05:48:23PM +, Russell King - ARM Linux wrote: > Hmm, there's more questionable stuff in this driver, and the gadget > layer. [...] > So, whatever way I look at this, the code in the removal path both > in omap_udc and the gadget removal code higher up looks ver

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-25 Thread Aaro Koskinen
Hi, On Sun, Nov 25, 2018 at 11:11:05AM +, Russell King - ARM Linux wrote: > I think we're better off leaving omap-udc well alone, and if it's > now broken with DMA, then that's unfortunate - it would require > someone with the hardware to diagnose the problem and fix it. I > think trying to c

Re: [PATCH] MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5912/OMAP310

2018-11-19 Thread Aaro Koskinen
Hi, On Mon, Nov 19, 2018 at 11:58:32AM +0200, Peter Ujfalusi wrote: > On 2018-11-18 22:19, Aaro Koskinen wrote: > > Tested on OMAP15XX/OMAP310 (Palm TE), OMAP1710 (Nokia 770) > > and OMAP2420 (Nokia N810). > > Do you know if the DMA is enabled for the MMC? It might not work

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-19 Thread Aaro Koskinen
tation, but based on what omap_udc driver (still using the legacy OMAP DMA API) does this seems to be correct. I tested the patch on Nokia 770 with MMC and couldn't see any negative impact. Tested-by: Aaro Koskinen A. > --- > drivers/dma/ti/omap-dma.c | 11 +++ >

[PATCH] ARM: OMAP1/2: fix SoC name printing

2018-11-19 Thread Aaro Koskinen
Currently we get extra newlines on OMAP1/2 when the SoC name is printed: [0.00] OMAP1510 [0.00] revision 2 handled as 15xx id: bc058c9b93111a16 [0.00] OMAP2420 [0.00] Fix by using pr_cont. Signed-off-by: Aaro Koskinen --- arch/arm/mach-omap1/id.c | 6

[PATCH] ARM: OMAP1: devices: configure omap1_spi100k only on OMAP7xx

2018-11-19 Thread Aaro Koskinen
Configure omap1_spi100k only on OMAP7xx. This allows running multiboard kernels on non-OMAP7xx HW with CONFIG_SPI_OMAP_100K enabled. Signed-off-by: Aaro Koskinen --- arch/arm/mach-omap1/devices.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm

[PATCH v2] MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310

2018-11-19 Thread Aaro Koskinen
0) and OMAP2420 (Nokia N810). [1] https://marc.info/?t=12317519703&r=1&w=2 Fixes: 46a6730e3ff9 ("mmc-omap: Fix omap to use MMC_POWER_ON") Reported-by: Ladislav Michl Reported-by: Andrzej Zaborowski Tested-by: Ladislav Michl Acked-by: Tony Lindgren Signed-off-by: Aaro Kos

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-20 Thread Aaro Koskinen
Hi, On Tue, Nov 20, 2018 at 09:28:37AM +0200, Peter Ujfalusi wrote: > On 19/11/2018 20.46, Aaro Koskinen wrote: > > On Mon, Nov 19, 2018 at 12:40:40PM +0200, Peter Ujfalusi wrote: > >> When the channel is configured for slave operation the LCH_TYPE needs to be > >&g

[PATCH] MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5912/OMAP310

2018-11-18 Thread Aaro Koskinen
0) and OMAP2420 (Nokia N810). [1] https://marc.info/?t=12317519703&r=1&w=2 Fixes: 46a6730e3ff9 ("mmc-omap: Fix omap to use MMC_POWER_ON") Reported-by: Ladislav Michl Reported-by: Andrzej Zaborowski Signed-off-by: Aaro Koskinen --- drivers/mmc/host/omap.c | 11 +-- 1

[PATCH] ARM: OMAP1: fix USB configuration for device-only setups

2018-12-04 Thread Aaro Koskinen
Currently we do USB configuration only if the host mode (CONFIG_USB) is enabled. But it should be done also in the case of device-only setups, so change the condition to CONFIG_USB_SUPPORT. This allows to use omap_udc on Palm Tungsten E. Signed-off-by: Aaro Koskinen --- arch/arm/mach-omap1

[PATCH] ARM: OMAP1: add MMC configuration for Palm Tungsten E

2018-12-04 Thread Aaro Koskinen
Add initial MMC configuration for Palm Tungsten E to allow using a proper rootfs on the device. This still assumes the bootloader enabling the MMC, and that the card is always present and writeable. Signed-off-by: Aaro Koskinen --- arch/arm/mach-omap1/board-palmte.c | 29

[PATCH] staging: octeon-usb: use a helper function to set the DMA mask

2018-12-04 Thread Aaro Koskinen
Use a helper function to set the DMA mask. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon-usb/octeon-hcd.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index 9c766f5b812f

[PATCH] staging: octeon-ethernet: delete redundant include

2018-12-05 Thread Aaro Koskinen
cvmx-smix-defs.h is not needed by this driver. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-mdio.c | 1 - drivers/staging/octeon/ethernet.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/octeon/ethernet-mdio.c b/drivers/staging/octeon/ethernet

Re: Fwd: [PATCH RFC 00/15] Zero ****s, hugload of hugs <3

2018-11-30 Thread Aaro Koskinen
On Fri, Nov 30, 2018 at 11:48:24AM -0800, Kees Cook wrote: > Better yet, since it's only 17 files, how about doing context-specific > changes? "This API is terrible" I think we should only use "good" with selected operators like !, ++, -- E.g. "This API is !good++" Suggested-by: George Orwell A

[PATCH] MIPS: OCTEON: cavium_octeon_defconfig: re-enable OCTEON USB driver

2018-11-10 Thread Aaro Koskinen
Re-enable OCTEON USB driver which is needed on older hardware (e.g. EdgeRouter Lite) for mass storage etc. This got accidentally deleted when config options were changed for OCTEON2/3 USB. Fixes: f922bc0ad08b ("MIPS: Octeon: cavium_octeon_defconfig: Enable more drivers") Signed-of

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-12-17 Thread Aaro Koskinen
On Thu, Nov 22, 2018 at 03:12:36PM +, Russell King - ARM Linux wrote: > Also we can't deal with the omap_set_dma_dest_burst_mode() setting - > DMAengine always uses a 64 byte burst, but udc wants a smaller burst > setting. Does this matter? Looking at OMAP1 docs, it seems it supports only 16

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-12-17 Thread Aaro Koskinen
Hi, On Sun, Nov 25, 2018 at 09:14:28AM -0800, Tony Lindgren wrote: > * Aaro Koskinen [181125 16:58]: > > Below changes get traffic going with DMA & g_ether... > > Oh cool, if you have dma and g_ether working, you should > test it with a variable size ping test loop :) Th

Re: Fixing MIPS delay slot emulation weakness?

2018-12-17 Thread Aaro Koskinen
Hi, On Mon, Dec 17, 2018 at 01:55:28AM +, Maciej W. Rozycki wrote: > As to actual implementations I believe all the Cavium Octeon line CPUs > (David, please correct me if I am wrong) have no FPU and they have vendor > extensions beyond the base ISA + ASE instruction set. Arguably you could

[PATCH] ARM: OMAP: DTS: N950/N9: fix onenand timings

2018-12-23 Thread Aaro Koskinen
ng on both Nokia N950 and N9. Fixes: a758f50f10cf ("mtd: onenand: omap2: Configure driver from DT") Signed-off-by: Aaro Koskinen --- arch/arm/boot/dts/omap3-n950-n9.dtsi | 42 ++-- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/o

Bug report: unaligned access with ext4 encryption

2018-12-30 Thread Aaro Koskinen
Hi, When using ext4 encryption on SPARC, there's plenty of dmesg noise about unaligned access: [ 167.269526] Kernel unaligned access at TPC[5497a0] find_and_lock_process_key+0x80/0x120 [ 167.270152] Kernel unaligned access at TPC[5497a0] find_and_lock_process_key+0x80/0x120 [ 181.087451] log

Re: Bug report: MIPS CI20/jz4740-mmc DMA and PREEMPT_NONE

2018-10-17 Thread Aaro Koskinen
Hi, On Wed, Oct 17, 2018 at 03:38:07PM +0200, Mathieu Malaterre wrote: > Since CONFIG_PREEMPT has been 'y' since at least commit 0752f92934292 > could you confirm that the original mmc driver (kernel from imgtech > people) did work ok with PREEMPT_NONE (sorry I did not do my homework) > ? Sorry,

Re: [REGRESSION] OCTEON MMC driver failure with v4.19

2018-11-06 Thread Aaro Koskinen
Hi, On Tue, Nov 06, 2018 at 07:27:24AM +0100, Christoph Hellwig wrote: > On Tue, Nov 06, 2018 at 12:06:32AM +0200, Aaro Koskinen wrote: > > With the below change, the MMC card probe seems to with v4.19. But it > > feels a bit hackish, don't you think... Is there some obvious

Re: [REGRESSION] OCTEON MMC driver failure with v4.19

2018-11-06 Thread Aaro Koskinen
Hi, On Tue, Nov 06, 2018 at 11:05:11AM +0200, Aaro Koskinen wrote: > On Tue, Nov 06, 2018 at 07:27:24AM +0100, Christoph Hellwig wrote: > > On Tue, Nov 06, 2018 at 12:06:32AM +0200, Aaro Koskinen wrote: > > > With the below change, the MMC card probe seems to with v4.19. But it

[PATCH v2] MAINTAINERS: update OMAP MMC entry

2018-11-06 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 change myself as a maintainer with "Odd Fixes" status. Signed-off-by: Aaro Koskinen Ack

Bug report: MIPS CI20/jz4740-mmc DMA and PREEMPT_NONE

2018-10-14 Thread Aaro Koskinen
Hi, There is something wrong with jz4740-mmc in current mainline kernel (tested v4.18 and 4.19-rc, the MMC support for CI20 does not exist prior those), as the DMA support does not work properly if I disable kernel pre-emption. The console gets flooded with: [ 16.461094] jz4740-mmc 1345.mmc

Re: [REGRESSION] OCTEON MMC driver failure with v4.19

2018-11-05 Thread Aaro Koskinen
Hi, On Fri, Oct 26, 2018 at 11:54:23PM +0300, Aaro Koskinen wrote: > OCTEON (MIPS64) MMC driver probe fails with v4.19, because with > > commit 6c2fb2ea76361da9b420a8e23a2a19e7842cbdda > Author: Robin Murphy > Date: Mon Jul 23 23:16:09 2018 +0100 > > of/device

<    1   2   3   4   5   6   >