Re: [v5.8/bluetooth PATCH] Bluetooth: Disconnect if E0 is used for Level 4

2020-10-16 Thread Hans-Christian Egtvedt (hegtvedt)
On 16/10/2020 09:25, Greg KH wrote: > On Thu, Oct 15, 2020 at 11:11:24PM +0200, Hans-Christian Noren Egtvedt wrote: >> From: Luiz Augusto von Dentz >> >> E0 is not allowed with Level 4: >> >> BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part C page 1319: >> >> '128-bit equivalent strength f

Re: [v4.4/bluetooth PATCH 1/3] Bluetooth: Consolidate encryption handling in hci_encrypt_cfm

2020-10-16 Thread Hans-Christian Egtvedt (hegtvedt)
On 16/10/2020 09:32, Greg KH wrote: > On Thu, Oct 15, 2020 at 11:12:23PM +0200, Hans-Christian Noren Egtvedt wrote: >> From: Luiz Augusto von Dentz >> >> This makes hci_encrypt_cfm calls hci_connect_cfm in case the connection >> state is BT_CONFIG so callers don't have to check the state. >> >> Si

Re: [PATCH v4.4/bluetooth 1/2] Bluetooth: Consolidate encryption handling in hci_encrypt_cfm

2020-10-15 Thread Hans-Christian Egtvedt (hegtvedt)
On 15/10/2020 14:44, Hans-Christian Egtvedt (hegtvedt) wrote: > On 15/10/2020 14:02, Greg KH wrote: >> On Thu, Oct 15, 2020 at 11:18:39AM +0000, Hans-Christian Egtvedt (hegtvedt) >> wrote: >>> On 15/10/2020 11:57, Greg KH wrote: >>>> On Thu, Oct 15, 2020 at 09

Re: [PATCH v4.4/bluetooth 1/2] Bluetooth: Consolidate encryption handling in hci_encrypt_cfm

2020-10-15 Thread Hans-Christian Egtvedt (hegtvedt)
On 15/10/2020 14:02, Greg KH wrote: > On Thu, Oct 15, 2020 at 11:18:39AM +0000, Hans-Christian Egtvedt (hegtvedt) > wrote: >> On 15/10/2020 11:57, Greg KH wrote: >>> On Thu, Oct 15, 2020 at 09:43:32AM +0200, Hans-Christian Noren Egtvedt >>> wrote: >

Re: [PATCH v4.4/bluetooth 1/2] Bluetooth: Consolidate encryption handling in hci_encrypt_cfm

2020-10-15 Thread Hans-Christian Egtvedt (hegtvedt)
On 15/10/2020 11:57, Greg KH wrote: > On Thu, Oct 15, 2020 at 09:43:32AM +0200, Hans-Christian Noren Egtvedt wrote: >> From: Luiz Augusto von Dentz >> >> This makes hci_encrypt_cfm calls hci_connect_cfm in case the connection >> state is BT_CONFIG so callers don't have to check the state. >> >> Si

Re: [PATCH 1/3] avr32: fix build failure

2015-09-23 Thread Hans-Christian Egtvedt
Around Wed 23 Sep 2015 21:26:01 +0530 or thereabout, Sudip Mukherjee wrote: > On Mon, Sep 21, 2015 at 01:31:44PM +0530, Sudip Mukherjee wrote: >> On Mon, Sep 21, 2015 at 09:33:00AM +0200, Hans-Christian Egtvedt wrote: >> > Around Mon 21 Sep 2015 12:09:01 +0530 or thereabout, Sud

Re: [PATCH 1/3] avr32: fix build failure

2015-09-21 Thread Hans-Christian Egtvedt
Around Mon 21 Sep 2015 12:09:01 +0530 or thereabout, Sudip Mukherjee wrote: > On Mon, Sep 21, 2015 at 08:09:42AM +0200, Hans-Christian Egtvedt wrote: >> Around Sat 19 Sep 2015 22:42:57 +0530 or thereabout, Sudip Mukherjee wrote: >> > While building avr32 with allmodconfig, the

Re: [PATCH 1/3] avr32: fix build failure

2015-09-20 Thread Hans-Christian Egtvedt
p(struct pci_dev *dev, void __iomem *addr) > +{ > +} > + > +static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, > + unsigned long maxlen) > +{ > + return NULL; > +} > +#endif > + > /* > * ioremap - m

Re: [PATCH] avr32: atngw100: remove useless include

2015-09-10 Thread Hans-Christian Egtvedt
Around Thu 10 Sep 2015 15:14:21 +0200 or thereabout, Alexandre Belloni wrote: > Signed-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt Will add it to my for-linus branch in the linux-avr32 git tree. > --- > arch/avr32/boards/atngw100/mrmt.c | 1 - > 1 file changed

Re: [PATCH 20/31] avr32: handle page-less SG entries

