aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
Commit message (Collapse)AuthorAge
...
| | * | sh: sh7786 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7786 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7785 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7785 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7366 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7366 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7343 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7343 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7724 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7724 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7723 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7723 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7722 div4 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7722 DIV4 clocks to the clkdev lookup list. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: div4 reparent workaroundMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the div4 set_parent() callback to use the flags instead of name to determine parent index. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: get rid of mstp32 clock name and idMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the name and the id from SH_CLK_MSTP32(). Now when lookups are handled by clkdev they are not needed anymore. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7786 mstp32 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7786 MSTP clocks to the clkdev lookup table. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7786 mstp32 index reworkMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds sh7786 MSTP enums for mstp_clks[] index. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7785 mstp32 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7785 MSTP clocks to the clkdev lookup table. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7785 mstp32 index reworkMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds sh7785 MSTP enums for mstp_clks[] index. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7366 mstp32 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7366 MSTP clocks to the clkdev lookup table. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7366 mstp32 index reworkMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds sh7366 MSTP enums for mstp_clks[] index. The MSTP bit for the SIU is removed as well since it is not included in the documentation. Most likely an old copy paste error from sh7722. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7343 mstp32 clkdev lookupMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sh7343 MSTP clocks to the clkdev lookup table. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: sh7343 mstp32 index reworkMagnus Damm2010-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds sh7343 MSTP enums for mstp_clks[] index. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | Merge branches 'sh/clkfwk' and 'sh/kexec'Paul Mundt2010-05-10
| |\ \ \ | | |/ / | |/| |
| | * | sh: shuffle the elfcorehdr handling over to the crash dump code.Paul Mundt2010-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The elfcorehdr parsing was just tossed in setup.c, but nothing outside of the crash dump code/vmcore bits require it, so we just move it out of the way, as per ppc. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | sh: Ensure that X2 TLB settings are reflected in vmcore.Paul Mundt2010-05-07
| | |/ | | | | | | | | | | | | | | | This rolls in the X2TLB config settings for vmcore. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: clkfwk: Use debugfs_remove_recursive() for rewindingHiroshi DOYU2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rewinding each debugfs entries to unregister if an error happens. Based on the commit ca4caa4e1d45f9542fa54263974d0ef637157b4a Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: get rid of div6 clock namesMagnus Damm2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | Get rid of div6 clock names on sh7343/sh7366/sh7722/sh7723/sh7724 Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: tie in div6 clocks using clkdevMagnus Damm2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | Use clkdev for div6 lookup on SH-Mobile processors: sh7343/sh7366/sh7722/sh7723/sh7724 Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: get rid of hwblk clock namesMagnus Damm2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | Remove the clock name from sh7722/sh7723/sh7724 hwblk clocks. Lookup is handled by clkdev. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: allow registering clocks without nameMagnus Damm2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the SuperH clock code to support struct clk with NULL as name. Such clocks will not be hooked up to debugfs. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: tie in hwblk clocks using clkdevMagnus Damm2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | Use clkdev for lookup of hwblk clocks on sh7722/sh7723/sh7724. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: scif and tmu clkdev changesMagnus Damm2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | Modify sh7722/sh7723/sh7724 to use clkdev for TMU and SCIF clock lookups. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: hwblk index reworkMagnus Damm2010-05-10
| |/ | | | | | | | | | | | | | | Rework the sh7722/sh7723/sh7724 hwblk code to use the hwblk id as index in the mstp clock array. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: Make initrd detection more robust.Paul Mundt2010-05-06
| | | | | | | | | | | | | | | | | | | | Various boot loaders go to various extents to thwart the initrd detection logic (mostly on account of not being able to be bothered with adhering to the established boot ABI), so we make the detection logic a bit more robust. This makes it possible to work around the SDK7786's firmware's attempts to thwart compressed image booting. Victory is mine. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * sh: native_cpu_disable() build error when CONFIG_HOTPLUG_CPU=nMatt Fleming2010-04-29
| | | | | | | | | | | | | | | | arch/sh/kernel/smp.c:164: error: conflicting types for 'native_cpu_disable' /home/matt/src/kernels/sh-2.6/arch/sh/include/asm/smp.h:48: error: previous declaration of 'native_cpu_disable' was here Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * Merge branch 'sh/smp'Paul Mundt2010-04-26
| |\
| | * sh: CPU hotplug support for SH-X3 SMP.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | This wires up CPU hotplug for SH-X3 SMP CPUs. Presently only secondary cores can be hotplugged given that the boot CPU has to contend with the broadcast timer. When real local timers are implemented this restriction can be lifted. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: CPU hotplug support.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | This adds preliminary support for CPU hotplug for SH SMP systems. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: cache secondary CPUs idle loop.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | | | | This provides a cache of the secondary CPUs idle loop for the cases where hotplug simply enters a low power state instead of resetting or powering off the core. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: flag smp_store_cpu_info() __cpuinit.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | smp_store_cpu_info() is presently flagged as __init, but is called by start_secondary() which is __cpuinit, fix it up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: provide percpu CPU states for hotplug notifiers.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | This provides percpu CPU states in preparation for CPU hotplug and the associated notifier chains. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: Make sure all SH-X3 cores are populated in the present CPU map.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | This iterates over the maximum number of CPUs we plan to support and makes sure they're all set in the present CPU map. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: convert online CPU map twiddling to cpumask.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | This converts from cpu_set() for the online map to set_cpu_online(). The two online map modifiers were the last remaining manual map manipulation bits, with this in place everything now goes through cpumask. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: arch/sh/kernel/setup.c needs asm/smp.h.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | | | | With the platform ops migration, the definitions still need to be included in the CONFIG_SMP=n case, so make the asm/smp.h include explicit. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: Flag present CPUs hotpluggable in topology registration.Paul Mundt2010-04-26
| | | | | | | | | | | | | | | | | | | | | When registering CPUs in the topology initialization ensure that all of the present CPUs are flagged as hotpluggable. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * sh: Move platform smp ops in to their own structure.Paul Mundt2010-04-20
| | | | | | | | | | | | | | | | | | | | | | | | This cribs the MIPS plat_smp_ops approach for wrapping up the platform ops. This will allow for mixing and matching different ops on the same platform in the future. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | Merge branch 'sh/stable-updates'Paul Mundt2010-04-26
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/sh/kernel/dwarf.c drivers/dma/shdma.c Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * \ \ Merge branch 'master' of ↵Paul Mundt2010-04-26
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/mfleming/sh-2.6 * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/mfleming/sh-2.6: sh: Use correct mask when comparing PMB DATA array values sh: Do not try merging two 128MB PMB mappings sh: Fix zImage load address when CONFIG_32BIT=y sh: Fix address to decompress at when CONFIG_32BIT=y sh: Assembly friendly __pa and __va definitions
| | * | | sh: Use correct mask when comparing PMB DATA array valuesMatt Fleming2010-04-25
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | Previously we were masking the PMB DATA array values with the value of __MEMORY_START | PMB_V, which misses some PFN bits off the mask. Signed-off-by: Matt Fleming <matt@console-pimps.org>
| * / | SH: constify multiple DMA related objects and references to themGuennadi Liakhovetski2010-04-26
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Lists of DMA channels and slaves are not changed, make them constant. Besides, SH7724 channel and slave configuration of both DMA controllers is identical, remove the extra copy of the configuration data. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: __cpuinit annotate the CPU init path.Paul Mundt2010-04-20
| | | | | | | | | | | | | | | | | | | | | All of the regular CPU init path needs to be __cpuinit annotated for CPU hotplug. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: Tidy CPU probing and fixup section annotations.Paul Mundt2010-04-20
| | | | | | | | | | | | | | | | | | | | | | | | This does a detect_cpu_and_cache_system() -> cpu_probe() rename, tidies up the unused return value, and stuffs it under __cpuinit in preparation for CPU hotplug. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: hw-breakpoints: Kill off stub unthrottle callback.Paul Mundt2010-04-20
| | | | | | | | | | | | | | | | | | | | | This follows the x86 change and kills off the unthrottle stub. As the x86 change killed off the generic callback it isn't used anymore anyways. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: dwarf unwinder needs linux/module.h.Paul Mundt2010-04-20
| | | | | | | | | | | | | | | | | | | | | | | | Previously the struct module definition was pulled in from other headers, but we want the reference to be explicit. Fixes up randconfig build issues. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | sh: intc: IRQ auto-distribution support.Paul Mundt2010-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements support for hardware-managed IRQ balancing as implemented by SH-X3 cores (presently only hooked up for SH7786, but can probably be carried over to other SH-X3 cores, too). CPUs need to specify their distribution register along with the mask definitions, as these follow the same format. Peripheral IRQs that don't opt out of balancing will be automatically distributed at the whim of the hardware block, while each CPU needs to verify whether it is handling the IRQ or not, especially before clearing the mask. Signed-off-by: Paul Mundt <lethal@linux-sh.org>