aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
Commit message (Collapse)AuthorAge
...
* | microblaze_mmu_v2: io.h MMU updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Page table - ioremap - pgtable.c/h, section updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Context handling - mmu_context.c/hMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Page fault handling high level - fault.cMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: mmu.h updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: MMU initializationMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: TLB low level codeMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Alocate TLB for early consoleMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: MMU update for startup codeMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Add mmu_defconfigMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Fix size of __kernel_mode_t to shortMichal Simek2009-05-26
| | | | | | | | | | | | | | This patches solve problem with inconsistency between kernel and glibc Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Add audit and seccomp thread flags.Edgar E. Iglesias2009-05-26
| | | | | | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* | microblaze: Kbuild updateMichal Simek2009-05-22
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Fix cast warning for __va in prom.cMichal Simek2009-05-21
| | | | | | | | | | | | | | __va expect 32bit value but of_read_ulong(of_read_number) returns 64bit value Signed-off-by: Michal Simek <monstr@monstr.eu>
* | Microblaze: Remove unused variable from paging initMichal Simek2009-05-21
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Cleanup compiled-in rootfs in BSS sectionMichal Simek2009-05-21
| | | | | | | | | | | | | | | | | | | | | | This patch is based on patch from Steve Magnani. There were bug for compiled-in rootfs. We have to move moving rootfs which is in BSS section to _ebss section which is at the end of kernel and then clear bss section not vice-versa. Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Fix early cmdline for CMDLINE_FORCEMichal Simek2009-05-21
| | | | | | | | | | | | | | | | | | | | | | | | This patch fixed parsing early parameters because current implementation does that early parse DTS command line and then parse CMDLINE line which is compiled-in. For case that DTS doesn't contain command line is copied command line from kernel with is done in prom.c that's why I can remove it from machine_early_init. Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Guard __HAVE_ARCH macros with __KERNEL__ in string.hSteve Magnani2009-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | A polarity reversal in the __KERNEL__ guard prevents the __HAVE_ARCH flags from being defined in kernel compilation. I noticed that there's now an option for assembly-optimized versions of memcpy and memmove. I believe this may be buggy; when I turn it on, all my printk output gets smashed together, as if the newlines aren't getting copied. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: clean LDFLAGS to build kernelThomas Chou2009-05-21
| | | | | | | | | | | | | | | | Extra LDFLAGS from user space building may cause kernel failed to compile. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Fix paging init-zone initializationSteve Magnani2009-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fix problem with bad zone initialization. This bug wasn't perform because Microblaze doesn't define CONFIG_ZONE_DMA and ZONE_NORMAL was 0 for this case that's why free_area_init works with correct values. Original message: I believe that the switch from ZONE_DMA (== 0) to ZONE_NORMAL broke the free area initialization. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: use generic dma-mapping-broken.hArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Microblaze does not support the Linux DMA mapping API at this point, so disable CONFIG_NO_DMA. This lets us use the generic dma-mapping-broken.h implementation instead of providing a different copy. Any drivers that try to use DMA mapping now get omitted from Kconfig or produce a link error, rather than failing silently at run time. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: prepare signal handling for generic unistd.hMichal Simek2009-05-21
| | | | | | | | | | | | | | | | | | We need to define set_restore_sigmask() in order to get pselect and ppoll. Also, the setup_frame function can not be used when __NR_sigreturn is not defined. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: clean up checksum.cArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the function prototypes in the checksum code to have the usual prototypes, typically by turning int arguments into __wsum. Also change csum_partial_copy_from_user() to operate on the right address space and export ip_fast_csum, which is used in modular networking code. The new version is now sparse-clean including endianess checks. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: remove bad_user_access_lengthArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | This function was actually causing harm, by hiding errors about invalid sized get_user/put_user accesses. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: do not include types.h in ptrace.hArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | linux/types.h breaks the uclibc build, so don't include it here. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: add a dummy pgprot_noncachedArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | | | | | Some device drivers call this, so add a macro that pretends to do this. Since there is no MMU support, it won't actually result in an uncached mapping, though. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: add security initcallsArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | The security subsystem has its own initcalls, which need support in vmlinux.lds.S. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: remove cacheable_memcpyArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | This function is neither declared nor used anywhere outside of ppc32, so remove it from microblaze. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: kill incorrect __bad_xchg definitionArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | | | | | | | The whole point of the __bad_xchg declaration in system.h is to give a linker error when a variable of invalid size is passed to __xchg. The out of line definition in traps.c defeats this purpose and does not any value, so remove it here. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: fix __user annotationsArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | | | | | | | | | The microblaze signal handling code gets some __user pointers wrong, as shown by sparse. This adds the annotations where appropriate and change sys_rt_sigreturn to correctly pass a user stack down to do_sigaltstack instead of a kernel structure. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: export some symbolsArnd Bergmann2009-05-21
| | | | | | | | | | | | | | | | Some device drivers require the symbols _ebss, kernel_thread, __page_offset or ___range_ok, so export them. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Kconfig: Enable drivers for MicroblazeMichal Simek2009-05-21
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze: Remove POWERPC reference from Microblaze gpio.hMichal Simek2009-05-21
|/ | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix kind-of-intr checking against number of interruptsMichal Simek2009-05-18
| | | | | | + Fix typographic fault. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Update Microblaze defconfigMichal Simek2009-05-18
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* Merge branch 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblazeLinus Torvalds2009-05-08
|\ | | | | | | | | | | * 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Fix return value for sys_ipc microblaze: Storage class should be before const qualifier
| * microblaze: Fix return value for sys_ipcMichal Simek2009-05-01
| | | | | | | | | | Signed-off-by: John Linn <john.linn@xilinx.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
| * microblaze: Storage class should be before const qualifierTobias Klauser2009-05-01
| | | | | | | | | | | | | | | | | | | | | | The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Michal Simek <monstr@monstr.eu>
* | of: make of_(un)register_platform_driver common codeGrant Likely2009-05-02
|/ | | | | | | | | | | | | | | | | | | | | | Some drivers using of_register_platform_driver() wrapper break on sparc because the wrapper isn't in the header file. This patch moves it from Microblaze and PowerPC implementations and makes it common code. Fixes this sparc64 allmodconfig build error (at least): drivers/leds/leds-gpio.c: In function `gpio_led_init': drivers/leds/leds-gpio.c:295: error: implicit declaration of function `of_register_platform_driver' drivers/leds/leds-gpio.c: In function `gpio_led_exit': drivers/leds/leds-gpio.c:311: error: implicit declaration of function `of_unregister_platform_driver' Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net> Cc: Michal Simek <monstr@monstr.eu> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* microblaze: add parameter to microblaze_read()Coly Li2009-04-23
| | | | | | | | | | This patch modifies parameter of microblaze_read() from 'void' to 'struct clocksource *cs', which fixes compile warning for incompatible parameter type. Signed-off-by: Coly Li <coly.li@suse.de> Cc: Michal Simek <monstr@monstr.eu> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Use CFLAGS_KERNEL instead of CFLAGSMichal Simek2009-04-23
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel tooMichal Simek2009-04-23
| | | | | | | For noMMU kernel this change nothing bring but this change helps with MMU synchronization. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Do not check use_dcacheMichal Simek2009-04-23
| | | | | | | It is not necessary to check cpuinfo.use_dcache because this checking is done in function which call that functions Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Do not use PVR configuration for broken MB versionMichal Simek2009-04-23
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix USR1/2 pvr printing messageMichal Simek2009-04-23
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: iowrite upon timeoutRoel Kluin2009-04-23
| | | | | | | | retries reaches -1, so the iowrite occurrs upon timeout. Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Correspond CONFIG...PCMP in Makefile/KconfigMichal Simek2009-04-23
| | | | | | | Makefile contained different cpu config flag than is in Kconfig.auto in platform folder Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Remove redundant variableMichal Simek2009-04-23
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Move start_thread to process.cMichal Simek2009-04-23
| | | | | | This change is due to upcomming MMU merge Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Add missing preadv and pwritev syscallsMichal Simek2009-04-23
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>