2015-08-12 Thread Hans-Christian Egtvedt
> > - for_each_sg(sglist, sg, nents, i) > - dma_cache_sync(dev, sg_virt(sg), sg->length, direction); > + for_each_sg(sglist, sg, nents, i) { > + if (sg_has_page(sg)) > + dma_cache_sync(dev, sg_virt(sg), sg->length, direction); > +

Re: [RFC][PATCH 3/7] avr32: Remove finish_arch_switch()

2015-07-29 Thread Hans-Christian Egtvedt
Around Wed 29 Jul 2015 21:08:51 +0200 or thereabout, Peter Zijlstra wrote: > Fold the tracing hook into switch_to() in order to remove > finish_arch_switch(). AFAICT this should work, I do not have a nexus debugger to verify behavior. > Cc: Hans-Christian Egtvedt > Signed-off-by: Pe

Re: [PATCH v4 4/5] tty/serial: at91: add support to FIFOs

2015-07-29 Thread Hans-Christian Egtvedt
>>> */ >>> +#defineATMEL_US_FIFOEN BIT(30) /* FIFO enable */ >>> +#defineATMEL_US_FIFODISBIT(31) /* FIFO disable */ >>> >>> #define ATMEL_US_MR 0x04/* Mode Register */ >>> #defineATMEL_US_USMOD

Re: [tip:x86/mm] arch/*/io.h: Add ioremap_uc() to all architectures

2015-07-29 Thread Hans-Christian Egtvedt
-generic/io.h. > > Reported-by: Stephen Rothwell > Signed-off-by: Luis R. Rodriguez > Cc: Abhilash Kesavan > Cc: Benjamin Herrenschmidt > Cc: Borislav Petkov > Cc: Chris Metcalf > Cc: David Howells > Cc: Fengguang Wu > Cc: Geert Uytterhoeven > Cc: Greg Kroah

[GIT PULL] AVR32 fixes for 4.2 (rc4)

2015-07-27 Thread Hans-Christian Egtvedt
changed, 19 insertions(+), 1 deletion(-) -- Best regards, Hans-Christian Egtvedt -- 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 Please read

Re: [PATCH 1/1] avr32: handle NULL as a valid clock object

2015-07-24 Thread Hans-Christian Egtvedt
ed-off-by: Andy Shevchenko Acked-by: Hans-Christian Egtvedt Although, IMO this should have been in the common part of the clk framework. I'll add it into my tree and ask Linus to pull it as a fix for current RC. > --- > arch/avr32/mach-at32ap/clock.c | 20

[GIT PULL] AVR32 update for 4.2

2015-07-20 Thread Hans-Christian Egtvedt
ime.c | 65 + 1 file changed, 33 insertions(+), 32 deletions(-) -- Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH 03/23] AVR32/time: Migrate to new 'set-state' interface

2015-07-20 Thread Hans-Christian Egtvedt
lbacks for new states of clockevent > devices, for example: ONESHOT_STOPPED. > > We want to call cpu_idle_poll_ctrl() in shutdown only if we were in > oneshot or resume state earlier. Create another variable to save this > information and check that in shutdown callback. > &

Re: [patch 1/3] avr32/at32ap: Consolidate chained IRQ handler install/remove

2015-07-15 Thread Hans-Christian Egtvedt
. > > Reported-by: Russell King > Signed-off-by: Thomas Gleixner > Cc: Julia Lawall > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/mach-at32ap/pio.c |4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [patch 2/3] avr32/at32ap: Use irq_set_handler_locked()

2015-07-15 Thread Hans-Christian Egtvedt
; Cc: Julia Lawall > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/mach-at32ap/extint.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > &g

Re: [tip:irq/urgent] avr32/at32ap: Fix race in installing chained IRQ handler

2015-06-28 Thread Hans-Christian Egtvedt
Around Fri 26 Jun 2015 12:47:18 -0700 or thereabout, tip-bot for Thomas Gleixner wrote: > avr32/at32ap: Fix race in installing chained IRQ handler > > Reported-by: Russell King > Signed-off-by: Thomas Gleixner > Cc: Julia Lawall > Cc: Haavard Skinnemoen > Cc: H

Re: [PATCH 3/3] kconfig: Extend defconfig field size from 24 to 32

2015-05-26 Thread Hans-Christian Egtvedt
de. > Signed-off-by: Geert Uytterhoeven > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian Egtvedt > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send

Re: [RFC v1 20/25] genirq: Kill the first parameter 'irq' of irq_flow_handler_t

2015-05-20 Thread Hans-Christian Egtvedt
arch/avr32/mach-at32ap/extint.c |2 +- > arch/avr32/mach-at32ap/pio.c|2 +- For the AVR32 related bits Acked-by: Hans-Christian Egtvedt > arch/blackfin/kernel/ipipe.c|4 ++-- > arch/c6x/platforms/megamod-pic.c|3 ++- > arch/sparc/kernel/leon_k

Re: [RFC v1 02/25] avr32, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-05-20 Thread Hans-Christian Egtvedt
Around Wed 20 May 2015 17:59:50 +0800 or thereabout, Jiang Liu wrote: > Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we > already have a pointer to corresponding irq_desc. > > Signed-off-by: Jiang Liu Acked-by: Hans-Christian Egtvedt > --- > arch/avr32

Re: [PATCH v2 07/10] avr32: use for_each_sg()

2015-05-03 Thread Hans-Christian Egtvedt
g() in > order to loop over each sg element. But this can help find problems > with drivers that do not properly initialize their sg tables when > CONFIG_DEBUG_SG is enabled. Nice > Signed-off-by: Akinobu Mita > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Cc: l

[GIT PULL] AVR32 update for 4.1

2015-04-13 Thread Hans-Christian Egtvedt
(+), 1 deletion(-) -- Best regards, Hans-Christian Egtvedt -- 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 Please read the FAQ at http://w

Re: [PATCH 23/24] arch: Remove exec_domain from remaining archs

2015-04-13 Thread Hans-Christian Egtvedt
e AVR32 related bits. Acked-by: Hans-Christian Egtvedt > arch/c6x/include/asm/thread_info.h | 2 -- > arch/cris/arch-v10/kernel/signal.c | 2 -- > arch/cris/arch-v32/kernel/signal.c | 2 -- > arch/cris/include/asm/thread_info.h | 2 -- > arch/hexagon/include/asm

Re: [RFC 3/6] clocksource: tcb_clksrc: use atmel_io.h to provide on-chip IO

2015-03-26 Thread Hans-Christian Egtvedt
Around Thu 26 Mar 2015 11:45:51 + or thereabout, Ben Dooks wrote: > Use to provide IO accessors which work on both > AVR32 and ARM for on-chip peripherals. > > Signed-off-by: Ben Dooks Acked-by: Hans-Christian Egtvedt > -- > CC: Daniel Lezcano > CC: Thomas Gleixne

Re: [PATCH] avr32: fix integer overflow in ELF_ET_DYN_BASE

2015-03-24 Thread Hans-Christian Egtvedt
BASE becomes wrong. > Fix this overflow by dividing TASK_SIZE prior to multiplying: >(TASK_SIZE / 3 * 2) Thank you for fixing (-: > Signed-off-by: Andrey Ryabinin > Acked-by: Hans-Christian Egtvedt Added to for-linus branch in git://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH] net: macb: fix endian code for avr32

2015-03-18 Thread Hans-Christian Egtvedt
llowing fix changes the use > of readl_relaxed and writel_relaxed with a version that can be put > back to __raw_readl/__raw_writel for the CONFIG_AVR32 case (and also > remove the change to the DMA descriptor endian). Thank you for spotting this. > Signed-off-by: Ben Dooks >

Re: [PATCHv2 06/32] avr32: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread Hans-Christian Egtvedt
Around Mon 16 Mar 2015 10:18:29 +0200 or thereabout, Alex Dowad wrote: > The 'arg' argument to copy_thread() is only ever used when forking a new > kernel thread. Hence, rename it to 'kthread_arg' for clarity. > > Signed-off-by: Alex Dowad Acked-by: Hans-Christia

Re: [PATCH 06/32] avr32: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread Hans-Christian Egtvedt
mplementations of copy_thread()). > > Signed-off-by: Alex Dowad In general Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/kernel/process.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/arch/avr32/kernel/process.c b/arch/avr32

[GIT PULL] AVR32 update for 3.20

2015-02-11 Thread Hans-Christian Egtvedt
Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 update for 3.20 Hans-Christian Egtvedt (2): avr32: wire up missing syscalls avr32: update all default configurations Alexandre Belloni (1

Re: [PATCH] avr32: remove fake at91 cpu identification

2015-01-11 Thread Hans-Christian Egtvedt
Around Sun 11 Jan 2015 03:00:16 +0100 or thereabout, Alexandre Belloni wrote: > cpu_is_at91* are not used in any driver outside mach-at91. Remove those > useless > definitions. Great, thank you for cleaning. > Signed-off-by: Alexandre Belloni > Acked-by: Hans-Chrisitan Egtvedt > --- > > Han

Re: [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module->module_init freed.

2015-01-07 Thread Hans-Christian Egtvedt
called before > that. > > This means that avr32, ia64, parisc and s390 no longer need to implement > their own module_free() at all. avr32 doesn't need module_finalize() > either. At a glance it looks sane. > Signed-off-by: Rusty Russell > Cc: Chris Metcalf > Cc: Haava

Re: [PATCH v2 32/40] avr32: macro whitespace fixes

2015-01-06 Thread Hans-Christian Egtvedt
> Fix it up. Thank you (-: > Signed-off-by: Michael S. Tsirkin > Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/uaccess.h | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) -- mvh Hans-Christian Egtvedt -- To unsubscribe from this li

Re: [PATCH v2 24/40] avr32: whitespace fix

2015-01-06 Thread Hans-Christian Egtvedt
Around Tue 06 Jan 2015 17:44:50 +0200 or thereabout, Michael S. Tsirkin wrote: > Align using tabs to make code prettier. > It is already aligned using tabs, but there is one too much. Thanks for cleaning. > Signed-off-by: Michael S. Tsirkin > Acked-by: Hans-Christian Egtvedt &

Re: [PATCH] arch: avr32: mach-at32ap: at32ap700x: Remove unused function

2015-01-02 Thread Hans-Christian Egtvedt
port, etc. on > - * certain chipselects. > - */ > -static inline void set_ebi_sfr_bits(u32 mask) > -{ > - hmatrix_sfr_set_bits(HMATRIX_SLAVE_EBI, mask); > -} > - > /* > * Timer/Counter (TC) >

Re: [PATCH 13/38] avr32: drop _PAGE_FILE and pte_file()-related helpers

2014-12-24 Thread Hans-Christian Egtvedt
Around Wed 24 Dec 2014 14:22:21 +0200 or thereabout, Kirill A. Shutemov wrote: > We've replaced remap_file_pages(2) implementation with emulation. > Nobody creates non-linear mapping anymore. > > Signed-off-by: Kirill A. Shutemov > Cc: Haavard Skinnemoen > Cc:

Re: [PATCH 04/18] avr32/uaccess: fix sparse errors

2014-12-14 Thread Hans-Christian Egtvedt
; > Signed-off-by: Michael S. Tsirkin Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/uaccess.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) -- Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: [PATCH 33/44] avr32: atngw100: Register with kernel poweroff handler

2014-11-01 Thread Hans-Christian Egtvedt
Around Mon 06 Oct 2014 22:28:35 -0700 or thereabout, Guenter Roeck wrote: > Register with kernel poweroff handler instead of setting pm_power_off > directly. > > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Signed-off-by: Guenter Roeck Acked-by: Hans-Christian Egtve

Re: [PATCH v1 00/12] dmaengine: dw: remove slave_id, add PCI support

2014-08-19 Thread Hans-Christian Egtvedt
de/sound/atmel-ac97c.h | 2 +- > sound/atmel/abdac.c | 2 +- > sound/atmel/ac97c.c | 2 +- > 21 files changed, 365 insertions(+), 309 deletions(-) > delete mode 100644 include/linux/dw_dmac.h > create mode 1

Re: [PATCH v1 03/12] dmaengine: dw: convert dw_dma_slave to use explicit HS interfaces

2014-08-19 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:14 +0300 or thereabout, Andy Shevchenko wrote: > Instead of exposing the possibility to set DMA registers CFG_HI and CFG_LO > strict user to provide handshake interfaces explicitly. > > Signed-off-by: Andy Shevchenko Acked-by: Hans-Christian Egtvedt &

Re: [PATCH v1 02/12] avr32: at32ap700x: don't rely on default DMA masters

2014-08-19 Thread Hans-Christian Egtvedt
y: Andy Shevchenko Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/mach-at32ap/at32ap700x.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/avr32/mach-at32ap/at32ap700x.c > b/arch/avr32/mach-at32ap/at32ap700x.c > index 2a1aa71..ec7be28 100644 >

Re: [PATCH v1 01/12] dmaengine: dw: move dw_dmac.h to where it belongs to

2014-08-19 Thread Hans-Christian Egtvedt
The users are also > updated. Nice cleanup, thanks. > Signed-off-by: Andy Shevchenko > For the arch/avr32/.* and .*sound/atmel.* related changes Acked-by: Hans-Christian Egtvedt > --- > MAINTAINERS | 2 +- > arch/avr32/mach-at32ap/at3

Re: [tip:locking/arch] locking,arch,avr32: Fold atomic_ops

2014-08-14 Thread Hans-Christian Egtvedt
Around Thu 14 Aug 2014 21:30:14 +0200 or thereabout, Peter Zijlstra wrote: > On Thu, Aug 14, 2014 at 09:27:20PM +0200, Hans-Christian Egtvedt wrote: >> Around Thu 14 Aug 2014 10:19:44 -0700 or thereabout, tip-bot for Peter >> Zijlstra wrote:

Re: [tip:locking/arch] locking,arch,avr32: Fold atomic_ops

2014-08-14 Thread Hans-Christian Egtvedt
'll happily do it through the avr32 tree, but if it is part of another series, it makes most sense to do it there. > Signed-off-by: Peter Zijlstra > Cc: Hans-Christian Egtvedt > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Cc: Linus Torvalds >

[GIT PULL] AVR32 update for 3.17

2014-08-07 Thread Hans-Christian Egtvedt
(+), 3 deletions(-) -- mvh Hans-Christian Egtvedt -- 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 Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/5] avr32: fix error return code

2014-08-07 Thread Hans-Christian Egtvedt
;ret > *if(...) > { > ... when != ret = e2 > when forall > return ret; > } > // > > Signed-off-by: Julia Lawall Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/boards/hammerhead/flash.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletio

Re: [PATCH] avr32: Remove unnessary variables from page.h

2014-07-22 Thread Hans-Christian Egtvedt
emory_start, memory_end; > > /* Pure 2^n version of get_order */ > static inline int get_order(unsigned long size) -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 14/38] avr32: clean-up uapi Kbuild file

