21 Oct, 2010
40 commits
-
Optimized C library functions can rapidly speedup the kernel.
memset doesn't need to be optimized because there is no difference
in behavior on little/big endian cpu.Signed-off-by: Michal Simek
-
memcpy/memmove/memset
Signed-off-by: Michal Simek
-
New microblaze systems uses two buses. One for memories
and flashes and the second for low-speed peripherals
which can run on different CLK. This is the reason
why the kernel is trying to read clock-frequency
directly from node. If there is then the kernel will
work with it. If not then cpu CLK is used.Signed-off-by: Michal Simek
-
Microblaze little-endian toolchain exports __MICROBLAZEEL__
which is used in the kernel to identify little/big endian.The most of the changes are in loading values from DTB which
is always big endian.Little endian platforms are based on new AXI bus which has
impact to early uartlite initialization.Signed-off-by: Michal Simek
-
Just need to use little-endian opcode for brki r16, 0x18
Signed-off-by: Michal Simek
CC: Jason Wessel -
Upcomming microblaze version will support little-endian.
Signed-off-by: Michal Simek
Acked-by: Grant Likely -
AXI and OPB share some PVR macros.
Signed-off-by: Michal Simek
-
Use set_dma_ops and remove now used-once oddly named temp pointer sd.
Signed-off-by: Milton Miller
Signed-off-by: Nishanth Aravamudan
Signed-off-by: Michal Simek -
Early console support reuse setting from U-BOOT that's why
it is not necessary to setup baudrates, etc.Signed-off-by: Michal Simek
-
Kconfig blocks to select any other early console support that's why
this patch has no real impact on current kernel version. But it is done
because of uart16550.Signed-off-by: Michal Simek
-
Just setup pointer early console in run time.
Signed-off-by: Michal Simek
-
This is done because of uart16550 early printk support
Signed-off-by: Michal Simek
-
This dependency is resolved in menuconfig.
Signed-off-by: Michal Simek
-
Device-tree BSP generates longer compatible properties
that's why we can remove extra/old one.Signed-off-by: Michal Simek
-
It comes from past where pvr wasn't supported in msr instruction.
Signed-off-by: Michal Simek
-
Signed-off-by: Joe Perches
Signed-off-by: Michal Simek -
per cpu changes requires VMALLOC_START/END to be
define even for noMMU systems.Signed-off-by: Michal Simek
-
Several kernel modules requires empty_zero_page and mbc
to be exported.Signed-off-by: Michal Simek
-
Replaced libgcc functions with asm optimized implementation.
Signed-off-by: Michal Simek
-
gpiolib returns -ENXIO if struct gpio_chip::to_irq isn't set, so it's
safe to always call.Based on PPC patch
"powerpc/gpio: support gpio_to_irq()"
78331aded913d76c7ff996a1a0747d54b057460bSigned-off-by: Michal Simek
-
mmiowb is required by any driver.
Signed-off-by: Michal Simek
-
Signed-off-by: Michal Simek
-
Use asm-generic/pci-dma-compat.h instead of the homegrown
pci_set_dma_mask and pci_set_consistent_dma_mask.Signed-off-by: FUJITA Tomonori
-
Signed-off-by: Michal Simek
-
PVR for 7.30.b, 8.00.a versions.
Signed-off-by: Michal Simek
-
OUTPUT_FORMAT setup bigendian platform. Microblaze Linux port
is becoming bi endian that's why it is removed.Signed-off-by: Michal Simek
-
r16 and r17 should be saved across interrupt and exception handling.
Signed-off-by: Michal Simek
-
CONFIG_CONTIGUOUS_PAGE_ALLOC doesn't exist in Kconfig, therefore removing
all references to it from the source.Signed-off-by: Christian Dietrich
Signed-off-by: Michal Simek -
Kernel needs two timers because of clocksource and clockevent.
It is better to show warning message directly on early
console if available. If it isn't available kernel log buffer
contains it.Signed-off-by: Michal Simek
-
Signal code uses r3 value which saved in restore_sigcontext to
rt_sigframe but it require to be zeroed. If is not zero rt_sigframe
contains wrong values.Signed-off-by: Michal Simek
-
Do not save return registers before rt_sigreturn is called.
_user_exception(syscall handler) already setup return address
that's why it is removed from rt_sigreturn_wrapper.Signed-off-by: Michal Simek
-
TIF_KERNEL_TRACE is not used anywhere.
Signed-off-by: Michal Simek
-
Add seccomp support.
Signed-off-by: Michal Simek
-
Old gdb uses priviledged exception handler to handle
gdb exception. New gdb uses brki r16, 0x18 that's why
we can remove old gdb support.Signed-off-by: Michal Simek
-
Coding style cleanup.
Signed-off-by: Michal Simek
-
Compilation warning:
mm/memory.c: In function '__pte_alloc':
mm/memory.c:421: warning: assignment makes integer from pointer without a castSigned-off-by: Michal Simek
-
I forget to remove unused variable from kgdb_arch_handle_exception.
Fix return value in microblaze_kgdb_break function.Error log:
arch/microblaze/kernel/kgdb.c: In function 'microblaze_kgdb_break':
arch/microblaze/kernel/kgdb.c:83: warning: 'return' with a value, in function returning void
arch/microblaze/kernel/kgdb.c: In function 'kgdb_arch_handle_exception':
arch/microblaze/kernel/kgdb.c:119: warning: unused variable 'cpu'Signed-off-by: Michal Simek
-
LL Temac dts nodes should contain ranges property.
It is sufficient to use empty ranges property.Signed-off-by: Michal Simek
-
Signed-off-by: Joe Perches
Signed-off-by: Michal Simek -
* 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus:
MIPS: O32 compat/N32: Fix to use compat syscall wrappers for AIO syscalls.
MAINTAINERS: Change list for ioc_serial to linux-serial.
SERIAL: ioc3_serial: Return -ENOMEM on memory allocation failure
MIPS: jz4740: Fix Kbuild Platform file.
MIPS: Repair Kbuild make clean breakage.