aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
Commit message (Collapse)AuthorAge
...
* | microblaze_mmu_v2: MakefilesMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Kconfig updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: stat.h MMU updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Elf updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update dma.h for MMUMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update cacheflush.hMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update signal returning addressMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Traps MMU updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Enable fork syscall for MMU and add fork as vfork for noMMUMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update linker script for MMUMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Add MMU related exceptions handlingMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: uaccess MMU updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update exception handling - MMU exceptionMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: entry.S, entry.hMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Add CURRENT_TASK for entry.SMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: MMU asm offset updateMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update tlb.h and tlbflush.hMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: Update process creation for MMUMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | microblaze_mmu_v2: pgalloc.h and page.hMichal Simek2009-05-26
| | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | 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>