summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* io context sharing: preliminary supportJens Axboe2008-01-285-23/+49
| | | | | | | Detach task state from ioc, instead keep track of how many processes are accessing the ioc. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
* ioprio: move io priority from task_struct to io_contextJens Axboe2008-01-289-122/+178
| | | | | | | This is where it belongs and then it doesn't take up space for a process that doesn't do IO. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
* Merge branch 'for-linus' of ↵Linus Torvalds2008-01-2891-760/+2763
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (54 commits) MAINTIANERS: just use Mike gmail e-mail for contact and pawn the serial driver off onto Sonic [Blackfin] arch: remove old I2C BF54x porting. [Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't compile without it. [Blackfin] arch: fix bug kernel boot message: memory information is not reasonable [Blackfin] arch: use common flash driver to setup partitions rather than the bf5xx-flash driver [Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to boot up [Blackfin] arch: Fix bug Only RTC interrupt can wake up deeper sleep core. [Blackfin] arch: Add proper SW System Reset delay sequence [Blackfin] arch: Update copyright date [Blackfin] arch: GPIO API cleanup and anomaly update [Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with GENERIC_GPIO API interface [Blackfin] arch: Initial checkin of the memory protection support. [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option [Blackfin] arch: Add some comments - fix semicolons [Blackfin] arch: move all code related to CPLB handling into a new subdirectory under kernel/ [Blackfin] arch: print out list of modules if kernel is crashing and tell people if the kernel is tainted [Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, EZKIT-BF533 and EZKIT-BF561 boards [Blackfin] arch: Don't oops_in_progress if single step is comming from the kernel [Blackfin] arch: Fix BUG - kernel sometimes would stuck with KEYBOARD_GPIO on [Blackfin] arch: update to latest anomaly sheets ...
| * MAINTIANERS: just use Mike gmail e-mail for contact and pawn the serial ↵Mike Frysinger2007-11-171-4/+2
| | | | | | | | | | | | | | | | driver off onto Sonic Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: remove old I2C BF54x porting.Bryan Wu2008-01-271-33/+0
| | | | | | | | | | Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't ↵Bernd Schmidt2008-01-272-1/+3
| | | | | | | | | | | | | | | | compile without it. Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug kernel boot message: memory information is not ↵Yi Li2008-01-272-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reasonable Some of the information in kernel boot message is not reasonable. http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3846 - use _rambase as the start of kernel image. kernel is in the region [_rambase, _ramstart] - count in pages in per-cpu-page list as available memory - reserved memory now include: [0 - 4K] for bad pointer catching, memory reserved for abnormaly 05000263, memory reserved by kernel itself. Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: use common flash driver to setup partitions rather than the ↵Mike Frysinger2008-01-245-10/+174
| | | | | | | | | | | | | | | | bf5xx-flash driver Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to ↵Michael Hennerich2008-01-221-0/+2
| | | | | | | | | | | | | | | | | | | | boot up writes to I/DMEM_CONTROL must be followed by SSYNC Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix bug Only RTC interrupt can wake up deeper sleep core.Sonic Zhang2008-01-221-4/+4
| | | | | | | | | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Add proper SW System Reset delay sequenceMichael Hennerich2008-01-221-3/+12
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Update copyright dateMichael Hennerich2008-01-223-3/+3
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: GPIO API cleanup and anomaly updateMichael Hennerich2008-01-222-71/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add anomaly workaround for bfin_gpio_reset_spi0_ssel1 - Fix style - Update copyright - Remove BUG_ON checks for functions intended to be used only by arch support. GPIO users should only access using the generic GPIO API - Make all GPIO identifier unsigned int Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with ↵Michael Hennerich2008-01-2212-48/+58
| | | | | | | | | | | | | | | | GENERIC_GPIO API interface signef-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Initial checkin of the memory protection support.Bernd Schmidt2008-01-2715-8/+822
| | | | | | | | | | | | | | | | Enable it with CONFIG_MPU. Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default ↵Michael Hennerich2008-01-224-6/+13
| | | | | | | | | | | | | | | | - add argument or option Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Add some comments - fix semicolonsMichael Hennerich2008-01-111-17/+15
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: move all code related to CPLB handling into a new ↵Bernd Schmidt2008-01-119-3/+12
| | | | | | | | | | | | | | | | subdirectory under kernel/ Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: print out list of modules if kernel is crashing and tell ↵Robin Getz2008-01-111-1/+2
| | | | | | | | | | | | | | | | people if the kernel is tainted Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, ↵Bryan Wu2008-01-243-0/+72
| | | | | | | | | | | | | | EZKIT-BF533 and EZKIT-BF561 boards Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Don't oops_in_progress if single step is comming from the ↵Robin Getz2008-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | kernel Don't oops_in_progress if single step is comming from the kernel, which happens if a single step occurs after a exception cause. This fixes up the remaining issues in the toolchain bug. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix BUG - kernel sometimes would stuck with KEYBOARD_GPIO onMichael Hennerich2007-12-241-0/+2
| | | | | | | | | | | | | | | | Make sure the SYSTEM reset completes before we issue the CORE reset Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: update to latest anomaly sheetsMike Frysinger2007-12-244-31/+67
| | | | | | | | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Spelling fixesJoe Perches2007-12-242-2/+2
| | | | | | | | | | | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug - kgdb causing kernel panicSonic Zhang2007-12-260-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | ignore soft bp except when single step except occurs. Narrow the condition to ignore soft bp. If soft bp occurs in the single step handler or the soft bp handler, return immediately. This could happen when gdb client set soft bps in kernel code that in the path of kgdb core code. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug when DMA operation related core B of BF561Enrik Berkhan2007-12-241-4/+8
| | | | | | | | | | | | | | | | | | | | | | - Before DMA'ing data to core B L1 memory, caches have to be flushed. - Before DMA'ing data from core B L1 memory, caches have to be invalidated. - Fix lock/unlock. Signed-off-by: Enrik Berkhan <Enrik.Berkhan@ge.com> Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Restore default DMA priority over core on bf54x.Sonic Zhang2007-12-241-1/+0
| | | | | | | | | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: pull in linux/etherdevice.h for random_ether_addr() used in ↵Mike Frysinger2007-12-243-0/+3
| | | | | | | | | | | | | | | | bfin_get_ether_addr() Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: disable bfin_get_ether_addr fucntion for boards when do not ↵Martin Strubel2007-12-241-0/+2
| | | | | | | | | | | | | | | | use MAC driver Signed-off-by: Martin Strubel <hackfin@section5.ch> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Enable both edge triggered GPIO IRQs on BF54x and use ↵Michael Hennerich2007-12-241-21/+46
| | | | | | | | | | | | | | | | irq_to_gpio() Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: added Minotaur BSPMartin Strubel2008-01-273-0/+324
| | | | | | | | | | | | Signed-off-by: Martin Strubel <hackfin@section5.ch> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: replace current blackfin specific pfbutton driver with ↵Michael Hennerich2008-01-275-0/+140
| | | | | | | | | | | | | | | | kernel generic gpio key driver Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: append IRQ Number to label stringMichael Hennerich2007-12-242-8/+19
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix gpio label handlingMichael Hennerich2007-12-246-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | early serial init also utilizes the peripheral request api - however at this point bfin_gpio_init didn't allocate memory for the labels. So we always have two zombies (allocated pin functions without labels) This happens before the initcalls - We now allocate memory statically. Define MAX_RESOURCES individually for each cpu. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: add support for BF523/BF524/BF526Mike Frysinger2007-12-243-3/+63
| | | | | | | | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: scrub dead alive/idle LED codeMike Frysinger2007-12-244-172/+0
| | | | | | | | | | | | | | | | | | if it does get re-added, it needs to be in the boards directory, not common code ... or it needs a re-implementation Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix up coding style in uaccess.hBernd Schmidt2007-12-241-1/+1
| | | | | | | | | | | | Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: set default value of DEB_DMA_URGENT to YES to avoid DMA ↵Cliff Cai2007-12-241-1/+1
| | | | | | | | | | | | | | | | aborting caused by conflict between core and DMA Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Added support for OpenCores Keyboard Controller to H8606 boardJavier Herrero2008-01-271-0/+32
| | | | | | | | | | | | Signed-off-by: Javier Herrero <jherrero@hvsistemas.es> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix if/def BUG - and define is multipoint NOBryan Wu2007-12-241-4/+4
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: The BF527 EZkit connects UART1/PORTFMichael Hennerich2007-12-241-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: update defconfig of boardsBryan Wu2008-01-246-111/+134
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Trash bf54x-hcd driver - we use the musb driverMichael Hennerich2007-12-241-21/+0
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Enable peripheral platform resources on the BF527 EZkitMichael Hennerich2007-12-241-0/+98
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix bug to Enable bf548 to Re-program Clocks while Kernel ↵Sonic Zhang2008-01-274-5/+153
| | | | | | | | | | | | | | | | | | | | boots. Reprogram DDR EBIU register properly for bf548. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Clean up dump_bfin_memRobin Getz2007-12-234-50/+87
| | | | | | | | | | | | | | | | | | | | Clean up dump_bfin_mem so that it will display content from the kernel, as well as l1 instruction, when deferred HW errors happen, print out the last frame info if it makes sense. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: add Hitachi TX09D70VM1CDA TFT LCD driver resource to ↵Michael Hennerich2008-01-272-0/+21
| | | | | | | | | | | | | | | | Blackfin board Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix bug to Enable kernel to build for bf548 with PM.Sonic Zhang2007-12-237-15/+64
| | | | | | | | | | | | | | | | | | On BF548-EZKIT, build kernel faills with power management, video and audio enabled. This patch fix this. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug - make memcpy return the dest addr.Yi Li2007-12-211-6/+2
| | | | | | | | | | | | | | | | | | The memcpy() function returns the src pointer instead of the dst pointer. This patch fix this bug. Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug SDIO driver fails to build for BF542/BF548Cliff Cai2007-12-212-4/+4
| | | | | | | | | | | | | | | | modified CMD_TIMEOUT and DAT_TIMEOUT to CMD_TIME_OUT and DAT_TIME_OUT Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
OpenPOWER on IntegriCloud