summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* sh: Plug in SH-5 ffz()/__ffs() bitops.Paul Mundt2008-01-281-0/+26
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH-5 support to the consistent DMA impl.Paul Mundt2008-01-281-2/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move vsyscall_init() defs up one level.Paul Mundt2008-01-282-6/+6
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Nopped out p3_cache_init() on SH-5 also.Paul Mundt2008-01-281-0/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up VMALLOC_START for SH-5.Paul Mundt2008-01-281-0/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move over the SH-5 head.S and tlb.h.Paul Mundt2008-01-282-35/+20
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Have SH-5 provide an {en,dis}able_fpu() impl.Paul Mundt2008-01-281-2/+13
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: timer.h stub for SH-5.Paul Mundt2008-01-281-0/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move in the SH-5 signal trampoline impl.Paul Mundt2008-01-281-0/+13
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: More SH-5 cpuinfo tidying.Paul Mundt2008-01-284-5/+12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Consolidate slab/kmalloc minalign values.Paul Mundt2008-01-282-12/+14
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out uaccess.h in to _32 and _64 variants.Paul Mundt2008-01-283-561/+578
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-5 also uses the ASID cache.Paul Mundt2008-01-281-6/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out system.h in to _32 and _64 variants.Paul Mundt2008-01-284-279/+144
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out 29-bit and 32-bit physical mode definitions.Paul Mundt2008-01-281-0/+17
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out processor.h in to _32 and _64 variants.Paul Mundt2008-01-283-269/+272
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-5 pt_regs.Paul Mundt2008-01-281-6/+22
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move in the SH-5 mmu_context headers.Paul Mundt2008-01-285-271/+173
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-5 byteorder routines.Paul Mundt2008-01-281-15/+30
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-5 version of current_thread_info().Paul Mundt2008-01-281-2/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out irqflags.h in to _32 and _64 variants.Paul Mundt2008-01-284-93/+188
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out asm/string.h for sh32 and sh64.Paul Mundt2008-01-283-131/+136
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH-5 support to io.h.Paul Mundt2008-01-281-16/+22
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add in cacheflush and DMA headers for SH-5.Paul Mundt2008-01-282-16/+6
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Correct SH-5 instruction size value.Paul Mundt2008-01-281-1/+3
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add cache definitions for SH-5.Paul Mundt2008-01-281-53/+8
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add addrspace.h segmentation stub for SH-5.Paul Mundt2008-01-281-0/+6
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: BUGFLAG_WARNING needs GENERIC_BUG.Paul Mundt2008-01-281-2/+2
| | | | | | | Move the HAVE_ARCH_BUG/HAVE_ARCH_WARN_ON definitions underneath CONFIG_GENERIC_BUG. This is needed for BUGFLAG_WARNING usage. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up fixmap location for SH-5.Paul Mundt2008-01-281-0/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH-5 support to asm/module.h.Paul Mundt2008-01-281-0/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out cache status bits per-CPU family.Paul Mundt2008-01-285-5/+20
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out PXSEG segmentation per-CPU family.Paul Mundt2008-01-285-23/+39
| | | | | | | | The CPU family abstraction already exists, so move out the PXSEG definition for each one. SH-2A already has this special cased, and SH-5 will as well. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* Merge branch 'for-linus' of ↵Linus Torvalds2008-01-2831-130/+366
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...
| * [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-271-1/+2
| | | | | | | | | | | | | | | | compile without it. Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: GPIO API cleanup and anomaly updateMichael Hennerich2008-01-221-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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-226-11/+11
| | | | | | | | | | | | | | | | 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-275-6/+133
| | | | | | | | | | | | | | | | 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-221-1/+5
| | | | | | | | | | | | | | | | - add argument or option 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: Fix gpio label handlingMichael Hennerich2007-12-245-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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: Fix bug to Enable bf548 to Re-program Clocks while Kernel ↵Sonic Zhang2008-01-272-3/+89
| | | | | | | | | | | | | | | | | | | | 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-231-1/+1
| | | | | | | | | | | | | | | | | | | | 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: Fix bug to Enable kernel to build for bf548 with PM.Sonic Zhang2007-12-232-2/+3
| | | | | | | | | | | | | | | | | | 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 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>
| * [Blackfin] arch: fix bug - trap_tests fails to recover on some tests.Robin Getz2008-01-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3719 When the CPLBs get a miss, we do: - find a victim in the HW table - remove the victim - find the replacement in the software table - put it into the HW table. If we can't find a replacement in the software table, we accidently leave a duplicate in the HW table. This patch ensures that duplicate is marked as not valid. What we should do is find the replacement in the software table, before we find a victim in the HW table - but its too late in the release cycle to do that much restructuring of this code. Rather that duplicate code, connect Hardware Errors (irq5) into trap_c, so user space processes get killed properly. The rest of irq_panic() can be moved into traps.c (later) There is still a small corner case that causes problems when a pheriperal interrupt goes off a single cycle before a user space hardware error. This causes a kernel panic, rather than the user space process being killed. But, this checkin makes things work in 99.9% of the cases, and is a vast improvement from what is there today (which fails 100% of the time). Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* | i2c: Add i2c_new_dummy() utilityDavid Brownell2008-01-271-0/+6
| | | | | | | | | | | | | | | | | | This adds a i2c_new_dummy() primitive to help work with devices that consume multiple addresses, which include many I2C eeproms and at least one RTC. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* | i2c: Stop using the redundant client listDavid Brownell2008-01-271-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i2c_adapter.clients list of i2c_client nodes duplicates driver model state. This patch starts removing that list, letting us remove most existing users of those i2c-core lists. * The core I2C code now iterates over the driver model's list instead of the i2c-internal one in some places where it's safe: - Passing a command/ioctl to each client, a mechanims used almost exclusively by DVB adapters; - Device address checking, in both i2c-core and i2c-dev. * Provide i2c_verify_client() to use with driver model iterators. * Flag the relevant i2c_adapter and i2c_client fields as deprecated, to help prevent new users from appearing. For the moment the list needs to stick around, since some issues show up when deleting devices created by legacy I2C drivers. (They don't follow standard driver model rules. Removing those devices can cause self-deadlocks.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* | i2c-pxa: Add polling transferMike Rapoport2008-01-271-0/+6
| | | | | | | | | | | | | | | | | | | | Add polling I2C transfer implementation for PXA I2C. This is needed for cases where I2C transactions have to occur at times interrups are disabled. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Acked-by: eric miao <eric.miao@marvell.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
OpenPOWER on IntegriCloud