[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 <jesper.nils...@axis.com> --- .../bindings/pinctrl/axis,artpec6-pinctrl.txt | 85 ++ MAINTAINERS

[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 <jesper.nils...@axis.com> --- arch/arm/boot/dts/artpec6.dtsi | 87 ++

[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 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 <jesper.nils...@axis.com> > wrote: > > > Add pinctrl driver support for the Axis ARTPEC-6 SoC. > > There are only some pins that actually have differ

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

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

2017-03-29 Thread Jesper Nilsson
in 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 <jesper.nils...@axis.com> --- drivers/mtd/ubi/Kconfig | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/m

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

[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 <jesper.nils...@axis.

[PATCH v2] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-03-31 Thread Jesper Nilsson
in 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 <jesper.nils...@axis.com> --- Changes in v2: - Add warning that F

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

2017-04-11 Thread Jesper Nilsson
c ioremap_nopost() implementation (currently > falling back to ioremap_nocache()) to provide a non-posted writes > ioremap interface to kernel subsystems. > > Signed-off-by: Lorenzo Pieralisi <lorenzo.pieral...@arm.com> > Cc: Niklas Cassel <n...@flawful.org> > Cc: Bjorn

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 <d...@amazon.co.uk> > > Signed-off-by: David Woodhouse <d...@amazon.co.uk> For the CRIS part: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > --- > arch/cris

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 <jesper.nils...@axis.com> > Cc: Lars Persson <lars.per

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 <star...@axis.com> > Signed-off-by: Mathias Krause <mini...@googlemail.com> > Acked-by: Jesper Nilsson <jesper.

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

2017-08-18 Thread Jesper Nilsson
he real > address area. > As same as other arch, Should it be > > (addr < (unsigned long)_etext) > > or are there any other reason? As far as I can tell, this is non-intentional. > Thank you, > Masami Hiramatsu <mhira...@kernel.org> /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

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 <jesper.nils...@axis.com> > Signed-off-by: Masami H

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

2017-05-09 Thread Jesper Nilsson
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 a big fat warn

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

2017-10-10 Thread Jesper Nilsson
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 <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
e 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: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-28 Thread Jesper Nilsson
ifdef CONFIG_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: [PATCH] arm: dts: Remove leading 0x and 0s from bindings notation

2017-12-15 Thread Jesper Nilsson
networks.com> > Suggested-by: Rob Herring <r...@kernel.org> > Signed-off-by: Mathieu Malaterre <ma...@debian.org> > --- > arch/arm/boot/dts/artpec6.dtsi| 2 +- Acked-by: Jesper Nilsson <jesper.nils...@axis.com> /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

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

2017-12-15 Thread Jesper Nilsson
ot; > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x > from bindings notation") > > Reported-by: David Daney <dda...@caviumnetworks.com> > Suggested-by: Rob Herring <r...@kernel.org> > Signed-off-by: Mathieu Malaterre <

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

2018-01-11 Thread Jesper Nilsson
nt root_mountflags; > > -extern char _etext, _edata, _end; > > > > char __initdata cris_command_line[COMMAND_LINE_SIZE] = { 0, }; > > > > -- > > 2.15.1 > > /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

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

2018-01-09 Thread Jesper Nilsson
ig <h...@lst.de> For CRIS: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > --- > arch/cris/Kconfig | 4 ++ > arch/cris/arch-v32/drivers/pci/Makefile | 2 +- > arch/cris/arch-v32/drivers/pci/dma.c| 78 > ---

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 <h...@lst.de> Acked-by: Jesper Nilsson <je

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
on. > > Signed-off-by: Christoph Hellwig <h...@lst.de> For the CRIS part: Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > --- > 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

[GIT PULL] CRIS for 4.16

2018-02-08 Thread Jesper Nilsson
: 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

[GIT PULL] CRIS urgent fixes for 4.16

2018-02-08 Thread Jesper Nilsson
) 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): CRIS: Restore

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 <jesper.nils...@axis.com> > wrote: > > > > As promised, pull the below tag for the removal of the CRIS-port. > > I guess th

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

2018-03-11 Thread Jesper Nilsson
r 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 Documentatio

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 > <jesper.nils...@axis.com> wrote: > > Hi Arnd, > > > > As promised, pull the below tag for the removal of the CRIS-port. > > There are still a

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 <a...@arndb.de> Acked-by: Jesper Nilsson <jesper.nils...@axis.com> > --- > ..

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 <a...@arndb.de> Acked-by: Jesper Nilsson <jesper.nils...@axis.com> >

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 <a...@arndb.de> Acked-by: Jesper Nilsson <je

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

2018-03-08 Thread Jesper Nilsson
t; 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

[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 <jesper.n

Re: [PATCH] CRISv10 fasttimer: Scrap INLINE and name timeval_cmp better

2007-11-15 Thread Jesper Nilsson
On Wed, Nov 14, 2007 at 06:29:17PM -0800, Denys Vlasenko wrote: > On Wednesday 14 November 2007 09:08, Jesper Nilsson wrote: > > /* Not true gettimeofday, only checks the jiffies (uptime) + useconds */ > > -void __INLINE__ do_gettimeofday_fast(struct fasttime_t *tv) &

Re: cris build fixes

2007-11-20 Thread Jesper Nilsson
ternal development. Best regards, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-inf

[PATCH] CRIS: avoid using arch links in Kconfig

2007-11-21 Thread Jesper Nilsson
nks, which are created later in the build process. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- Kconfig |5 +++-- arch-v10/Kconfig |4 arch-v10/drivers/Kconfig |4 arch-v32/Kconfig |4 arch-v32/drivers/Kconfig |

Re: Upcomming CRIS patches

2007-10-26 Thread Jesper Nilsson
arch/cris > [...] Thanks! We'll clear those up in the process. > rday Best regards, /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAI

Re: [PATCH 11/16] CRIS architecture: Correct compile errors

2007-11-06 Thread Jesper Nilsson
On Tue, Nov 06, 2007 at 08:40:43AM +, David Woodhouse wrote: > You don't need #ifdef __KERNEL__ on a file which isn't exported to > userspace. Having removed that, I've applied it to my tree. Ok, thanks, I'll do the same change in our internal CVS. > dwmw2 /^JN - Jespe

Re: a list of non-existent but included include/linux header files

2007-11-06 Thread Jesper Nilsson
Robert P. J. Day /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH] CRISv10 Fix timer interrupt parameters

2007-11-07 Thread Jesper Nilsson
Fix timer interrupt parameters for CRIS v10. - irq_handler_t only takes two arguments, use get_irq_regs to get regs for profiling. - Call update_process_times. - Remove CVS tag. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- time.c | 11 +++ 1 file changed, 7 insertions

[PATCH] CRISv10 improve and bugfix fasttimer

2007-11-08 Thread Jesper Nilsson
to unsigned. - Remove CVS log and CVS id. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/kernel/fasttimer.c | 315 -- include/asm-cris/fasttimer.h | 16 + 2 files changed, 124 insertions(+), 207 deletions(-) diff --git a/arc

[PATCH] CRISv32: Add cache flush operations

2007-11-09 Thread Jesper Nilsson
. cris_flush_cache - Flush the complete cache. cris_flush_cache_range - Flush only the specified range Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- cache.c | 33 cacheflush.S | 94 +++ 2 files change

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-12 Thread Jesper Nilsson
On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: > On Thu, 8 Nov 2007 09:54:30 +0100 > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > Improve and bugfix CRIS v10 fast timers. > > I'm trying to work out what's going on with all this cris activity. I

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-14 Thread Jesper Nilsson
On Mon, Nov 12, 2007 at 04:44:56PM +0100, Jesper Nilsson wrote: > On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: > > > if (timeval_cmp(>tv_expires, ) <= 0) > > > > You have a private timeval_cmp(). Please take a look at utilising > >

[PATCH] CRIS tlb.h should include linux/pagemap.h

2007-11-14 Thread Jesper Nilsson
Include linux/pagemap.h for release_pages and page_cache_release. Fixes compilation error in arch/cris/mm/init.c when CONFIG_SWAP is unset. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- tlb.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/asm-cris/tlb.h b/inclu

[PATCH] CRISv10 usercopy library add lineendings to asm

2007-11-14 Thread Jesper Nilsson
Removes warning when compiling arch/cris/arch-v10/lib/usercopy.c No change except adding \n\ on the end of the lines has been done. Removes warning about multi-line string literals. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- usercopy.c

[PATCH] CRISv10 string library add lineendings to asm

2007-11-14 Thread Jesper Nilsson
Add \n\ at end of lines inside asm statement to avoid warning. No change except adding \n\ to end of line and correcting whitespace has been done. Removes warning about multi-line string literals when compiling arch/cris/arch-v10/lib/string.c Signed-off-by: Jesper Nilsson <[EMAIL PROTEC

[PATCH] CRISv10 memset library add lineendings to asm

2007-11-14 Thread Jesper Nilsson
Add \n\ at end of lines inside asm statement to avoid warning. No change except adding \n\ to end of line and correcting whitespace has been done. Removes warning about multi-line string literals when compiling arch/cris/arch-v10/lib/memset.c Signed-off-by: Jesper Nilsson <[EMAIL PROTEC

[PATCH] CRISv10 Ethernet declare mac fix

2007-11-14 Thread Jesper Nilsson
Declare mac using DECLARE_MAC_BUF for use when calling print_mac(). This fixes compile error where mac was undeclared. Also, remove unused variable i. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- eth_v10.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH] CRISv10 fasttimer: Scrap INLINE and name timeval_cmp better

2007-11-14 Thread Jesper Nilsson
er1_handler(int irq, void *dev_id) D1(printk(KERN_DEBUG "t: %is %06ius\n", tv.tv_jiff, tv.tv_usec)); -if (timeval_cmp(>tv_expires, ) <= 0) + if (fasttime_cmp(>tv_expires, ) <= 0) { /* Yes it has expired */ #ifde

[PATCH 0/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
components to ease reviewing. Please send any comments or questions to me and Mikael Starvik. Crosscompiled on Debian Etch using gcc version 3.2.1 Axis release R64/1.64. Best regards, Jesper /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] - To unsubscribe from this list: send

[PATCH 1/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Remove include of asm/bitops.h, not needed here, corrects compilation error (__le64 undefined). Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- posix_types.h |1 - 1 file changed, 1 deletion(-) --- clean_linux-2.6.23/include/asm-cris/posix_types.h 2007-10-09 22:31:38.000

[PATCH 2/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Remove int from prototype, no longer needed and causes compile error. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- checksum.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/checksum.h linux-

[PATCH 3/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Add missing syscalls to cris architecture. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/arch-v10/kernel/entry.S | 36 +++ include/asm-cris/unistd.h | 39 +- 2 files changed, 74 insertions

[PATCH 4/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include asm/irq.h to avoid undefined value warning. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- hardirq.h |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/hardirq.h linux-2.6.23/include/asm-cris/har

[PATCH 5/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include file linux/compiler.h is needed for 'likely'. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- atomic.h |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/atomic.h linux-2.6.23/include/asm-cris/at

[PATCH 6/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
- New file include/asm-cris/irq_regs.h. - Change handling of registers for do_IRQ. - Add GENERIC_HARDIRQS to Kconfig. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/Kconfig|4 linux-2.6.23-mod/include/asm-cris/irq_regs.h |1 +

[PATCH 7/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include linux/fs.h, needed for do_pipe. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- sys_cris.c |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris/kernel/sys_cris.c linux-2.6.23/arch/cris/kernel/sys_cris.c --- clean

[PATCH 8/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Add missing defines for (unsupported) baud rates. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- termbits.h | 13 + 1 file changed, 13 insertions(+) --- clean_linux-2.6.23/include/asm-cris/termbits.h 2007-10-09 22:31:38.0 +0200 +++ linux-2.6.23/inclu

[PATCH 9/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
() fails persistently the system is hosed anyway but at least it won't loop in an interrupt handler. - Correct some code formatting issues. - Add defines SET_ETH_ENABLE_LEDS, SET_ETH_DISABLE_LEDS and SET_ETH_AUTONEG used in new cris v10 ethernet driver. Signed-off-by: Jesper Nilsson <[EM

[PATCH 10/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
New and improved serial driver for cris v10. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- linux-2.6.23-mod/drivers/serial/crisv10.h | 151 + linux-2.6.23/drivers/serial/crisv10.c | 797 +- 2 files changed, 520 insertions(+), 428 deletions(-)

[PATCH 11/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Add include file with prototype for mtdram_init_device from drivers/mtd/devices/mtdram.c. Used by axisflashmap.c to boot from ram. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- mtdram.h | 10 ++ 1 file changed, 10 insertions(+) --- /dev/null 2007-10-06 06:38:38.348

[PATCH 12/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
storage in thread_info struct. - Add NO_DMA to Kconfig, and include arch specific Kconfig using arch independent path. Include subsystem Kconfigs for pcmcia, usb, i2c, rtc and pci. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch/cris/Kconfig

[PATCH 13/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
- Remove debug print. - Change #if to #ifdef to avoid compile time warning if CONFIG_PROFILING isn't set. - Number of parameters to profile_tick has changed, drop the regs parameter. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- time.c | 10 +++--- 1 file changed, 3 inse

[PATCH 14/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Include linux/param.h for HZ. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- setup.c |1 + 1 file changed, 1 insertion(+) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris/arch-v10/kernel/setup.c linux-2.6.23/arch/cris/arch-v10/kernel/setup.c --- clean

[PATCH 15/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
- Add __negdi2 to exported symbols. - Remove string functions from exported symbols. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- crisksyms.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.2

[PATCH 16/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
Remove some unused config lines, and add some others that needs to be off for a succesful compile. This is the minimal set of changes for 2.6.23. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- defconfig | 76 ++ 1 file c

Re: [PATCH 11/16] CRIS architecture: Correct compile errors

2007-10-30 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 08:49:32AM -0400, David Woodhouse wrote: > > On Tue, 2007-10-30 at 10:33 +0100, Jesper Nilsson wrote: > > Add include file with prototype for mtdram_init_device from > > drivers/mtd/devices/mtdram.c. > > Used by axisflashmap.c to boot from

Re: [PATCH 6/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 03:14:10PM -0700, Andrew Morton wrote: > On Tue, 30 Oct 2007 10:31:01 +0100 > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > - New file include/asm-cris/irq_regs.h. > > - Change handling of registers for do_IRQ. > > - Add GENERIC_HARDIRQ

Re: [PATCH 10/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 03:14:17PM -0700, Andrew Morton wrote: > On Tue, 30 Oct 2007 10:33:28 +0100 > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > New and improved serial driver for cris v10. > > I wasn't able to apply this due to extensive patch rejects. Yes, I n

Re: [PATCH 1/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 03:14:00PM -0700, Andrew Morton wrote: > On Tue, 30 Oct 2007 10:28:11 +0100 > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > Remove include of asm/bitops.h, not needed here, corrects compilation error > > (__le64 undefined). > [snip]

Re: [PATCH 1/16] CRIS architecture: Correct compile errors

2007-10-31 Thread Jesper Nilsson
On Wed, Oct 31, 2007 at 11:47:38AM +0100, Jesper Nilsson wrote: > On Tue, Oct 30, 2007 at 03:14:00PM -0700, Andrew Morton wrote: > > On Tue, 30 Oct 2007 10:28:11 +0100 > > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > Remove include of asm/bitops.h, not nee

Re: [PATCH 10/16] CRIS architecture: Correct compile errors

2007-11-01 Thread Jesper Nilsson
On Thu, Nov 01, 2007 at 11:48:11AM +0100, Jesper Nilsson wrote: > On Tue, Oct 30, 2007 at 03:14:17PM -0700, Andrew Morton wrote: > > On Tue, 30 Oct 2007 10:33:28 +0100 > > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > > > New and improved serial driver

Re: [PATCH 9/16] CRIS architecture: Correct compile errors

2007-11-02 Thread Jesper Nilsson
On Tue, Oct 30, 2007 at 04:32:35PM +0100, Roel Kluin wrote: > Jesper Nilsson wrote: > > + if (np->mii_if.phy_id == 32) > > return -ENODEV; > You need to unlock before this return. Thanks for spotting this! /^JN - Jesper Nilsson -- Jesper Nilsso

Re: [PATCH] CRISv10 serial driver rewrite

2007-11-05 Thread Jesper Nilsson
On Fri, Nov 02, 2007 at 11:39:09AM +0100, Jiri Slaby wrote: > On 11/02/2007 10:34 AM, Jesper Nilsson wrote: > > @@ -4434,7 +3941,7 @@ block_til_ready(struct tty_struct *tty, struct file * > > filp, > > if (tty_hung_up_p(filp) || > > (

[PATCH] CRIS: Remove MTD_AMSTD and MTD_OBSOLETE_CHIPS

2007-11-05 Thread Jesper Nilsson
Remove no longer configured MTD_AMDSTD and MTD_OBSOLETE_CHIPS from defconfig, Kconfig and code, instead we'll use MTD_CFI and/or MTD_JEDECPROBE. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch-v10/defconfig |3 +-- arch-v10/drivers/Kconfig|2 -- ar

Re: [PATCH] CRIS v10 serial driver rewrite take two

2007-11-05 Thread Jesper Nilsson
On Mon, Nov 05, 2007 at 02:45:31PM +0100, Jiri Slaby wrote: > On 11/05/2007 02:11 PM, Jesper Nilsson wrote: > > if (tty_hung_up_p(filp) || > > (info->flags & ASYNC_CLOSING)) { > > if (info->flags & ASYNC_CLOSING) > > You can re

Re: [PATCH] CRIS: Remove MTD_AMSTD and MTD_OBSOLETE_CHIPS

2007-11-05 Thread Jesper Nilsson
On Mon, Nov 05, 2007 at 09:29:21AM -0500, Robert P. J. Day wrote: > On Mon, 5 Nov 2007, Jesper Nilsson wrote: > > --- a/arch/cris/arch-v10/defconfig > > +++ b/arch/cris/arch-v10/defconfig > > @@ -99,7 +99,7 @@ CONFIG_MTD=y > > CONFIG_MTD_CFI=y > > # C

[PATCH] CRIS: Remove MTD_AMSTD and MTD_OBSOLETE_CHIPS take two

2007-11-05 Thread Jesper Nilsson
Remove MTD_AMDSTD and MTD_OBSOLETE_CHIPS from defconfig, Kconfig and code, instead we'll use MTD_CFI or MTD_JEDECPROBE. Signed-off-by: Jesper Nilsson <[EMAIL PROTECTED]> --- arch-v10/defconfig |2 -- arch-v10/drivers/Kconfig|2 -- arch-v10/drivers/axisflas

Re: [PATCH v2 5/5] dump_stack: unify debug information printed by show_regs()

2013-04-02 Thread Jesper Nilsson
0ff0 DR7: 0400 > Stack: > 88007c861ef8 81000312 82446608 88007c85e650 > 0003 88007c861f38 82335e5d > 88007c862080 8223d8c0 88007c862080 81c47730 > Call Trace: > [] do_one_initc

Re: [PATCH 3/5] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-02 Thread Jesper Nilsson
19/0x1b > [] warn_slowpath_common+0x7f/0xc0 > [] warn_slowpath_null+0x1a/0x20 > [] init_workqueues+0x35/0x505 > ... > > Signed-off-by: Tejun Heo > Cc: Martin Schwidefsky > Cc: Heiko Carstens > Cc: linux-s...@vger.kernel.org > Cc: Mike Frysinger > Cc: u

Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-03 Thread Jesper Nilsson
On Mon, Mar 25, 2013 at 05:54:39PM +0100, Viresh Kumar wrote: > This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq. > > Cc: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar Ah, sorry for not responding e

Re: [PATCH v4, part3 18/41] mm/cris: prepare for removing num_physpages and simplify mem_init()

2013-04-08 Thread Jesper Nilsson
On Sat, Apr 06, 2013 at 04:32:17PM +0200, Jiang Liu wrote: > Prepare for removing num_physpages and simplify mem_init(). > > Signed-off-by: Jiang Liu > Cc: Mikael Starvik For the CRIS parts: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson --

Re: [PATCH 33/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-24 Thread Jesper Nilsson
event CPUs from going > offline, while invoking from atomic context. > > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: Thomas Gleixner > Cc: linux-cris-ker...@axis.com > Signed-off-by: Srivatsa S. Bhat > --- > > arch/cris/arch-v32/kernel/smp.c |5 + &g

Re: [PATCH 16/32] cris: delete __cpuinit usage from all cris files

2013-06-25 Thread Jesper Nilsson
temporary and harmless. > > This removes all the arch/cris uses of the __cpuinit macros from > all C files. Currently cris does not have any __CPUINIT used in > assembly files. > > [1] https://lkml.org/lkml/2013/5/20/589 > > Cc: Mikael Starvik Acked-by: Jesper Nilsson &

Re: [PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-24 Thread Jesper Nilsson
and so should have this patch also. > On Wed, 2013-11-20 at 11:44 +0100, Jesper Nilsson wrote: > > Commit 2caacaa82a51b78fc0c800e206473874094287ed restructured > > the ipc shm to shorten critical region, but introduced a path > > where the return value could be -EPERM, even if

Re: [PATCH 15/24] cris: Use Kbuild logic to provide

2013-11-25 Thread Jesper Nilsson
On Mon, Nov 25, 2013 at 09:55:25AM +0100, Geert Uytterhoeven wrote: > The extra definition for BITS_PER_LONG is also indirectly provided > by , via and > > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.c

Re: [PATCH 03/24] cris/uapi: Use Kbuild logic to provide

2013-11-25 Thread Jesper Nilsson
On Mon, Nov 25, 2013 at 09:55:13AM +0100, Geert Uytterhoeven wrote: > Uapi just includes > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > --- > arch/cris/include/uapi/asm/Kbuild |3 ++- > ar

Re: [PATCH 02/17] cris: Use Kbuild logic to include

2013-11-15 Thread Jesper Nilsson
On Tue, Nov 12, 2013 at 08:42:12PM +0100, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > --- > arch/cris/include/asm/Kbuild |1 + > arch/cris/include/asm/sections.h |

[PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-20 Thread Jesper Nilsson
. Signed-off-by: Jesper Nilsson Cc: Andrew Morton Cc: Davidlohr Bueso Cc: Rik van Riel Cc: Michel Lespinasse Cc: Al Viro Cc: sta...@vger.kernel.org --- ipc/shm.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ipc/shm.c b/ipc/shm.c index d697396..4076f9e 100644

Re: [PATCH 2/5] cris: Wire up asm-generic/xor.h

2013-05-14 Thread Jesper Nilsson
On Tue, May 14, 2013 at 09:32:03AM +0200, Geert Uytterhoeven wrote: > crypto/xor.c:25:21: fatal error: asm/xor.h: No such file or directory > > Signed-off-by: Geert Uytterhoeven > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@axis.com > --- >

Re: Build regressions/improvements in v3.10-rc1 (cris)

2013-05-14 Thread Jesper Nilsson
h technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like > that. > -- Linus Torvalds /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscri

Re: [PATCH 17/21] CRISv32: remove inline marking of EXPORT_SYMBOL functions

2013-05-14 Thread Jesper Nilsson
es, agreed. Acked-by: Jesper Nilsson > --- > arch/cris/arch-v32/kernel/cache.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/cris/arch-v32/kernel/cache.c > b/arch/cris/arch-v32/kernel/cache.c > index f38433b..876be53 100644 > --- a/arch/cris

[PATCH] kbuild: Fix destination-y for installed headers

2013-02-02 Thread Jesper Nilsson
-by: Jesper Nilsson Cc: Michal Marek Cc: David Howells --- Makefile.headersinst |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git scripts/Makefile.headersinst scripts/Makefile.headersinst index 06ba4a7..25f216a 100644 --- scripts/Makefile.headersinst +++ scripts

Re: [PATCH] proc: Use PDE attribute setting accessor functions

2013-05-07 Thread Jesper Nilsson
Geert Uytterhoeven For the CRIS-part: 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 major

Re: [PATCH 2/3] cris: Switch to asm-generic/linkage.h

2013-05-07 Thread Jesper Nilsson
On Tue, May 07, 2013 at 11:56:51AM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Looks good, here's my Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com -- To unsubscribe from this list: send the l

Re: [PATCH 24/26] cris: Don't use create_proc_read_entry() [RFC]

2013-04-12 Thread Jesper Nilsson
On Thu, Apr 11, 2013 at 03:30:47PM +0200, David Howells wrote: > Don't use create_proc_read_entry() as that is deprecated, but rather use > proc_create_data() and seq_file instead. > > Signed-off-by: David Howells > cc: Mikael Starvik Looks good, Acked-by: Jesper Nilsson

<    1   2   3   4   5   6   7   >