[GIT PULL] AVR32 update for 4.10

2016-12-12 Thread Hans-Christian Noren 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 4.10

Markus Elfring (4):
  AVR32-clock: Use seq_putc() in two functions
  AVR32-clock: Combine nine seq_printf() calls into one call in clk_show()
  AVR32-pio: Use seq_putc() in pio_bank_show()
  AVR32-pio: Replace two seq_printf() calls by seq_puts() in pio_bank_show()

Hans-Christian Noren Egtvedt (1):
  avr32: wire up pkey syscalls

 arch/avr32/include/uapi/asm/unistd.h |  3 +++
 arch/avr32/kernel/syscall_table.S|  3 +++
 arch/avr32/mach-at32ap/clock.c   | 33 +
 arch/avr32/mach-at32ap/pio.c |  6 +++---
 4 files changed, 30 insertions(+), 15 deletions(-)

-- 
Best regards, Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.10

2016-12-12 Thread Hans-Christian Noren 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 4.10

Markus Elfring (4):
  AVR32-clock: Use seq_putc() in two functions
  AVR32-clock: Combine nine seq_printf() calls into one call in clk_show()
  AVR32-pio: Use seq_putc() in pio_bank_show()
  AVR32-pio: Replace two seq_printf() calls by seq_puts() in pio_bank_show()

Hans-Christian Noren Egtvedt (1):
  avr32: wire up pkey syscalls

 arch/avr32/include/uapi/asm/unistd.h |  3 +++
 arch/avr32/kernel/syscall_table.S|  3 +++
 arch/avr32/mach-at32ap/clock.c   | 33 +
 arch/avr32/mach-at32ap/pio.c |  6 +++---
 4 files changed, 30 insertions(+), 15 deletions(-)

-- 
Best regards, Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.9

2016-10-07 Thread Hans-Christian Noren 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 4.9

Paul Gortmaker (1):
  avr32: migrate exception table users off module.h and onto extable.h

 arch/avr32/kernel/traps.c | 3 ++-
 arch/avr32/mm/fault.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
Best regards, Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.9

2016-10-07 Thread Hans-Christian Noren 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 4.9

Paul Gortmaker (1):
  avr32: migrate exception table users off module.h and onto extable.h

 arch/avr32/kernel/traps.c | 3 ++-
 arch/avr32/mm/fault.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
Best regards, Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.8

2016-07-29 Thread Hans-Christian Noren 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 4.8

Hans-Christian Noren Egtvedt (2):
  avr32: wire up preadv2 and pwritev2 syscalls
  avr32: fixup code style in unistd.h and syscall_table.S

Dan Carpenter (1):
  avr32: off by one in at32_init_pio()

 arch/avr32/include/uapi/asm/unistd.h | 646 +-
 arch/avr32/kernel/syscall-stubs.S|  18 +
 arch/avr32/kernel/syscall_table.S| 662 ++-
 arch/avr32/mach-at32ap/pio.c |   2 +-
 4 files changed, 675 insertions(+), 653 deletions(-)

-- 
Best regards,
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.8

2016-07-29 Thread Hans-Christian Noren 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 4.8

Hans-Christian Noren Egtvedt (2):
  avr32: wire up preadv2 and pwritev2 syscalls
  avr32: fixup code style in unistd.h and syscall_table.S

Dan Carpenter (1):
  avr32: off by one in at32_init_pio()

 arch/avr32/include/uapi/asm/unistd.h | 646 +-
 arch/avr32/kernel/syscall-stubs.S|  18 +
 arch/avr32/kernel/syscall_table.S| 662 ++-
 arch/avr32/mach-at32ap/pio.c |   2 +-
 4 files changed, 675 insertions(+), 653 deletions(-)

-- 
Best regards,
Hans-Christian Noren Egtvedt


Re: [GIT PULL] AVR32 update for 4.7

2016-06-20 Thread Stephen Rothwell
Hi Linus,

On Mon, 20 Jun 2016 10:34:52 -0700 Linus Torvalds 
 wrote:
>
> Come back to me during the next merge window when this is appropriate,
> and when it has been in linux-next for a week or two *without* being
> rebased for no good reason.

That would require that the avr32 tree was actually submitted to
linux-next ... I haven't had an avr32 tree since 2011.

-- 
Cheers,
Stephen Rothwell


Re: [GIT PULL] AVR32 update for 4.7

2016-06-20 Thread Stephen Rothwell
Hi Linus,

On Mon, 20 Jun 2016 10:34:52 -0700 Linus Torvalds 
 wrote:
>
> Come back to me during the next merge window when this is appropriate,
> and when it has been in linux-next for a week or two *without* being
> rebased for no good reason.

That would require that the avr32 tree was actually submitted to
linux-next ... I haven't had an avr32 tree since 2011.

-- 
Cheers,
Stephen Rothwell


Re: [GIT PULL] AVR32 update for 4.7

2016-06-20 Thread Linus Torvalds
On Mon, Jun 20, 2016 at 12:52 AM, Hans-Christian Noren Egtvedt
 wrote:
>
> please pull newly rebased to 4.7-rc4 tag

Yeah, I didn't pull the last time you send this, and it keeps getting
just worse, so I won't be pulling this time either.

I'm not taking 600+ lines of coding style changes during the rc
series. That was true the last time too.

And I'm not taking newly rebased crap, making it even worse.

Come back to me during the next merge window when this is appropriate,
and when it has been in linux-next for a week or two *without* being
rebased for no good reason.

  Linus


Re: [GIT PULL] AVR32 update for 4.7

2016-06-20 Thread Linus Torvalds
On Mon, Jun 20, 2016 at 12:52 AM, Hans-Christian Noren Egtvedt
 wrote:
>
> please pull newly rebased to 4.7-rc4 tag

Yeah, I didn't pull the last time you send this, and it keeps getting
just worse, so I won't be pulling this time either.

I'm not taking 600+ lines of coding style changes during the rc
series. That was true the last time too.

And I'm not taking newly rebased crap, making it even worse.

Come back to me during the next merge window when this is appropriate,
and when it has been in linux-next for a week or two *without* being
rebased for no good reason.

  Linus


[GIT PULL] AVR32 update for 4.7

2016-06-20 Thread Hans-Christian Noren Egtvedt
Hello Linus,

please pull newly rebased to 4.7-rc4 tag

git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus

to receive the following AVR32 update for 4.7

Hans-Christian Noren Egtvedt (2):
  avr32: wire up preadv2 and pwritev2 syscalls
  avr32: fixup code style in unistd.h and syscall_table.S

 arch/avr32/include/uapi/asm/unistd.h | 646 +-
 arch/avr32/kernel/syscall-stubs.S|  18 +
 arch/avr32/kernel/syscall_table.S| 662 ++-
 3 files changed, 674 insertions(+), 652 deletions(-)

-- 
mvh
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.7

2016-06-20 Thread Hans-Christian Noren Egtvedt
Hello Linus,

please pull newly rebased to 4.7-rc4 tag

git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus

to receive the following AVR32 update for 4.7

Hans-Christian Noren Egtvedt (2):
  avr32: wire up preadv2 and pwritev2 syscalls
  avr32: fixup code style in unistd.h and syscall_table.S

 arch/avr32/include/uapi/asm/unistd.h | 646 +-
 arch/avr32/kernel/syscall-stubs.S|  18 +
 arch/avr32/kernel/syscall_table.S| 662 ++-
 3 files changed, 674 insertions(+), 652 deletions(-)

-- 
mvh
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.7

2016-06-06 Thread Hans-Christian Noren 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 4.7

Hans-Christian Noren Egtvedt (2):
  avr32: wire up preadv2 and pwritev2 syscalls
  avr32: fixup code style in unistd.h and syscall_table.S

 arch/avr32/include/uapi/asm/unistd.h | 646 +-
 arch/avr32/kernel/syscall-stubs.S|  18 +
 arch/avr32/kernel/syscall_table.S| 662 ++-
 3 files changed, 674 insertions(+), 652 deletions(-)

-- 
mvh
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.7

2016-06-06 Thread Hans-Christian Noren 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 4.7

Hans-Christian Noren Egtvedt (2):
  avr32: wire up preadv2 and pwritev2 syscalls
  avr32: fixup code style in unistd.h and syscall_table.S

 arch/avr32/include/uapi/asm/unistd.h | 646 +-
 arch/avr32/kernel/syscall-stubs.S|  18 +
 arch/avr32/kernel/syscall_table.S| 662 ++-
 3 files changed, 674 insertions(+), 652 deletions(-)

-- 
mvh
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.6

2016-03-15 Thread Hans-Christian Noren 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 4.6

Hans-Christian Egtvedt (1):
  avr32: wire up copy_file_range syscall

Mans Rullgard (1):
  avr32: fix asm operand constraint in cmpxchg()

 arch/avr32/include/asm/cmpxchg.h | 2 +-
 arch/avr32/include/uapi/asm/unistd.h | 1 +
 arch/avr32/kernel/syscall-stubs.S| 9 +
 arch/avr32/kernel/syscall_table.S| 1 +
 4 files changed, 12 insertions(+), 1 deletion(-)

-- 
Best regards,
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.6

2016-03-15 Thread Hans-Christian Noren 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 4.6

Hans-Christian Egtvedt (1):
  avr32: wire up copy_file_range syscall

Mans Rullgard (1):
  avr32: fix asm operand constraint in cmpxchg()

 arch/avr32/include/asm/cmpxchg.h | 2 +-
 arch/avr32/include/uapi/asm/unistd.h | 1 +
 arch/avr32/kernel/syscall-stubs.S| 9 +
 arch/avr32/kernel/syscall_table.S| 1 +
 4 files changed, 12 insertions(+), 1 deletion(-)

-- 
Best regards,
Hans-Christian Noren Egtvedt


[GIT PULL] AVR32 update for 4.3

2015-11-02 Thread Hans-Christian Noren 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 4.3

Alexandre Belloni (1):
  avr32: atngw100: remove useless include

 arch/avr32/boards/atngw100/mrmt.c | 1 -
 1 file changed, 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://www.tux.org/lkml/


[GIT PULL] AVR32 update for 4.3

2015-11-02 Thread Hans-Christian Noren 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 4.3

Alexandre Belloni (1):
  avr32: atngw100: remove useless include

 arch/avr32/boards/atngw100/mrmt.c | 1 -
 1 file changed, 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://www.tux.org/lkml/


[GIT PULL] AVR32 update for 4.2

2015-07-20 Thread Hans-Christian Egtvedt
Hello Linus,

sorry for the late request. Please pull

git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus

to receive the following AVR32 update for 4.2

Viresh Kumar (1):
  AVR32/time: Migrate to new 'set-state' interface

 arch/avr32/kernel/time.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 majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update for 4.2

2015-07-20 Thread Hans-Christian Egtvedt
Hello Linus,

sorry for the late request. Please pull

git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus

to receive the following AVR32 update for 4.2

Viresh Kumar (1):
  AVR32/time: Migrate to new 'set-state' interface

 arch/avr32/kernel/time.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 majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update for 4.1

2015-04-13 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 4.1

Andrey Ryabinin (1):
  avr32: fix integer overflow in ELF_ET_DYN_BASE

 arch/avr32/include/asm/elf.h | 2 +-
 1 file changed, 1 insertion(+), 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://www.tux.org/lkml/


[GIT PULL] AVR32 update for 4.1

2015-04-13 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 4.1

Andrey Ryabinin (1):
  avr32: fix integer overflow in ELF_ET_DYN_BASE

 arch/avr32/include/asm/elf.h | 2 +-
 1 file changed, 1 insertion(+), 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://www.tux.org/lkml/


[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):
  avr32: remove fake at91 cpu identification

 arch/avr32/configs/atngw100_defconfig   | 30 
--
 arch/avr32/configs/atngw100_evklcd100_defconfig | 30 
--
 arch/avr32/configs/atngw100_evklcd101_defconfig | 30 
--
 arch/avr32/configs/atngw100_mrmt_defconfig  | 23 
---
 arch/avr32/configs/atngw100mkii_defconfig   | 30 
--
 arch/avr32/configs/atngw100mkii_evklcd100_defconfig | 30 
--
 arch/avr32/configs/atngw100mkii_evklcd101_defconfig | 30 
--
 arch/avr32/configs/atstk1002_defconfig  | 30 
+++---
 arch/avr32/configs/atstk1003_defconfig  | 26 
+++---
 arch/avr32/configs/atstk1004_defconfig  | 27 
+++
 arch/avr32/configs/atstk1006_defconfig  | 30 
+++---
 arch/avr32/configs/favr-32_defconfig| 26 
++
 arch/avr32/configs/hammerhead_defconfig | 22 --
 arch/avr32/configs/merisc_defconfig | 23 
+++
 arch/avr32/configs/mimc200_defconfig| 18 --
 arch/avr32/include/asm/unistd.h |  2 +-
 arch/avr32/include/uapi/asm/unistd.h| 41 
+
 arch/avr32/kernel/syscall-stubs.S   | 36 

 arch/avr32/kernel/syscall_table.S   | 37 
+
 arch/avr32/mach-at32ap/include/mach/cpu.h   | 26 
+-
 20 files changed, 209 insertions(+), 338 deletions(-)

-- 
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://www.tux.org/lkml/


[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):
  avr32: remove fake at91 cpu identification

 arch/avr32/configs/atngw100_defconfig   | 30 
