summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-linus' of ↵Linus Torvalds2010-10-2545-157/+388
|\ | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: Blackfin: fix inverted anomaly 05000481 logic Blackfin: drop unused irq_panic()/DEBUG_ICACHE_CHECK Blackfin: ppi/spi/twi headers: add missing __BFP undef Blackfin: update defconfigs Blackfin: bfin_twi.h: start a common TWI header netdev: bfin_mac: push settings to platform resources
| * Blackfin: fix inverted anomaly 05000481 logicMike Frysinger2010-10-251-1/+1
| | | | | | | | | | | | | | | | No one uses these MMRs so we didn't notice when the anomaly handling logic was inverted. Reported-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: drop unused irq_panic()/DEBUG_ICACHE_CHECKMike Frysinger2010-10-253-118/+0
| | | | | | | | | | | | | | | | This code was useful during early port development when our icache code wasn't solid, but that ship has sailed long ago, and no code calls this function anymore (irq_panic). So punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: ppi/spi/twi headers: add missing __BFP undefMike Frysinger2010-10-253-0/+6
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: update defconfigsMike Frysinger2010-10-2526-26/+42
| | | | | | | | | | | | | | | | | | | | - enable pm for ADI boards - drop security option as no one uses it - enable uninitialized mmap for everyone - disable wireless by default as no one uses it - disable cfq io sched as noop is fine Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: bfin_twi.h: start a common TWI headerMike Frysinger2010-10-251-0/+43
| | | | | | | | | | | | Start one place for TWI definitions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * netdev: bfin_mac: push settings to platform resourcesSonic Zhang2010-10-2512-12/+296
| | | | | | | | | | | | | | | | | | | | Move all the pin settings out of the Kconfig and into the platform resources (MII vs RMII). This clean up also lets us push out the phy settings so that board porters may control the layout. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblazeLinus Torvalds2010-10-2554-191/+1016
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'next' of git://git.monstr.eu/linux-2.6-microblaze: (42 commits) microblaze: Fix build with make 3.82 fbdev/xilinxfb: Microblaze driver support microblaze: Support C optimized lib functions for little-endian microblaze: Separate library optimized functions microblaze: Support timer on AXI lite microblaze: Add support for little-endian Microblaze microblaze: KGDB little endian support microblaze: Add PVR for endians plus detection net: emaclite: Add support for little-endian platforms microblaze: trivial: Add comment for AXI pvr microblaze: pci-common cleanup microblaze: Support early console on uart16550 microblaze: Do not compile early console support for uartlite if is disabled microblaze: Setup early console dynamically microblaze: Rename all uartlite early printk functions microblaze: remove early printk uarlite console dependency from header microblaze: Remove additional compatible properties microblaze: Remove hardcoded asm instraction for PVR loading microblaze: Use static const char * const where possible microblaze: Define VMALLOC_START/END ...
| * | microblaze: Fix build with make 3.82Thomas Backlund2010-10-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running make headers_install_all on x86_64 and make 3.82 I hit this: arch/microblaze/Makefile:80: *** mixed implicit and normal rules. Stop. make: *** [headers_install_all] Error 2 So split the rules to satisfy make 3.82. Signed-off-by: Thomas Backlund <tmb@mandriva.org> Cc: Stable <stable@kernel.org> Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Support C optimized lib functions for little-endianMichal Simek2010-10-212-6/+60
| | | | | | | | | | | | | | | | | | | | | | | | Optimized C library functions can rapidly speedup the kernel. memset doesn't need to be optimized because there is no difference in behavior on little/big endian cpu. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Separate library optimized functionsMichal Simek2010-10-213-15/+46
| | | | | | | | | | | | | | | | | | memcpy/memmove/memset Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Support timer on AXI liteMichal Simek2010-10-212-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New microblaze systems uses two buses. One for memories and flashes and the second for low-speed peripherals which can run on different CLK. This is the reason why the kernel is trying to read clock-frequency directly from node. If there is then the kernel will work with it. If not then cpu CLK is used. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Add support for little-endian MicroblazeMichal Simek2010-10-2110-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Microblaze little-endian toolchain exports __MICROBLAZEEL__ which is used in the kernel to identify little/big endian. The most of the changes are in loading values from DTB which is always big endian. Little endian platforms are based on new AXI bus which has impact to early uartlite initialization. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: KGDB little endian supportMichal Simek2010-10-211-0/+4
| | | | | | | | | | | | | | | | | | | | | Just need to use little-endian opcode for brki r16, 0x18 Signed-off-by: Michal Simek <monstr@monstr.eu> CC: Jason Wessel <jason.wessel@windriver.com>
| * | microblaze: Add PVR for endians plus detectionMichal Simek2010-10-216-1/+9
| | | | | | | | | | | | | | | | | | | | | Upcomming microblaze version will support little-endian. Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Grant Likely <grant.likely@secretlab.ca>
| * | microblaze: trivial: Add comment for AXI pvrMichal Simek2010-10-211-4/+4
| | | | | | | | | | | | | | | | | | AXI and OPB share some PVR macros. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: pci-common cleanupNishanth Aravamudan2010-10-211-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Use set_dma_ops and remove now used-once oddly named temp pointer sd. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Support early console on uart16550Michal Simek2010-10-214-1/+99
| | | | | | | | | | | | | | | | | | | | | Early console support reuse setting from U-BOOT that's why it is not necessary to setup baudrates, etc. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Do not compile early console support for uartlite if is disabledMichal Simek2010-10-211-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | Kconfig blocks to select any other early console support that's why this patch has no real impact on current kernel version. But it is done because of uart16550. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Setup early console dynamicallyMichal Simek2010-10-211-1/+2
| | | | | | | | | | | | | | | | | | Just setup pointer early console in run time. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Rename all uartlite early printk functionsMichal Simek2010-10-211-7/+7
| | | | | | | | | | | | | | | | | | This is done because of uart16550 early printk support Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: remove early printk uarlite console dependency from headerMichal Simek2010-10-211-1/+1
| | | | | | | | | | | | | | | | | | This dependency is resolved in menuconfig. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Remove additional compatible propertiesMichal Simek2010-10-214-9/+0
| | | | | | | | | | | | | | | | | | | | | Device-tree BSP generates longer compatible properties that's why we can remove extra/old one. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Remove hardcoded asm instraction for PVR loadingMichal Simek2010-10-211-1/+1
| | | | | | | | | | | | | | | | | | It comes from past where pvr wasn't supported in msr instruction. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Use static const char * const where possibleJoe Perches2010-10-213-12/+12
| | | | | | | | | | | | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Define VMALLOC_START/ENDMichal Simek2010-10-211-0/+7
| | | | | | | | | | | | | | | | | | | | | per cpu changes requires VMALLOC_START/END to be define even for noMMU systems. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Export missing symbols for modulesMichal Simek2010-10-211-0/+7
| | | | | | | | | | | | | | | | | | | | | Several kernel modules requires empty_zero_page and mbc to be exported. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Add libgcc function directly to kernelMichal Simek2010-10-2113-28/+607
| | | | | | | | | | | | | | | | | | Replaced libgcc functions with asm optimized implementation. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: support gpio_to_irq()Michal Simek2010-10-211-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gpiolib returns -ENXIO if struct gpio_chip::to_irq isn't set, so it's safe to always call. Based on PPC patch "powerpc/gpio: support gpio_to_irq()" 78331aded913d76c7ff996a1a0747d54b057460b Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Define empty mmiowbMichal Simek2010-10-211-0/+2
| | | | | | | | | | | | | | | | | | mmiowb is required by any driver. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: wire up prlimit64 and fanotify* syscallsMichal Simek2010-10-212-1/+7
| | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: use asm-generic/pci-dma-compat.hFUJITA Tomonori2010-10-212-15/+2
| | | | | | | | | | | | | | | | | | | | | Use asm-generic/pci-dma-compat.h instead of the homegrown pci_set_dma_mask and pci_set_consistent_dma_mask. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
| * | microblaze: Add PVR for BTCMichal Simek2010-10-211-1/+2
| | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Add new microblaze versionsMichal Simek2010-10-211-0/+2
| | | | | | | | | | | | | | | | | | PVR for 7.30.b, 8.00.a versions. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: remove OUTPUT_FORMAT from linker scriptMichal Simek2010-10-211-1/+0
| | | | | | | | | | | | | | | | | | | | | OUTPUT_FORMAT setup bigendian platform. Microblaze Linux port is becoming bi endian that's why it is removed. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Fix r16 and r17 reg savingMichal Simek2010-10-211-7/+4
| | | | | | | | | | | | | | | | | | r16 and r17 should be saved across interrupt and exception handling. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Removing dead CONTIGUOUS_PAGE_ALLOC config optionChristian Dietrich2010-10-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | CONFIG_CONTIGUOUS_PAGE_ALLOC doesn't exist in Kconfig, therefore removing all references to it from the source. Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Report if only one timer is usedMichal Simek2010-10-213-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel needs two timers because of clocksource and clockevent. It is better to show warning message directly on early console if available. If it isn't available kernel log buffer contains it. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Clear return value in pt_regsMichal Simek2010-10-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signal code uses r3 value which saved in restore_sigcontext to rt_sigframe but it require to be zeroed. If is not zero rt_sigframe contains wrong values. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Fix sys_rt_sigreturn_wrapperMichal Simek2010-10-211-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | Do not save return registers before rt_sigreturn is called. _user_exception(syscall handler) already setup return address that's why it is removed from rt_sigreturn_wrapper. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: remove unused TIF_KERNEL_TRACEMichal Simek2010-10-211-4/+0
| | | | | | | | | | | | | | | | | | TIF_KERNEL_TRACE is not used anywhere. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Add seccomp supportMichal Simek2010-10-212-0/+33
| | | | | | | | | | | | | | | | | | Add seccomp support. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Remove old user debugging gdb stubMichal Simek2010-10-211-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | Old gdb uses priviledged exception handler to handle gdb exception. New gdb uses brki r16, 0x18 that's why we can remove old gdb support. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: trivial: thread_info cleanupMichal Simek2010-10-211-8/+8
| | | | | | | | | | | | | | | | | | Coding style cleanup. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Fix pmd_populate macroMichal Simek2010-10-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Compilation warning: mm/memory.c: In function '__pte_alloc': mm/memory.c:421: warning: assignment makes integer from pointer without a cast Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: kgdb: Remove unused variable and fix return valueMichal Simek2010-10-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I forget to remove unused variable from kgdb_arch_handle_exception. Fix return value in microblaze_kgdb_break function. Error log: arch/microblaze/kernel/kgdb.c: In function 'microblaze_kgdb_break': arch/microblaze/kernel/kgdb.c:83: warning: 'return' with a value, in function returning void arch/microblaze/kernel/kgdb.c: In function 'kgdb_arch_handle_exception': arch/microblaze/kernel/kgdb.c:119: warning: unused variable 'cpu' Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Fix generic DTS to ensure OF requirementsMichal Simek2010-10-211-0/+2
| | | | | | | | | | | | | | | | | | | | | LL Temac dts nodes should contain ranges property. It is sufficient to use empty ranges property. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Remove pr_<level> uses of KERN_<level>Joe Perches2010-10-211-10/+6
| | | | | | | | | | | | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | Merge branch 'hwmon-for-linus' of ↵Linus Torvalds2010-10-251-0/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging: (24 commits) hwmon: lis3: Release resources in case of failure hwmon: lis3: Short explanations of platform data fields hwmon: lis3: Enhance lis3 selftest with IRQ line test hwmon: lis3: use block read to access data registers hwmon: lis3: Adjust fuzziness for 8 bit device hwmon: lis3: New parameters to platform data hwmon: lis3: restore axis enabled bits hwmon: lis3: Power on corrections hwmon: lis3: Update coordinates at polled device open hwmon: lis3: Cleanup interrupt handling hwmon: lis3: regulator control hwmon: lis3: pm_runtime support Kirkwood: add fan support for Network Space Max v2 hwmon: add generic GPIO fan driver hwmon: (coretemp) fix reading of microcode revision (v2) hwmon: ({core, pkg, via-cpu}temp) remove unnecessary CONFIG_HOTPLUG_CPU ifdefs hwmon: (pkgtemp) align driver initialization style with coretemp hwmon: LTC4261 Hardware monitoring driver hwmon: (lis3) add axes module parameter for custom axis-mapping hwmon: (hp_accel) Add HP Mini 510x family support ...
| * | | Kirkwood: add fan support for Network Space Max v2Simon Guinot2010-10-251-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon Guinot <sguinot@lacie.com> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
OpenPOWER on IntegriCloud