Re: [PATCH] i2c: exynos5: Preserve high speed master code

2021-02-17 Thread Jesper Nilsson
Artpec development board with? What SoC? The ARTPEC-line of SoC:s are Axis Communications own ASICs, in the latest iteration it's a Cortex-53 and includes instances of the exynos5 HSI2C ip. > Best regards, > Krzysztof /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH] arm: remove unneeded semicolon

2021-02-02 Thread Jesper Nilsson
On Tue, Feb 02, 2021 at 03:02:37AM +0100, Yang Li wrote: > Eliminate the following coccicheck warning: > ./arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Reviewed-by: Jesper Nilsson > --- > arch/

Re: [PATCH] arm: remove unneeded semicolon in board-artpec6.c

2020-04-28 Thread Jesper Nilsson
On Tue, Apr 28, 2020 at 08:32:13AM +0200, Jason Yan wrote: > Fix the following coccicheck warning: > > arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon Acked-by: Jesper Nilsson > Signed-off-by: Jason Yan > --- > arch/arm/mach-artpec/board-artpec6.c | 2 +- &g

Re: [PATCH -next 27/30] pinctrl: artpec6: use devm_platform_ioremap_resource() to simplify code

2019-10-17 Thread Jesper Nilsson
On Thu, Oct 17, 2019 at 02:26:37PM +0200, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Signed-off-by: YueHaibing Acked-by: Jesper Nilsson > --- > drivers/pinctrl/pinctrl-artpec6.c | 4 +--- &g

Re: [PATCH -next] pinctrl: artpec6: Make two functions static

2019-04-08 Thread Jesper Nilsson
: > https://lore.kernel.org/lkml/20190327050126.12064-1-natechancel...@gmail.com/ > > Linus/Jesper/Lars, should this function just be deleted? I'd be happy to > send a patch doing so if that's the right course of action. Yes, that function is unused and can be dropped. > Thanks, > Nathan /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH -next] pinctrl: artpec6: Make two functions static

2019-03-21 Thread Jesper Nilsson
ec6.c:705:6: warning: > symbol 'artpec6_pmx_disable' was not declared. Should it be static? > > Signed-off-by: YueHaibing Acked-by: Jesper Nilsson > --- > drivers/pinctrl/pinctrl-artpec6.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > di

[PATCH] PCI: dwc: artpec6: Add reset-gpios for PERST# control

2018-04-15 Thread Jesper Nilsson
Some devices need an optional external gpio for controlling the PERST# signal to bring up for example a PCIe switch after a soft reset. Without this, some boards (the ARTPEC-6 master devboard) would not get the PCIe link back after a soft reset. Signed-off-by: Jesper Nilsson --- .../devicetree

Re: [PATCH 23/47] cpufreq: remove cris specific drivers

2018-03-15 Thread Jesper Nilsson
On Wed, Mar 14, 2018 at 04:35:36PM +0100, Arnd Bergmann wrote: > The cris architecture is getting removed, including the artpec3 > and etraxfs SoCs, so these cpufreq drivers are now unused. > > Signed-off-by: Arnd Bergmann Acked-by: Jesper Nilsson > --- > driver

Re: [PATCH 05/47] net: remove cris etrax ethernet driver

2018-03-15 Thread Jesper Nilsson
On Wed, Mar 14, 2018 at 04:35:18PM +0100, Arnd Bergmann wrote: > The cris architecture is getting removed, so we don't need the > ethernet driver any more either. > > Signed-off-by: Arnd Bergmann Acked-by: Jesper Nilsson > --- > drivers/net/Makefile |

Re: [PATCH 40/47] serial: remove cris/etrax uart drivers

2018-03-15 Thread Jesper Nilsson
On Wed, Mar 14, 2018 at 04:35:53PM +0100, Arnd Bergmann wrote: > The cris architecture is getting removed, so we don't need the > uart driver any more. > > Signed-off-by: Arnd Bergmann Acked-by: Jesper Nilsson > --- > .../bindings/serial/axis,etraxfs-uart.txt

Re: [GIT PULL] CRIS: Drop support for the CRIS-port

2018-03-13 Thread Jesper Nilsson
On Mon, Mar 12, 2018 at 09:21:25PM +0100, Arnd Bergmann wrote: > On Sun, Mar 11, 2018 at 12:05 PM, Jesper Nilsson > wrote: > > Hi Arnd, > > > > As promised, pull the below tag for the removal of the CRIS-port. > > There are still a few references to the CRIS port lef

Re: [GIT PULL] CRIS: Drop support for the CRIS-port

