[PATCH] clk: add generic driver for fixed rate clock

2013-08-31 Thread Stefan Kristiansson
This adds a simple driver with the only purpose to initialise the fixed rate clock. This is useful for systems that do not wish to use seperate init code for the fixed rate clock init, but rather only rely on a device tree description of it. Signed-off-by: Stefan Kristiansson --- drivers/clk

[PATCH] openrisc: select COMMON_CLK

2013-08-31 Thread Stefan Kristiansson
This is needed to be able to use the common clock framework. Signed-off-by: Stefan Kristiansson --- arch/openrisc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 3a91b69..3d879db 100644 --- a/arch/openrisc/Kconfig +++ b/arch

[PATCH] openrisc: tlb miss handler optimizations

2013-08-01 Thread Stefan Kristiansson
By slightly reorganizing the code, the number of registers used in the tlb miss handlers can be reduced by two, thus removing the need to save them to memory. Also, some dead and commented out code is removed. No functional change. Signed-off-by: Stefan Kristiansson --- arch/openrisc/kernel

[PATCH] openrisc: add cache way information to cpuinfo

2013-04-27 Thread Stefan Kristiansson
Motivation for this is to be able to print the way information properly in print_cpuinfo(), instead of hardcoding it to one. Signed-off-by: Stefan Kristiansson --- arch/openrisc/include/asm/cpuinfo.h | 2 ++ arch/openrisc/kernel/setup.c| 20 +--- 2 files changed, 15

[PATCH] openrisc: call do_notify_resume() with interrupts enabled

2013-04-29 Thread Stefan Kristiansson
A signal delivered through do_notify_resume() would cause the irqs_disabled() check in _local_bh_enable_ip() to be triggered. Enable interrupts before calling do_notify_resume(). Signed-off-by: Stefan Kristiansson --- arch/openrisc/kernel/entry.S | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] openrisc: call do_notify_resume() with interrupts enabled

2013-04-29 Thread Stefan Kristiansson
On Mon, Apr 29, 2013 at 10:12:37AM +0300, Stefan Kristiansson wrote: > A signal delivered through do_notify_resume() would cause the > irqs_disabled() check in _local_bh_enable_ip() to be triggered. > > Enable interrupts before calling do_notify_resume(). > > Signed-off-by: S

[PATCH v2] openrisc: call do_notify_resume() with interrupts enabled

2013-04-29 Thread Stefan Kristiansson
A signal delivered through do_notify_resume() would cause the irqs_disabled() check in _local_bh_enable_ip() to be triggered. Enable interrupts before calling do_notify_resume(), but read the current_thread_info->flags before doing so. Signed-off-by: Stefan Kristiansson --- arch/openr

[PATCH] openrisc: avoid using function parameter regs in reset vector

2012-10-11 Thread Stefan Kristiansson
The kernel might be invoked through the reset vector, so to preserve parameters passed to it, temp regs that are not in the function parameter range needs to be used. Signed-off-by: Stefan Kristiansson --- arch/openrisc/kernel/head.S |6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [PATCH] video: ocfb: Fix data type warning

2014-12-06 Thread Stefan Kristiansson
so fixes below build warning: > drivers/video/fbdev/ocfb.c:335:2: > warning: passing argument 3 of ‘dma_alloc_attrs’ > from incompatible pointer type [enabled by default] > > Signed-off-by: Qiang Chen Acked-by: Stefan Kristiansson -- To unsubscribe from this list: send the

Re: [PATCH] fbdev: FB_OPENCORES should depend on HAS_DMA

2014-03-05 Thread Stefan Kristiansson
;: > ocfb.c:(.text+0x28418): undefined reference to `dma_alloc_coherent' > ocfb.c:(.text+0x284d2): undefined reference to `dma_free_coherent' > I obviously had neglected compiling against that configuration, thanks for the catch. Acked-by: Stefan Kristiansson > Signe

[PATCH] openrisc: head: use THREAD_SIZE instead of magic constant

2014-01-08 Thread Stefan Kristiansson
Signed-off-by: Stefan Kristiansson --- arch/openrisc/kernel/head.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/openrisc/kernel/head.S b/arch/openrisc/kernel/head.S index eecc8df..0c21acd 100644 --- a/arch/openrisc/kernel/head.S +++ b/arch/openrisc/kernel/head.S

Re: [PATCH v4] video: add OpenCores VGA/LCD framebuffer driver

