07 Apr, 2010
4 commits
-
Patch b3c1e01a09d6af2dd7811a066ffcfc5171be2bed should do it.
Signed-off-by: Michal Simek
-
Add new io big-endian function. They will be used
for uartlite and spi driver.Signed-off-by: John Linn
Signed-off-by: Michal Simek -
Use logical and NOT for ANDN. It was likely type fault.
Signed-off-by: Michal Simek
-
The Microblaze dynamic ftrace code assumes a call ordering that is not met
in all scenarios. Specifically, executing a command similar to:echo 105 > /sys/kernel/debug/tracing/set_ftrace_pid
before any other tracing-related commands results in a kernel panic:
BUG: failure at arch/microblaze/kernel/ftrace.c:198/ftrace_update_ftrace_func()!
Recoding ftrace_update_ftrace_func() to use &ftrace_caller directly eliminates
the need to capture its address elsewhere (and thus rely on a particular call
sequence).Signed-off-by: Steven J. Magnani
Signed-off-by: Michal Simek
05 Apr, 2010
1 commit
01 Apr, 2010
35 commits
-
Word copying is used only for aligned addresses.
Here is space for improving to use any better copying technique.
Look at memcpy implementation.Signed-off-by: Michal Simek
-
If early printk console is not enabled then all messages
are written to log buffer.Signed-off-by: Michal Simek
-
I forget to change register name in comments.
Signed-off-by: Michal Simek
-
TLB size was hardcoded in asm code. This patch brings ability
to change TLB size only in one place. (mmu.h).Signed-off-by: Michal Simek
-
I forget to remove pci Kconfig option.
Signed-off-by: Michal Simek
-
On the base on GCOV analytics is helpful to add likely/unlikely
macros.Signed-off-by: Michal Simek
-
Cachegrind analysis need this fix to be able to log asm functions.
Signed-off-by: Michal Simek
-
To be able to do trace TLB operations.
Signed-off-by: Michal Simek
-
Sync labels.
Signed-off-by: Michal Simek
-
RESR and REAR uses the same regs in whole file.
Signed-off-by: Michal Simek
-
This change synchronize register usage in code.
ESR = R4
EAR = R3Signed-off-by: Michal Simek
-
Any sync branch must follow mts instructions not mfs.
Signed-off-by: Michal Simek
-
Disable debug option in asm code.
Signed-off-by: Michal Simek
-
When the system has no lmb bram, main memory should be start from
zero because of microblaze vectors.DTS fragment could look like:
DDR2_SDRAM: memory@0 {
device_type = "memory";
reg = < 0x0 0x10000000 >;
} ;Then you have to setup CONFIG_KERNEL_BASE_ADDR=0 which caused
that kernel physical start address will be zero. On reset vector place
will be jump to 0x100 and on 0x100 starts kernel text.You have to solve how to load the kernel before cpu starts.
Tested with XMD.Signed-off-by: Michal Simek
-
Last sync.
Signed-off-by: Michal Simek
-
Move to generic location.
Signed-off-by: Michal Simek
-
noMMU and MMU use them.
Signed-off-by: Michal Simek
-
Here is small regression on dhrystone tests and I think
that on all benchmarking tests. It is due to better checking
mechanism in put_user macroSigned-off-by: Michal Simek
-
Use unified version.
Signed-off-by: Michal Simek
-
Previous patches fixed only MMU version and this is the first
patch for noMMU kernelSigned-off-by: Michal Simek
-
Generic implementation for noMMU and MMU version
Signed-off-by: Michal Simek
-
copy_from_user macro also use copy_tofrom_user function
Signed-off-by: Michal Simek
-
noMMU and MMU kernel will use copy copy_tofrom_user
asm implementation.Signed-off-by: Michal Simek
-
Add macro description and resort.
Signed-off-by: Michal Simek
-
Use FIXUP macros and resort them.
Signed-off-by: Michal Simek
-
It is used __FIXUP_SECTION and __EX_TABLE_SECTION macros.
Signed-off-by: Michal Simek
-
This is the first patch which does uaccess unification.
I choosed to do several patches to be able to use bisect
in future if any fault happens.Signed-off-by: Michal Simek
-
The same noMMU and MMU functions should be placed in
one file.Signed-off-by: Michal Simek
-
Just sort to be able remove whole block.
Signed-off-by: Michal Simek
-
I would like to use asm-generic uaccess.h where are segment
macros defined. This is just first step.Signed-off-by: Michal Simek
-
We don't need to do it.
Signed-off-by: Michal Simek
-
If CONFIG_INITRAMFS_SOURCE is set, "scripts/gen_initramfs_list.sh"
checks if the cpio image exists. Remove the duplicate check from the
Makefile.Remove the "clean-kernel" variable which is unused in the Makefile and
is not used by the Kbuild.Signed-off-by: Arun Bhanu
Signed-off-by: Michal Simek -
'make clean' does not to delete the following build generated file:
arch/microblaze/boot/linux.bin.ub'make mrproper' does not to delete the following build generated files:
arch/microblaze/boot/simpleImage.*Fix the Makefile to delete these build generated files.
See [1] for a discussion on why simpleImage.* files are deleted with 'make
mrproper' and not with 'make clean'.
[1] http://lkml.org/lkml/2010/3/12/96Signed-off-by: Arun Bhanu
Signed-off-by: Michal Simek -
'make ARCH=microblaze help' fails with the following error due to a
missing single quote./bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [help] Error 2Signed-off-by: Arun Bhanu
Signed-off-by: Michal Simek -
The "kstack=" command line parameter is not parsed correctly.
All proper values are interpreted as zero.Signed-off-by: Steven J. Magnani
Signed-off-by: Michal Simek