Skip to content

Commit

Permalink
Merge branch 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/g…
Browse files Browse the repository at this point in the history
…it/tmlind/linux-omap into next/cleanup

* 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP2+: Fix L4_EMU_34XX_BASE error after iomap changes
  ARM: OMAP2+: Limit omap_read/write usage to legacy USB drivers
  ARM: OMAP: Remove plat/io.h by splitting it into mach/io.h and mach/hardware.h
  ARM: OMAP2+: Move most of plat/io.h into local iomap.h
  ARM: OMAP1: Move most of plat/io.h into local iomap.h
  ARM: OMAP1: Move 16xx GPIO system clock to platform init code
  ARM: OMAP: Move omap_init_consistent_dma_size() to local common.h
  ARM: OMAP2+: Move SDRC related functions from io.h into local common.h
  ARM: OMAP2+: Drop DISPC L3 firewall code
  ARM: OMAP2xxx: PM: remove obsolete timer disable code in the suspend path
  ARM: OMAP: McSPI: Remove unused flag from struct omap2_mcspi_device_config

(update to latest rmk/for-arm-soc branch)

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Feb 29, 2012
2 parents 4d8cfec + 1b35af5 commit a26d3c4
Show file tree
Hide file tree
Showing 162 changed files with 483 additions and 873 deletions.
6 changes: 6 additions & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ config GENERIC_ISA_DMA
config FIQ
bool

config NEED_RET_TO_USER
bool

config ARCH_MTD_XIP
bool

Expand Down Expand Up @@ -479,13 +482,15 @@ config ARCH_IOP13XX
select ARCH_SUPPORTS_MSI
select VMSPLIT_1G
select NEED_MACH_MEMORY_H
select NEED_RET_TO_USER
help
Support for Intel's IOP13XX (XScale) family of processors.

config ARCH_IOP32X
bool "IOP32x-based"
depends on MMU
select CPU_XSCALE
select NEED_RET_TO_USER
select PLAT_IOP
select PCI
select ARCH_REQUIRE_GPIOLIB
Expand All @@ -497,6 +502,7 @@ config ARCH_IOP33X
bool "IOP33x-based"
depends on MMU
select CPU_XSCALE
select NEED_RET_TO_USER
select PLAT_IOP
select PCI
select ARCH_REQUIRE_GPIOLIB
Expand Down
8 changes: 0 additions & 8 deletions arch/arm/include/asm/hardware/entry-macro-iomd.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
/* IOC / IOMD based hardware */
#include <asm/hardware/iomd.h>