2014-07-14 Thread Hans-Christian Egtvedt
Around Mon 14 Jul 2014 17:08:42 +0200 or thereabout, Sam Ravnborg wrote: > Remove redundant assignments. > Fantastic, reducing code is the best patches. > Signed-off-by: Sam Ravnborg > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian Egtvedt >

Re: [PATCH] Remove memory start and memory end

2014-07-01 Thread Hans-Christian Egtvedt
nsigned longs. >> >> Thanks for cleaning, I will append it to my for-linus branch. Queuing it for >> 3.17 most likely. >> >>> Signed-off-by: Nicholas Krause >>> >> >> Acked-by: Hans-Christian Egtvedt >> >>> --- >>> arc

Re: [PATCH] Remove memory start and memory end

2014-06-30 Thread Hans-Christian Egtvedt
us branch. Queuing it for 3.17 most likely. > Signed-off-by: Nicholas Krause > Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/page.h | 3 --- > 1 file changed, 3 deletions(-) -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "uns

Re: [PATCH 06/20] arch,avr32: Fold atomic_ops

2014-06-05 Thread Hans-Christian Egtvedt
Around Sat 31 May 2014 16:14:45 +0200 or thereabout, Peter Zijlstra wrote: > On Tue, May 13, 2014 at 10:40:32PM +0200, Hans-Christian Egtvedt wrote: >> Probably found the reason why we want to use sub with the signed 21-bit >> limit, it uses one less register than the add instructi