--
 arch/avr32/configs/atngw100_evklcd100_defconfig | 30 
--
 arch/avr32/configs/atngw100_evklcd101_defconfig | 30 
--
 arch/avr32/configs/atngw100_mrmt_defconfig  | 23 
---
 arch/avr32/configs/atngw100mkii_defconfig   | 30 
--
 arch/avr32/configs/atngw100mkii_evklcd100_defconfig | 30 
--
 arch/avr32/configs/atngw100mkii_evklcd101_defconfig | 30 
--
 arch/avr32/configs/atstk1002_defconfig  | 30 
+++---
 arch/avr32/configs/atstk1003_defconfig  | 26 
+++---
 arch/avr32/configs/atstk1004_defconfig  | 27 
+++
 arch/avr32/configs/atstk1006_defconfig  | 30 
+++---
 arch/avr32/configs/favr-32_defconfig| 26 
++
 arch/avr32/configs/hammerhead_defconfig | 22 --
 arch/avr32/configs/merisc_defconfig | 23 
+++
 arch/avr32/configs/mimc200_defconfig| 18 --
 arch/avr32/include/asm/unistd.h |  2 +-
 arch/avr32/include/uapi/asm/unistd.h| 41 
+
 arch/avr32/kernel/syscall-stubs.S   | 36 

 arch/avr32/kernel/syscall_table.S   | 37 
+
 arch/avr32/mach-at32ap/include/mach/cpu.h   | 26 
+-
 20 files changed, 209 insertions(+), 338 deletions(-)

-- 
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://www.tux.org/lkml/


[GIT PULL] AVR32 update for 3.17

2014-08-07 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.17

Julia Lawall (1):
  avr32: fix error return code

 arch/avr32/boards/hammerhead/flash.c | 11 ---
 1 file changed, 8 insertions(+), 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/


[GIT PULL] AVR32 update for 3.17

2014-08-07 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.17

Julia Lawall (1):
  avr32: fix error return code

 arch/avr32/boards/hammerhead/flash.c | 11 ---
 1 file changed, 8 insertions(+), 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/


[GIT PULL] AVR32 update for 3.10

2013-05-22 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 updates for 3.10 (wow, it has gone 10 releases
since my last request :( ).

Hans-Christian Egtvedt (2):
  avr32: move NODES_SHIFT into Kconfig and delete numnodes.h
  avr32: fix relocation check for signed 18-bit offset

Jiang Liu (1):
  avr32: fix building warnings caused by redefinitions of HZ

 arch/avr32/Kconfig  |5 +
 arch/avr32/include/asm/Kbuild   |1 +
 arch/avr32/include/asm/numnodes.h   |7 ---
 arch/avr32/include/asm/param.h  |9 -
 arch/avr32/include/uapi/asm/Kbuild  |1 +
 arch/avr32/include/uapi/asm/param.h |   18 --
 arch/avr32/kernel/module.c  |2 +-
 7 files changed, 8 insertions(+), 35 deletions(-)
 delete mode 100644 arch/avr32/include/asm/numnodes.h
 delete mode 100644 arch/avr32/include/asm/param.h
 delete mode 100644 arch/avr32/include/uapi/asm/param.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 FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update for 3.10

2013-05-22 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 updates for 3.10 (wow, it has gone 10 releases
since my last request :( ).

Hans-Christian Egtvedt (2):
  avr32: move NODES_SHIFT into Kconfig and delete numnodes.h
  avr32: fix relocation check for signed 18-bit offset

Jiang Liu (1):
  avr32: fix building warnings caused by redefinitions of HZ

 arch/avr32/Kconfig  |5 +
 arch/avr32/include/asm/Kbuild   |1 +
 arch/avr32/include/asm/numnodes.h   |7 ---
 arch/avr32/include/asm/param.h  |9 -
 arch/avr32/include/uapi/asm/Kbuild  |1 +
 arch/avr32/include/uapi/asm/param.h |   18 --
 arch/avr32/kernel/module.c  |2 +-
 7 files changed, 8 insertions(+), 35 deletions(-)
 delete mode 100644 arch/avr32/include/asm/numnodes.h
 delete mode 100644 arch/avr32/include/asm/param.h
 delete mode 100644 arch/avr32/include/uapi/asm/param.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 FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update

2008-01-25 Thread Haavard Skinnemoen
Hi Linus,

Please pull from the for-linus branch of

  ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git 
for-linus

to receive the following changes.

Mathieu, this includes the patch that adds the instrumentation menu to
avr32, bringing it in line with most other architectures at the moment.
Please update your patch so that it also updates the avr32 Kconfig when
removing it.

David Brownell (1):
  [AVR32] extint: change set_irq_type() handling

Haavard Skinnemoen (16):
  [AVR32] Drop GFP_COMP for DMA memory allocations
  [AVR32] Remove redundant try_to_freeze() call from do_signal()
  ptrace: Call arch_ptrace_attach() when request=PTRACE_TRACEME
  [AVR32] Enable debugging only when needed
  [AVR32] Include instrumentation menu
  [AVR32] Oprofile support
  [AVR32] Provide more CPU information in /proc/cpuinfo and dmesg
  [AVR32] Add support for AT32AP7001 and AT32AP7002
  [AVR32] ATSTK1000: Move gpio-leds setup to setup.c
  [AVR32] Clean up external DAC setup code
  [AVR32] Add support for ATSTK1003 and ATSTK1004
  [AVR32] Kconfig: Choose daughterboard instead of CPU
  [AVR32] ATSTK1002: Update defconfig
  [AVR32] ATNGW100: Update defconfig
  [AVR32] NMI debugging
  [AVR32] extint: Set initial irq type to low level

Hans-Christian Egtvedt (1):
  Disable VGA text console for AVR32 architecture

Jan Engelhardt (1):
  [AVR32] constify function pointer tables

 Documentation/kernel-parameters.txt|5 +
 arch/avr32/Kconfig |   47 +-
 arch/avr32/Kconfig.debug   |   10 -
 arch/avr32/Makefile|3 +-
 arch/avr32/boards/atngw100/setup.c |2 +-
 arch/avr32/boards/atstk1000/Kconfig|   58 +-
 arch/avr32/boards/atstk1000/Makefile   |2 +
 arch/avr32/boards/atstk1000/atstk1000.h|2 +
 arch/avr32/boards/atstk1000/atstk1002.c|  106 +--
 arch/avr32/boards/atstk1000/atstk1003.c|  162 
 arch/avr32/boards/atstk1000/atstk1004.c|  147 +++
 arch/avr32/boards/atstk1000/setup.c|   64 ++
 arch/avr32/configs/atngw100_defconfig  |  418 +---
 arch/avr32/configs/atstk1002_defconfig |  637 ++---
 arch/avr32/configs/atstk1003_defconfig | 1015 
 arch/avr32/configs/atstk1004_defconfig |  621 
 arch/avr32/kernel/Makefile |3 +-
 arch/avr32/kernel/cpu.c|   96 ++-
 arch/avr32/kernel/irq.c|   11 +
 arch/avr32/kernel/kprobes.c|5 +-
 arch/avr32/kernel/nmi_debug.c  |   82 ++
 arch/avr32/kernel/ocd.c|  163 
 arch/avr32/kernel/process.c|5 +-
 arch/avr32/kernel/ptrace.c |5 +-
 arch/avr32/kernel/signal.c |7 -
 arch/avr32/kernel/traps.c  |   21 +-
 arch/avr32/mach-at32ap/Kconfig |   12 +-
 arch/avr32/mach-at32ap/Makefile|4 +-
 .../mach-at32ap/{at32ap7000.c => at32ap700x.c} |   15 +-
 arch/avr32/mach-at32ap/extint.c|   59 +-
 arch/avr32/mm/dma-coherent.c   |7 +
 arch/avr32/mm/tlb.c|2 +-
 arch/avr32/oprofile/Makefile   |8 +
 arch/avr32/oprofile/op_model_avr32.c   |  235 +
 drivers/video/console/Kconfig  |2 +-
 drivers/watchdog/Kconfig   |2 +-
 .../arch-at32ap/{at32ap7000.h => at32ap700x.h} |6 +-
 include/asm-avr32/arch-at32ap/cpu.h|2 +-
 include/asm-avr32/arch-at32ap/io.h |4 +-
 include/asm-avr32/irq.h|5 +
 include/asm-avr32/kdebug.h |1 +
 include/asm-avr32/ocd.h|5 +
 include/asm-avr32/processor.h  |   14 +
 include/asm-avr32/ptrace.h |   13 +-
 include/asm-avr32/thread_info.h|1 +
 kernel/ptrace.c|2 +
 46 files changed, 3579 insertions(+), 517 deletions(-)
 create mode 100644 arch/avr32/boards/atstk1000/atstk1003.c
 create mode 100644 arch/avr32/boards/atstk1000/atstk1004.c
 create mode 100644 arch/avr32/configs/atstk1003_defconfig
 create mode 100644 arch/avr32/configs/atstk1004_defconfig
 create mode 100644 arch/avr32/kernel/nmi_debug.c
 create mode 100644 arch/avr32/kernel/ocd.c
 rename arch/avr32/mach-at32ap/{at32ap7000.c => at32ap700x.c} (98%)
 create mode 100644 arch/avr32/oprofile/Makefile
 create mode 100644 arch/avr32/oprofile/op_model_avr32.c
 rename include/asm-avr32/arch-at32ap/{at32ap7000.h => 

[GIT PULL] AVR32 update

2008-01-25 Thread Haavard Skinnemoen
Hi Linus,

Please pull from the for-linus branch of

  ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git 
for-linus

to receive the following changes.

Mathieu, this includes the patch that adds the instrumentation menu to
avr32, bringing it in line with most other architectures at the moment.
Please update your patch so that it also updates the avr32 Kconfig when
removing it.

David Brownell (1):
  [AVR32] extint: change set_irq_type() handling

Haavard Skinnemoen (16):
  [AVR32] Drop GFP_COMP for DMA memory allocations
  [AVR32] Remove redundant try_to_freeze() call from do_signal()
  ptrace: Call arch_ptrace_attach() when request=PTRACE_TRACEME
  [AVR32] Enable debugging only when needed
  [AVR32] Include instrumentation menu
  [AVR32] Oprofile support
  [AVR32] Provide more CPU information in /proc/cpuinfo and dmesg
  [AVR32] Add support for AT32AP7001 and AT32AP7002
  [AVR32] ATSTK1000: Move gpio-leds setup to setup.c
  [AVR32] Clean up external DAC setup code
  [AVR32] Add support for ATSTK1003 and ATSTK1004
  [AVR32] Kconfig: Choose daughterboard instead of CPU
  [AVR32] ATSTK1002: Update defconfig
  [AVR32] ATNGW100: Update defconfig
  [AVR32] NMI debugging
  [AVR32] extint: Set initial irq type to low level

Hans-Christian Egtvedt (1):
  Disable VGA text console for AVR32 architecture

Jan Engelhardt (1):
  [AVR32] constify function pointer tables

 Documentation/kernel-parameters.txt|5 +
 arch/avr32/Kconfig |   47 +-
 arch/avr32/Kconfig.debug   |   10 -
 arch/avr32/Makefile|3 +-
 arch/avr32/boards/atngw100/setup.c |2 +-
 arch/avr32/boards/atstk1000/Kconfig|   58 +-
 arch/avr32/boards/atstk1000/Makefile   |2 +
 arch/avr32/boards/atstk1000/atstk1000.h|2 +
 arch/avr32/boards/atstk1000/atstk1002.c|  106 +--
 arch/avr32/boards/atstk1000/atstk1003.c|  162 
 arch/avr32/boards/atstk1000/atstk1004.c|  147 +++
 arch/avr32/boards/atstk1000/setup.c|   64 ++
 arch/avr32/configs/atngw100_defconfig  |  418 +---
 arch/avr32/configs/atstk1002_defconfig |  637 ++---
 arch/avr32/configs/atstk1003_defconfig | 1015 
 arch/avr32/configs/atstk1004_defconfig |  621 
 arch/avr32/kernel/Makefile |3 +-
 arch/avr32/kernel/cpu.c|   96 ++-
 arch/avr32/kernel/irq.c|   11 +
 arch/avr32/kernel/kprobes.c|5 +-
 arch/avr32/kernel/nmi_debug.c  |   82 ++
 arch/avr32/kernel/ocd.c|  163 
 arch/avr32/kernel/process.c|5 +-
 arch/avr32/kernel/ptrace.c |5 +-
 arch/avr32/kernel/signal.c |7 -
 arch/avr32/kernel/traps.c  |   21 +-
 arch/avr32/mach-at32ap/Kconfig |   12 +-
 arch/avr32/mach-at32ap/Makefile|4 +-
 .../mach-at32ap/{at32ap7000.c = at32ap700x.c} |   15 +-
 arch/avr32/mach-at32ap/extint.c|   59 +-
 arch/avr32/mm/dma-coherent.c   |7 +
 arch/avr32/mm/tlb.c|2 +-
 arch/avr32/oprofile/Makefile   |8 +
 arch/avr32/oprofile/op_model_avr32.c   |  235 +
 drivers/video/console/Kconfig  |2 +-
 drivers/watchdog/Kconfig   |2 +-
 .../arch-at32ap/{at32ap7000.h = at32ap700x.h} |6 +-
 include/asm-avr32/arch-at32ap/cpu.h|2 +-
 include/asm-avr32/arch-at32ap/io.h |4 +-
 include/asm-avr32/irq.h|5 +
 include/asm-avr32/kdebug.h |1 +
 include/asm-avr32/ocd.h|5 +
 include/asm-avr32/processor.h  |   14 +
 include/asm-avr32/ptrace.h |   13 +-
 include/asm-avr32/thread_info.h|1 +
 kernel/ptrace.c|2 +
 46 files changed, 3579 insertions(+), 517 deletions(-)
 create mode 100644 arch/avr32/boards/atstk1000/atstk1003.c
 create mode 100644 arch/avr32/boards/atstk1000/atstk1004.c
 create mode 100644 arch/avr32/configs/atstk1003_defconfig
 create mode 100644 arch/avr32/configs/atstk1004_defconfig
 create mode 100644 arch/avr32/kernel/nmi_debug.c
 create mode 100644 arch/avr32/kernel/ocd.c
 rename arch/avr32/mach-at32ap/{at32ap7000.c = at32ap700x.c} (98%)
 create mode 100644 arch/avr32/oprofile/Makefile
 create mode 100644 arch/avr32/oprofile/op_model_avr32.c
 rename include/asm-avr32/arch-at32ap/{at32ap7000.h = 

[GIT PULL] AVR32 update

2007-08-15 Thread Haavard Skinnemoen
Hi Linus,

Please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git 
for-linus

to receive the following changes.

David Brownell (1):
  [AVR32] leds-gpio for stk1000

Haavard Skinnemoen (4):
  [AVR32] Wire up i2c-gpio on the ATNGW100 board
  [AVR32] Simplify pte_alloc_one{,_kernel}
  [AVR32] Fix bogus pte_page() definition
  [AVR32] Define mmiowb()

Mariusz Kozlowski (1):
  include/asm-avr32/pgalloc.h: kmalloc + memset conversion to kcalloc

 arch/avr32/boards/atngw100/setup.c  |   18 +
 arch/avr32/boards/atstk1000/Kconfig |   26 +
 arch/avr32/boards/atstk1000/atstk1002.c |   62 +++
 include/asm-avr32/io.h  |2 +
 include/asm-avr32/pgalloc.h |   30 +-
 include/asm-avr32/pgtable.h |4 +-
 6 files changed, 112 insertions(+), 30 deletions(-)

diff --git a/arch/avr32/boards/atngw100/setup.c 
b/arch/avr32/boards/atngw100/setup.c
index 2edcecd..ef80156 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -9,6 +9,7 @@
  */
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -123,6 +124,19 @@ static struct platform_device ngw_gpio_leds = {
}
 };
 
+static struct i2c_gpio_platform_data i2c_gpio_data = {
+   .sda_pin= GPIO_PIN_PA(6),
+   .scl_pin= GPIO_PIN_PA(7),
+};
+
+static struct platform_device i2c_gpio_device = {
+   .name   = "i2c-gpio",
+   .id = 0,
+   .dev= {
+   .platform_data  = _gpio_data,
+   },
+};
+
 static int __init atngw100_init(void)
 {
unsignedi;
@@ -147,6 +161,10 @@ static int __init atngw100_init(void)
}
platform_device_register(_gpio_leds);
 
+   at32_select_gpio(i2c_gpio_data.sda_pin, 0);
+   at32_select_gpio(i2c_gpio_data.scl_pin, 0);
+   platform_device_register(_gpio_device);
+
return 0;
 }
 postcore_initcall(atngw100_init);
diff --git a/arch/avr32/boards/atstk1000/Kconfig 
b/arch/avr32/boards/atstk1000/Kconfig
index 71bc7d3..718578f 100644
--- a/arch/avr32/boards/atstk1000/Kconfig
+++ b/arch/avr32/boards/atstk1000/Kconfig
@@ -50,4 +50,30 @@ config BOARD_ATSTK1002_SPI1
  GPIO lines and accessed through the J1 jumper block.  Say "y"
  here to configure that SPI controller.
 
+config BOARD_ATSTK1002_J2_LED
+   bool
+   default BOARD_ATSTK1002_J2_LED8 || BOARD_ATSTK1002_J2_RGB
+
+choice
+   prompt "LEDs connected to J2:"
+   depends on LEDS_GPIO && !BOARD_ATSTK1002_SW4_CUSTOM
+   optional
+   help
+ Select this if you have jumpered the J2 jumper block to the
+ LED0..LED7 amber leds, or to the RGB leds, using a ten-pin
+ IDC cable.  A default "heartbeat" trigger is provided, but
+ you can of course override this.
+
+config BOARD_ATSTK1002_J2_LED8
+   bool "LED0..LED7"
+   help
+ Select this if J2 is jumpered to LED0..LED7 amber leds.
+
+config BOARD_ATSTK1002_J2_RGB
+   bool "RGB leds"
+   help
+ Select this if J2 is jumpered to the RGB leds.
+
+endchoice
+
 endif  # stk 1002
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index cb93eab..c9981b7 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -11,6 +11,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -120,6 +121,65 @@ static void __init set_hw_addr(struct platform_device 
*pdev)
clk_put(pclk);
 }
 
+#ifdef CONFIG_BOARD_ATSTK1002_J2_LED
+
+static struct gpio_led stk_j2_led[] = {
+#ifdef CONFIG_BOARD_ATSTK1002_J2_LED8
+#define LEDSTRING "J2 jumpered to LED8"
+   { .name = "led0:amber", .gpio = GPIO_PIN_PB( 8), },
+   { .name = "led1:amber", .gpio = GPIO_PIN_PB( 9), },
+   { .name = "led2:amber", .gpio = GPIO_PIN_PB(10), },
+   { .name = "led3:amber", .gpio = GPIO_PIN_PB(13), },
+   { .name = "led4:amber", .gpio = GPIO_PIN_PB(14), },
+   { .name = "led5:amber", .gpio = GPIO_PIN_PB(15), },
+   { .name = "led6:amber", .gpio = GPIO_PIN_PB(16), },
+   { .name = "led7:amber", .gpio = GPIO_PIN_PB(30),
+   .default_trigger = "heartbeat", },
+#else  /* RGB */
+#define LEDSTRING "J2 jumpered to RGB LEDs"
+   { .name = "r1:red", .gpio = GPIO_PIN_PB( 8), },
+   { .name = "g1:green",   .gpio = GPIO_PIN_PB(10), },
+   { .name = "b1:blue",.gpio = GPIO_PIN_PB(14), },
+
+   { .name = "r2:red", .gpio = GPIO_PIN_PB( 9),
+   .default_trigger = "heartbeat", },
+   { .name = "g2:green",   .gpio = GPIO_PIN_PB(13), },
+   { .name = "b2:blue",.gpio = GPIO_PIN_PB(15),
+   .default_trigger = "heartbeat", },
+   /* PB16, PB30 unused */
+#endif
+};
+
+static struct gpio_led_platform_data stk_j2_led_data = {
+   .num_leds   

[GIT PULL] AVR32 update

2007-08-15 Thread Haavard Skinnemoen
Hi Linus,

Please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git 
for-linus

to receive the following changes.

David Brownell (1):
  [AVR32] leds-gpio for stk1000

Haavard Skinnemoen (4):
  [AVR32] Wire up i2c-gpio on the ATNGW100 board
  [AVR32] Simplify pte_alloc_one{,_kernel}
  [AVR32] Fix bogus pte_page() definition
  [AVR32] Define mmiowb()

Mariusz Kozlowski (1):
  include/asm-avr32/pgalloc.h: kmalloc + memset conversion to kcalloc

 arch/avr32/boards/atngw100/setup.c  |   18 +
 arch/avr32/boards/atstk1000/Kconfig |   26 +
 arch/avr32/boards/atstk1000/atstk1002.c |   62 +++
 include/asm-avr32/io.h  |2 +
 include/asm-avr32/pgalloc.h |   30 +-
 include/asm-avr32/pgtable.h |4 +-
 6 files changed, 112 insertions(+), 30 deletions(-)

diff --git a/arch/avr32/boards/atngw100/setup.c 
b/arch/avr32/boards/atngw100/setup.c
index 2edcecd..ef80156 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -9,6 +9,7 @@
  */
 #include linux/clk.h
 #include linux/etherdevice.h
+#include linux/i2c-gpio.h
 #include linux/init.h
 #include linux/linkage.h
 #include linux/platform_device.h
@@ -123,6 +124,19 @@ static struct platform_device ngw_gpio_leds = {
}
 };
 
+static struct i2c_gpio_platform_data i2c_gpio_data = {
+   .sda_pin= GPIO_PIN_PA(6),
+   .scl_pin= GPIO_PIN_PA(7),
+};
+
+static struct platform_device i2c_gpio_device = {
+   .name   = i2c-gpio,
+   .id = 0,
+   .dev= {
+   .platform_data  = i2c_gpio_data,
+   },
+};
+
 static int __init atngw100_init(void)
 {
unsignedi;
@@ -147,6 +161,10 @@ static int __init atngw100_init(void)
}
platform_device_register(ngw_gpio_leds);
 
+   at32_select_gpio(i2c_gpio_data.sda_pin, 0);
+   at32_select_gpio(i2c_gpio_data.scl_pin, 0);
+   platform_device_register(i2c_gpio_device);
+
return 0;
 }
 postcore_initcall(atngw100_init);
