[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 --- 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/menelaus.c index 9f01aef

[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=14197028735&r=1&w=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. Aar

[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 --- 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/class.c @@ -225,15

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

2015-03-28 Thread Aaro Koskinen
read 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 --- drivers/rtc/interface.c | 5 +++-- 1

[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 --- 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/hctosys.c +++ b

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

Re: [PATCHv3 1/2] HSI: cmt_speech: Add cmt-speech driver

2015-03-29 Thread Aaro Koskinen
e/speech data between > the Nokia N900/N950/N9's modem and its cpu. > > Signed-off-by: Kai Vehmanen > Signed-off-by: Carlos Chinea > Signed-off-by: Joni Lapilainen Acked-by: Aaro Koskinen A. -- To unsubscribe from this list: send the line "unsubscribe li

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

Re: [PATCH 1/2] octeon-usb:Fix coding style issue with space between function name and opening bracket

2015-03-24 Thread Aaro Koskinen
Hi, On Tue, Mar 24, 2015 at 08:08:16AM -0400, Nicholas Krause wrote: > On March 24, 2015 3:08:09 AM EDT, Dan Carpenter > wrote: > >On Mon, Mar 23, 2015 at 05:08:52PM -0400, Nicholas Krause wrote: > >> On March 23, 2015 9:06:26 AM EDT, Dan Carpenter > > wrote: > >> >On Mon, Mar 23, 2015 at 08:53:

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 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 > --- > drivers/staging/octeon-usb/octeon-hcd.c | 2 +- > 1

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

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

2015-03-15 Thread Aaro Koskinen
Hi, On Thu, Mar 05, 2015 at 05:31:31PM +0300, Aleksey Makarov wrote: > From: David Daney > > Don't assume they are there, the device tree will tell us. > > Signed-off-by: David Daney > Signed-off-by: Aleksey Makarov Tested-by: Aaro Koskinen A. -- To unsubscribe f

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

2015-03-15 Thread Aaro Koskinen
aney > Signed-off-by: Leonid Rosenboim > Signed-off-by: Aaron Williams > Signed-off-by: Chandrakala Chavva > Signed-off-by: Peter Swain > [aleksey.maka...@auriga.com: preparation for submission] > Signed-off-by: Aleksey Makarov Seems to work fine on EdgeRouter Pro (cn61xx).

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

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

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

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 sh

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 > > 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 "address,size"

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 > > Add coverage for OCTEON III models. [...] > +#define OCTEON_IS_OCTEON1() OCTEON_IS_MODEL(OCTEON_CN3XXX) > +#define OCTEON_IS_OCTEONPLUS() OCTEON_IS_MODEL(OCTEON_CN5XXX) > +#define OCTEON_IS_OCTE

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 > > 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 of a message to m

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

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 > >> > >>Needed by follow-on patch

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

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:

Re: [PATCH 00/10] omap3 crypto fixes

2015-02-26 Thread Aaro Koskinen
ac-sha1 alg: hash: Chunking test 1 failed for omap-hmac-md5 But that's probably unrelated to this series. For patches 1-8, feel free to add: Tested-by: Aaro Koskinen A. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

Re: 3.20-rc0 breaks nfsroot over usb

2015-02-26 Thread Aaro Koskinen
Hi, On Thu, Feb 26, 2015 at 11:19:50PM +0100, Pavel Machek wrote: > Ok, it seems that new config dependencies broke my kconfig. These will > not be enabled if you just to make oldconfig; you want to make sure > they are on. > > OMAP2430 and onwards (USB_MUSB_OMAP2PLUS) [N/m/y] (NEW) > TWL4030 US

Re: [PATCH, RESEND] usb: musb: fix Kconfig regression

2015-02-27 Thread Aaro Koskinen
> Fixes: ca784be36cc725 ("usb: start using the control module driver") > Acked-by: Acked-by: Pavel Machek > Cc: # v3.9+ This patch allows me to disable redundant CONFIG_OMAP_CONTROL_PHY from 4.0-rc1 .config and still get a working USB on Nokia N9. So: Tested-by: Aaro Koskinen T

Re: [PATCH 1/9] HSI: cmt_speech: Add cmt-speech driver

2015-03-02 Thread Aaro Koskinen
Hi, On Mon, Mar 02, 2015 at 05:38:51AM +0100, Sebastian Reichel wrote: > From: Kai Vehmanen > > Introduces the cmt-speech driver, which implements > a character device interface for transferring speech > data frames over HSI/SSI. > > The driver is used to exchange voice/speech data between > th

Re: [PATCH 00/23] Nokia N950 display support

2016-03-08 Thread Aaro Koskinen
Hi, On Tue, Mar 08, 2016 at 05:39:32PM +0100, Sebastian Reichel wrote: > This series adds support for the Nokia N950 display. > Since the panel is using DSI command mode, it involves > adding support for manually updated displays to > omapdrm. Works OK, but the picture seems to be upside down? Al

[PATCH 1/2] MIPS: panic immediately when panic_on_oops

2016-03-09 Thread Aaro Koskinen
MIPS wants to sleep 5 seconds before panicking when panic_on_oops is set, with no apparent reason. Remove this feature, since some users may want their systems to fail as quickly as possible. Users who want to delay reboot after panic can use PANIC_TIMEOUT. Signed-off-by: Aaro Koskinen

[PATCH 2/2] PA-RISC: panic immediately when panic_on_oops

2016-03-09 Thread Aaro Koskinen
PA-RISC wants to sleep 5 seconds before panicking when panic_on_oops is set, with no apparent reason. Remove this feature, since some users may want their systems to fail as quickly as possible. Users who want to delay reboot after panic can use PANIC_TIMEOUT. Signed-off-by: Aaro Koskinen

[PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops

2016-03-09 Thread Aaro Koskinen
change will unify the behaviour with other architectures. Aaro Koskinen (2): MIPS: panic immediately when panic_on_oops PA-RISC: panic immediately when panic_on_oops arch/mips/kernel/traps.c | 5 + arch/parisc/kernel/traps.c | 5 + 2 files changed, 2 insertions(+), 8 deletions

Re: [PATCH 00/23] Nokia N950 display support

2016-03-09 Thread Aaro Koskinen
Hi, On Tue, Mar 08, 2016 at 09:45:11PM +0100, Sebastian Reichel wrote: > On Tue, Mar 08, 2016 at 08:39:08PM +0200, Aaro Koskinen wrote: > > On Tue, Mar 08, 2016 at 05:39:32PM +0100, Sebastian Reichel wrote: > > > This series adds support for the Nokia N950 display. > > &g

[PATCH] drivers/firmware/broadcom/bcm47xx_nvram.c: fix incorrect __ioread32_copy

2016-03-15 Thread Aaro Koskinen
ng") Signed-off-by: Aaro Koskinen --- drivers/firmware/broadcom/bcm47xx_nvram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/firmware/broadcom/bcm47xx_nvram.c b/drivers/firmware/broadcom/bcm47xx_nvram.c index 0c2f0a6..7fe5bf2 100644 --- a/drivers/firmware/broadcom/bcm47xx_n

Re: [PATCH] drivers/firmware/broadcom/bcm47xx_nvram.c: fix incorrect __ioread32_copy

2016-03-15 Thread Aaro Koskinen
Hi, On Tue, Mar 15, 2016 at 03:13:24PM -0700, Stephen Boyd wrote: > Ah sorry. That was a stupid mistake. But it might be bad to > access header->len now because that's still some device memory > and not the copy of the memory into ram anymore. How about > this patch instead? Commit text and author

[PATCH v2] drivers/firmware/broadcom/bcm47xx_nvram.c: fix incorrect __ioread32_copy

2016-03-15 Thread Aaro Koskinen
ne. Fix by keeping the old header pointer. The patch fixes totally broken networking on WRT54GL router (both LAN and WLAN interfaces fail to probe). Fixes: 1f330c327900 ("drivers/firmware/broadcom/bcm47xx_nvram.c: use __ioread32_copy() instead of open-coding") Signed-off-by: Aaro Koski

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

2015-11-20 Thread Aaro Koskinen
Hi, On Mon, May 18, 2015 at 02:40:44PM -0700, Aleksey Makarov wrote: > On 05/18/2015 02:05 PM, Aaro Koskinen wrote: > >On Mon, Mar 16, 2015 at 06:06:00PM +0300, Aleksey Makarov wrote: > >>The OCTEON MMC controller is currently found on cn61XX and cnf71XX > >>devi

Re: [4.4-rc][PATCH] gpio: omap: drop omap1 mpuio specific irq_mask/unmask callbacks

2015-11-20 Thread Aaro Koskinen
drv_probe) from [] (really_probe+0x160/0x29c) > > Hence, fix it by remove obsolete callbacks assignment. After this > changeomap_gpio_mask_irq()/omap_gpio_unmask_irq() will be used > for MPUIO IRQs masking, but this now happens anyway from > omap_gpio_irq_startup/shutdown(

[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: tools: usbip: detach: avoid calling strlen() at each iteration

2015-09-15 Thread Aaro Koskinen
Hi, On Tue, Sep 15, 2015 at 09:27:20PM +0100, Eric Curtin wrote: > Instead of calling strlen on every iteration of the for loop, just call it > once and cache the result in a temporary local variable which will be used > in the for loop instead. > > Signed-off-by: Eric Curtin > > diff --git a/t

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-02-11 Thread Aaro Koskinen
Hi, On Mon, Feb 11, 2019 at 08:38:00PM -0200, Alexandre Oliva wrote: > On Feb 11, 2019, Tom Li wrote: > >> and, more recently, a very slow system overall, that's been present since > >> 4.20. > > > The mainline framebuffer driver doesn't have any hardware drawing, printing > > even a single line

Re: [PATCH] staging: octeon-usb octeon-hcd: Fix several typos.

2019-03-15 Thread Aaro Koskinen
Hi, On Sat, Mar 09, 2019 at 03:18:27PM -0300, Laura Lazzati wrote: > I found that the comments had several typos such as "aenable", "internaly" > and some others. > I fixed them all. > > Signed-off-by: Laura Lazzati I spotted one more typo that could be fixed as well: > @@ -1797,7 +1797,7 @@

Re: [PATCH] ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation

2019-03-19 Thread Aaro Koskinen
: Drop board specific global GPIO > numbers") > Signed-off-by: Janusz Krzysztofik > Cc: sta...@vger.kernel.org Acked-by: Aaro Koskinen A.

Re: [PATCH] mtd: rawnand: ams-delta: Drop board specific partition info

2019-03-19 Thread Aaro Koskinen
On Tue, Mar 19, 2019 at 11:37:18PM +0100, Janusz Krzysztofik wrote: > After recent modifications, only a hardcoded partition info makes > the driver device specific. Other than that, the driver uses GPIO > exclusively and can be used on any hardware. > > Drop the partition info and use MTD partit

Re: Build regressions/improvements in v5.3-rc5

2019-08-21 Thread Aaro Koskinen
Hi, On Mon, Aug 19, 2019 at 11:07:49AM +0200, Geert Uytterhoeven wrote: > On Mon, Aug 19, 2019 at 10:47 AM Geert Uytterhoeven > wrote: > > JFYI, when comparing v5.3-rc5[1] to v5.3-rc4[3], the summaries are: > > - build errors: +7/-0 > > + /kisskb/src/include/asm-generic/5level-fixup.h: error

Re: [PATCH 02/13] MIPS: Loongson64: Sepreate loongson2ef/loongson64 code

2019-09-02 Thread Aaro Koskinen
On Wed, Aug 28, 2019 at 08:37:34AM +0800, Jiaxun Yang wrote: > On 2019/8/28 上午6:05, Aaro Koskinen wrote: > Hi Aaro, > >You need to update lemote2f_defconfig with his patch. > > How to generate this config? We should not edit it manually right? It's possible to edit

Re: [PATCH 21/22] ARM: omap1: use common clk framework

2019-08-14 Thread Aaro Koskinen
Hi, On Thu, Aug 08, 2019 at 11:43:39PM +0200, Arnd Bergmann wrote: > The omap1 clock driver now uses types and calling conventions > that are compatible with the common clk core. > > Turn on CONFIG_COMMON_CLK and remove all the code that is > now duplicated. > > Note: if this previous steps didn

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

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

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

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

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

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

OMAP DRM regression on N900

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

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

2019-08-27 Thread Aaro Koskinen
Hi, On Tue, Aug 27, 2019 at 06:33:01PM +0200, Arnd Bergmann wrote: > On Fri, Aug 16, 2019 at 10:34 AM Aaro Koskinen wrote: > > On Wed, Aug 14, 2019 at 12:36:40PM +0200, Arnd Bergmann wrote: > > > On Wed, Aug 14, 2019 at 9:49 AM Tony Lindgren wrote: > > > >

Re: [PATCH 02/13] MIPS: Loongson64: Sepreate loongson2ef/loongson64 code

2019-08-27 Thread Aaro Koskinen
Hi, On Tue, Aug 27, 2019 at 04:52:51PM +0800, Jiaxun Yang wrote: > As later model of GSx64 family processors including 2-series-soc have > similar design with initial loongson3a while loongson2e/f seems less > identical, we seprate loongson2e/f support code out of mach-loongson64 ^

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

2019-08-28 Thread Aaro Koskinen
Hi, On Wed, Aug 28, 2019 at 03:02:36PM +0200, Arnd Bergmann wrote: > On Tue, Aug 27, 2019 at 9:05 PM Aaro Koskinen wrote: > > On Tue, Aug 27, 2019 at 06:33:01PM +0200, Arnd Bergmann wrote: > > > On Fri, Aug 16, 2019 at 10:34 AM Aaro Koskinen > > > wrote: > >

Re: [PATCH] staging: octeon: Remove typedef declaration

2019-10-23 Thread Aaro Koskinen
Hi, On Tue, Oct 08, 2019 at 07:09:43AM +0300, Wambui Karuga wrote: > Fixes checkpatch.pl warning: do not add new typedefs in > drivers/staging/octeon/octeon-stubs.h:41 > > Signed-off-by: Wambui Karuga > --- > drivers/staging/octeon/octeon-stubs.h | 6 +++--- > 1 file changed, 3 insertions(+), 3

Re: [PATCH] staging: octeon: Fix incorrect type in assignment

2019-10-23 Thread Aaro Koskinen
Hi, On Thu, Oct 10, 2019 at 07:38:15AM +0300, Wambui Karuga wrote: > Fix the following warning generated by sparse in > drivers/staging/octeon/ethernet-tx.c: > > drivers/staging/octeon/ethernet-tx.c:563:50: warning: incorrect type in > assignment (different base types) > drivers/staging/octeon/e

Re: [Outreachy kernel] [PATCH v2 0/5] Remove typedef declarations in staging: octeon

2019-10-23 Thread Aaro Koskinen
Hi, On Sat, Oct 12, 2019 at 08:35:19PM +0200, Julia Lawall wrote: > On Sat, 12 Oct 2019, Wambui Karuga wrote: > > This patchset removes the addition of new typedefs data types in octeon, > > along with replacing the previous uses with the new declaration format. > > > > v2 of the series removes th

Re: [PATCH] irqchip/i8259: fix shutdown order by moving syscore_ops registration

2019-02-07 Thread Aaro Koskinen
Hi, On Thu, Feb 07, 2019 at 08:56:37AM +, Marc Zyngier wrote: > On 06/02/2019 21:26, Aaro Koskinen wrote: > > static void init_8259A(int auto_eoi) > > { > > unsigned long flags; > > @@ -332,6 +324,7 @@ struct irq_domain * __init __init_i8259_irqs(st

[PATCH] panic/reboot: allow specifying reboot_mode for panic only

2019-02-07 Thread Aaro Koskinen
From: Aaro Koskinen Allow specifying reboot_mode for panic only. This is needed on systems where ramoops is used to store panic logs, and user wants to use warm reset to preserve those, while still having cold reset on normal reboots. Signed-off-by: Aaro Koskinen --- .../admin-guide/kernel

[PATCH v2] panic/reboot: allow specifying reboot_mode for panic only

2019-02-08 Thread Aaro Koskinen
From: Aaro Koskinen Allow specifying reboot_mode for panic only. This is needed on systems where ramoops is used to store panic logs, and user wants to use warm reset to preserve those, while still having cold reset on normal reboots. Signed-off-by: Aaro Koskinen --- v2: Use

Re: [PATCH 0/1] mips: loongson64: move EC header to include/asm/mach-loongson64

2019-02-10 Thread Aaro Koskinen
Hi, On Sun, Feb 10, 2019 at 09:06:16PM +0800, Yifeng Li wrote: > In order to operate the Embedded Controller from multiple platform > drivers, it should be possible to include lemote-2f/ec_kb3310b.h > from everywhere. This commits move it from lemote-2f/ec_kb3310b.h > to include/asm/mach-loongson6

Re: [PATCH] ARM: dts: n900: fix mmc1 card detect gpio polarity

2019-01-21 Thread Aaro Koskinen
Hi, On Mon, Jan 21, 2019 at 09:11:01AM -0800, Tony Lindgren wrote: > * Arthur Demchenkov [190121 03:22]: > > Wrong polarity of card detect GPIO pin leads to the system not > > booting from external mmc, if the back cover of N900 is closed. > > When the cover is open the system boots fine. > > >

Re: [PATCH 1/5] mips: cavium: no need to check return value of debugfs_create functions

2019-01-22 Thread Aaro Koskinen
Hi, On Tue, Jan 22, 2019 at 03:57:38PM +0100, Greg Kroah-Hartman wrote: > -static int init_debufs(void) > +static void init_debugfs(void) > { > - struct dentry *show_dentry; > dir = debugfs_create_dir("oct_ilm", 0); > - if (!dir) { > - pr_err("oct_ilm: failed to create d

Re: [PATCH] KEYS: user: Align the payload buffer

2019-01-15 Thread Aaro Koskinen
some platforms would require more than 'long' alignment. > > Reported-by: Aaro Koskinen > Fixes: 2aa349f6e37c ("[PATCH] Keys: Export user-defined keyring operations") > Fixes: 88bd6ccdcdd6 ("ext4 crypto: add encryption key management facilities") > Cc: sta...@

[PATCH] MMC: OMAP: fix the maximum timeout setting

2019-02-02 Thread Aaro Koskinen
, OMAP310), and also checked on real hardware using Palm TE (OMAP310), Nokia 770 (OMAP1710) and Nokia N810 (OMAP2420) that MMC works as before. [1] http://www.ti.com/lit/ug/spru680/spru680.pdf Fixes: 730c9b7e6630f ("[MMC] Add OMAP MMC host driver") Signed-off-by: Aaro Koskinen --- dri

Re: [RFC v5 1/4] pstore/blk: new support logger for block devices

2019-01-23 Thread Aaro Koskinen
Hi, On Sat, Jan 19, 2019 at 04:53:48PM +0800, liaoweixiong wrote: > On 2019-01-18 08:12, Kees Cook wrote: > >> MTD (drivers/mtd/mtdoops.c). > > > > Would mtdoops get dropped in favor of pstore/blk, or do they not share > > features? > > We can show them what pstore/blk do. I think they will be i

Re: [RFC v7 0/5] pstore/block: new support logger for block devices

2019-01-23 Thread Aaro Koskinen
Hi, On Wed, Jan 23, 2019 at 08:05:11PM +0800, liaoweixiong wrote: > Why should we need pstore_block? > 1. Most embedded intelligent equipment have no persistent ram, which > increases costs. We perfer to cheaper solutions, like block devices. > In fast, there is already a sample for block device l

Re: [PATCH] dt-bindings: Convert vendor prefixes to json-schema

2019-05-11 Thread Aaro Koskinen
On Fri, May 10, 2019 at 02:40:18PM -0500, Rob Herring wrote: > Convert the vendor prefix registry to a schema. This will enable checking > that new vendor prefixes are added (in addition to the less than perfect > checkpatch.pl check) and will also check against adding other prefixes > which are no

Re: Running linux on qemu omap

2019-05-22 Thread Aaro Koskinen
Hi, On Wed, May 22, 2019 at 11:33:41AM +0200, Corentin Labbe wrote: > qemu-system-arm -M help |grep OMAP > cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) > n800 Nokia N800 tablet aka. RX-34 (OMAP2420) > n810 Nokia N810 tablet aka. RX-44 (OMAP2420) >

Re: [Qemu-devel] Running linux on qemu omap

2019-05-23 Thread Aaro Koskinen
Hi, On Thu, May 23, 2019 at 02:00:41PM +0200, Philippe Mathieu-Daudé wrote: > On 5/23/19 1:27 PM, Thomas Huth wrote: > > On 22/05/2019 20.19, Aaro Koskinen wrote: > >> On Wed, May 22, 2019 at 11:33:41AM +0200, Corentin Labbe wrote: > >>> qemu-system-arm -M

Re: [Qemu-devel] Running linux on qemu omap

2019-05-24 Thread Aaro Koskinen
Hi, On Fri, May 24, 2019 at 10:08:09AM +0100, Peter Maydell wrote: > On Thu, 23 May 2019 at 19:36, Aaro Koskinen wrote: > > Cheetah works with serial console. I tried with console on display, > > and it seems to boot up, and the frame buffer window gets correctly > > sized b

Re: [Qemu-devel] Running linux on qemu omap

2019-05-24 Thread Aaro Koskinen
Hi, On Fri, May 24, 2019 at 06:00:18PM +0300, Aaro Koskinen wrote: > Please don't delete OMAP boards quite yet :) In the mainline kernel > they are not orphaned, they frequently get tested using actual hardware, > and QEMU would help in additional testing. I'll try to get N8x0

Re: [PATCH v2] drivers: firmware: psci: add support for warm reset

2019-04-05 Thread Aaro Koskinen
Hi, On Fri, Apr 05, 2019 at 08:58:30AM +0530, saiprakash.ran...@codeaurora.org wrote: > On 2019-04-04 00:21, Aaro Koskinen wrote: > >From: Aaro Koskinen > > > >Add support for warm reset using SYSTEM_RESET2 introduced in PSCI > >1.1 specification. > > >

Re: [PATCH] dt-bindings: Convert vendor prefixes to json-schema

2019-05-13 Thread Aaro Koskinen
Hi, On Mon, May 13, 2019 at 08:02:08AM -0500, Rob Herring wrote: > On Sat, May 11, 2019 at 1:23 PM Aaro Koskinen wrote: > > On Fri, May 10, 2019 at 02:40:18PM -0500, Rob Herring wrote: > > > Convert the vendor prefix registry to a schema. This will enable checking > > &g

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

2019-08-13 Thread Aaro Koskinen
Hi, On Tue, Aug 13, 2019 at 01:02:16PM +0200, Arnd Bergmann wrote: > On Tue, Aug 13, 2019 at 12:36 PM Tony Lindgren wrote: > > * Arnd Bergmann [190808 21:34]: > > > The ISA I/O space handling in omap_cf is incompatible with > > > PCI drivers in a multiplatform kernel, and requires a custom > > >

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-06-10 Thread Aaro Koskinen
Hi, On Sun, May 26, 2019 at 06:19:00AM -0300, Alexandre Oliva wrote: > On Mar 8, 2019, "Maciej W. Rozycki" wrote: > > > Anyway I meant: does `war_io_reorder_wmb' expand to `wmb' on your system? > > No, it expands to `barrier' on the yeeloong: > > CONFIG_CPU_LOONGSON2F=y > CONFIG_CPU_LOONGSON

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-06 Thread Aaro Koskinen
Hi, On Thu, Jun 06, 2019 at 10:54:51AM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2019-06-06 at 01:50 +0300, Aaro Koskinen wrote: > > Hi, > > > > When upgrading from v5.0 -> v5.1 on G4 PowerBook, I noticed WLAN does > > not work anymore: > > > &

[RESEND PATCH v2] panic/reboot: allow specifying reboot_mode for panic only

2019-02-21 Thread Aaro Koskinen
From: Aaro Koskinen Allow specifying reboot_mode for panic only. This is needed on systems where ramoops is used to store panic logs, and user wants to use warm reset to preserve those, while still having cold reset on normal reboots. Signed-off-by: Aaro Koskinen --- v2: Use

[PATCH v3] panic/reboot: allow specifying reboot_mode for panic only

2019-02-21 Thread Aaro Koskinen
From: Aaro Koskinen Allow specifying reboot_mode for panic only. This is needed on systems where ramoops is used to store panic logs, and user wants to use warm reset to preserve those, while still having cold reset on normal reboots. Signed-off-by: Aaro Koskinen --- v3: Move

Re: [RESEND PATCH] mips: ralink: allow zboot

2019-03-21 Thread Aaro Koskinen
Hi, On Thu, Mar 21, 2019 at 11:03:34AM -0600, George Hilliard wrote: > Architecturally, there's nothing preventing compressed images from > working. Bootloaders built with support for the various compression > methods can decompress and run the kernel. In practice, many > bootloaders do not supp

[PATCH v4] panic/reboot: allow specifying reboot_mode for panic only

2019-03-21 Thread Aaro Koskinen
From: Aaro Koskinen Allow specifying reboot_mode for panic only. This is needed on systems where ramoops is used to store panic logs, and user wants to use warm reset to preserve those, while still having cold reset on normal reboots. Signed-off-by: Aaro Koskinen Reviewed-by: Kees Cook

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-02-17 Thread Aaro Koskinen
On Sun, Feb 17, 2019 at 01:59:26AM -0300, Alexandre Oliva wrote: > On Feb 11, 2019, Aaro Koskinen wrote: > > > ATA (libata) CS5536 driver is having issues with spurious IRQs and often > > disables IRQs completely during the boot. You should see a warning > > in dmesg.

Re: [PATCH] mtd: rawnand: ams-delta: Drop board specific partition info

2019-03-24 Thread Aaro Koskinen
Hi, On Sun, Mar 24, 2019 at 05:48:22PM +0100, Janusz Krzysztofik wrote: > Hi Aaro, > > Thanks for your review. > > On Wednesday, March 20, 2019 2:16:30 AM CET Aaro Koskinen wrote: > > On Tue, Mar 19, 2019 at 11:37:18PM +0100, Janusz Krzysztofik wrote: > > > Afte

[PATCH] staging: octeon-ethernet: fix incorrect PHY mode

2019-03-25 Thread Aaro Koskinen
rrect mode. Tested on EdgeRouter Lite (RGMII_RXID, at803x PHY) and D-Link DSR-500N (RGMII, broadcom PHY). Fixes: 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode") Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-mdio.c | 2 +- drivers/stagi

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-03-07 Thread Aaro Koskinen
Hi, On Thu, Mar 07, 2019 at 03:41:01AM -0300, Alexandre Oliva wrote: > On Feb 17, 2019, "Maciej W. Rozycki" wrote: > > > Is there an MMIO completion barrier missing there somewhere by any chance > > causing an IRQ that has been handled already to be redelivered because an > > MMIO write meant

Re: Bug report: unaligned access with ext4 encryption

2019-01-10 Thread Aaro Koskinen
Hi, On Fri, Jan 04, 2019 at 05:28:02PM +, David Howells wrote: > Eric Biggers wrote: > > Hi Aaro, thanks for the bug report! I think you're on the right track; it > > makes > > much more sense to have the keyrings subsystem store the payload with better > > alignment, than to work around th

Re: Bug report: unaligned access with ext4 encryption

2019-01-10 Thread Aaro Koskinen
Hi, On Thu, Jan 10, 2019 at 03:01:14PM -0800, Eric Biggers wrote: > On Fri, Jan 11, 2019 at 12:29:28AM +0200, Aaro Koskinen wrote: > > Hi, > > > > On Fri, Jan 04, 2019 at 05:28:02PM +, David Howells wrote: > > > Eric Biggers wrote: > > > > Hi Aaro,

Re: [PATCH] ARM: OMAP1: ams-delta: Fix impossible .irq < 0

2018-10-02 Thread Aaro Koskinen
o, drop the valueless check > and let the modem device be registered regardless of .irq value, and > the value handled by "serial8250" driver. > > Fixes: 0812db943748 ("ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO > descriptor") > Reported-by: Dan Carpenter > Signed-off-by: Janusz Krzysztofik Acked-by: Aaro Koskinen A.

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

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

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

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

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

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

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

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

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

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

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

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

4.17-rc1: early boot crash on x86_64 & pti

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

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

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

<    1   2   3   4   5   6   >