Re: [PATCH 04/25] avr32: Add 32 bit time_t and clock_t

2014-05-14 Thread Hans-Christian Egtvedt
Around Wed 14 May 2014 09:54:25 +0800 or thereabout, Ley Foon Tan wrote: > On Wed, May 14, 2014 at 4:19 AM, Hans-Christian Egtvedt > wrote: >> Around Tue 13 May 2014 17:02:49 +0800 or thereabout, Ley Foon Tan wrote: >>> Override time_t and clock_t in include/uapi/asm-generi

Re: [PATCH 06/20] arch,avr32: Fold atomic_ops

2014-05-14 Thread Hans-Christian Egtvedt
Around Tue 13 May 2014 22:50:45 +0200 or thereabout, Peter Zijlstra wrote: > On Tue, May 13, 2014 at 10:40:32PM +0200, Hans-Christian Egtvedt wrote: >> Probably found the reason why we want to use sub with the signed 21-bit >> limit, it uses one less register than the add instructi

Re: [PATCH 06/20] arch,avr32: Fold atomic_ops

2014-05-13 Thread Hans-Christian Egtvedt
Around Fri 09 May 2014 23:17:28 +0200 or thereabout, Peter Zijlstra wrote: > On Fri, May 09, 2014 at 10:51:55PM +0200, Peter Zijlstra wrote: >> On Fri, May 09, 2014 at 10:43:09PM +0200, Peter Zijlstra wrote: >> > On Fri, May 09, 2014 at 08:32:41PM +0200, Hans-Chris