diff --git a/arch/avr32/boards/atstk1000/Kconfig 
b/arch/avr32/boards/atstk1000/Kconfig
index 71bc7d3..718578f 100644
--- a/arch/avr32/boards/atstk1000/Kconfig
+++ b/arch/avr32/boards/atstk1000/Kconfig
@@ -50,4 +50,30 @@ config BOARD_ATSTK1002_SPI1
  GPIO lines and accessed through the J1 jumper block.  Say y
  here to configure that SPI controller.
 
+config BOARD_ATSTK1002_J2_LED
+   bool
+   default BOARD_ATSTK1002_J2_LED8 || BOARD_ATSTK1002_J2_RGB
+
+choice
+   prompt LEDs connected to J2:
+   depends on LEDS_GPIO  !BOARD_ATSTK1002_SW4_CUSTOM
+   optional
+   help
+ Select this if you have jumpered the J2 jumper block to the
+ LED0..LED7 amber leds, or to the RGB leds, using a ten-pin
+ IDC cable.  A default heartbeat trigger is provided, but
+ you can of course override this.
+
+config BOARD_ATSTK1002_J2_LED8
+   bool LED0..LED7
+   help
+ Select this if J2 is jumpered to LED0..LED7 amber leds.
+
+config BOARD_ATSTK1002_J2_RGB
+   bool RGB leds
+   help
+ Select this if J2 is jumpered to the RGB leds.
+
+endchoice
+
 endif  # stk 1002
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index cb93eab..c9981b7 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -11,6 +11,7 @@
 #include linux/etherdevice.h
 #include linux/init.h
 #include linux/kernel.h
+#include linux/leds.h
 #include linux/platform_device.h
 #include linux/string.h
 #include linux/types.h
@@ -120,6 +121,65 @@ static void __init set_hw_addr(struct platform_device 
*pdev)
clk_put(pclk);
 }
 
