Skip to contentSkip to conversation

sh: SDHI vector merge

PATCH In review Magnus Damm 2 participants 2 messages Feb 9, 2010 SuperH

lore
Share & tools
lore
#0 lore raw

cover sh: SDHI vector merge

sh: SDHI vector merge

[PATCH 01/03] sh: sh7722/Migo-R SDHI vector merge
[PATCH 02/03] sh: sh7723/AP325 SDHI vector merge
[PATCH 03/03] sh: sh7724/Ecovec24/KFR2R09/MS7724SE SDHI vector merge

These patches merge the SDHI interrupt vectors in the INTC tables for sh7722, sh7723 and sh7724 processors. The interrupt number in Linux is also changed to the first of the vectors, so the board specific platform data is also updated for a bunch of boards.

With these patches in place we are one step closer to SDHI hotplug.

---

Depends on the INTC patches for intc_hw_desc and force_enable.

 arch/sh/boards/mach-ap325rxa/setup.c   |    4 ++--
 arch/sh/boards/mach-ecovec24/setup.c   |    4 ++--
 arch/sh/boards/mach-kfr2r09/setup.c    |    2 +-
 arch/sh/boards/mach-migor/setup.c      |    2 +-
 arch/sh/boards/mach-se/7724/setup.c    |    4 ++--
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c |   18 ++++++++++--------
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c |   32 +++++++++++++++++---------------
 arch/sh/kernel/cpu/sh4a/setup-sh7724.c |   32 ++++++++++++++++----------------
 8 files changed, 51 insertions(+), 47 deletions(-)
#1 lore raw
Quoted 10 lines · Magnus Damm

[PATCH 01/03] sh: sh7722/Migo-R SDHI vector merge
[PATCH 02/03] sh: sh7723/AP325 SDHI vector merge
[PATCH 03/03] sh: sh7724/Ecovec24/KFR2R09/MS7724SE SDHI vector merge

These patches merge the SDHI interrupt vectors in the INTC tables for sh7722, sh7723 and sh7724 processors. The interrupt number in Linux is also changed to the first of the vectors, so the board specific platform data is also updated for a bunch of boards.

With these patches in place we are one step closer to SDHI hotplug.

Quoted 8 lines · Magnus Damm

This patch updates the shared INTC code to use set_irq_chained_handler() for intc_redirect_irq().

With this in place request_irq() on a merged irq which has been redirected will now return -EINVAL instead of 0 together with a crash. This thanks to the protection of the IRQ_NOREQUEST flag set for chained interrupt handlers.

Quoted 3 lines · Magnus Damm

Break out sh7723 div4 clocks for SIU and IRDA as reparent / enable clocks. Similar to the SIU clock patch for sh7722 by Guennadi.

All applied, thanks.