Re: [PATCH 04/25] avr32: Add 32 bit time_t and clock_t

2014-05-13 Thread Hans-Christian Egtvedt
Around Tue 13 May 2014 17:02:49 +0800 or thereabout, Ley Foon Tan wrote: > Override time_t and clock_t in include/uapi/asm-generic. > > Signed-off-by: Ley Foon Tan Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/uapi/asm/posix_types.h | 6 ++ > 1 file cha

Re: [PATCH 06/20] arch,avr32: Fold atomic_ops

2014-05-09 Thread Hans-Christian Egtvedt
its both atomic operations to work only on signed 21-bit integers. > This also prepares for easy addition of new ops. > > Requires the asm_op because of eor. > > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Cc: Linus Torvalds > Signed-off-by: Peter Zijlstr

Re: [tip:locking/core] arch,avr32: Convert smp_mb__*()

2014-04-21 Thread Hans-Christian Egtvedt
apmnec0pvf72...@git.kernel.org > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Cc: Linus Torvalds > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Ingo Molnar Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/atomic.h | 5 - > arch/avr32/inclu

Re: [PATCH] cpufreq: at32ap: don't declare local variable as static

2014-04-03 Thread Hans-Christian Egtvedt
) routine > > did some changes to driver and by mistake made cpuclk as a 'static' local > variable, which wasn't actually required. Fix it. > > Reported-by: Alexandre Oliva > Signed-off-by: Viresh Kumar Acked-by: Hans-Christian Egtvedt > --- > dri

Re: [PATCH] avr32: remove cpu_data macro to fix compiles

2014-04-01 Thread Hans-Christian Egtvedt
Around Tue 01 Apr 2014 11:55:22 +0200 or thereabout, Wolfram Sang wrote: > On Mon, Feb 24, 2014 at 08:28:20AM +0100, Hans-Christian Egtvedt wrote: >> Around Sat 22 Feb 2014 09:28:27 +0100 or thereabout, Wolfram Sang wrote: >> > Having cpu_data as a parameterless macro can

[GIT PULL] AVR32 updates for 3.15

2014-04-01 Thread Hans-Christian Egtvedt
Around Wed 20 Nov 2013 10:01:03 +0100 or thereabout, Hans-Christian Egtvedt wrote: Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 updates for 3.15 Chen Gang (1): arch/avr32/mm/cache.c: export symbol

Re: [PATCH v2] avr32: replace simple_strtoul() with kstrtoul()