.macro disable_fiq
mov r12, #ioc_base_high
.if ioc_base_low
orr r12, r12, #ioc_base_low
.endif
strb r12, [r12, #0x38] @ Disable FIQ register
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldrb \irqstat, [\base, #IOMD_IRQREQB] @ get high priority first
ldr \tmp, =irq_prio_h
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#include <asm/glue-df.h>
#include <asm/glue-pf.h>
#include <asm/vfpmacros.h>
#ifndef CONFIG_MULTI_IRQ_HANDLER
#include <mach/entry-macro.S>
#endif
#include <asm/thread_notify.h>
#include <asm/unwind.h>
#include <asm/unistd.h>
Expand Down Expand Up @@ -1101,7 +1103,6 @@ __stubs_start:
* get out of that mode without clobbering one register.
*/
vector_fiq:
disable_fiq
subs pc, lr, #4

/*=============================================================================
Expand Down
8 changes: 7 additions & 1 deletion arch/arm/kernel/entry-common.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@

#include <asm/unistd.h>
#include <asm/ftrace.h>
#include <mach/entry-macro.S>
#include <asm/unwind.h>

#ifdef CONFIG_NEED_RET_TO_USER
#include <mach/entry-macro.S>
#else
.macro arch_ret_to_user, tmp1, tmp2
.endm
#endif

#include "entry-header.S"


Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-at91/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@
#include <mach/hardware.h>
#include <mach/at91_aic.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =at91_aic_base @ base virtual address of AIC peripheral
ldr \base, [\base]
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \irqnr, [\base, #AT91_AIC_IVR] @ read IRQ vector register: de-asserts nIRQ to processor (and clears interrupt)
ldr \irqstat, [\base, #AT91_AIC_ISR] @ read interrupt source number
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-bcmring/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#include <mach/hardware.h>
#include <mach/csp/mm_io.h>

.macro disable_fiq
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \base, =(MM_IO_BASE_INTC0)
ldr \irqstat, [\base, #0] @ get status
Expand Down Expand Up @@ -77,6 +74,3 @@

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm
6 changes: 0 additions & 6 deletions arch/arm/mach-clps711x/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@
#include <mach/hardware.h>
#include <asm/hardware/clps7111.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

#if (INTSR2 - INTSR1) != (INTMR2 - INTMR1)
#error INTSR stride != INTMR stride
#endif
Expand Down
15 changes: 0 additions & 15 deletions arch/arm/mach-cns3xxx/include/mach/entry-macro.S

This file was deleted.

6 changes: 0 additions & 6 deletions arch/arm/mach-davinci/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,11 @@
#include <mach/io.h>
#include <mach/irqs.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =davinci_intc_base
ldr \base, [\base]
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
#if defined(CONFIG_AINTC) && defined(CONFIG_CP_INTC)
ldr \tmp, =davinci_intc_type
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-dove/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@

#include <mach/bridge-regs.h>

.macro disable_fiq
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =IRQ_VIRT_BASE
.endm
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-ebsa110/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,10 @@

#define IRQ_STAT 0xff000000 /* read */

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
mov \base, #IRQ_STAT
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, stat, base, tmp
ldrb \stat, [\base] @ get interrupts
mov \irqnr, #0
Expand Down
17 changes: 0 additions & 17 deletions arch/arm/mach-ep93xx/include/mach/entry-macro.S

This file was deleted.

16 changes: 0 additions & 16 deletions arch/arm/mach-exynos/include/mach/entry-macro.S

This file was deleted.

6 changes: 0 additions & 6 deletions arch/arm/mach-footbridge/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@
.equ dc21285_high, ARMCSR_BASE & 0xff000000
.equ dc21285_low, ARMCSR_BASE & 0x00ffffff

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
mov \base, #dc21285_high
.if dc21285_low
orr \base, \base, #dc21285_low
.endif
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \irqstat, [\base, #0x180] @ get interrupts

Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-gemini/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,9 @@

#define IRQ_STATUS 0x14

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \irqstat, =IO_ADDRESS(GEMINI_INTERRUPT_BASE + IRQ_STATUS)
ldr \irqnr, [\irqstat]
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-h720x/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
* warranty of any kind, whether express or implied.
*/

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
#if defined (CONFIG_CPU_H7201) || defined (CONFIG_CPU_H7202)
@ we could use the id register on H7202, but this is not
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/mach-highbank/include/mach/entry-macro.S

This file was deleted.

6 changes: 0 additions & 6 deletions arch/arm/mach-integrator/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@
#include <mach/platform.h>
#include <mach/irqs.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
/* FIXME: should not be using soo many LDRs here */
ldr \base, =IO_ADDRESS(INTEGRATOR_IC_BASE)
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-iop13xx/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* Place - Suite 330, Boston, MA 02111-1307 USA.
*
*/
.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
mrc p15, 0, \tmp, c15, c1, 0
orr \tmp, \tmp, #(1 << 6)
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-iop32x/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
*/
#include <mach/iop32x.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
mrc p15, 0, \tmp, c15, c1, 0
orr \tmp, \tmp, #(1 << 6)
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-iop33x/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
*/
#include <mach/iop33x.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
mrc p15, 0, \tmp, c15, c1, 0
orr \tmp, \tmp, #(1 << 6)
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-ixp2000/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@
*/
#include <mach/irqs.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp

mov \irqnr, #0x0 @clear out irqnr as default
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-ixp23xx/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@
* arch/arm/mach-ixp23xx/include/mach/entry-macro.S
*/

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \irqnr, =(IXP23XX_INTC_VIRT + IXP23XX_INTR_IRQ_ENC_ST_OFFSET)
ldr \irqnr, [\irqnr] @ get interrupt number
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-ixp4xx/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@
*/
#include <mach/hardware.h>

.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \irqstat, =(IXP4XX_INTC_BASE_VIRT+IXP4XX_ICIP_OFFSET)
ldr \irqstat, [\irqstat] @ get interrupts
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-kirkwood/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@

#include <mach/bridge-regs.h>

.macro disable_fiq
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =IRQ_VIRT_BASE
.endm
Expand Down
Loading

0 comments on commit a26d3c4

Please sign in to comment.