2018-03-11 Thread Jesper Nilsson
On Mon, Mar 12, 2018 at 01:13:44AM +1100, Stephen Rothwell wrote: > Hi Jesper, > > On Sun, 11 Mar 2018 12:05:51 +0100 Jesper Nilsson > wrote: > > > > As promised, pull the below tag for the removal of the CRIS-port. > > I guess the easiest thing for me to do is ju

[GIT PULL] CRIS: Drop support for the CRIS-port

2018-03-11 Thread Jesper Nilsson
Drop support for the CRIS port (2018-03-11 11:16:55 +0100) Drop support for the CRIS-port -------- Jesper Nilsson (1): CRIS: Drop support for the CRIS port

Re: CRIS port status, was: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-08 Thread Jesper Nilsson
stion > about microblaze: Michal, I know your work on microblaze linux has > been winding down over the years as the user base shrinks (just > like for all others above). Should we keep it for a few more years for > the remaining users, or is it time to let go? I would guess we still > have active users on modern kernels, but that's what I thought > about cris as well ;-) > > Arnd /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

[GIT PULL] CRIS urgent fixes for 4.16

2018-02-08 Thread Jesper Nilsson
2:10 +0100) CRIS urgent breakage fix for 4.16 The main Makefile for the CRIS port was overzealously scrubbed in 4.15-rc3, breaking the build for all CRIS SoCs. -------- Jesper Nilsson (1): CRI

[GIT PULL] CRIS for 4.16

2018-02-08 Thread Jesper Nilsson
cris: Fix conflicting types for _etext, _edata, _end arch/cris/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH] cris: Fix conflicting types for _etext, _edata, _end

2018-01-11 Thread Jesper Nilsson
kernel/setup.c > > @@ -24,6 +24,7 @@ > > #include > > #include > > #include > > +#include > > > > /* > > * Setup options > > @@ -31,7 +32,6 @@ > > struct screen_info screen_info; > > > > extern int root_mountflags

Re: [PATCH 05/67] dma-mapping: replace PCI_DMA_BUS_IS_PHYS with a flag in struct dma_map_ops

2018-01-09 Thread Jesper Nilsson
ision. > > Signed-off-by: Christoph Hellwig For the CRIS part: Acked-by: Jesper Nilsson > --- > arch/cris/arch-v32/drivers/pci/dma.c | 1 + > arch/cris/include/asm/pci.h | 6 -- /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 22/67] dma-mapping: clear harmful GFP_* flags in common code

2018-01-09 Thread Jesper Nilsson
On Fri, Dec 29, 2017 at 09:18:26AM +0100, Christoph Hellwig wrote: > Life the code from x86 so that we behave consistently. In the future we > should probably warn if any of these is set. > > Signed-off-by: Christoph Hellwig Acked-by: Jesper Nilsson > --- > arch/cris/ar

Re: [PATCH 34/67] cris: use dma-direct

2018-01-09 Thread Jesper Nilsson
lwig For CRIS: Acked-by: Jesper Nilsson > --- > arch/cris/Kconfig | 4 ++ > arch/cris/arch-v32/drivers/pci/Makefile | 2 +- > arch/cris/arch-v32/drivers/pci/dma.c| 78 > - > arch/cris/include/asm/Kbuild|

Re: [PATCH 01/25] arm: artpec: dts: Remove leading 0x and 0s from bindings notation

2017-12-15 Thread Jesper Nilsson
t;" > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x > from bindings notation") > > Reported-by: David Daney > Suggested-by: Rob Herring > Signed-off-by: Mathieu Malaterre Acked-by: Jesper Nilsson > --- > arch/

Re: [PATCH] arm: dts: Remove leading 0x and 0s from bindings notation

2017-12-15 Thread Jesper Nilsson
and adding a whitespace before the > the opening curly brace: > > https://elinux.org/Device_Tree_Linux#Linux_conventions > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x > from bindings notation") > > Reported-by: David Daney > Suggested-b

Re: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-28 Thread Jesper Nilsson
FIG_CRIS > +#warning "the CRIS architecture has physical and virtual addresses confused" > +#else > pcpu_free_alloc_info(ai); > +#endif > } > > #endif /* CONFIG_SMP */ Works for me, and thanks. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-22 Thread Jesper Nilsson
On Wed, Nov 22, 2017 at 03:17:00PM -0500, Nicolas Pitre wrote: > On Wed, 22 Nov 2017, Jesper Nilsson wrote: > > > On Mon, Nov 20, 2017 at 10:50:46PM -0500, Nicolas Pitre wrote: > > > On Mon, 20 Nov 2017, Guenter Roeck wrote: > > > > On Mon, Nov 20, 2017 at 07:2