2014-04-01 Thread Hans-Christian Egtvedt
Around Mon 31 Mar 2014 20:42:42 -0400 or thereabout, Ramkumar Ramachandra wrote: > simple_strtoul() is marked for obsoletion; use the newer and more > pleasant kstrtoul() in its place. > > Cc: Alexey Dobriyan > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Si

Re: [PATCH v2] avr32: replace simple_strtoul() with kstrtoul()

2014-04-01 Thread Hans-Christian Egtvedt
yan > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Signed-off-by: Ramkumar Ramachandra Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/kernel/cpu.c | 48 ++-- > 1 file changed, 26 insertions(+), 22 deletions(-) > &g

Re: [PATCH] avr32: replace simple_strtoul() with kstrtoul()

2014-03-30 Thread Hans-Christian Egtvedt
val = (val << 12) | (sysreg_read(PCCR) & 0xfffc0fff); > > you removed 0x3f check > > this conversion is not trivial as it seems Is anybody going to update this patch? I planned to push early this round, as others are waiting for AVR32 changes. -- Best regards, Hans-Chr

Re: [PATCH] arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using

2014-03-25 Thread Hans-Christian Egtvedt
linus branch, and submit it early in the next cycle. It should be just around the corner, Linus just released rc8 (-: > On 03/16/2014 05:18 AM, Chen Gang wrote: >> On 03/09/2014 11:19 PM, Chen Gang wrote: >>> On 03/09/2014 06:17 AM, Hans-Christian Egtvedt wrote: >>>>

Re: [PATCH 14/16] backlight: atmel-pwm-bl: remove obsolete driver

2014-03-19 Thread Hans-Christian Egtvedt
-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt > --- > drivers/video/backlight/Kconfig| 11 -- > drivers/video/backlight/Makefile | 1 - > drivers/video/backlight/atmel-pwm-bl.c | 223 > - > include/linux/atmel-pwm-bl.

Re: [PATCH 13/16] avr32: update defconfig to use the generic PWM framework

2014-03-19 Thread Hans-Christian Egtvedt
Around Wed 19 Mar 2014 14:03:26 +0100 or thereabout, Alexandre Belloni wrote: > Now that all boards have switch to the generic PWM framework, update the > defconfigs to use it. > > Signed-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt > --- >

Re: [PATCH 10/16] avr32: MRMT: use generic leds_pwm driver

2014-03-19 Thread Hans-Christian Egtvedt
Around Wed 19 Mar 2014 14:03:23 +0100 or thereabout, Alexandre Belloni wrote: > Switch to the generic leds_pwm driver instead of leds-atmel-pwm. > > Signed-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt I do not have this add-on board either, so I can only provide comp

Re: [PATCH 12/16] avr32: favr-32: use generic pwm_bl driver

2014-03-19 Thread Hans-Christian Egtvedt
Around Wed 19 Mar 2014 14:03:25 +0100 or thereabout, Alexandre Belloni wrote: > Switch to the generic pwm_bl driver instead of atmel-pwm-bl. > > Signed-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt I do not have this board either. > --- > arch/avr32/boards/

Re: [PATCH 11/16] avr32: merisc: use generic leds_pwm driver

2014-03-19 Thread Hans-Christian Egtvedt
Around Wed 19 Mar 2014 14:03:24 +0100 or thereabout, Alexandre Belloni wrote: > Switch to the generic leds_pwm driver instead of leds-atmel-pwm. > > Signed-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt I do not have this board either. > --- > arch/avr32/boards

Re: [PATCH 09/16] avr32/at32ap: switch to the generic PWM framework

2014-03-19 Thread Hans-Christian Egtvedt
Around Wed 19 Mar 2014 14:03:22 +0100 or thereabout, Alexandre Belloni wrote: > Switch to the pwm/pwm-atmel driver instead of misc/atmel_pwm > > Signed-off-by: Alexandre Belloni Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/mach-at32ap/at32ap700x.c | 7 ++- >

Re: leds-atmel-pwm and atmel-pwm-bl removal

2014-03-16 Thread Hans-Christian Egtvedt
est anyway, since april 2009, > I only see tree wide changes and I can't believe they didn't get broken > a way or another. I'll be happy to accept a patch that removes the use of the non-generic driver, preferably compile tested. -- mvh Hans-Christian Egtvedt -- To unsubscrib

Re: [PATCH] arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using

2014-03-08 Thread Hans-Christian Egtvedt
post] Error 1 >> make: *** [modules] Error 2 >> >> >> Signed-off-by: Chen Gang Acked-by: Hans-Christian Egtvedt >> --- >> arch/avr32/mm/cache.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/avr32/mm/cache.c b/arch/avr

Re: [PATCH] avr32: remove cpu_data macro to fix compiles

2014-02-23 Thread Hans-Christian Egtvedt
hitecture > cannot do SMP, remove the whole SMP block, too. Only compile tested due > to no hardware. Looks sane, AVR32 doesn't support SMP, so this change should be fine. > Signed-off-by: Wolfram Sang > Acked-by: Hans-Christian Egtvedt > [1] https://lists.01.org/pipermail/kbuild-

