[GIT PULL] m32r: Please pull m32r kernel updates for 2.6.23-rc5

From: Hirokazu Takata
Date: Wed Sep 05 2007 - 22:46:04 EST


Hello, Linus,

The following is a series of patches to update m32r architecure support
for 2.6.23-rc5:
- Rearrange platform support codes and move them to arch/m32r/platforms/
- Move config files to arch/m32r/config/
- Simplify and cleanup ei_handler routine of arch/m32r/kernel/entry.S

Please pull from the "for-linus" branch of
git://www.linux-m32r.org/git/takata/linux-2.6_dev.git

Thease patches have tested after 2.6.23-rc3-mm1.

Thanks,

-- Takata


Hirokazu Takata (12):
m32r: Move defconfig files to arch/m32r/configs/
m32r: Update defconfig files for 2.6.23-rc1
m32r: Add defconfig file for the usrv platform.
m32r: Rearrange platform-dependent codes
m32r: Move dot.gdbinit files
m32r: Define symbols to unify platform-dependent ICU checks
m32r: Simplify ei_handler code
m32r: Exit ei_handler directly for no IRQ case or IPI operations
m32r: Cosmetic updates of arch/m32r/kernel/entry.S
m32r: Separate syscall table from entry.S
m32r: build fix of entry.S
m32r: Rename STI/CLI macros

--
commit 7071b2914a540b43dfcad17f6892a8c115799d50
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Mon Aug 20 20:53:50 2007 +0900

m32r: Rename STI/CLI macros

The names of STI and CLI macros were derived from i386 arch historically,
but their name are incomprehensible.
So, for easy to understand, rename these macros to ENABLE_INTERRUPTS
and DISABLE_INTERRUPTS, respectively.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit 33205613cd603fa4d80bb81464e60b909b7047e1
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Tue Aug 21 12:04:29 2007 +0900

m32r: build fix of entry.S

This patch fixes the following compile error:
<-- snip -->
...
AS arch/m32r/kernel/entry.o
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc3-mm1/arch/m32r/kernel/entry.S: Assembler messages:
/home/bunk/linux/kernel-2.6/linux-2.6.23-rc3-mm1/arch/m32r/kernel/entry.S:358: Error: bad instruction `addi r0,#(((((0)+(64))+(32))+(32)))'
make[2]: *** [arch/m32r/kernel/entry.o] Error 1
<-- snip -->

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Cc: Adrian Bunk <bunk@xxxxxxxxxx>

commit 9990b48a403fa465b4ff600cd8a7b5108d1bc135
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Mon Aug 20 09:12:46 2007 +0900

m32r: Separate syscall table from entry.S

- Separate sys_call_table from arch/m32r/kernel/entry.S and
move it to arch/m32r/kernel/system_call.S.
- Change sys_call_table section from .data to .rodata.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit de2232edb8d82aca938570eb6f136e2d70a26418
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Sat Aug 18 00:10:18 2007 +0900

m32r: Cosmetic updates of arch/m32r/kernel/entry.S

- Remove unused symbols *_MASK
- Change indentation of comments, etc.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit abd0a782359717ded8f663bc5b8e5e9e3cc4f5e7
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Fri Aug 17 23:40:37 2007 +0900

m32r: Exit ei_handler directly for no IRQ case or IPI operations

If no IRQ request is found in the IRQ check of ei_handler,
we can exit directly by jumping "restore_all", instead of via
"ret_from_intr".

This modification is also likely effective for IPI operations,
because scheduler call never happen at the exit of IPIs.

Signed-off-by: Hitoshi Yamamoto <hitoshiy@xxxxxxxxxxxxxx>
Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit 5171b100511513bc52875055f7d900fc3f7c922b
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Fri Aug 17 18:11:37 2007 +0900

m32r: Simplify ei_handler code

Simplify and clean up messy ei_handler code in arch/m32r/kernel/entry.S.
- Remove ifdef's for CONFIG_CHIP_* configulations.
- Rearrange the M32700 workaround code.
- Remove the messy platform-dependent interrupt check routines and
consolidate them to common INT0/INT1/INT2 check routines for all
platforms with cascaded interrupt controllers.

Signed-off-by: Hitoshi Yamamoto <hitoshiy@xxxxxxxxxxxxxx>
Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit e070fb743d9d13d9757e633d1bdd1f9c20b2d792
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Fri Aug 17 17:22:15 2007 +0900

m32r: Define symbols to unify platform-dependent ICU checks

On some m32r platforms, cascaded ICUs are used.
This patch is required to simplify ei_handler and consolidate platform-
dependent ICU check routines.

platform ICU/INT1 ICU/INT0 ICU/INT2
-------------- -------- -------- --------
m32104ut o - -
m32700ut o o o
opsput o o o
usrv o - -
(others) - - -

Signed-off-by: Hitoshi Yamamoto <hitoshiy@xxxxxxxxxxxxxx>
Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit ef64cf605daa9c36d950ba94cc115b0aed130dbc
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Wed Aug 1 21:10:11 2007 +0900

m32r: Move dot.gdbinit files

Move dot.gdbinit files from arch/m32r/{platforms}/dot.gdbinit*
to arch/m32r/platforms/{platform}/.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit 3264f976d3188bea80819793c13a3220b8a4867c
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Wed Aug 1 21:09:31 2007 +0900

m32r: Rearrange platform-dependent codes

Rearrange platform-dependent codes from arch/m32r/kernel/*.c
to arch/m32r/platforms/{platform}/.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit e6a7ba7efddbb393b726453eae8601ef02b9a610
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Wed Aug 1 21:00:46 2007 +0900

m32r: Add defconfig file for the usrv platform.

Add usrv_defcofig file for the usrv (M32R MicroServer) platform.

platform defconfig Note
---------- ---------------------- ---------------------------
usrv usrv_defconfig SMP

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit 9716e886aab47bc79fb3f9aad574d9d94662b6b0
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Wed Aug 1 20:59:20 2007 +0900

m32r: Update defconfig files for 2.6.23-rc1

Update defconfig files for 2.6.23-rc1 in arch/m32r/configs/.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

commit 8ff262df2cf3f7878ba064a10f56c1b42fefa534
Author: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Date: Wed Aug 1 20:54:38 2007 +0900

m32r: Move defconfig files to arch/m32r/configs/

Change defconfig file's location from arch/m32r/{platform}/defconfig*
to arch/m32r/configs/{platform}_defconfig.

Applying this patch, we can use defconfig file for each m32r platform
easily, like other architectures.

ex. Setup defconfig for cross-building
$ make ARCH=m32r CROSS_COMPILE=m32r-linux-gnu- {platform}_defconfig.

platform defconfig Note
---------- ---------------------- ---------------------------
m32104ut m32104ut_defconfig MMU-less
m32700ut m32700ut.smp_defconfig SMP
m32700ut m32700ut.up_defconfig UP
mappi mappi.smp_defconfig SMP
mappi mappi.up_defconfig UP
mappi mappi.nommu_defconfig MMU-less
mappi2 mappi2.opsp_defconfig FPGA env. (CPU Core: OPSP)
mappi2 mappi2.vdec2_defconfig FPGA env. (CPU Core: VDEC2)
mappi3 imappi3.smp_defconfig SMP
oaks32r oaks32r_defconfig MMU-less
opsput opsput_defconfig UP

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>

--
Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/