Re: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-22 Thread Jesper Nilsson
he difference is cached and non-cached. That is actively (ab)used in the port, unfortunately, allthough I'm uncertain if this is the problem in this case. I get the same behaviour in my QEMU, but I've not been able to make sense of anything yet... > Nicolas /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 07/34] cpufreq: cris: remove calls to cpufreq_notify_transition()

2017-10-10 Thread Jesper Nilsson
7;t be moved to cpufreq core instead. > > Earlier patches have added support in cpufreq core to do cpufreq notification > on > frequency change, this one removes it from this driver. > > Some related minor cleanups are also done along with it. > Acked-by: Jesper Nilsson

Re: [PATCH -tip v9 3/5] cris: mark _stext and _end as char-arrays, not single char

2017-08-18 Thread Jesper Nilsson
unsigned long)_etext)) || > > ((addr >= module_start) && (addr <= module_end))) { > > BTW, I would like to ask cris people, this seems to check over 1 byte, > since _etext and module_end will be placed at the next byte of the real > address area. >

Re: [PATCH -tip v9 3/5] cris: mark _stext and _end as char-arrays, not single char

2017-08-18 Thread Jesper Nilsson
On Thu, Aug 03, 2017 at 11:37:15AM +0900, Masami Hiramatsu wrote: > Mark _stext and _end as character arrays instead of single > character, as same as include/asm-generic/sections.h does. Looks good. Acked-by: Jesper Nilsson > Signed-off-by: Masami Hiramatsu > --- > arch/cri

Re: [RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-05-09 Thread Jesper Nilsson
n, Apr 03, 2017 at 01:17:36PM +0200, Jesper Nilsson wrote: > Hi Richard, > > On Thu, Mar 30, 2017 at 11:29:15PM +0200, Richard Weinberger wrote: > > Jesper, > > > > Am 30.03.2017 um 19:39 schrieb Jesper Nilsson: > > >> So we should document this with

Re: [PATCH] pinctrl: make artpec6 explicitly non-modular

2017-04-20 Thread Jesper Nilsson
We also delete the MODULE_LICENSE tag etc. since all that information > is already contained at the top of the file in the comments. Agreed, building as module is useless for this central pin controller. Acked-by: Jesper Nilsson > Cc: Lars Persson > Cc: Niklas Cassel > Cc:

Re: [PATCH v2 12/27] cris: Use generic pci_mmap_resource_range()

2017-04-13 Thread Jesper Nilsson
On Wed, Apr 12, 2017 at 01:26:01PM +0100, David Woodhouse wrote: > From: David Woodhouse > > Signed-off-by: David Woodhouse For the CRIS part: Acked-by: Jesper Nilsson > --- > arch/cris/arch-v32/drivers/pci/bios.c | 23 --- > arch/cris/include/asm/pc

Re: [PATCH v3 08/32] cris: include default ioremap_nopost() implementation

2017-04-11 Thread Jesper Nilsson
oremap_nopost() implementation (currently > falling back to ioremap_nocache()) to provide a non-posted writes > ioremap interface to kernel subsystems. > > Signed-off-by: Lorenzo Pieralisi > Cc: Niklas Cassel > Cc: Bjorn Helgaas For the CRIS-part: Acked-by: Jesper Nil

Re: [PATCH v2] cris: remove unused wp_works_ok macro

2017-04-05 Thread Jesper Nilsson
On Wed, Apr 05, 2017 at 09:24:35PM +0200, Mathias Krause wrote: > It had no use since it's introduction in v2.4.1.2. Get rid of it. > > Cc: Mikael Starvik > Signed-off-by: Mathias Krause > Acked-by: Jesper Nilsson > --- > Same patch as v1 but as the tip folks took o

[PATCH 2/3 v2] pinctrl: Add pincontrol driver for ARTPEC-6 SoC

2017-04-03 Thread Jesper Nilsson
Add pinctrl driver support for the Axis ARTPEC-6 SoC. There are only some pins that actually have different functions available, but all can control bias (pull-up/-down) and drive strength. Code originally written by Chris Paterson. Signed-off-by: Jesper Nilsson --- Changes since v1: - Get rid

Re: [RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-04-03 Thread Jesper Nilsson
Hi Richard, On Thu, Mar 30, 2017 at 11:29:15PM +0200, Richard Weinberger wrote: > Jesper, > > Am 30.03.2017 um 19:39 schrieb Jesper Nilsson: > >> So we should document this with a big fat warning and set fastmap to > >> default=n ? > > > > Does this so

[PATCH v2] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-03-31 Thread Jesper Nilsson
n the real world and depending on it) Drop the experimental note and the warning text about the on-flash format not being finalized, but add a brief warning that Fastmap actually makes UBI less robust. Signed-off-by: Jesper Nilsson --- Changes in v2: - Add warning that Fastmap making UBI less r

Re: [RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-03-30 Thread Jesper Nilsson
Hi Richard, Marek, On Thu, Mar 30, 2017 at 12:01:41PM +0200, Marek Vasut wrote: > On 03/29/2017 10:04 PM, Richard Weinberger wrote: > > Jesper, > > > > Am 29.03.2017 um 17:38 schrieb Jesper Nilsson: > >> MTD_UBI_FASTMAP has been set as experimental since i

Re: [PATCH 2/3] pinctrl: Add pincontrol driver for ARTPEC-6 SoC

2017-03-30 Thread Jesper Nilsson
On Thu, Mar 30, 2017 at 02:07:33PM +0200, Linus Walleij wrote: > On Thu, Mar 30, 2017 at 1:33 PM, Jesper Nilsson > wrote: > > > Add pinctrl driver support for the Axis ARTPEC-6 SoC. > > There are only some pins that actually have different > > functions available, but

[PATCH 3/3] ARM: dts: ARTPEC-6: Add pinctrl configuration

2017-03-30 Thread Jesper Nilsson
Enable the pinctrl driver for ARTPEC-6 in the artpec6.dtsi with all main pinmux functions. Add pinctrl information to the relevant (uart) nodes. Signed-off-by: Jesper Nilsson --- arch/arm/boot/dts/artpec6.dtsi | 87 ++ 1 file changed, 87 insertions

[PATCH 2/3] pinctrl: Add pincontrol driver for ARTPEC-6 SoC

2017-03-30 Thread Jesper Nilsson
Add pinctrl driver support for the Axis ARTPEC-6 SoC. There are only some pins that actually have different functions available, but all can control bias (pull-up/-down) and drive strength. Code originally written by Chris Paterson. Signed-off-by: Jesper Nilsson --- MAINTAINERS

[PATCH 1/3] pinctrl: Add bindings for ARTPEC-6 pinmux

2017-03-30 Thread Jesper Nilsson
Add the bindings for the pinmux functions in the ARTPEC-6 SoC, including bias and drive strength. Signed-off-by: Jesper Nilsson --- .../bindings/pinctrl/axis,artpec6-pinctrl.txt | 85 ++ MAINTAINERS| 1 + 2 files changed, 86

[RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-03-29 Thread Jesper Nilsson
n the real world and depending on it) Drop the experimental note and the warning text about the on-flash format not being finalized. Signed-off-by: Jesper Nilsson --- drivers/mtd/ubi/Kconfig | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mt

[PATCH] ubifs: Don't block RENAME_WHITEOUT flag in rename

2017-03-29 Thread Jesper Nilsson
The test does not allow the valid flag RENAME_WHITEOUT and in fact, the calling function of do_rename already tests the flags, so the test is unnecessary, allowing us to drop it completely. With this patch RENAME_WHITEOUT for overlayfs on ubifs works as intended. Signed-off-by: Jesper Nilsson

Re: [PATCH 11/17] cris: Use generic pci_mmap_resource_range()

2017-03-22 Thread Jesper Nilsson
On Wed, Mar 22, 2017 at 01:25:25PM +, David Woodhouse wrote: > From: David Woodhouse Acked-by: Jesper Nilsson > Signed-off-by: David Woodhouse > --- > arch/cris/arch-v32/drivers/pci/bios.c | 23 --- > arch/cris/include/asm/pci.h | 1 + >

Re: [PATCH 5/6] cris: remove unused wp_works_ok macro

2017-02-13 Thread Jesper Nilsson
On Sun, Feb 12, 2017 at 10:12:11PM +0100, Mathias Krause wrote: > It had no use since it's introduction in v2.4.1.2. Get rid of it. Agreed. Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Signed-off-by: Mathias Krause > --- > arch/cris/include/arch-v10/arch/processor.h

Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h

2017-01-25 Thread Jesper Nilsson
t; content in module.h that we don't really need to compile this file. > > Reported-by: kbuild test robot > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > Signed-off-by: Paul Gortmaker > --- > > [This is to be added to

Re: [PATCH v2 0/7] uapi: export all headers under uapi directories

2017-01-11 Thread Jesper Nilsson
m/Kbuild is also > > used by scripts/Makefile.asm-generic). > > > > This series has been tested with a 'make headers_install' on x86 and a > > 'make headers_install_all'. I've checked the result of both commands. > > > > This patch is built against linus tree. I don't know if it should be > > made against antoher tree. > > The series should probably get merged through the kbuild tree, but testing > it on mainline is fine here. > > Arnd /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

[GIT PULL] CRIS changes for 4.10

2016-12-12 Thread Jesper Nilsson
files changed, 9 insertions(+), 9 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

[PATCH v2] net: phy: dp83848: Support ethernet pause frames

2016-12-02 Thread Jesper Nilsson
According to the documentation, the PHYs supported by this driver can also support pause frames. Announce this to be so. Tested with a TI83822I. Acked-by: Andrew F. Davis Signed-off-by: Jesper Nilsson --- drivers/net/phy/dp83848.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [PATCH] net: phy: dp83848: Support ethernet pause frames

2016-12-02 Thread Jesper Nilsson
On Fri, Dec 02, 2016 at 08:35:23AM -0600, Andrew F. Davis wrote: > On 12/02/2016 08:22 AM, Jesper Nilsson wrote: > > According to the documentation, the PHYs supported by this driver > > can also support pause frames. Announce this to be so. > > Tested with a TI83822I. >

[PATCH] net: phy: dp83848: Support ethernet pause frames

2016-12-02 Thread Jesper Nilsson
According to the documentation, the PHYs supported by this driver can also support pause frames. Announce this to be so. Tested with a TI83822I. Signed-off-by: Jesper Nilsson --- drivers/net/phy/dp83848.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy

Re: [GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-28 Thread Jesper Nilsson
On Mon, Nov 28, 2016 at 01:57:10PM +0100, Arnd Bergmann wrote: > On Monday, November 28, 2016 1:33:31 PM CET Jesper Nilsson wrote: > > > Hi Jesper and Niklas, > > > > > > I just found the old pull request while going through my mail backlog. > > > > >

Re: [GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-28 Thread Jesper Nilsson
On Sat, Nov 26, 2016 at 12:16:20AM +0100, Arnd Bergmann wrote: > On Thursday, November 10, 2016 4:09:31 PM CET Jesper Nilsson wrote: > > Please pull the below signed tag for a trio of minor changes > > adding PCIe for the ARM ARTPEC SoC. > > > > Thanks! > > &

[GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-10 Thread Jesper Nilsson
/boot/dts/artpec6.dtsi | 29 - arch/arm/mach-artpec/Kconfig | 3 +++ 3 files changed, 35 insertions(+), 1 deletion(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 3/3] serial: crisv10: fix invalid user-pointer check

2016-11-08 Thread Jesper Nilsson
On Tue, Nov 08, 2016 at 01:24:55PM +0100, Johan Hovold wrote: > Drop invalid user-pointer check from TIOCGSERIAL handler. > > A NULL-pointer can be valid in user space and copy_to_user() takes care > of sanity checking. > > Cc: Mikael Starvik Acked-by: Jesper Nilsson &g

Re: [PATCH] cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected

2016-11-07 Thread Jesper Nilsson
ild it if CONFIG_ETRAX_AXISFLASHMAP is enabled. Agreed, added to cris tree for 4.10. > Reported-by: kbuild test robot > Fixes: 66ab3a74c5ce ("CRIS: Merge machine dependent boot/compressed ..") > Signed-off-by: Guenter Roeck Thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH] tty: serial: make crisv10 explicitly non-modular

2016-11-07 Thread Jesper Nilsson
the init ordering remains unchanged with this commit. Agreed, put in the cris tree for 4.10. > We don't replace module.h with init.h since the file already has that. > > Cc: Mikael Starvik > Cc: Jesper Nilsson > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()

2016-11-07 Thread Jesper Nilsson
M_FAULT_RETRY. For the cris-part: Acked-by: Jesper Nilsson > Signed-off-by: Lorenzo Stoakes /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 10/10] mm: replace access_process_vm() write parameter with gup_flags

2016-10-17 Thread Jesper Nilsson
ss this flag. > > We make this explicit as use of FOLL_FORCE can result in surprising behaviour > (and hence bugs) within the mm subsystem. > > Signed-off-by: Lorenzo Stoakes > --- > arch/cris/arch-v32/kernel/ptrace.c | 4 ++-- For the CRIS part: Acked-by: Jespe

Re: [PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags

2016-10-17 Thread Jesper Nilsson
ng behaviour (and hence > bugs) within the mm subsystem. > > Signed-off-by: Lorenzo Stoakes > --- > arch/cris/arch-v32/drivers/cryptocop.c | 4 +--- For the CRIS part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

[GIT PULL]: CRIS changes for 4.9

2016-10-08 Thread Jesper Nilsson
ederick (1): CRIS: defconfig: remove MTDRAM_ABS_POS Jesper Nilsson (1): cris: intmem: fix device_initcall compile warning Niklas Cassel (8): cris: intmem: fix pointer comparison compile warning cris: fasttimer: fix mixed declarations and code compile warning cris: irq: stop

[PATCH] DMA: nbpfaxi: check for errors from dma_map_single

2016-10-05 Thread Jesper Nilsson
Check for error return from dma_map_single. Move the addition of the node to the list to after we check for error, so we can reuse the list in unmapping. Found by enabling CONFIG_DMA_API_DEBUG. Signed-off-by: Jesper Nilsson --- drivers/dma/nbpfaxi.c | 15 ++- 1 file changed, 14

Re: [PATCH] cris: migrate exception table users off module.h and onto extable.h

2016-09-23 Thread Jesper Nilsson
t; content in module.h that we don't really need to compile this file. Thanks, added to cris for-next. > Cc: Mikael Starvik > Cc: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > Signed-off-by: Paul Gortmaker /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: arch/cris/arch-v32/mm/intmem.c:148:17: error: initialization from incompatible pointer type

2016-09-23 Thread Jesper Nilsson
'__define_initcall' > __attribute__((__section__(".initcall" #id ".init"))) = fn; \ > ^~ >arch/cris/arch-v32/mm/intmem.c:148:1: note: in expansion of macro >

Re: [PATCH v12 01/15] PCI: Let pci_mmap_page_range() take extra resource pointer

2016-06-07 Thread Jesper Nilsson
> > Signed-off-by: Yinghai Lu > Cc: linux-arm-ker...@lists.infradead.org For the CRIS part: Acked-by: Jesper Nilsson > diff --git a/arch/cris/arch-v32/drivers/pci/bios.c > b/arch/cris/arch-v32/drivers/pci/bios.c > index 64a5fb9..082efb9 100644 > --- a/arch/cris/arch-v32/

Re: [PATCH 13/54] MAINTAINERS: Add file patterns for cris device tree bindings

2016-05-23 Thread Jesper Nilsson
On Sun, May 22, 2016 at 11:05:50AM +0200, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson >

Re: [PATCH v4 06/18] cris: Remove unnecessary of_platform_populate with default match table

2016-05-16 Thread Jesper Nilsson
tarvik Acked-by: Jesper Nilsson > Signed-off-by: Kefeng Wang > --- > arch/cris/kernel/setup.c | 8 > 1 file changed, 8 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [patch V4 02/31] bitops: Include generic parity.h in some architectures' bitops.h

2016-05-11 Thread Jesper Nilsson
On Wed, May 11, 2016 at 05:06:17PM +0800, zengzhao...@163.com wrote: > From: Zhaoxiu Zeng > > Simply use the generic version. > > Signed-off-by: Zhaoxiu Zeng > Acked-by: Hans-Christian Noren Egtvedt [for avr32] For the CRIS part: Acked-by: Jesper Nilsson /^J

Re: [PATCH 1/2] dt-bindings: pci: add DT binding for Axis ARTPEC-6 PCIe controller

2016-05-07 Thread Jesper Nilsson
s property. > > +- interrupt-names: Must include the following entries: > > + - "msi": The interrupt that is asserted when an MSI is received > > +- syscon: Should contain a link to the syscon device node. > > What is the syscon for? Perhaps a name that reflect

Re: [PATCH V3 04/11] CRIS v32: nand: set ECC algorithm explicitly

2016-04-22 Thread Jesper Nilsson
On Sun, Apr 17, 2016 at 10:53:00PM +0200, Rafał Miłecki wrote: > This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to > enum nand_ecc_algo). > > Signed-off-by: Rafał Miłecki Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson --

[GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
, 20 insertions(+), 15 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
On Thu, Jan 21, 2016 at 03:28:52PM +0530, Sudip Mukherjee wrote: > On Thu, Jan 21, 2016 at 10:30:06AM +0100, Jesper Nilsson wrote: > > are available in the git repository at: > > > > > > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/jesper/cris.git > &g

[GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
ugport.c | 22 +++--- arch/cris/arch-v10/kernel/head.S |6 -- arch/cris/arch-v32/kernel/head.S |6 -- arch/cris/kernel/vmlinux.lds.S|1 + 4 files changed, 20 insertions(+), 15 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson

Re: [PATCH v2 15/25] cris: nand: use the mtd instance embedded in struct nand_chip

2015-12-08 Thread Jesper Nilsson
ezillon Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kerne

Re: [PATCH v2 18/25] cris: nand: remove useless mtd->priv = chip assignments

2015-12-08 Thread Jesper Nilsson
Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/maj

Re: [GIT PULL]: CRIS changes for 4.4

2015-11-03 Thread Jesper Nilsson
On Tue, Nov 03, 2015 at 01:49:23AM +0100, Stephen Rothwell wrote: > Hi Jesper, > > On Mon, 2 Nov 2015 21:17:03 +0100 Jesper Nilsson > wrote: > > > > Please pull CRIS changes for 4.4: > > > > Mostly another batch of code removal due to move to standard

Re: Problems with 'mtd: warn when registering the same master many times'

2015-11-02 Thread Jesper Nilsson
> We'll see if Jesper has any comments. I didn't see an easy way to fix that > driver myself, so I guess we may have to live with the warning for now. Yeah, I'm sorry to say that we're aware of the problem but haven't got to fixing it... At one time (3.20?), the cod

[GIT PULL]: CRIS changes for 4.4

2015-11-02 Thread Jesper Nilsson
hex format Chen Gang (2): cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12 cris: arch-v10: kgdb: Add '__used' for static variable is_dyn_brkp Guenter Roeck (1): cris: Drop reference to get_cmos_time() Jesper Nilsson (1): CRIS: Drop code related to o

Re: [PATCH -next] cris: Drop reference to get_cmos_time()

2015-10-26 Thread Jesper Nilsson
el/built-in.o:(___ksymtab+get_cmos_time+0x0): > undefined reference to `get_cmos_time' > Makefile:946: recipe for target 'vmlinux' failed Agreed, added to the cris-tree. Thanks, /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscr

Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-10-20 Thread Jesper Nilsson
It also looks like Miroslav's patch will handle the other cases of a accidental user initiated set of a bad date or a maliciously set NTP. Though, from my point of view, a wrap-around to 1970 would be just as valid as a jump one week in the past. What's the current status of that patch?

[RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-10-09 Thread Jesper Nilsson
Allow TFD_TIMER_CANCEL_ON_SET on timerfd_settime() with relative as well as absolute timeout. Signed-off-by: Jesper Nilsson --- Resending after some discussion with Thomas Gleixner at ELCE, and Cc:ing John Stultz and Michael Kerrisk who may have comments. Longer background: One of the uses for

Re: CRIS v32: leftover references on ETRAX_VIRTUAL_GPIO

2015-10-02 Thread Jesper Nilsson
and ARTPEC-3 should now be through standard gpiolib instead. Signed-off-by: Jesper Nilsson --- arch/cris/arch-v10/kernel/head.S | 106 - arch/cris/arch-v10/mm/init.c | 14 +-- arch/cris/arch-v32/kernel/debugport.c |2 - arch/cris/arch-v32/kernel/head.S

Re: CRIS v32: leftover references on ETRAX_VIRTUAL_GPIO

2015-10-02 Thread Jesper Nilsson
x27;ll roll a patch for removing them, thanks for the heads-up! /Jesper > I found the issue with scripts/checkkconfigsymbols.py. > > Kind regards, > Valentin /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send

Re: [PATCH] cris: time: Cleanup of persistent clock stuff

2015-10-01 Thread Jesper Nilsson
On Fri, Jul 17, 2015 at 05:31:26PM +0800, Xunlei Pang wrote: > From: Xunlei Pang > > - Remove update_persistent_clock(), as it does nothing now. > - Remove read_persistent_clock(), let it fall back to the weak version. Thanks, applied to the cris tree. /^JN - Je

Re: [PATCH 1/1] cris: re-use helpers to dump data in hex format

2015-10-01 Thread Jesper Nilsson
hevchenko /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 5/6] CRIS v32: remove I2C bitbanging driver

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:23PM +0200, Rabin Vincent wrote: > Now that we have a gpiolib GPIO driver, the generic i2c-gpio driver > provides this functionality. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 6/6] CRIS v32: remove old GPIO and LEDs code

2015-10-01 Thread Jesper Nilsson
various generic external chip drivers replace the "virtual > gpio" parts. > > The generic gpio-leds driver replaces the LED handling. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from thi

Re: [PATCH 4/6] CRIS v32: add ARTPEC-3 and P1343 device trees

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:22PM +0200, Rabin Vincent wrote: > Add a device tree for the Axis P1343 with the ARTPEC-3 SoC and on-board > LEDs and RTC. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscrib

Re: [PATCH 3/6] CRIS v32: dev88: add GPIO, LEDs, RTC, temp sensor

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:21PM +0200, Rabin Vincent wrote: > Add the GPIO driver to the device tree and, using it, support for the > LEDs and the RTC chip (via I2C-GPIO), as well as the temperature sensor > (via SPI-GPIO). Applied to the cris tree, thanks! /^JN - Jespe

Re: [PATCH 2/6] CRIS: add dt-bindings symlink

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:20PM +0200, Rabin Vincent wrote: > Add a dt-bindings symlink to get DT include files, as on other > architectures. See c58299a ("kbuild: create an "include chroot" for DT > bindings") for the details. Applied to the cris tree, t

Re: [PATCH 1/6] CRIS v32: increase NR_IRQS

2015-10-01 Thread Jesper Nilsson
On Mon, Aug 03, 2015 at 08:19:19PM +0200, Rabin Vincent wrote: > Increase NR_IQRS so we can fit in GPIO interrupts. Applied to the cris tree, thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "uns

Re: [PATCH v3] cris: arch-v10: kgdb: Add '__used' for static variable is_dyn_brkp

2015-10-01 Thread Jesper Nilsson
uilt-in.o: In function `kgdb_handle_breakpoint': > (.text+0x2aca): undefined reference to `is_dyn_brkp' > arch/cris/arch-v10/kernel/built-in.o: In function `is_static': > kgdb.c:(.text+0x2ada): undefined reference to `is_dyn_brkp' > > Signed-off-by: Chen Gang

Re: [PATCH] cris: arch-v10: kgdb: Use BAR instead of DTP0 for register P12

2015-10-01 Thread Jesper Nilsson
l) response time and thanks! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.or

Re: [PATCH v2, resend 1/1] cris: kgdb: use native hex2bin

2015-10-01 Thread Jesper Nilsson
ver is broken. :-P /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

Re: [PATCH] cris: kgdb: use native hex2bin

2015-09-30 Thread Jesper Nilsson
On Wed, Sep 30, 2015 at 08:02:34PM +0200, Jesper Nilsson wrote: > On Wed, Sep 30, 2015 at 06:37:51PM +0300, Andy Shevchenko wrote: > > On Wed, 2015-09-30 at 17:22 +0200, Jesper Nilsson wrote: > > > On Wed, Sep 30, 2015 at 04:46:53PM +0200, Andy Shevchenko wrote: > > > &g

Re: [PATCH] cris: kgdb: use native hex2bin

2015-09-30 Thread Jesper Nilsson
On Wed, Sep 30, 2015 at 06:37:51PM +0300, Andy Shevchenko wrote: > On Wed, 2015-09-30 at 17:22 +0200, Jesper Nilsson wrote: > > On Wed, Sep 30, 2015 at 04:46:53PM +0200, Andy Shevchenko wrote: > > > On Tue, 2013-06-04 at 11:51 +0300, Andy Shevchenko wrote: > > > > T

Re: [PATCH] cris: kgdb: use native hex2bin

2015-09-30 Thread Jesper Nilsson
nt them > > customly. > > > > No one is interested in this? Hm, dunno why, but obviously I've missed these patches, and I can't find them on my main mailaccount either. Anyways, I found them on a secondary account, and have added them to the CRIS linux-next tree. Thanks!

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-18 Thread Jesper Nilsson
logs/stdio > > for a complete log. > > Is there a chance to get proper backtrace? Yes, it should be possible with CONFIG_KALLSYMS=y in the kconfig. /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the line "unsu

[GIT PULL]: CRIS changes for 4.3

2015-09-12 Thread Jesper Nilsson
up missing syscalls Christophe Jaillet (1): cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset Jesper Nilsson (3): CRISv32: ETRAX FS: Squash warnings in pinmux driver CRISv32: Add GPIO driver to the default configs CRISv32: Squash compile warnings for axisflash

[PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-09-07 Thread Jesper Nilsson
Allow TFD_TIMER_CANCEL_ON_SET on timerfd_settime() with relative as well as absolute timeout. Signed-off-by: Jesper Nilsson --- Longer background: One of the uses for TFD_TIMER_CANCEL_ON_SET is to get an event when the CLOCK_REALTIME changes (as by NTP or user action). In this case, the timeout

  1   2   3   4   >