Re: linux-next: manual merge of the tip tree with Linus' tree

2014-02-18 Thread Hans-Christian Egtvedt
I typically don't use my Cisco address for avr32 related kernel patches, but it seems to be my own fault, my global gitconfig contained my @cisco.com address. Fixed now. -- Best regards, Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&

[GIT PULL] AVR32 fixes for 3.14

2014-02-17 Thread Hans-Christian Egtvedt
+ 4 files changed, 5 insertions(+), 1 deletion(-) -- mvh Hans-Christian Egtvedt -- 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 Please r

Re: [PATCH] arch: avr32: include: asm: Kbuild: add generic "vga.h"

2014-02-17 Thread Hans-Christian Egtvedt
rs. > Signed-off-by: Chen Gang > Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/Kbuild | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/avr32/include/asm/Kbuild b/arch/avr32/include/asm/Kbuild > index 8b398ff..00a0f3c 100644 > --- a/ar

Re: [PATCH] arch: avr32: include: asm: add generic ioremap_wc() definition in "io.h"

2014-02-17 Thread Hans-Christian Egtvedt
x27;: > drivers/gpu/drm/drm_bufs.c:217: error: implicit declaration of function > 'ioremap_wc' > drivers/gpu/drm/drm_bufs.c:218: warning: assignment makes pointer from > integer without a cast I guess this patch needs to go in before pulling in vga.h. > > Signed

Re: [PATCH] arch: avr32: Makefile: add '-D__linux__' flag for gcc-4.4.7 using.

2014-02-17 Thread Hans-Christian Egtvedt
32_bit_GNU_Toolchain_3.4.2_435 --with-bugurl=http://www > .atmel.com/avr > Thread model: single > gcc version 4.4.7 (AVR_32_bit_GNU_Toolchain_3.4.2_435) > > Signed-off-by: Chen Gang Acked-by: Hans-Christian Egtvedt I will merge this into the avr32 tree in the for-linus branch. AFAICT this is also s

Re: [PATCH 01/10] rtc: rtc-at32ap700x: Remove unnecessary OOM messages

2014-02-07 Thread Hans-Christian Egtvedt
Around Fri 07 Feb 2014 17:02:02 +0900 or thereabout, Jingoo Han wrote: > The site-specific OOM messages are unnecessary, because they > duplicate the MM subsystem generic OOM message. Thanks for cleaning up. > Signed-off-by: Jingoo Han > Acked-by: Hans-Christian Egtvedt > ---

Re: [PATCH] avr32: fix missing module.h causing build failure in mimc200/fram.c

2014-01-12 Thread Hans-Christian Egtvedt
ected specifier-qualifier-list > before 'mode_t' > arch/avr32/boards/mimc200/fram.c:42: error: 'THIS_MODULE' undeclared here > (not in a function) > > Reported-by: Fengguang Wu > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Signed-off-

Re: [PATCH] arch/avr32/boards/mimc200/fram.c: add missing 'module.h' for MODULE_LICENSE

2014-01-12 Thread Hans-Christian Egtvedt
r32/boards/mimc200/fram.c:79: error: function declaration isn't a >> >> prototype > > Untested. Looks very sane. > Reported-by: kbuild test robot > CC: Mark Jackson > CC: Hans-Christian Egtvedt > CC: Haavard Skinnemoen > Signed-off-by: Sergei Trofimovich

[GIT PULL] AVR32 fixes for 3.13

2013-12-09 Thread Hans-Christian Egtvedt
+- arch/avr32/mach-at32ap/pm.c | 2 +- drivers/cpufreq/at32ap-cpufreq.c| 2 +- 19 files changed, 6 insertions(+), 19 deletions(-) -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] avr32: favr-32: clk_round_rate() can return a zero upon error

2013-12-09 Thread Hans-Christian Egtvedt
ss than 0 is kept to preserve > the correct behavior in the meantime. > > Signed-off-by: Paul Walmsley > Cc: Nicolas Ferre > Cc: HÃ¥vard Skinnemoen > Cc: Hans-Christian Egtvedt > Cc: Jean-Christophe PLAGNIOL-VILLARD Thanks for fixing, applied to for-linus branch in git://git

Re: [PATCH] ALSA: at73c213: clk_round_rate() can return a zero upon error

2013-12-09 Thread Hans-Christian Egtvedt
ss than > 0 is kept to preserve the correct behavior in the meantime. > > Signed-off-by: Paul Walmsley > Cc: Hans-Christian Egtvedt > Cc: Takashi Iwai > Cc: Jaroslav Kysela Thanks for fixing. Acked-by: Hans-Christian Egtvedt > --- > Applies on v3.13-rc3. See also: >

Re: [PATCH] ALSA: atmel_abdac: clk_round_rate() can return a zero upon error

2013-12-09 Thread Hans-Christian Egtvedt
ss than > 0 is kept to preserve the correct behavior in the meantime. > > Signed-off-by: Paul Walmsley > Cc: Hans-Christian Egtvedt > Cc: Nicolas Ferre > Cc: Takashi Iwai > Cc: Jaroslav Kysela Thanks for fixing. Acked-by: Hans-Christian Egtvedt > --- > Applies on v3.

