aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-15Blackfin: MPU: add missing __init markingsMike Frysinger1-1/+1
Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: add support for TIF_NOTIFY_RESUMEBarry Song3-1/+23
Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: kgdb_test: clean up code a bitMike Frysinger1-23/+21
- document simple global symbols - convert printk to pr_* - clean up spurious whitespace - use min_t() Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: convert kgdbtest to proc_fopsAlexey Dobriyan1-27/+12
The read_proc and write_proc interfaces are going to be removed in the common kernel code. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: convert cyc2ns() to clocksource_cyc2ns()Mike Frysinger1-2/+4
The former no longer exists. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: ip0x: pull in asm/portmux.h for P_xxx definesMike Frysinger1-0/+1
Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: drop unused ax88180 resourcesMike Frysinger2-52/+0
The ax88180 driver was never merged, so drop the corresponding resources. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add ADF702x network driver resourcesMichael Hennerich1-0/+53
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add CAN resourcesBarry Song3-0/+126
Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add AD5258 i2c addressMichael Hennerich1-0/+5
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add adau1761 i2c addressCliff Cai1-0/+5
Signed-off-by: Cliff Cai <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add adau1371 i2c addressCliff Cai1-0/+5
Signed-off-by: Cliff Cai <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add ADP8870 resourcesMichael Hennerich1-8/+60
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: kill AD714x board-specific KconfigsMike Frysinger1-14/+14
Include the AD714x SPI/I2C resources based on what is possible. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: update ADP5520 resourcesMichael Hennerich1-71/+50
Matches feedback for driver changes. Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp: add ADXL346 orientation sensing supportMichael Hennerich1-0/+5
The ADXL34x driver was updated to include orientation sensing, so have the bf537-stamp use it by default. Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: bf537-stamp/bf548-ezkit: update ADXL34x resourcesMichael Hennerich2-8/+23
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: BF51x: unify def/cdef headersMike Frysinger6-1174/+16
Whole lot of duplicated code here just went bye bye. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: BF52x: unify def/cdef headersMike Frysinger4-1117/+8
Whole lot of duplicated code here just went bye bye. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: BF537: push down error masks to avoid namespace pollutionMike Frysinger2-14/+10
The error masks are only needed in the BF537 demux error code, so instead of needing all the short peripheral defines in global space, push these masks into the one file where they are actually needed. This fixes a bunch of define collisions with common code (can/serial/etc...). Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Barry Song <[email protected]>
2009-12-15Blackfin: SMP: don't start up core b until its state has been completely onlinedYi Li2-18/+15
When testing PREEMPT_RT kernel on BF561-EZKit, the kernel blocks while booting. When the kernel initializes the ethernet driver, it sleeps and never wakes up. The issue happens when the kernel waits for a timer for Core B to timeout (the timers are per-cpu based: static DEFINE_PER_CPU(struct tvec_base *, tvec_bases) = &boot_tvec_bases). However, the ksoftirqd thread for Core B (note, the ksoftirqd thread is also per-cpu based) cannot work properly, and the timers for Core B never times out. When ksoftirqd() for the first time runs on core B, it is possible core A is still initializing core B (see smp_init() -> cpu_up() -> __cpu_up()). So the "cpu_is_offline()" check may return true and ksoftirqd moves to "wait_to_die". So delay the core b start up until the per-cpu timers have been set up fully. Signed-off-by: Yi Li <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: convert to asm-generic pci headersBarry Song1-128/+2
Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: io.h: fix random busted whitespaceMike Frysinger1-44/+51
Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: dma-mapping.h: flesh out missing DMA mapping functionsBarry Song3-64/+116
Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: workaround anomaly 05000310Barry Song1-0/+30
While fetching instructions at the boundary of L1 instruction SRAM, a false External Memory Addressing Error might be triggered. We should ignore this and continue on our way to avoid random crashes. Because hardware errors are not exact in the Blackfin architecture, we need to catch a few more common cases when the code flow changes and the signal is finally delivered. Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: drop ptrace() write support for fixed code/bootromMike Frysinger1-13/+0
These regions are either read-only and won't work anyways (bootrom), or we don't want people screwing with them because they're shared between all processes (fixed code). Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: MPU: support XIP in async flash memoryBarry Song1-4/+9
The NOMPU code already supported executing in the async banks, so this brings the MPU code in line. Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: drop 4KB reserve at end of memoryBarry Song1-5/+0
The point of this small chunk was to avoid anomaly 05000310. This never really seemed to do what it was intended though -- no valid CPLBs exist over the reserved memory, and there is often memory before it anyways (due to the uClinux MTD and/or reserved DMA region). Plus, it doesn't address the L1 instruction case. So drop this chunk as it wastes memory and is affront to humanity. Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: support smaller uncached DMA chunks for memory constrained systemsBarry Song3-7/+25
When working with 8 meg systems, forcing a 1 meg DMA chunk heavily cuts into the available resources. So support smaller chunks to better cover needs for these systems. Signed-off-by: Barry Song <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: push BF5Xx configs down into mach-specific KconfigsMike Frysinger5-37/+37
While we're moving the BF54x code, have the BF54xM variants select the normal BF54x values so that the rest of the Kconfig tree doesn't need to check the BF54xM variant everytime it wants to check the BF54x. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: finish_atomic_sections: optimize the RTS stepMike Frysinger1-7/+11
No point in returning to userspace just to have it immediately perform the RTS step. We have to update the PC anyways, so do the RTS too. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: kgdb: punt dead codeSonic Zhang2-20/+0
None of these vars/funcs were being used. Signed-off-by: Sonic Zhang <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: reject NULL callback in set_dma_callback()Mike Frysinger1-11/+10
It makes no sense to call this function with a NULL callback. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15bfin-otp: add BF51x to the supported arch listMike Frysinger1-1/+1
Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: punt dead/unused flash mem_init settingsMike Frysinger1-153/+0
I don't think these defines were ever used. At any rate, we have common bit defines for all parts as well as a Kconfig option to declare the EBIU async timings, and no one has really complained about this so far. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: gptimers: use unsigned timer/group idsMike Frysinger2-32/+32
Since we always use these ids as unsigned values, and we have some assert code to make sure they don't exceed a limit, avoid signed issues. Reported-by: Roel Kluin <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: don't walk VMAs when oopsingRobin Getz1-0/+9
If we're double faulting, then we have to assume the VMAs are not safe as broken pointers here will prevent full trace output for the double fault. Shouldn't be a big problem though as rarely is a double fault caused by code in userspace. Signed-off-by: Robin Getz <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: force BFD target when linking modulesMike Frysinger1-0/+1
This allows us to use any Blackfin toolchain to create kernel modules (such as the FDPIC bfin-linux-uclibc toolchain). Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: comment the FDPIC PTRACE definesMike Frysinger1-3/+3
This matches similar documentation for the FRV FDPIC code. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin/ipipe: update version stampPhilippe Gerum1-2/+2
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Li Yi <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin/ipipe: introduce support for CONFIG_MPUPhilippe Gerum1-2/+31
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Li Yi <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin/ipipe: fix forward ref to barrier()Philippe Gerum1-6/+7
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Li Yi <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin/ipipe: prepare status bitops for SMP supportPhilippe Gerum3-27/+76
Signed-off-by: Philippe Gerum <[email protected]> Signed-off-by: Li Yi <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: add support for the Acvilon BF561 boardValentin Yakovenkov4-0/+2202
Signed-off-by: Valentin Yakovenkov <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: add an uncompressed vmImage targetMike Frysinger2-2/+7
This is useful for quick tests where networks are faster than compression, and/or the compression code is broken. Reported-by: Magnus Damm <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: don't give CPU its own line in traps outputMike Frysinger1-3/+3
Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: add an example showing how to use the gptimers APIMike Frysinger2-0/+89
Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: announce current cpu rev when bootingRobin Getz1-1/+1
User reports rarely include full information, so include this important tidbit up front. It's also good to know at a glance in general. Signed-off-by: Robin Getz <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: unify DMA masksMike Frysinger8-301/+50
Every Blackfin variant has the same DMA bit masks, so avoid duplicating them over and over in each mach header. Signed-off-by: Mike Frysinger <[email protected]>
2009-12-15Blackfin: fix typo in isp1760 platform nameMichael Hennerich5-5/+5
The driver changed from "isp1760-hcd" to "isp1760", so update resources to match. Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>