+#ifdef CONFIG_BOARD_ATSTK1002_J2_LED
+
+static struct gpio_led stk_j2_led[] = {
+#ifdef CONFIG_BOARD_ATSTK1002_J2_LED8
+#define LEDSTRING J2 jumpered to LED8
+   { .name = led0:amber, .gpio = GPIO_PIN_PB( 8), },
+   { .name = led1:amber, .gpio = GPIO_PIN_PB( 9), },
+   { .name = led2:amber, .gpio = GPIO_PIN_PB(10), },
+   { .name = led3:amber, .gpio = GPIO_PIN_PB(13), },
+   { .name = led4:amber, .gpio = GPIO_PIN_PB(14), },
+   { .name = led5:amber, .gpio = GPIO_PIN_PB(15), },
+   { .name = led6:amber, .gpio = GPIO_PIN_PB(16), },
+   { .name = led7:amber, .gpio = GPIO_PIN_PB(30),
+   .default_trigger = heartbeat, },
+#else  /* RGB */
+#define LEDSTRING J2 jumpered to RGB LEDs
+   { .name = r1:red, .gpio = GPIO_PIN_PB( 8), },
+   { .name = g1:green,   .gpio = GPIO_PIN_PB(10), },
+   { .name = b1:blue,.gpio = GPIO_PIN_PB(14), },
+
+   { .name = r2:red, .gpio = GPIO_PIN_PB( 9),
+   .default_trigger = heartbeat, },
+   { .name = g2:green,   .gpio = GPIO_PIN_PB(13), },
+   { .name = b2:blue,.gpio = GPIO_PIN_PB(15),
+

[GIT PULL] AVR32 update

2007-07-18 Thread Haavard Skinnemoen
Hi Linus,

Please pull

  git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git 
for-linus

to receive the following updates.

David Brownell (2):
  [AVR32] faster avr32 unaligned access
  [AVR32] Make STK1000 mux settings configurable

Haavard Skinnemoen (5):
  [AVR32] Split SM device into PM, RTC, WDT and EIC
  [AVR32] Remove optimization of unaligned word loads
  [AVR32] Fix build error in parse_tag_rdimg()
  [AVR32] Fix atomic_add_unless() and atomic_sub_unless()
  [AVR32] Initialize phy_mask for both macb devices

Hans-Christian Egtvedt (3):
  [AVR32] CPU frequency scaling for AT32AP
  [AVR32] Add Atmel SSC driver platform device to AT32AP architecture
  [AVR32] Wire up SSC platform device 0 as TX on ATSTK1000 board

Kristoffer Nyborg Gregertsen (1):
  [AVR32] Don't wire up macb0 unless SW6 is in default position

Robert P. J. Day (1):
  [AVR32] Correct misspelled CONFIG_BLK_DEV_INITRD variable.

 arch/avr32/Kconfig  |   25 +++
 arch/avr32/boards/atstk1000/Kconfig |   53 +
 arch/avr32/boards/atstk1000/atstk1002.c |   50 -
 arch/avr32/kernel/setup.c   |4 +-
 arch/avr32/mach-at32ap/Makefile |1 +
 arch/avr32/mach-at32ap/at32ap.c |   31 ---
 arch/avr32/mach-at32ap/at32ap7000.c |  340 +++
 arch/avr32/mach-at32ap/cpufreq.c|  112 ++
 arch/avr32/mach-at32ap/extint.c |  200 --
 arch/avr32/mach-at32ap/pm.h |  112 ++
 arch/avr32/mach-at32ap/sm.h |  242 --
 include/asm-avr32/arch-at32ap/board.h   |   14 ++
 include/asm-avr32/arch-at32ap/sm.h  |   27 ---
 include/asm-avr32/atomic.h  |4 +-
 include/asm-avr32/unaligned.h   |   15 +-
 15 files changed, 751 insertions(+), 479 deletions(-)
 create mode 100644 arch/avr32/boards/atstk1000/Kconfig
 create mode 100644 arch/avr32/mach-at32ap/cpufreq.c
 create mode 100644 arch/avr32/mach-at32ap/pm.h
 delete mode 100644 arch/avr32/mach-at32ap/sm.h
 delete mode 100644 include/asm-avr32/arch-at32ap/sm.h
-
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 read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update

2007-07-18 Thread Haavard Skinnemoen
Hi Linus,

Please pull

  git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git 
for-linus

to receive the following updates.

David Brownell (2):
  [AVR32] faster avr32 unaligned access
  [AVR32] Make STK1000 mux settings configurable

Haavard Skinnemoen (5):
  [AVR32] Split SM device into PM, RTC, WDT and EIC
  [AVR32] Remove optimization of unaligned word loads
  [AVR32] Fix build error in parse_tag_rdimg()
  [AVR32] Fix atomic_add_unless() and atomic_sub_unless()
  [AVR32] Initialize phy_mask for both macb devices

Hans-Christian Egtvedt (3):
  [AVR32] CPU frequency scaling for AT32AP
  [AVR32] Add Atmel SSC driver platform device to AT32AP architecture
  [AVR32] Wire up SSC platform device 0 as TX on ATSTK1000 board

Kristoffer Nyborg Gregertsen (1):
  [AVR32] Don't wire up macb0 unless SW6 is in default position

Robert P. J. Day (1):
  [AVR32] Correct misspelled CONFIG_BLK_DEV_INITRD variable.

 arch/avr32/Kconfig  |   25 +++
 arch/avr32/boards/atstk1000/Kconfig |   53 +
 arch/avr32/boards/atstk1000/atstk1002.c |   50 -
 arch/avr32/kernel/setup.c   |4 +-
 arch/avr32/mach-at32ap/Makefile |1 +
 arch/avr32/mach-at32ap/at32ap.c |   31 ---
 arch/avr32/mach-at32ap/at32ap7000.c |  340 +++
 arch/avr32/mach-at32ap/cpufreq.c|  112 ++
 arch/avr32/mach-at32ap/extint.c |  200 --
 arch/avr32/mach-at32ap/pm.h |  112 ++
 arch/avr32/mach-at32ap/sm.h |  242 --
 include/asm-avr32/arch-at32ap/board.h   |   14 ++
 include/asm-avr32/arch-at32ap/sm.h  |   27 ---
 include/asm-avr32/atomic.h  |4 +-
 include/asm-avr32/unaligned.h   |   15 +-
 15 files changed, 751 insertions(+), 479 deletions(-)
 create mode 100644 arch/avr32/boards/atstk1000/Kconfig
 create mode 100644 arch/avr32/mach-at32ap/cpufreq.c
 create mode 100644 arch/avr32/mach-at32ap/pm.h
 delete mode 100644 arch/avr32/mach-at32ap/sm.h
 delete mode 100644 include/asm-avr32/arch-at32ap/sm.h
-
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 read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update

2007-05-16 Thread Haavard Skinnemoen
Linus,

Please pull from the 'for-linus' branch of

  git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates. The bulk of it is board-specific
monitor specs and other data for the atmel_lcdfb driver that was merged
last week.

Christoph Hellwig (1):
  [AVR32] optimize pagefault path

Haavard Skinnemoen (3):
  [AVR32] Remove bogus comment in arch/avr32/kernel/irq.c
  [AVR32] Wire up signalfd, timerfd and eventfd
  [AVR32] Implement platform hooks for atmel_lcdfb driver

 arch/avr32/boards/atstk1000/atstk1000.h |   15 ++
 arch/avr32/boards/atstk1000/atstk1002.c |   10 ++--
 arch/avr32/boards/atstk1000/setup.c |   45 +-
 arch/avr32/kernel/irq.c |9 
 arch/avr32/kernel/kprobes.c |7 +--
 arch/avr32/kernel/syscall_table.S   |3 +
 arch/avr32/mach-at32ap/at32ap7000.c |   77 ---
 arch/avr32/mm/fault.c   |   36 +--
 include/asm-avr32/arch-at32ap/board.h   |8 +--
 include/asm-avr32/kdebug.h  |   17 +--
 include/asm-avr32/kprobes.h |1 +
 include/asm-avr32/unistd.h  |5 ++-
 12 files changed, 161 insertions(+), 72 deletions(-)
 create mode 100644 arch/avr32/boards/atstk1000/atstk1000.h

diff --git a/arch/avr32/boards/atstk1000/atstk1000.h 
b/arch/avr32/boards/atstk1000/atstk1000.h
new file mode 100644
index 000..9a49ed0
--- /dev/null
+++ b/arch/avr32/boards/atstk1000/atstk1000.h
@@ -0,0 +1,15 @@
+/*
+ * ATSTK1000 setup code: Daughterboard interface
+ *
+ * Copyright (C) 2007 Atmel Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H
+#define __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H
+
+extern struct atmel_lcdfb_info atstk1000_lcdc_data;
+
+#endif /* __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H */
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index abe6ca2..fe1dbe2 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -16,6 +16,8 @@
 #include 
 #include 
 
+#include 
+
 #include 
 #include 
 #include 
@@ -23,6 +25,7 @@
 #include 
 #include 
 
+#include "atstk1000.h"
 
 #defineSW2_DEFAULT /* MMCI and UART_A available */
 
@@ -31,9 +34,7 @@ struct eth_addr {
 };
 
 static struct eth_addr __initdata hw_addr[2];
-
 static struct eth_platform_data __initdata eth_data[2];
-static struct lcdc_platform_data atstk1000_fb0_data;
 
 static struct spi_board_info spi0_board_info[] __initdata = {
{
@@ -148,9 +149,8 @@ static int __init atstk1002_init(void)
set_hw_addr(at32_add_device_eth(0, _data[0]));
 
at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
-   atstk1000_fb0_data.fbmem_start = fbmem_start;
-   atstk1000_fb0_data.fbmem_size = fbmem_size;
-   at32_add_device_lcdc(0, _fb0_data);
+   at32_add_device_lcdc(0, _lcdc_data,
+fbmem_start, fbmem_size);
 
return 0;
 }
diff --git a/arch/avr32/boards/atstk1000/setup.c 
b/arch/avr32/boards/atstk1000/setup.c
index 2bc4b88..c9af409 100644
--- a/arch/avr32/boards/atstk1000/setup.c
+++ b/arch/avr32/boards/atstk1000/setup.c
@@ -8,13 +8,56 @@
  * published by the Free Software Foundation.
  */
 #include 
+#include 
 #include 
 #include 
 #include 
 
-#include 
+#include 
 
+#include 
 #include 
 
+#include "atstk1000.h"
+
 /* Initialized by bootloader-specific startup code. */
 struct tag *bootloader_tags __initdata;
+
+static struct fb_videomode __initdata ltv350qv_modes[] = {
+   {
+   .name   = "320x240 @ 75",
+   .refresh= 75,
+   .xres   = 320,  .yres   = 240,
+   .pixclock   = KHZ2PICOS(6891),
+
+   .left_margin= 17,   .right_margin   = 33,
+   .upper_margin   = 10,   .lower_margin   = 10,
+   .hsync_len  = 16,   .vsync_len  = 1,
+
+   .sync   = 0,
+   .vmode  = FB_VMODE_NONINTERLACED,
+   },
+};
+
+static struct fb_monspecs __initdata atstk1000_default_monspecs = {
+   .manufacturer   = "SNG",
+   .monitor= "LTV350QV",
+   .modedb = ltv350qv_modes,
+   .modedb_len = ARRAY_SIZE(ltv350qv_modes),
+   .hfmin  = 14820,
+   .hfmax  = 22230,
+   .vfmin  = 60,
+   .vfmax  = 90,
+   .dclkmax= 3000,
+};
+
+struct atmel_lcdfb_info __initdata atstk1000_lcdc_data = {
+   .default_bpp= 24,
+   .default_dmacon = ATMEL_LCDC_DMAEN | 

[GIT PULL] AVR32 update

2007-05-16 Thread Haavard Skinnemoen
Linus,

Please pull from the 'for-linus' branch of

  git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates. The bulk of it is board-specific
monitor specs and other data for the atmel_lcdfb driver that was merged
last week.

Christoph Hellwig (1):
  [AVR32] optimize pagefault path

Haavard Skinnemoen (3):
  [AVR32] Remove bogus comment in arch/avr32/kernel/irq.c
  [AVR32] Wire up signalfd, timerfd and eventfd
  [AVR32] Implement platform hooks for atmel_lcdfb driver

 arch/avr32/boards/atstk1000/atstk1000.h |   15 ++
 arch/avr32/boards/atstk1000/atstk1002.c |   10 ++--
 arch/avr32/boards/atstk1000/setup.c |   45 +-
 arch/avr32/kernel/irq.c |9 
 arch/avr32/kernel/kprobes.c |7 +--
 arch/avr32/kernel/syscall_table.S   |3 +
 arch/avr32/mach-at32ap/at32ap7000.c |   77 ---
 arch/avr32/mm/fault.c   |   36 +--
 include/asm-avr32/arch-at32ap/board.h   |8 +--
 include/asm-avr32/kdebug.h  |   17 +--
 include/asm-avr32/kprobes.h |1 +
 include/asm-avr32/unistd.h  |5 ++-
 12 files changed, 161 insertions(+), 72 deletions(-)
 create mode 100644 arch/avr32/boards/atstk1000/atstk1000.h

diff --git a/arch/avr32/boards/atstk1000/atstk1000.h 
b/arch/avr32/boards/atstk1000/atstk1000.h
new file mode 100644
index 000..9a49ed0
--- /dev/null
+++ b/arch/avr32/boards/atstk1000/atstk1000.h
@@ -0,0 +1,15 @@
+/*
+ * ATSTK1000 setup code: Daughterboard interface
+ *
+ * Copyright (C) 2007 Atmel Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H
+#define __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H
+
+extern struct atmel_lcdfb_info atstk1000_lcdc_data;
+
+#endif /* __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H */
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index abe6ca2..fe1dbe2 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -16,6 +16,8 @@
 #include linux/types.h
 #include linux/spi/spi.h
 
+#include video/atmel_lcdc.h
+
 #include asm/io.h
 #include asm/setup.h
 #include asm/arch/at32ap7000.h
@@ -23,6 +25,7 @@
 #include asm/arch/init.h
 #include asm/arch/portmux.h
 
+#include atstk1000.h
 
 #defineSW2_DEFAULT /* MMCI and UART_A available */
 
@@ -31,9 +34,7 @@ struct eth_addr {
 };
 
 static struct eth_addr __initdata hw_addr[2];
-
 static struct eth_platform_data __initdata eth_data[2];
-static struct lcdc_platform_data atstk1000_fb0_data;
 
 static struct spi_board_info spi0_board_info[] __initdata = {
{
@@ -148,9 +149,8 @@ static int __init atstk1002_init(void)
set_hw_addr(at32_add_device_eth(0, eth_data[0]));
 
at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
-   atstk1000_fb0_data.fbmem_start = fbmem_start;
-   atstk1000_fb0_data.fbmem_size = fbmem_size;
-   at32_add_device_lcdc(0, atstk1000_fb0_data);
+   at32_add_device_lcdc(0, atstk1000_lcdc_data,
+fbmem_start, fbmem_size);
 
return 0;
 }
diff --git a/arch/avr32/boards/atstk1000/setup.c 
b/arch/avr32/boards/atstk1000/setup.c
index 2bc4b88..c9af409 100644
--- a/arch/avr32/boards/atstk1000/setup.c
+++ b/arch/avr32/boards/atstk1000/setup.c
@@ -8,13 +8,56 @@
  * published by the Free Software Foundation.
  */
 #include linux/bootmem.h
+#include linux/fb.h
 #include linux/init.h
 #include linux/types.h
 #include linux/linkage.h
 
-#include asm/setup.h
+#include video/atmel_lcdc.h
 
+#include asm/setup.h
 #include asm/arch/board.h
 
+#include atstk1000.h
+
 /* Initialized by bootloader-specific startup code. */
 struct tag *bootloader_tags __initdata;
+
+static struct fb_videomode __initdata ltv350qv_modes[] = {
+   {
+   .name   = 320x240 @ 75,
+   .refresh= 75,
+   .xres   = 320,  .yres   = 240,
+   .pixclock   = KHZ2PICOS(6891),
+
+   .left_margin= 17,   .right_margin   = 33,
+   .upper_margin   = 10,   .lower_margin   = 10,
+   .hsync_len  = 16,   .vsync_len  = 1,
+
+   .sync   = 0,
+   .vmode  = FB_VMODE_NONINTERLACED,
+   },
+};
+
+static struct fb_monspecs __initdata atstk1000_default_monspecs = {
+   .manufacturer   = SNG,
+   .monitor= LTV350QV,
+   .modedb = ltv350qv_modes,
+   .modedb_len = ARRAY_SIZE(ltv350qv_modes),
+   .hfmin  = 14820,
+   .hfmax  = 22230,
+   .vfmin  = 

[GIT PULL] AVR32 update

2007-05-09 Thread Haavard Skinnemoen
Hi Linus,

Please pull the 'for-linus' branch of

  git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates.

Haavard Skinnemoen (4):
  [AVR32] Use correct config symbol when setting cpuflags
  [AVR32] Implement dma_{alloc,free}_writecombine()
  [AVR32] Fix section mismatch .taglist -> .init.text
  [AVR32] Wire up sys_utimensat

Thomas Gleixner (1):
  AVR32: Spinlock initializer cleanup

 arch/avr32/Makefile   |2 +-
 arch/avr32/kernel/syscall_table.S |1 +
 arch/avr32/kernel/traps.c |2 +-
 arch/avr32/kernel/vmlinux.lds.c   |2 +-
 arch/avr32/mach-at32ap/clock.c|2 +-
 arch/avr32/mm/dma-coherent.c  |   12 
 include/asm-avr32/setup.h |2 +-
 include/asm-avr32/unistd.h|4 +++-
 8 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
index 6115fc1..dc6bc01 100644
--- a/arch/avr32/Makefile
+++ b/arch/avr32/Makefile
@@ -16,7 +16,7 @@ AFLAGS+= -mrelax -mno-pic
 CFLAGS_MODULE  += -mno-relax
 LDFLAGS_vmlinux+= --relax
 
-cpuflags-$(CONFIG_CPU_AP7000)  += -mcpu=ap7000
+cpuflags-$(CONFIG_CPU_AT32AP7000)  += -mcpu=ap7000
 
 CFLAGS += $(cpuflags-y)
 AFLAGS += $(cpuflags-y)
diff --git a/arch/avr32/kernel/syscall_table.S 
b/arch/avr32/kernel/syscall_table.S
index 7c27958..07f6a6f 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -291,4 +291,5 @@ sys_call_table:
.long   sys_shmget  /* 275 */
.long   sys_shmdt
.long   sys_shmctl
+   .long   sys_utimensat
.long   sys_ni_syscall  /* r8 is saturated at nr_syscalls */
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c
index 4de9edf..86d1075 100644
--- a/arch/avr32/kernel/traps.c
+++ b/arch/avr32/kernel/traps.c
@@ -123,7 +123,7 @@ asmlinkage void do_address_exception(unsigned long ecr, 
struct pt_regs *regs)
 
 /* This way of handling undefined instructions is stolen from ARM */
 static LIST_HEAD(undef_hook);
-static spinlock_t undef_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(undef_lock);
 
 void register_undef_hook(struct undef_hook *hook)
 {
diff --git a/arch/avr32/kernel/vmlinux.lds.c b/arch/avr32/kernel/vmlinux.lds.c
index 7ad20cf..e7f72c9 100644
--- a/arch/avr32/kernel/vmlinux.lds.c
+++ b/arch/avr32/kernel/vmlinux.lds.c
@@ -35,7 +35,7 @@ SECTIONS
_einittext = .;
. = ALIGN(4);
__tagtable_begin = .;
-   *(.taglist)
+   *(.taglist.init)
__tagtable_end = .;
*(.init.data)
. = ALIGN(16);
diff --git a/arch/avr32/mach-at32ap/clock.c b/arch/avr32/mach-at32ap/clock.c
index 00c4354..0f8c89c 100644
--- a/arch/avr32/mach-at32ap/clock.c
+++ b/arch/avr32/mach-at32ap/clock.c
@@ -18,7 +18,7 @@
 
 #include "clock.h"
 
-static spinlock_t clk_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(clk_lock);
 
 struct clk *clk_get(struct device *dev, const char *id)
 {
diff --git a/arch/avr32/mm/dma-coherent.c b/arch/avr32/mm/dma-coherent.c
index b68d669..099212d 100644
--- a/arch/avr32/mm/dma-coherent.c
+++ b/arch/avr32/mm/dma-coherent.c
@@ -112,16 +112,21 @@ void dma_free_coherent(struct device *dev, size_t size,
 }
 EXPORT_SYMBOL(dma_free_coherent);
 
-#if 0
 void *dma_alloc_writecombine(struct device *dev, size_t size,
 dma_addr_t *handle, gfp_t gfp)
 {
struct page *page;
+   dma_addr_t phys;
 
page = __dma_alloc(dev, size, handle, gfp);
+   if (!page)
+   return NULL;
+
+   phys = page_to_phys(page);
+   *handle = phys;
 
/* Now, map the page into P3 with write-combining turned on */
-   return __ioremap(page_to_phys(page), size, _PAGE_BUFFER);
+   return __ioremap(phys, size, _PAGE_BUFFER);
 }
 EXPORT_SYMBOL(dma_alloc_writecombine);
 
@@ -132,8 +137,7 @@ void dma_free_writecombine(struct device *dev, size_t size,
 
iounmap(cpu_addr);
 
-   page = bus_to_page(handle);
+   page = phys_to_page(handle);
__dma_free(dev, size, page, handle);
 }
 EXPORT_SYMBOL(dma_free_writecombine);
-#endif
diff --git a/include/asm-avr32/setup.h b/include/asm-avr32/setup.h
index 1ff1a21..b0828d4 100644
--- a/include/asm-avr32/setup.h
+++ b/include/asm-avr32/setup.h
@@ -110,7 +110,7 @@ struct tagtable {
int (*parse)(struct tag *);
 };
 
-#define __tag __attribute_used__ __attribute__((__section__(".taglist")))
+#define __tag __attribute_used__ __attribute__((__section__(".taglist.init")))
 #define __tagtable(tag, fn)\
static struct tagtable __tagtable_##fn __tag = { tag, fn }
 
diff --git a/include/asm-avr32/unistd.h b/include/asm-avr32/unistd.h
index 8f51204..2418cce 100644
--- a/include/asm-avr32/unistd.h
+++ b/include/asm-avr32/unistd.h
@@ 

[GIT PULL] AVR32 update

2007-05-09 Thread Haavard Skinnemoen
Hi Linus,

Please pull the 'for-linus' branch of

  git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates.

Haavard Skinnemoen (4):
  [AVR32] Use correct config symbol when setting cpuflags
  [AVR32] Implement dma_{alloc,free}_writecombine()
  [AVR32] Fix section mismatch .taglist - .init.text
  [AVR32] Wire up sys_utimensat

Thomas Gleixner (1):
  AVR32: Spinlock initializer cleanup

 arch/avr32/Makefile   |2 +-
 arch/avr32/kernel/syscall_table.S |1 +
 arch/avr32/kernel/traps.c |2 +-
 arch/avr32/kernel/vmlinux.lds.c   |2 +-
 arch/avr32/mach-at32ap/clock.c|2 +-
 arch/avr32/mm/dma-coherent.c  |   12 
 include/asm-avr32/setup.h |2 +-
 include/asm-avr32/unistd.h|4 +++-
 8 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
index 6115fc1..dc6bc01 100644
--- a/arch/avr32/Makefile
+++ b/arch/avr32/Makefile
@@ -16,7 +16,7 @@ AFLAGS+= -mrelax -mno-pic
 CFLAGS_MODULE  += -mno-relax
 LDFLAGS_vmlinux+= --relax
 
-cpuflags-$(CONFIG_CPU_AP7000)  += -mcpu=ap7000
+cpuflags-$(CONFIG_CPU_AT32AP7000)  += -mcpu=ap7000
 
 CFLAGS += $(cpuflags-y)
 AFLAGS += $(cpuflags-y)
diff --git a/arch/avr32/kernel/syscall_table.S 
b/arch/avr32/kernel/syscall_table.S
index 7c27958..07f6a6f 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -291,4 +291,5 @@ sys_call_table:
.long   sys_shmget  /* 275 */
.long   sys_shmdt
.long   sys_shmctl
+   .long   sys_utimensat
.long   sys_ni_syscall  /* r8 is saturated at nr_syscalls */
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c
index 4de9edf..86d1075 100644
--- a/arch/avr32/kernel/traps.c
+++ b/arch/avr32/kernel/traps.c
@@ -123,7 +123,7 @@ asmlinkage void do_address_exception(unsigned long ecr, 
struct pt_regs *regs)
 
 /* This way of handling undefined instructions is stolen from ARM */
 static LIST_HEAD(undef_hook);
-static spinlock_t undef_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(undef_lock);
 
 void register_undef_hook(struct undef_hook *hook)
 {
diff --git a/arch/avr32/kernel/vmlinux.lds.c b/arch/avr32/kernel/vmlinux.lds.c
index 7ad20cf..e7f72c9 100644
--- a/arch/avr32/kernel/vmlinux.lds.c
+++ b/arch/avr32/kernel/vmlinux.lds.c
@@ -35,7 +35,7 @@ SECTIONS
_einittext = .;
. = ALIGN(4);
__tagtable_begin = .;
-   *(.taglist)
+   *(.taglist.init)
__tagtable_end = .;
*(.init.data)
. = ALIGN(16);
diff --git a/arch/avr32/mach-at32ap/clock.c b/arch/avr32/mach-at32ap/clock.c
index 00c4354..0f8c89c 100644
--- a/arch/avr32/mach-at32ap/clock.c
+++ b/arch/avr32/mach-at32ap/clock.c
@@ -18,7 +18,7 @@
 
 #include clock.h
 
-static spinlock_t clk_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(clk_lock);
 
 struct clk *clk_get(struct device *dev, const char *id)
 {
diff --git a/arch/avr32/mm/dma-coherent.c b/arch/avr32/mm/dma-coherent.c
index b68d669..099212d 100644
--- a/arch/avr32/mm/dma-coherent.c
+++ b/arch/avr32/mm/dma-coherent.c
@@ -112,16 +112,21 @@ void dma_free_coherent(struct device *dev, size_t size,
 }
 EXPORT_SYMBOL(dma_free_coherent);
 
-#if 0
 void *dma_alloc_writecombine(struct device *dev, size_t size,
 dma_addr_t *handle, gfp_t gfp)
 {
struct page *page;
+   dma_addr_t phys;
 
page = __dma_alloc(dev, size, handle, gfp);
+   if (!page)
+   return NULL;
+
+   phys = page_to_phys(page);
+   *handle = phys;
 
/* Now, map the page into P3 with write-combining turned on */
-   return __ioremap(page_to_phys(page), size, _PAGE_BUFFER);
+   return __ioremap(phys, size, _PAGE_BUFFER);
 }
 EXPORT_SYMBOL(dma_alloc_writecombine);
 
@@ -132,8 +137,7 @@ void dma_free_writecombine(struct device *dev, size_t size,
 
iounmap(cpu_addr);
 
-   page = bus_to_page(handle);
+   page = phys_to_page(handle);
__dma_free(dev, size, page, handle);
 }
 EXPORT_SYMBOL(dma_free_writecombine);
-#endif
diff --git a/include/asm-avr32/setup.h b/include/asm-avr32/setup.h
index 1ff1a21..b0828d4 100644
--- a/include/asm-avr32/setup.h
+++ b/include/asm-avr32/setup.h
@@ -110,7 +110,7 @@ struct tagtable {
int (*parse)(struct tag *);
 };
 
-#define __tag __attribute_used__ __attribute__((__section__(.taglist)))
+#define __tag __attribute_used__ __attribute__((__section__(.taglist.init)))
 #define __tagtable(tag, fn)\
static struct tagtable __tagtable_##fn __tag = { tag, fn }
 
diff --git a/include/asm-avr32/unistd.h b/include/asm-avr32/unistd.h
index 8f51204..2418cce 100644
--- a/include/asm-avr32/unistd.h
+++ b/include/asm-avr32/unistd.h
@@ -295,8 

[GIT PULL] AVR32 update

2007-04-27 Thread Haavard Skinnemoen
Hi Linus,

Please pull the 'for-linus' branch of

  git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates. This includes support for the
ATNGW100 Network Gateway reference design and a nice assortment of
cleanups, fixes and optimizations.

Haavard Skinnemoen (16):
  [AVR32] Add basic HMATRIX support
  [AVR32] Add mach-specific Kconfig
  [AVR32] Don't enable clocks with no users
  [AVR32] Clean up asm/sysreg.h
  [AVR32] Clean up cpu identification and add features bitmap
  [AVR32] Clean up exception handling code
  [AVR32] Fix NMI handler
  [AVR32] Make I/O access macros work with external devices
  [AVR32] Move setup_bootmem() from mm/init.c to kernel/setup.c
  [AVR32] Simplify early handling of memory regions
  [AVR32] Reserve framebuffer memory in early_parse_fbmem()
  [AVR32] Get rid of board_setup_fbmem()
  [AVR32] Use memcpy/memset in memcpy_{from,to}_io and memset_io
  [AVR32] Board code for ATNGW100
  [AVR32] Optimize the TLB miss handler
  [AVR32] Fix compile error with gcc 4.1

Hans-Christian Egtvedt (3):
  [AVR32] Add nwait and tdf parameters to SMC configuration
  [AVR32] Change system timer from count-compare to Timer/Counter 0
  [AVR32] Put cpu in sleep 0 when idle.

Mathieu Desnoyers (1):
  avr32: remove unneeded cast in atomic.h

Robert P. J. Day (1):
  AVR32: Remove useless config option "GENERIC_BUST_SPINLOCK".

 arch/avr32/Kconfig  |   13 +-
 arch/avr32/Makefile |1 +
 arch/avr32/boards/atngw100/Makefile |1 +
 arch/avr32/boards/atngw100/flash.c  |   95 +++
 arch/avr32/boards/atngw100/setup.c  |  124 
 arch/avr32/boards/atstk1000/atstk1002.c |4 +-
 arch/avr32/boards/atstk1000/setup.c |   30 -
 arch/avr32/configs/atngw100_defconfig   | 1085 +++
 arch/avr32/kernel/cpu.c |   64 ++-
 arch/avr32/kernel/entry-avr32b.S|  124 +++--
 arch/avr32/kernel/module.c  |   11 +-
 arch/avr32/kernel/process.c |  193 +-
 arch/avr32/kernel/setup.c   |  484 +++
 arch/avr32/kernel/time.c|  150 +++--
 arch/avr32/kernel/traps.c   |  421 -
 arch/avr32/kernel/vmlinux.lds.c |9 +-
 arch/avr32/mach-at32ap/Kconfig  |   31 +
 arch/avr32/mach-at32ap/Makefile |1 +
 arch/avr32/mach-at32ap/at32ap7000.c |   70 ++-
 arch/avr32/mach-at32ap/hmatrix.h|  182 ++
 arch/avr32/mach-at32ap/hsmc.c   |   23 +
 arch/avr32/mach-at32ap/time-tc.c|  218 +++
 arch/avr32/mm/fault.c   |  116 ++---
 arch/avr32/mm/init.c|  238 ---
 include/asm-avr32/arch-at32ap/io.h  |   39 ++
 include/asm-avr32/arch-at32ap/smc.h |   22 +
 include/asm-avr32/arch-at32ap/time.h|  112 
 include/asm-avr32/atomic.h  |2 +-
 include/asm-avr32/bug.h |   50 ++-
 include/asm-avr32/io.h  |  326 +-
 include/asm-avr32/processor.h   |   15 +-
 include/asm-avr32/setup.h   |   13 +-
 include/asm-avr32/sysreg.h  |  543 +++-
 include/asm-avr32/system.h  |   13 +-
 include/asm-avr32/thread_info.h |2 +
 include/asm-avr32/uaccess.h |   13 +-
 36 files changed, 3435 insertions(+), 1403 deletions(-)
 create mode 100644 arch/avr32/boards/atngw100/Makefile
 create mode 100644 arch/avr32/boards/atngw100/flash.c
 create mode 100644 arch/avr32/boards/atngw100/setup.c
 create mode 100644 arch/avr32/configs/atngw100_defconfig
 create mode 100644 arch/avr32/mach-at32ap/Kconfig
 create mode 100644 arch/avr32/mach-at32ap/hmatrix.h
 create mode 100644 arch/avr32/mach-at32ap/time-tc.c
 create mode 100644 include/asm-avr32/arch-at32ap/io.h
 create mode 100644 include/asm-avr32/arch-at32ap/time.h
-
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 read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update

2007-04-27 Thread Haavard Skinnemoen
Hi Linus,

Please pull the 'for-linus' branch of

  git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates. This includes support for the
ATNGW100 Network Gateway reference design and a nice assortment of
cleanups, fixes and optimizations.

Haavard Skinnemoen (16):
  [AVR32] Add basic HMATRIX support
  [AVR32] Add mach-specific Kconfig
  [AVR32] Don't enable clocks with no users
  [AVR32] Clean up asm/sysreg.h
  [AVR32] Clean up cpu identification and add features bitmap
  [AVR32] Clean up exception handling code
  [AVR32] Fix NMI handler
  [AVR32] Make I/O access macros work with external devices
  [AVR32] Move setup_bootmem() from mm/init.c to kernel/setup.c
  [AVR32] Simplify early handling of memory regions
  [AVR32] Reserve framebuffer memory in early_parse_fbmem()
  [AVR32] Get rid of board_setup_fbmem()
  [AVR32] Use memcpy/memset in memcpy_{from,to}_io and memset_io
  [AVR32] Board code for ATNGW100
  [AVR32] Optimize the TLB miss handler
  [AVR32] Fix compile error with gcc 4.1

Hans-Christian Egtvedt (3):
  [AVR32] Add nwait and tdf parameters to SMC configuration
  [AVR32] Change system timer from count-compare to Timer/Counter 0
  [AVR32] Put cpu in sleep 0 when idle.

Mathieu Desnoyers (1):
  avr32: remove unneeded cast in atomic.h

Robert P. J. Day (1):
  AVR32: Remove useless config option GENERIC_BUST_SPINLOCK.

 arch/avr32/Kconfig  |   13 +-
 arch/avr32/Makefile |1 +
 arch/avr32/boards/atngw100/Makefile |1 +
 arch/avr32/boards/atngw100/flash.c  |   95 +++
 arch/avr32/boards/atngw100/setup.c  |  124 
 arch/avr32/boards/atstk1000/atstk1002.c |4 +-
 arch/avr32/boards/atstk1000/setup.c |   30 -
 arch/avr32/configs/atngw100_defconfig   | 1085 +++
 arch/avr32/kernel/cpu.c |   64 ++-
 arch/avr32/kernel/entry-avr32b.S|  124 +++--
 arch/avr32/kernel/module.c  |   11 +-
 arch/avr32/kernel/process.c |  193 +-
 arch/avr32/kernel/setup.c   |  484 +++
 arch/avr32/kernel/time.c|  150 +++--
 arch/avr32/kernel/traps.c   |  421 -
 arch/avr32/kernel/vmlinux.lds.c |9 +-
 arch/avr32/mach-at32ap/Kconfig  |   31 +
 arch/avr32/mach-at32ap/Makefile |1 +
 arch/avr32/mach-at32ap/at32ap7000.c |   70 ++-
 arch/avr32/mach-at32ap/hmatrix.h|  182 ++
 arch/avr32/mach-at32ap/hsmc.c   |   23 +
 arch/avr32/mach-at32ap/time-tc.c|  218 +++
 arch/avr32/mm/fault.c   |  116 ++---
 arch/avr32/mm/init.c|  238 ---
 include/asm-avr32/arch-at32ap/io.h  |   39 ++
 include/asm-avr32/arch-at32ap/smc.h |   22 +
 include/asm-avr32/arch-at32ap/time.h|  112 
 include/asm-avr32/atomic.h  |2 +-
 include/asm-avr32/bug.h |   50 ++-
 include/asm-avr32/io.h  |  326 +-
 include/asm-avr32/processor.h   |   15 +-
 include/asm-avr32/setup.h   |   13 +-
 include/asm-avr32/sysreg.h  |  543 +++-
 include/asm-avr32/system.h  |   13 +-
 include/asm-avr32/thread_info.h |2 +
 include/asm-avr32/uaccess.h |   13 +-
 36 files changed, 3435 insertions(+), 1403 deletions(-)
 create mode 100644 arch/avr32/boards/atngw100/Makefile
 create mode 100644 arch/avr32/boards/atngw100/flash.c
 create mode 100644 arch/avr32/boards/atngw100/setup.c
 create mode 100644 arch/avr32/configs/atngw100_defconfig
 create mode 100644 arch/avr32/mach-at32ap/Kconfig
 create mode 100644 arch/avr32/mach-at32ap/hmatrix.h
 create mode 100644 arch/avr32/mach-at32ap/time-tc.c
 create mode 100644 include/asm-avr32/arch-at32ap/io.h
 create mode 100644 include/asm-avr32/arch-at32ap/time.h
-
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 read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] AVR32 update

2007-02-16 Thread Haavard Skinnemoen
Linus,

Please pull from the 'for-linus' branch of

git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates. This includes a few build fixes, a
handful of fixes to the platform code (picked out of a patch by David
Brownell) and a SysV IPC fix. After this, SysV IPC should actually work
on AVR32 provided libc is re-built against a new set of kernel headers
(otherwise, it will be exactly as broken as before.)

Haavard

 arch/avr32/boards/atstk1000/atstk1002.c |9 +--
 arch/avr32/kernel/syscall_table.S   |   22 +++--
 arch/avr32/mach-at32ap/at32ap7000.c |  144 ---
 arch/avr32/mach-at32ap/clock.c  |6 +-
 include/asm-avr32/arch-at32ap/board.h   |4 +-
 include/asm-avr32/io.h  |   23 --
 include/asm-avr32/unistd.h  |   17 +++-
 7 files changed, 167 insertions(+), 58 deletions(-)

Haavard Skinnemoen (7):
  [AVR32] Fix prototypes for __raw_writesb and friends
  [AVR32] Define ioremap_nocache, ioport_map and ioport_unmap
  [AVR32] Wire up the SysV IPC calls properly
  [AVR32] Remove unnecessary sys_nfsservctl conditional
  [AVR32] Make sure all genclocks have a parent
  [AVR32] Warn, don't BUG if clk_disable is called too many times
  [AVR32] Use per-controller spi_board_info structures

diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index d47e39f..5974768 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -8,7 +8,6 @@
  * published by the Free Software Foundation.
  */
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -36,12 +35,11 @@ static struct eth_addr __initdata hw_addr[2];
 static struct eth_platform_data __initdata eth_data[2];
 extern struct lcdc_platform_data atstk1000_fb0_data;
 
-static struct spi_board_info spi_board_info[] __initdata = {
+static struct spi_board_info spi0_board_info[] __initdata = {
{
+   /* QVGA display */
.modalias   = "ltv350qv",
-   .controller_data = (void *)GPIO_PIN_PA(4),
.max_speed_hz   = 1600,
-   .bus_num= 0,
.chip_select= 1,
},
 };
@@ -149,8 +147,7 @@ static int __init atstk1002_init(void)
 
set_hw_addr(at32_add_device_eth(0, _data[0]));
 
-   spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info));
-   at32_add_device_spi(0);
+   at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
at32_add_device_lcdc(0, _fb0_data);
 
return 0;
diff --git a/arch/avr32/kernel/syscall_table.S 
b/arch/avr32/kernel/syscall_table.S
index db8f8b5..7c27958 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -8,14 +8,6 @@
  * published by the Free Software Foundation.
  */
 
-#if !defined(CONFIG_NFSD) && !defined(CONFIG_NFSD_MODULE)
-#define sys_nfsservctl sys_ni_syscall
-#endif
-
-#if !defined(CONFIG_SYSV_IPC)
-# define sys_ipc   sys_ni_syscall
-#endif
-
.section .rodata,"a",@progbits
.type   sys_call_table,@object
.global sys_call_table
@@ -129,7 +121,7 @@ sys_call_table:
.long   sys_getitimer   /* 105 */
.long   sys_swapoff
.long   sys_sysinfo
-   .long   sys_ipc
+   .long   sys_ni_syscall  /* was sys_ipc briefly */
.long   sys_sendfile
.long   sys_setdomainname   /* 110 */
.long   sys_newuname
@@ -287,4 +279,16 @@ sys_call_table:
.long   sys_tee
.long   sys_vmsplice
.long   __sys_epoll_pwait   /* 265 */
+   .long   sys_msgget
+   .long   sys_msgsnd
+   .long   sys_msgrcv
+   .long   sys_msgctl
+   .long   sys_semget  /* 270 */
+   .long   sys_semop
+   .long   sys_semctl
+   .long   sys_semtimedop
+   .long   sys_shmat
+   .long   sys_shmget  /* 275 */
+   .long   sys_shmdt
+   .long   sys_shmctl
.long   sys_ni_syscall  /* r8 is saturated at nr_syscalls */
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c 
b/arch/avr32/mach-at32ap/at32ap7000.c
index c1e477e..bc23550 100644
--- a/arch/avr32/mach-at32ap/at32ap7000.c
+++ b/arch/avr32/mach-at32ap/at32ap7000.c
@@ -8,6 +8,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 
@@ -310,8 +311,6 @@ static void genclk_mode(struct clk *clk, int enabled)
 {
u32 control;
 
-   BUG_ON(clk->index > 7);
-
control = sm_readl(_manager, PM_GCCTRL + 4 * clk->index);
if (enabled)
control |= SM_BIT(CEN);
@@ -325,11 +324,6 @@ static unsigned long genclk_get_rate(struct clk *clk)
u32 control;
unsigned long div = 1;
 
-   BUG_ON(clk->index > 7);
-
-   if (!clk->parent)
-   return 0;
-
control = sm_readl(_manager, PM_GCCTRL + 4 * clk->index);
if (control & SM_BIT(DIVEN))

[GIT PULL] AVR32 update

2007-02-16 Thread Haavard Skinnemoen
Linus,

Please pull from the 'for-linus' branch of

git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates. This includes a few build fixes, a
handful of fixes to the platform code (picked out of a patch by David
Brownell) and a SysV IPC fix. After this, SysV IPC should actually work
on AVR32 provided libc is re-built against a new set of kernel headers
(otherwise, it will be exactly as broken as before.)

Haavard

 arch/avr32/boards/atstk1000/atstk1002.c |9 +--
 arch/avr32/kernel/syscall_table.S   |   22 +++--
 arch/avr32/mach-at32ap/at32ap7000.c |  144 ---
 arch/avr32/mach-at32ap/clock.c  |6 +-
 include/asm-avr32/arch-at32ap/board.h   |4 +-
 include/asm-avr32/io.h  |   23 --
 include/asm-avr32/unistd.h  |   17 +++-
 7 files changed, 167 insertions(+), 58 deletions(-)

Haavard Skinnemoen (7):
  [AVR32] Fix prototypes for __raw_writesb and friends
  [AVR32] Define ioremap_nocache, ioport_map and ioport_unmap
  [AVR32] Wire up the SysV IPC calls properly
  [AVR32] Remove unnecessary sys_nfsservctl conditional
  [AVR32] Make sure all genclocks have a parent
  [AVR32] Warn, don't BUG if clk_disable is called too many times
  [AVR32] Use per-controller spi_board_info structures

diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index d47e39f..5974768 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -8,7 +8,6 @@
  * published by the Free Software Foundation.
  */
 #include linux/clk.h
-#include linux/device.h
 #include linux/etherdevice.h
 #include linux/init.h
 #include linux/kernel.h
@@ -36,12 +35,11 @@ static struct eth_addr __initdata hw_addr[2];
 static struct eth_platform_data __initdata eth_data[2];
 extern struct lcdc_platform_data atstk1000_fb0_data;
 
-static struct spi_board_info spi_board_info[] __initdata = {
+static struct spi_board_info spi0_board_info[] __initdata = {
{
+   /* QVGA display */
.modalias   = ltv350qv,
-   .controller_data = (void *)GPIO_PIN_PA(4),
.max_speed_hz   = 1600,
-   .bus_num= 0,
.chip_select= 1,
},
 };
@@ -149,8 +147,7 @@ static int __init atstk1002_init(void)
 
set_hw_addr(at32_add_device_eth(0, eth_data[0]));
 
-   spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info));
-   at32_add_device_spi(0);
+   at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
at32_add_device_lcdc(0, atstk1000_fb0_data);
 
return 0;
diff --git a/arch/avr32/kernel/syscall_table.S 
b/arch/avr32/kernel/syscall_table.S
index db8f8b5..7c27958 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -8,14 +8,6 @@
  * published by the Free Software Foundation.
  */
 
-#if !defined(CONFIG_NFSD)  !defined(CONFIG_NFSD_MODULE)
-#define sys_nfsservctl sys_ni_syscall
-#endif
-
-#if !defined(CONFIG_SYSV_IPC)
-# define sys_ipc   sys_ni_syscall
-#endif
-
.section .rodata,a,@progbits
.type   sys_call_table,@object
.global sys_call_table
@@ -129,7 +121,7 @@ sys_call_table:
.long   sys_getitimer   /* 105 */
.long   sys_swapoff
.long   sys_sysinfo
-   .long   sys_ipc
+   .long   sys_ni_syscall  /* was sys_ipc briefly */
.long   sys_sendfile
.long   sys_setdomainname   /* 110 */
.long   sys_newuname
@@ -287,4 +279,16 @@ sys_call_table:
.long   sys_tee
.long   sys_vmsplice
.long   __sys_epoll_pwait   /* 265 */
+   .long   sys_msgget
+   .long   sys_msgsnd
+   .long   sys_msgrcv
+   .long   sys_msgctl
+   .long   sys_semget  /* 270 */
+   .long   sys_semop
+   .long   sys_semctl
+   .long   sys_semtimedop
+   .long   sys_shmat
+   .long   sys_shmget  /* 275 */
+   .long   sys_shmdt
+   .long   sys_shmctl
.long   sys_ni_syscall  /* r8 is saturated at nr_syscalls */
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c 
b/arch/avr32/mach-at32ap/at32ap7000.c
index c1e477e..bc23550 100644
--- a/arch/avr32/mach-at32ap/at32ap7000.c
+++ b/arch/avr32/mach-at32ap/at32ap7000.c
@@ -8,6 +8,7 @@
 #include linux/clk.h
 #include linux/init.h
 #include linux/platform_device.h
+#include linux/spi/spi.h
 
 #include asm/io.h
 
@@ -310,8 +311,6 @@ static void genclk_mode(struct clk *clk, int enabled)
 {
u32 control;
 
-   BUG_ON(clk-index  7);
-
control = sm_readl(system_manager, PM_GCCTRL + 4 * clk-index);
if (enabled)
control |= SM_BIT(CEN);
@@ -325,11 +324,6 @@ static unsigned long genclk_get_rate(struct clk *clk)
u32 control;
unsigned long div = 1;
 
-   BUG_ON(clk-index  7);
-
-   if 

[GIT PULL] AVR32 update

2007-02-09 Thread Haavard Skinnemoen
Linus,

Please pull the 'for-linus' branch of

git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates.

David, this means that everything should be ready for the SPI driver
on my part. I've tested it on top of this lot, and it works fine.

Haavard

 arch/avr32/boards/atstk1000/Makefile   |2 +-
 arch/avr32/boards/atstk1000/atstk1002.c|   53 ++-
 arch/avr32/boards/atstk1000/spi.c  |   27 ---
 arch/avr32/kernel/cpu.c|1 +
 arch/avr32/kernel/irq.c|1 +
 arch/avr32/kernel/setup.c  |4 +-
 arch/avr32/lib/libgcc.h|   33 
 arch/avr32/lib/longlong.h  |   98 ---
 arch/avr32/mach-at32ap/Makefile|2 +-
 arch/avr32/mach-at32ap/at32ap7000.c|   60 ++--
 arch/avr32/mach-at32ap/extint.c|   36 ++--
 arch/avr32/mach-at32ap/pio.c   |  255 ++--
 arch/avr32/mm/cache.c  |   32 +++-
 include/asm-avr32/arch-at32ap/at32ap7000.h |2 +
 include/asm-avr32/arch-at32ap/gpio.h   |   27 +++
 include/asm-avr32/arch-at32ap/irq.h|   14 ++
 include/asm-avr32/arch-at32ap/portmux.h|8 +-
 include/asm-avr32/checksum.h   |2 +-
 include/asm-avr32/dma-mapping.h|8 +
 include/asm-avr32/gpio.h   |6 +
 include/asm-avr32/irq.h|8 +-
 include/asm-avr32/posix_types.h|2 +-
 include/asm-avr32/uaccess.h|6 -
 23 files changed, 455 insertions(+), 232 deletions(-)
 delete mode 100644 arch/avr32/boards/atstk1000/spi.c
 delete mode 100644 arch/avr32/lib/libgcc.h
 delete mode 100644 arch/avr32/lib/longlong.h
 create mode 100644 include/asm-avr32/arch-at32ap/gpio.h
 create mode 100644 include/asm-avr32/arch-at32ap/irq.h
 create mode 100644 include/asm-avr32/gpio.h

Ahmed S. Darwish (1):
  [AVR32] Use ARRAY_SIZE macro when appropriate

David Brownell (4):
  [AVR32] /proc/interrupts display
  [AVR32] fix serial port setup on ATSTK1000
  [AVR32] ext int fixes
  [AVR32] Fix incorrect invalidation of shared cachelines

Haavard Skinnemoen (9):
  [AVR32] Implement dma_mapping_error()
  [AVR32] GPIO API implementation
  [AVR32] Don't reset PIO state at bootup
  [AVR32] Introduce at32_reserve_pin()
  [AVR32] Add PIOE device and reserve SDRAM pins
  [AVR32] SPI platform code update
  [AVR32] Remove last remains of libgcc
  [AVR32] ssize_t should be long, not int
  [AVR32] Add missing #include 

Robert P. J. Day (1):
  Remove a couple final references to obsolete verify_area().

diff --git a/arch/avr32/boards/atstk1000/Makefile 
b/arch/avr32/boards/atstk1000/Makefile
index df94994..8e09922 100644
--- a/arch/avr32/boards/atstk1000/Makefile
+++ b/arch/avr32/boards/atstk1000/Makefile
@@ -1,2 +1,2 @@
-obj-y  += setup.o spi.o flash.o
+obj-y  += setup.o flash.o
 obj-$(CONFIG_BOARD_ATSTK1002)  += atstk1002.o
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index 32b361f..d47e39f 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -8,17 +8,24 @@
  * published by the Free Software Foundation.
  */
 #include 
+#include 
 #include 
 #include 
 #include 
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
+#include 
 #include 
 #include 
+#include 
+
+
+#defineSW2_DEFAULT /* MMCI and UART_A available */
 
 struct eth_addr {
u8 addr[6];
@@ -29,6 +36,16 @@ static struct eth_addr __initdata hw_addr[2];
 static struct eth_platform_data __initdata eth_data[2];
 extern struct lcdc_platform_data atstk1000_fb0_data;
 
+static struct spi_board_info spi_board_info[] __initdata = {
+   {
+   .modalias   = "ltv350qv",
+   .controller_data = (void *)GPIO_PIN_PA(4),
+   .max_speed_hz   = 1600,
+   .bus_num= 0,
+   .chip_select= 1,
+   },
+};
+
 /*
  * The next two functions should go away as the boot loader is
  * supposed to initialize the macb address registers with a valid
@@ -86,23 +103,53 @@ static void __init set_hw_addr(struct platform_device 
*pdev)
 
 void __init setup_board(void)
 {
-   at32_map_usart(1, 0);   /* /dev/ttyS0 */
-   at32_map_usart(2, 1);   /* /dev/ttyS1 */
-   at32_map_usart(3, 2);   /* /dev/ttyS2 */
+#ifdef SW2_DEFAULT
+   at32_map_usart(1, 0);   /* USART 1/A: /dev/ttyS0, DB9 */
+#else
+   at32_map_usart(0, 1);   /* USART 0/B: /dev/ttyS1, IRDA */
+#endif
+   /* USART 2/unused: expansion connector */
+   at32_map_usart(3, 2);   /* USART 3/C: /dev/ttyS2, DB9 */
 
at32_setup_serial_console(0);
 }
 
 static int __init atstk1002_init(void)
 {
+   /*
+* ATSTK1000 uses 32-bit SDRAM interface. Reserve 

[GIT PULL] AVR32 update

2007-02-09 Thread Haavard Skinnemoen
Linus,

Please pull the 'for-linus' branch of

git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates.

David, this means that everything should be ready for the SPI driver
on my part. I've tested it on top of this lot, and it works fine.

Haavard

 arch/avr32/boards/atstk1000/Makefile   |2 +-
 arch/avr32/boards/atstk1000/atstk1002.c|   53 ++-
 arch/avr32/boards/atstk1000/spi.c  |   27 ---
 arch/avr32/kernel/cpu.c|1 +
 arch/avr32/kernel/irq.c|1 +
 arch/avr32/kernel/setup.c  |4 +-
 arch/avr32/lib/libgcc.h|   33 
 arch/avr32/lib/longlong.h  |   98 ---
 arch/avr32/mach-at32ap/Makefile|2 +-
 arch/avr32/mach-at32ap/at32ap7000.c|   60 ++--
 arch/avr32/mach-at32ap/extint.c|   36 ++--
 arch/avr32/mach-at32ap/pio.c   |  255 ++--
 arch/avr32/mm/cache.c  |   32 +++-
 include/asm-avr32/arch-at32ap/at32ap7000.h |2 +
 include/asm-avr32/arch-at32ap/gpio.h   |   27 +++
 include/asm-avr32/arch-at32ap/irq.h|   14 ++
 include/asm-avr32/arch-at32ap/portmux.h|8 +-
 include/asm-avr32/checksum.h   |2 +-
 include/asm-avr32/dma-mapping.h|8 +
 include/asm-avr32/gpio.h   |6 +
 include/asm-avr32/irq.h|8 +-
 include/asm-avr32/posix_types.h|2 +-
 include/asm-avr32/uaccess.h|6 -
 23 files changed, 455 insertions(+), 232 deletions(-)
 delete mode 100644 arch/avr32/boards/atstk1000/spi.c
 delete mode 100644 arch/avr32/lib/libgcc.h
 delete mode 100644 arch/avr32/lib/longlong.h
 create mode 100644 include/asm-avr32/arch-at32ap/gpio.h
 create mode 100644 include/asm-avr32/arch-at32ap/irq.h
 create mode 100644 include/asm-avr32/gpio.h

Ahmed S. Darwish (1):
  [AVR32] Use ARRAY_SIZE macro when appropriate

David Brownell (4):
  [AVR32] /proc/interrupts display
  [AVR32] fix serial port setup on ATSTK1000
  [AVR32] ext int fixes
  [AVR32] Fix incorrect invalidation of shared cachelines

Haavard Skinnemoen (9):
  [AVR32] Implement dma_mapping_error()
  [AVR32] GPIO API implementation
  [AVR32] Don't reset PIO state at bootup
  [AVR32] Introduce at32_reserve_pin()
  [AVR32] Add PIOE device and reserve SDRAM pins
  [AVR32] SPI platform code update
  [AVR32] Remove last remains of libgcc
  [AVR32] ssize_t should be long, not int
  [AVR32] Add missing #include linux/module.h

Robert P. J. Day (1):
  Remove a couple final references to obsolete verify_area().

diff --git a/arch/avr32/boards/atstk1000/Makefile 
b/arch/avr32/boards/atstk1000/Makefile
index df94994..8e09922 100644
--- a/arch/avr32/boards/atstk1000/Makefile
+++ b/arch/avr32/boards/atstk1000/Makefile
@@ -1,2 +1,2 @@
-obj-y  += setup.o spi.o flash.o
+obj-y  += setup.o flash.o
 obj-$(CONFIG_BOARD_ATSTK1002)  += atstk1002.o
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index 32b361f..d47e39f 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -8,17 +8,24 @@
  * published by the Free Software Foundation.
  */
 #include linux/clk.h
+#include linux/device.h
 #include linux/etherdevice.h
 #include linux/init.h
 #include linux/kernel.h
 #include linux/platform_device.h
 #include linux/string.h
 #include linux/types.h
+#include linux/spi/spi.h
 
 #include asm/io.h
 #include asm/setup.h
+#include asm/arch/at32ap7000.h
 #include asm/arch/board.h
 #include asm/arch/init.h
+#include asm/arch/portmux.h
+
+
+#defineSW2_DEFAULT /* MMCI and UART_A available */
 
 struct eth_addr {
u8 addr[6];
@@ -29,6 +36,16 @@ static struct eth_addr __initdata hw_addr[2];
 static struct eth_platform_data __initdata eth_data[2];
 extern struct lcdc_platform_data atstk1000_fb0_data;
 
+static struct spi_board_info spi_board_info[] __initdata = {
+   {
+   .modalias   = ltv350qv,
+   .controller_data = (void *)GPIO_PIN_PA(4),
+   .max_speed_hz   = 1600,
+   .bus_num= 0,
+   .chip_select= 1,
+   },
+};
+
 /*
  * The next two functions should go away as the boot loader is
  * supposed to initialize the macb address registers with a valid
@@ -86,23 +103,53 @@ static void __init set_hw_addr(struct platform_device 
*pdev)
 
 void __init setup_board(void)
 {
-   at32_map_usart(1, 0);   /* /dev/ttyS0 */
-   at32_map_usart(2, 1);   /* /dev/ttyS1 */
-   at32_map_usart(3, 2);   /* /dev/ttyS2 */
+#ifdef SW2_DEFAULT
+   at32_map_usart(1, 0);   /* USART 1/A: /dev/ttyS0, DB9 */
+#else
+   at32_map_usart(0, 1);   /* USART 0/B: /dev/ttyS1, IRDA */
+#endif
+   /* USART 2/unused: expansion 

[GIT PULL] AVR32 update

2006-12-08 Thread Haavard Skinnemoen
Please pull from the 'for-linus' branch of

git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates:

Haavard Skinnemoen (11):
  [AVR32] Portmux API update
  [AVR32] Add macb1 platform_device
  [AVR32] Move ethernet tag parsing to board-specific code
  [AVR32] Remove mii_phy_addr and eth_addr from eth_platform_data
  [AVR32] Remove unused file
  [AVR32] Set flow handler for external interrupts
  [AVR32] Put the chip in "stop" mode when halting the system
  [AVR32] Don't include 
  [AVR32] Implement intc_get_pending()
  [AVR32] Pass dev parameter to dma_cache_sync()
  [AVR32] Add missing #include  to delay.c

 arch/avr32/boards/atstk1000/atstk1002.c|   76 +++-
 arch/avr32/kernel/avr32_ksyms.c|2 +-
 arch/avr32/kernel/process.c|7 +
 arch/avr32/kernel/setup.c  |   24 ---
 arch/avr32/lib/delay.c |2 +-
 arch/avr32/mach-at32ap/at32ap7000.c|  182 ++
 arch/avr32/mach-at32ap/extint.c|   22 ++-
 arch/avr32/mach-at32ap/intc.c  |4 +
 arch/avr32/mach-at32ap/pio.c   |   85 -
 arch/avr32/mach-at32ap/sm.c|  289 
 include/asm-avr32/arch-at32ap/at32ap7000.h |   33 
 include/asm-avr32/arch-at32ap/board.h  |3 -
 include/asm-avr32/arch-at32ap/portmux.h|   20 ++-
 include/asm-avr32/dma-mapping.h|   12 +-
 14 files changed, 341 insertions(+), 420 deletions(-)
 delete mode 100644 arch/avr32/mach-at32ap/sm.c
 create mode 100644 include/asm-avr32/arch-at32ap/at32ap7000.h

diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index cced73c..32b361f 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -7,20 +7,83 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
+#include 
+#include 
 #include 
+#include 
+#include 
+#include 
+#include 
 
+#include 
+#include 
 #include 
 #include 
 
-struct eth_platform_data __initdata eth0_data = {
-   .valid  = 1,
-   .mii_phy_addr   = 0x10,
-   .is_rmii= 0,
-   .hw_addr= { 0x6a, 0x87, 0x71, 0x14, 0xcd, 0xcb },
+struct eth_addr {
+   u8 addr[6];
 };
 
+static struct eth_addr __initdata hw_addr[2];
+
+static struct eth_platform_data __initdata eth_data[2];
 extern struct lcdc_platform_data atstk1000_fb0_data;
 
+/*
+ * The next two functions should go away as the boot loader is
+ * supposed to initialize the macb address registers with a valid
+ * ethernet address. But we need to keep it around for a while until
+ * we can be reasonably sure the boot loader does this.
+ *
+ * The phy_id is ignored as the driver will probe for it.
+ */
+static int __init parse_tag_ethernet(struct tag *tag)
+{
+   int i;
+
+   i = tag->u.ethernet.mac_index;
+   if (i < ARRAY_SIZE(hw_addr))
+   memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address,
+  sizeof(hw_addr[i].addr));
+
+   return 0;
+}
+__tagtable(ATAG_ETHERNET, parse_tag_ethernet);
+
+static void __init set_hw_addr(struct platform_device *pdev)
+{
+   struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+   const u8 *addr;
+   void __iomem *regs;
+   struct clk *pclk;
+
+   if (!res)
+   return;
+   if (pdev->id >= ARRAY_SIZE(hw_addr))
+   return;
+
+   addr = hw_addr[pdev->id].addr;
+   if (!is_valid_ether_addr(addr))
+   return;
+
+   /*
+* Since this is board-specific code, we'll cheat and use the
+* physical address directly as we happen to know that it's
+* the same as the virtual address.
+*/
+   regs = (void __iomem __force *)res->start;
+   pclk = clk_get(>dev, "pclk");
+   if (!pclk)
+   return;
+
+   clk_enable(pclk);
+   __raw_writel((addr[3] << 24) | (addr[2] << 16)
+| (addr[1] << 8) | addr[0], regs + 0x98);
+   __raw_writel((addr[5] << 8) | addr[4], regs + 0x9c);
+   clk_disable(pclk);
+   clk_put(pclk);
+}
+
 void __init setup_board(void)
 {
at32_map_usart(1, 0);   /* /dev/ttyS0 */
@@ -38,7 +101,8 @@ static int __init atstk1002_init(void)
at32_add_device_usart(1);
at32_add_device_usart(2);
 
-   at32_add_device_eth(0, _data);
+   set_hw_addr(at32_add_device_eth(0, _data[0]));
+
at32_add_device_spi(0);
at32_add_device_lcdc(0, _fb0_data);
 
diff --git a/arch/avr32/kernel/avr32_ksyms.c b/arch/avr32/kernel/avr32_ksyms.c
index 372e3f8..7c4c761 100644
--- a/arch/avr32/kernel/avr32_ksyms.c
+++ b/arch/avr32/kernel/avr32_ksyms.c
@@ -7,12 +7,12 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software 

[GIT PULL] AVR32 update

2006-12-08 Thread Haavard Skinnemoen
Please pull from the 'for-linus' branch of

git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus

to receive the following updates:

Haavard Skinnemoen (11):
  [AVR32] Portmux API update
  [AVR32] Add macb1 platform_device
  [AVR32] Move ethernet tag parsing to board-specific code
  [AVR32] Remove mii_phy_addr and eth_addr from eth_platform_data
  [AVR32] Remove unused file
  [AVR32] Set flow handler for external interrupts
  [AVR32] Put the chip in stop mode when halting the system
  [AVR32] Don't include asm/delay.h
  [AVR32] Implement intc_get_pending()
  [AVR32] Pass dev parameter to dma_cache_sync()
  [AVR32] Add missing #include linux/param.h to delay.c

 arch/avr32/boards/atstk1000/atstk1002.c|   76 +++-
 arch/avr32/kernel/avr32_ksyms.c|2 +-
 arch/avr32/kernel/process.c|7 +
 arch/avr32/kernel/setup.c  |   24 ---
 arch/avr32/lib/delay.c |2 +-
 arch/avr32/mach-at32ap/at32ap7000.c|  182 ++
 arch/avr32/mach-at32ap/extint.c|   22 ++-
 arch/avr32/mach-at32ap/intc.c  |4 +
 arch/avr32/mach-at32ap/pio.c   |   85 -
 arch/avr32/mach-at32ap/sm.c|  289 
 include/asm-avr32/arch-at32ap/at32ap7000.h |   33 
 include/asm-avr32/arch-at32ap/board.h  |3 -
 include/asm-avr32/arch-at32ap/portmux.h|   20 ++-
 include/asm-avr32/dma-mapping.h|   12 +-
 14 files changed, 341 insertions(+), 420 deletions(-)
 delete mode 100644 arch/avr32/mach-at32ap/sm.c
 create mode 100644 include/asm-avr32/arch-at32ap/at32ap7000.h

diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index cced73c..32b361f 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -7,20 +7,83 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
+#include linux/clk.h
+#include linux/etherdevice.h
 #include linux/init.h
+#include linux/kernel.h
+#include linux/platform_device.h
+#include linux/string.h
+#include linux/types.h
 
+#include asm/io.h
+#include asm/setup.h
 #include asm/arch/board.h
 #include asm/arch/init.h
 
-struct eth_platform_data __initdata eth0_data = {
-   .valid  = 1,
-   .mii_phy_addr   = 0x10,
-   .is_rmii= 0,
-   .hw_addr= { 0x6a, 0x87, 0x71, 0x14, 0xcd, 0xcb },
+struct eth_addr {
+   u8 addr[6];
 };
 
+static struct eth_addr __initdata hw_addr[2];
+
+static struct eth_platform_data __initdata eth_data[2];
 extern struct lcdc_platform_data atstk1000_fb0_data;
 
+/*
+ * The next two functions should go away as the boot loader is
+ * supposed to initialize the macb address registers with a valid
+ * ethernet address. But we need to keep it around for a while until
+ * we can be reasonably sure the boot loader does this.
+ *
+ * The phy_id is ignored as the driver will probe for it.
+ */
+static int __init parse_tag_ethernet(struct tag *tag)
+{
+   int i;
+
+   i = tag-u.ethernet.mac_index;
+   if (i  ARRAY_SIZE(hw_addr))
+   memcpy(hw_addr[i].addr, tag-u.ethernet.hw_address,
+  sizeof(hw_addr[i].addr));
+
+   return 0;
+}
+__tagtable(ATAG_ETHERNET, parse_tag_ethernet);
+
+static void __init set_hw_addr(struct platform_device *pdev)
+{
+   struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+   const u8 *addr;
+   void __iomem *regs;
+   struct clk *pclk;
+
+   if (!res)
+   return;
+   if (pdev-id = ARRAY_SIZE(hw_addr))
+   return;
+
+   addr = hw_addr[pdev-id].addr;
+   if (!is_valid_ether_addr(addr))
+   return;
+
+   /*
+* Since this is board-specific code, we'll cheat and use the
+* physical address directly as we happen to know that it's
+* the same as the virtual address.
+*/
+   regs = (void __iomem __force *)res-start;
+   pclk = clk_get(pdev-dev, pclk);
+   if (!pclk)
+   return;
+
+   clk_enable(pclk);
+   __raw_writel((addr[3]  24) | (addr[2]  16)
+| (addr[1]  8) | addr[0], regs + 0x98);
+   __raw_writel((addr[5]  8) | addr[4], regs + 0x9c);
+   clk_disable(pclk);
+   clk_put(pclk);
+}
+
 void __init setup_board(void)
 {
at32_map_usart(1, 0);   /* /dev/ttyS0 */
@@ -38,7 +101,8 @@ static int __init atstk1002_init(void)
at32_add_device_usart(1);
at32_add_device_usart(2);
 
-   at32_add_device_eth(0, eth0_data);
+   set_hw_addr(at32_add_device_eth(0, eth_data[0]));
+
at32_add_device_spi(0);
at32_add_device_lcdc(0, atstk1000_fb0_data);
 
diff --git a/arch/avr32/kernel/avr32_ksyms.c b/arch/avr32/kernel/avr32_ksyms.c
index 372e3f8..7c4c761 100644
---