2014-01-10 Thread Stefan Kristiansson
On Fri, Jan 10, 2014 at 02:08:27PM +0200, Tomi Valkeinen wrote: > Hi, > > On 2013-11-29 17:45, Stefan Kristiansson wrote: > > This adds support for the VGA/LCD core available from OpenCores: > > http://opencores.org/project,vga_lcd > > > > The driver have been t

[PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-10 Thread Stefan Kristiansson
This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM (socfpga) processors. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Add Microblaze as an example user and fix a typo in

[PATCH] openrisc: fix PTRS_PER_PGD define

2014-01-10 Thread Stefan Kristiansson
was to iterate over a set of page table entries. This patch corrects that issue as well. Signed-off-by: Stefan Kristiansson --- arch/openrisc/include/asm/pgtable.h | 2 +- arch/openrisc/mm/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/openrisc/inclu

Re: [PATCH v3] video: add OpenCores VGA/LCD framebuffer driver

2013-11-25 Thread Stefan Kristiansson
On Sun, Nov 24, 2013 at 03:12:11PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 06:34 Fri 22 Nov , Stefan Kristiansson wrote: > > This adds support for the VGA/LCD core available from OpenCores: > > http://opencores.org/project,vga_lcd > > > > The driver hav

Re: [PATCH v3] video: add OpenCores VGA/LCD framebuffer driver

2013-11-26 Thread Stefan Kristiansson
On Tue, Nov 26, 2013 at 08:10:46AM +0100, Michal Simek wrote: > On 11/22/2013 05:34 AM, Stefan Kristiansson wrote: > > + > > + /* Request I/O resource */ > > + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > > + if (!res) { > > + dev_err(

[PATCH v4] video: add OpenCores VGA/LCD framebuffer driver

2013-11-29 Thread Stefan Kristiansson
This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM (socfpga) processors. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Add Microblaze as an example user and fix a typo in

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-12 Thread Stefan Kristiansson
On Mon, Jan 13, 2014 at 10:24:49AM +0900, Jingoo Han wrote: > On Saturday, January 11, 2014 5:13 AM, Stefan Kristiansson wrote: > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#i

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Stefan Kristiansson
On Mon, Jan 13, 2014 at 10:21:16AM +0200, Tomi Valkeinen wrote: > On 2014-01-10 22:13, Stefan Kristiansson wrote: > > This adds support for the VGA/LCD core available from OpenCores: > > http://opencores.org/project,vga_lcd > > > > The driver have been tested toge

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Stefan Kristiansson
On Mon, Jan 13, 2014 at 11:54:30AM +0100, Geert Uytterhoeven wrote: > On Mon, Jan 13, 2014 at 11:43 AM, Tomi Valkeinen > wrote: > > On 2014-01-13 12:20, Stefan Kristiansson wrote: OB> >> The VGA/LCD in the subject comes from the name of the core, > >> the co

[PATCH v6] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Stefan Kristiansson
This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM (socfpga) processors. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Add Microblaze as an example user and fix a typo in

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-09 Thread Stefan Kristiansson
On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: > Add a DTS and defconfig for the Terasic DE0-Nano Development and Education > Board running ORPSoC. This board contains an Altera Cyclone IV FPGA with > support chips and I/O. > > The DTS was derived from published versions by K

[PATCH] video: add OpenCores VGA/LCD framebuffer driver

2013-11-10 Thread Stefan Kristiansson
This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM (socfpga) processors. Signed-off-by: Stefan Kristiansson --- drivers/video/Kconfig | 17 ++ drivers/video/Makefile | 1

Re: [PATCH] video: add OpenCores VGA/LCD framebuffer driver

2013-11-11 Thread Stefan Kristiansson
On Mon, Nov 11, 2013 at 10:13:14AM +0100, Michal Simek wrote: > On 11/10/2013 02:08 PM, Stefan Kristiansson wrote: > > +config FB_OPENCORES > > + tristate "OpenCores VGA/LCD core 2.0 framebuffer support" > > + depends on FB > > + select FB_CFB_FI

Re: [PATCH] clk: add generic driver for fixed rate clock

2013-11-12 Thread Stefan Kristiansson
Ping and adding Mike Turquette to CC On Sun, Sep 01, 2013 at 07:40:20AM +0300, Stefan Kristiansson wrote: > This adds a simple driver with the only purpose to initialise > the fixed rate clock. > This is useful for systems that do not wish to use seperate init > code for the fixed rat

[PATCH v2] video: add OpenCores VGA/LCD framebuffer driver

2013-11-19 Thread Stefan Kristiansson
This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM (socfpga) processors. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Add Microblaze as an example user and fix a typo in

Re: [PATCH v2] video: add OpenCores VGA/LCD framebuffer driver

2013-11-20 Thread Stefan Kristiansson
On Wed, Nov 20, 2013 at 03:20:28PM +0900, Jingoo Han wrote: > On Wednesday, November 20, 2013 1:14 PM, Stefan Kristiansson wrote: > > > +static int ocfb_probe(struct platform_device *pdev) > > +{ > > + int ret = 0; > > + struct ocfb_dev *fbdev; > > + s

Re: [PATCH] openrisc: Support both old (or32) and new (or1k) toolchain

2014-09-21 Thread Stefan Kristiansson
ed from "elf32-or32" > >to "elf32-or1k" when using the or1k instead of the older or32 toochain. > >Select the correct output format automatically to be able to compile > >the kernel with both toolchain variants. > > > >Cc: Stefan Kristiansson >

[PATCH] exec: remove redundant check in search_binary_handler()

2014-01-18 Thread Stefan Kristiansson
retval >= 0 is implied by retval != -ENOEXEC Signed-off-by: Stefan Kristiansson --- fs/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index 7ea097f..aafafea 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -1390,8 +1390,8 @@

Re: linux-next: New build failures in Sep 25 tree

2014-09-26 Thread Stefan Kristiansson
On Fri, Sep 26, 2014 at 08:30:57AM +0200, Geert Uytterhoeven wrote: > Hi Günther, > > [cc openrisc] > > On Thu, Sep 25, 2014 at 10:25 PM, Guenter Roeck wrote: > > New build failures: > > > openrisc-defconfig > > > > In file included from arch/openrisc/kernel/signal.c:31:0: > > ./arch/openrisc/i

Re: [PATCH v2] next: openrisc: Fix build

2014-09-26 Thread Stefan Kristiansson
AUDIT: implement syscall_get_arch for all > > arches") > > Cc: Eric Paris > > Cc: Stefan Kristiansson > > Cc: Geert Uytterhoeven > > Cc: Stephen Rothwell > > Signed-off-by: Guenter Roeck > > --- > > v2: Only move EM_OPENRISC. > > > >

[PATCH 2/2] ASoC: ssm2602: add support for 11.025kHz and 22.5kHz sample rates

2014-09-28 Thread Stefan Kristiansson
This adds the necessary values to the constraint list and register values to the coefficient table in order to configure the device for 11.025kHz and 22.5kHz sample rates. Signed-off-by: Stefan Kristiansson --- sound/soc/codecs/ssm2602.c | 15 +-- 1 file changed, 13 insertions(+), 2

[PATCH 1/2] ASoC: ssm2602: add device tree bindings

2014-09-28 Thread Stefan Kristiansson
Allow the ssm2602/ssm2603/ssm2604 codec driver to be instantiated from the device tree. Also, add Kconfig prompts to allow manual selection of both the I2C and SPI configuration versions of the driver. Signed-off-by: Stefan Kristiansson --- .../devicetree/bindings/sound/adi,ssm2602.txt

Re: [PATCH 1/2] ASoC: ssm2602: add device tree bindings

2014-09-29 Thread Stefan Kristiansson
On Mon, Sep 29, 2014 at 10:50:24AM +0200, Lars-Peter Clausen wrote: > On 09/28/2014 09:57 AM, Stefan Kristiansson wrote: > >Allow the ssm2602/ssm2603/ssm2604 codec driver to be > >instantiated from the device tree. > > > >Also, add Kconfig prompts to allow manual selec

Re: [PATCH 1/2] ASoC: ssm2602: add device tree bindings

2014-09-29 Thread Stefan Kristiansson
On Mon, Sep 29, 2014 at 05:34:52PM +0300, Stefan Kristiansson wrote: > ... if I set it to > "adi,ssm2604" I get id->name = "ssm2603" and id->driver_data = 1. > Err, copy-paste mistake,that should have of course have read 'if I set it to "adi,ssm2604&q

[PATCH v2 1/3] ASoC: ssm2602: do not hardcode type to SSM2602

2014-09-29 Thread Stefan Kristiansson
The correct type (SSM2602/SSM2603/SSM2604) is passed down from the ssm2602_spi_probe()/ssm2602_spi_probe() functions, so use that instead of hardcoding it to SSM2602 in ssm2602_probe(). Signed-off-by: Stefan Kristiansson --- Changes in v2: - None, new in series. --- sound/soc/codecs/ssm2602.c

[PATCH v2 2/3] ASoC: ssm2602: add device tree bindings

2014-09-29 Thread Stefan Kristiansson
Allow the ssm2602/ssm2603/ssm2604 codec driver to be instantiated from the device tree. Also, add Kconfig prompts to allow manual selection of both the I2C and SPI configuration versions of the driver. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Remove "ssm2603" and &quo

[PATCH v2 3/3] ASoC: ssm2602: add support for 11.025kHz and 22.5kHz sample rates

2014-09-29 Thread Stefan Kristiansson
This adds the necessary values to the constraint list and register values to the coefficient table in order to configure the device for 11.025kHz and 22.5kHz sample rates. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Keep SSM2602_RATES sorted. --- sound/soc/codecs/ssm2602.c | 15

[PATCH] openrisc: irq: use irqchip framework

2014-05-19 Thread Stefan Kristiansson
In addition to consolidating the or1k-pic initialization with how other interrupt controllers are initialized, this makes OpenRISC less tied to its on-cpu interrupt controller. Signed-off-by: Stefan Kristiansson --- arch/openrisc/kernel/irq.c | 17 + 1 file changed, 9 insertions

Re: [PATCH] openrisc: irq: use irqchip framework

2014-05-19 Thread Stefan Kristiansson
On Mon, May 19, 2014 at 04:44:57PM +0200, Jonas Bonn wrote: > This looks good. Let's complete the the cleanup of this driver while > we're at it: > > i) Move this file to drivers/irqchip/ Sure, that sounds like a good idea. > ii) Put a Depends on CONFIG_ARCH_OPENRISC in the Kconfig Hmm, do we

[PATCH v2] openrisc: irq: use irqchip framework

2014-05-19 Thread Stefan Kristiansson
wrongly handled or1k_pic_mask_ack() for the non-or1200 case have been fixed. - The warnings for the non-or1200 case have been removed. - A hook for registering a handle_arch_irq function have been added. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Move or1k-pic related code into

Re: [PATCH v4] openrisc: irq: use irqchip framework

2014-06-21 Thread Stefan Kristiansson
On Fri, Jun 20, 2014 at 10:04:30PM -0400, Jason Cooper wrote: > On Thu, May 29, 2014 at 11:28:08PM +0300, Stefan Kristiansson wrote: > > But I don't understand the purpose of the versioning here, > > there will never be any other or1200-pic version than the one that currentl

[PATCH 0/6] openrisc: support for l.lwa and l.swa atomic instructions

2014-07-23 Thread Stefan Kristiansson
b.com/openrisc/doc/blob/master/openrisc-arch-1.1-rev0.pdf?raw=true Stefan Kristiansson (6): openrisc: add Kconfig for l.lwa and l.swa atomic instructions openrisc: add atomic bitops openrisc: add cmpxchg and xchg implementations openrisc: add atomic operations implementations openrisc: include

[PATCH 1/6] openrisc: add Kconfig for l.lwa and l.swa atomic instructions

2014-07-23 Thread Stefan Kristiansson
Not all OpenRISC cpus have support for the l.lwa and l.swa, this adds a config knob to opt them in and out. Signed-off-by: Stefan Kristiansson --- arch/openrisc/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 848bf96

[PATCH 6/6] openrisc: add futex_atomic_* implementations

2014-07-23 Thread Stefan Kristiansson
btain proper futex support, the implementation that is added here is needed. Signed-off-by: Stefan Kristiansson --- arch/openrisc/include/asm/Kbuild | 1 - arch/openrisc/include/asm/futex.h | 140 ++ 2 files changed, 140 insertions(+), 1 deletion(-) create

[PATCH 4/6] openrisc: add atomic operations implementations

2014-07-23 Thread Stefan Kristiansson
Optimized version that make use of the l.lwa and l.swa instructions if available. Signed-off-by: Stefan Kristiansson --- arch/openrisc/include/asm/Kbuild | 1 - arch/openrisc/include/asm/atomic.h | 88 ++ 2 files changed, 88 insertions(+), 1 deletion

[PATCH 5/6] openrisc: include l.swa in check for write data pagefault

2014-07-23 Thread Stefan Kristiansson
The way to determine if a data pagefault was caused by a write is to read the instruction at the PC that caused the fault and check if it's a store instruction. To recognize pagefaults caused by the l.swa instruction with opcode 0x33, has to be included in the check. Signed-off-by: S

[PATCH 2/6] openrisc: add atomic bitops

2014-07-23 Thread Stefan Kristiansson
This utilize the load-link/store-conditional l.lwa and l.swa instructions to implement the atomic bitops. When those instructions are not available, a fallback to the generic implementation is provided. Signed-off-by: Stefan Kristiansson --- arch/openrisc/include/asm/bitops.h| 2

[PATCH 3/6] openrisc: add cmpxchg and xchg implementations

2014-07-23 Thread Stefan Kristiansson
Optimized version that make use of the l.lwa and l.swa instructions if available. Signed-off-by: Stefan Kristiansson --- arch/openrisc/include/asm/Kbuild| 2 - arch/openrisc/include/asm/cmpxchg.h | 83 + 2 files changed, 83 insertions(+), 2 deletions

Re: [PATCH 1/6] openrisc: add Kconfig for l.lwa and l.swa atomic instructions

2014-07-24 Thread Stefan Kristiansson
On Wed, Jul 23, 2014 at 10:26:01PM +0100, One Thousand Gnomes wrote: > > +config OPENRISC_HAVE_INST_LWA_SWA > > + bool "Have instruction l.lwa and l.swa" > > + help > > + Select this if your implementation have l.lwa and l.swa atomic > > + instructions. > > + > > endmenu > > Please do

Re: [PATCH] openrisc: irq: use irqchip framework

2014-05-20 Thread Stefan Kristiansson
On Tue, May 20, 2014 at 08:45:44AM +0200, Jonas Bonn wrote: > On 05/19/2014 09:54 PM, Stefan Kristiansson wrote: > > On Mon, May 19, 2014 at 04:44:57PM +0200, Jonas Bonn wrote: > > > >> ii) Put a Depends on CONFIG_ARCH_OPENRISC in the Kconfig > > > > Hmm, do

Re: [PATCH v2] openrisc: irq: use irqchip framework

2014-05-21 Thread Stefan Kristiansson
On Tue, May 20, 2014 at 08:18:16AM +0900, Thomas Gleixner wrote: > On Mon, 19 May 2014, Stefan Kristiansson wrote: > > +static void or1k_pic_ack(struct irq_data *data) > > +{ > > + /* EDGE-triggered interrupts need to be ack'ed in order to clear > > +* the l

Re: [PATCH v2] openrisc: irq: use irqchip framework

2014-05-21 Thread Stefan Kristiansson
On Wed, May 21, 2014 at 04:01:56PM -0400, Jason Cooper wrote: > On Wed, May 21, 2014 at 10:50:57PM +0300, Stefan Kristiansson wrote: > ... > > I see two paths to go to get there though, and here's where I'd like some > > input. > > 1) Define the three dif

Re: [ORLinux] [PATCH v2] openrisc: irq: use irqchip framework

2014-05-22 Thread Stefan Kristiansson
On Thu, May 22, 2014 at 09:48:00AM +0200, Geert Uytterhoeven wrote: > On Thu, May 22, 2014 at 9:32 AM, Jonas Bonn wrote: > > On 05/21/2014 09:50 PM, Stefan Kristiansson wrote: > >> I see two paths to go to get there though, and here's where I'd like some > >

[PATCH v3] openrisc: irq: use irqchip framework

2014-05-22 Thread Stefan Kristiansson
three chip variants. One that handles level triggered interrupts, one that handles edge triggered interrupts and one that handles the interrupt controller that is present in the or1200 OpenRISC cpu implementation. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Move or1k-pic related code

[PATCH v4] openrisc: irq: use irqchip framework

2014-05-26 Thread Stefan Kristiansson
three chip variants. One that handles level triggered interrupts, one that handles edge triggered interrupts and one that handles the interrupt controller that is present in the or1200 OpenRISC cpu implementation. Signed-off-by: Stefan Kristiansson --- Changes in v2: - Move or1k-pic related code

Re: [PATCH v4] openrisc: irq: use irqchip framework

2014-05-29 Thread Stefan Kristiansson
On Tue, May 27, 2014 at 08:47:36AM +0200, Jonas Bonn wrote: > On 05/26/2014 10:52 PM, Geert Uytterhoeven wrote: > > CC devicetree for the bindings > > > > On Mon, May 26, 2014 at 10:31 PM, Stefan Kristiansson > > wrote: > >> +++ > >> b/Documenta

Re: [PATCH] video: OF display-timings support for ocfb

2014-06-17 Thread Stefan Kristiansson
+ } else { > + if (!fb_find_mode(&fbdev->info.var, &fbdev->info, mode_option, > + NULL, 0, &default_mode, 16)) { > + dev_err(&pdev->dev, "No valid video modes found\n"); > + retu

Re: [PATCH] video: OF display-timings support for ocfb

2014-06-24 Thread Stefan Kristiansson
On Mon, Jun 23, 2014 at 03:01:36PM +0300, Tomi Valkeinen wrote: > On 11/06/14 23:17, Franck Jullien wrote: > > Signed-off-by: Franck Jullien > > --- > > drivers/video/fbdev/Kconfig |2 ++ > > drivers/video/fbdev/ocfb.c | 31 ++- > > 2 files changed, 28 insertion

Re: [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-16 Thread Stefan Kristiansson
On Fri, Nov 15, 2013 at 10:50:18AM +0100, Jonas Bonn wrote: > >+ > >+i2c0: ocores@a000 { > >+#address-cells = <1>; > >+#size-cells = <0>; > >+compatible = "opencores,i2c-ocores"; > > Version number needed. OpenCores wanted "projectname-rtlsvn###" > wher

Re: [PATCH] openrisc: tlb miss handler optimizations

2013-12-06 Thread Stefan Kristiansson
Hi Jonas, I realised that this haven't been picked up nor commented on (and that I missed CC you on it). Could you take a look at it? Stefan On Thu, Aug 01, 2013 at 10:46:10AM +0300, Stefan Kristiansson wrote: > By slightly reorganizing the code, the number of registers > used in t

Re: [PATCH v2 21/26] irqchip: or1k-pic: convert to handle_domain_irq

2014-08-27 Thread Stefan Kristiansson
On Tue, Aug 26, 2014 at 11:03:36AM +0100, Marc Zyngier wrote: > Use the new handle_domain_irq method to handle interrupts. > > Signed-off-by: Marc Zyngier This (and the other two openrisc related patches in this series) works fine in my setup at least. Acked-by: Stefan Kristianss

Re: [PATCH] clk: add generic driver for fixed rate clock

2015-11-19 Thread Stefan Kristiansson
On Tue, Nov 17, 2015 at 04:46:29PM +0100, Geert Uytterhoeven wrote: > Thanks, this is still very useful! > > I stumbled across this old patch while trying to instantiate a fixed rate > clock from a DT overlay. > Without this, the clock is never instantiated, as drivers/clk/clk-fixed-rate.c > uses

Re: openrisc: Dead or alive? openrisc.net has no dns entry

2015-02-22 Thread Stefan Kristiansson
On Sat, Feb 21, 2015 at 07:18:27PM -0800, Joe Perches wrote: > Hello Stefan, Jonas: > > I sent a patch for openrisc use of seq_printf > to li...@lists.openrisc.net that bounced. > > https://lkml.org/lkml/2015/2/21/228 > > There's no DNS entry for openrisc.net. > > I notice Stefan has an active

Re: [PATCH v3 02/25] openrisc: add cache way information to cpuinfo

2017-03-14 Thread Stefan Kristiansson
On Tue, Mar 14, 2017 at 12:08:33PM +, Sudeep Holla wrote: > On Tue, Feb 21, 2017 at 7:11 PM, Stafford Horne wrote: > > From: Stefan Kristiansson > > > > Motivation for this is to be able to print the way information > > properly in print_cpuinfo(), inst

Re: [PATCH v4 05/24] openrisc: head: refactor out tlb flush into it's own function

2017-02-24 Thread Stefan Kristiansson
eOn Fri, Feb 24, 2017 at 10:57:19AM +0100, Jonas Bonn wrote: > On 02/24/2017 05:32 AM, Stafford Horne wrote: > >From: Stefan Kristiansson > > > >This brings it inline with the other setup oprations done like the cache > >enables _ic_enable and _dc_enable. Also, this is

Re: [PATCH v4 05/24] openrisc: head: refactor out tlb flush into it's own function

2017-02-24 Thread Stefan Kristiansson
On Fri, Feb 24, 2017 at 01:48:10PM +0100, Jonas Bonn wrote: > On 02/24/2017 11:54 AM, Stefan Kristiansson wrote: > >eOn Fri, Feb 24, 2017 at 10:57:19AM +0100, Jonas Bonn wrote: > >>On 02/24/2017 05:32 AM, Stafford Horne wrote: > >>>From: Stefan Kristiansson > &g