Re: [PATCH][RESEND] avr32: remove deprecated IRQF_DISABLED

2013-12-09 Thread Hans-Christian Egtvedt
Around Mon 09 Dec 2013 06:16:51 +0100 or thereabout, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > Acked-by: Hans-Christian

Re: [PATCH] cpufreq_ at32ap-cpufreq.c: Fix section mismatch

2013-12-05 Thread Hans-Christian Egtvedt
s branch. > Signed-off-by: Matthias Brugger Acked-by: Hans-Christian Egtvedt > --- > drivers/cpufreq/at32ap-cpufreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/at32ap-cpufreq.c > b/drivers/cpufreq/at32ap-cpufreq.c > index e0c3

Re: [PATCH] avr32: pm: Fix section mismatch

2013-12-04 Thread Hans-Christian Egtvedt
om the function avr32_pm_offset() to the > function .init.text:pm_exception() > The function avr32_pm_offset() references > the function __init pm_exception(). Thank you for fixing, I'll add this to my for-linus branch. > Signed-off-by: Matthias Brugger > Acked-by: Hans-Christian

Re: [PATCH] avr32: Kill CONFIG_MTD_PARTITIONS

2013-11-26 Thread Hans-Christian Egtvedt
dd this to my for-linus branch. > Signed-off-by: Eunbong Song > Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/configs/atngw100_defconfig |1 - > arch/avr32/configs/atngw100_evklcd100_defconfig|1 - > arch/avr32/configs/atngw100_evklcd101_defconfi

Re: [PATCH 14/24] avr32: Use Kbuild logic to provide

2013-11-25 Thread Hans-Christian Egtvedt
u have my > Signed-off-by: Geert Uytterhoeven > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/Kbuild |1 + > arch/avr32/include/asm/types.h | 19 --- > 2 files changed, 1 insertion(+),

Re: [PATCH 02/24] avr32/uapi: Use Kbuild logic to provide

2013-11-25 Thread Hans-Christian Egtvedt
Around Mon 25 Nov 2013 09:55:12 +0100 or thereabout, Geert Uytterhoeven wrote: > Uapi just includes > Thanks for cleaning. > Signed-off-by: Geert Uytterhoeven > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt Acked-by: Hans-Christian Egtvedt > --- > arch/a

[GIT PULL] AVR32 updates for 3.13

2013-11-20 Thread Hans-Christian Egtvedt
resource.h delete mode 100644 arch/avr32/include/uapi/asm/siginfo.h delete mode 100644 arch/avr32/include/uapi/asm/statfs.h -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH] arch: avr32: uapi: be sure of "_UAPI" prefix for all guard macros

2013-11-13 Thread Hans-Christian Egtvedt
branch. > Signed-off-by: Chen Gang Signed-off-by: Hans-Christian Egtvedt > --- > arch/avr32/include/uapi/asm/auxvec.h |6 +++--- > arch/avr32/include/uapi/asm/bitsperlong.h |1 - > arch/avr32/include/uapi/asm/byteorder.h |6 +++--- > arch/avr32/include/

Re: [PATCH] avr32: Remove HAVE_KPROBES from avr32 Kconfig

2013-11-06 Thread Hans-Christian Egtvedt
b/arch/avr32/Kconfig > @@ -5,7 +5,6 @@ config AVR32 > select EXPERT > select HAVE_CLK > select HAVE_OPROFILE > - select HAVE_KPROBES > select VIRT_TO_BUS > select GENERIC_IRQ_PROBE > select GENERIC_ATOMIC64 -- mvh Hans-Christian Egtvedt -- To u

Re: [PATCH] avr32: remove deprecated IRQF_DISABLED

2013-10-13 Thread Hans-Christian Egtvedt
.flags = IRQF_TIMER | IRQF_DISABLED | IRQF_SHARED, > + .flags = IRQF_TIMER | IRQF_SHARED, > .name = "avr32_comparator", > }; > -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH 13/34] avr32: handle pgtable_page_ctor() fail

2013-10-10 Thread Hans-Christian Egtvedt
Around Thu 10 Oct 2013 21:05:38 +0300 or thereabout, Kirill A. Shutemov wrote: > Signed-off-by: Kirill A. Shutemov Acked-by: Hans-Christian Egtvedt Given [1]. > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > --- > arch/avr32/include/asm/pgalloc.h | 5 - >

[GIT PULL] AVR32 updates for 3.12

2013-09-29 Thread Hans-Christian Egtvedt
/avr32/include/asm/xor.h -- Best regards, Hans-Christian Egtvedt -- 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 Please read the FA

Re: [PATCH] avr32: fix compiler warning

2013-09-25 Thread Hans-Christian Egtvedt
27;copy_thread': > arch/avr32/kernel/process.c:292: warning: assignment makes integer \ > from pointer without a cast Thank you for fixing. > Signed-off-by: Gabor Juhos Acked-by: Hans-Christian Egtvedt > --- > Note: the patch is against v3.12-rc2. Added to my for-

  1   2   >