22 May, 2008
1 commit
-
... and we have few enough places using the latter to make it
simpler to do search and replace...Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
20 May, 2008
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
[PATCH] return to old errno choice in mkdir() et.al.
[Patch] fs/binfmt_elf.c: fix wrong return values
[PATCH] get rid of leak in compat_execve()
[Patch] fs/binfmt_elf.c: fix a wrong free
[PATCH] avoid multiplication overflows and signedness issues for max_fds
[PATCH] dup_fd() part 4 - race fix
[PATCH] dup_fd() - part 3
[PATCH] dup_fd() part 2
[PATCH] dup_fd() fixes, part 1
[PATCH] take init_files to fs/file.c
19 May, 2008
2 commits
-
There are a few different types of debug trap exceptions, though now
that they are all going through a special jump table, the restorer needs
to be unified as well.Presently this is falling through the ret_from_fork path, which more or
less does the right thing on SH-3/4 whilst being completely unsuitable on
MMU-less targets.Ultimately what we want here is a branch through the platform's
restore_all directly, without worrying about the retval being clobbered.
We can accomplish that through a branch to __restore_all directly, so
switch it so we come back from the jump table and branch to the restorer.This fixes up a recursion in the nommu WARN_ON() path, as well as some
other userspace nastiness where said recursion caused serious stack
corruption.Signed-off-by: Paul Mundt
-
Currently is_valid_bugaddr() is true for anything >= PAGE_OFFSET, which
happens to be 0 on nommu configurations. Make this a bit smarter by just
reading in the opcode and comparing it against the trap type that we
already know. Follows the logic from avr32.Signed-off-by: Paul Mundt
17 May, 2008
1 commit
-
Signed-off-by: Al Viro
16 May, 2008
6 commits
-
Signed-off-by: Harvey Harrison
Signed-off-by: Paul Mundt -
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Paul Mundt -
Entry to resume_userspace expects r8 to contain current_thread_info,
which happens in all paths except for syscall_badsys, where r8 was
being inadvertently trampled. Reload it before the branch.Signed-off-by: Hideo Saito
Signed-off-by: Paul Mundt -
Signed-off-by: Hideo Saito
Signed-off-by: Paul Mundt -
When using initramfs on systems that don't explicitly clear LOADER_TYPE,
unpack_to_rootfs() tramples tramples the range with the defaults taken
out of .empty_zero_page. This causes kernels with valid initramfs images
to bail out with crc or gzip magic mismatch errors after the second
unpack takes place on certain platform configurations.Signed-off-by: Paul Mundt
-
Some kernel and boot loader configurations tweak the .empty_zero_page
settings, while others do not. Print the values out on entry as a
debugging aid.Signed-off-by: Paul Mundt
15 May, 2008
1 commit
-
Add a common hex array in hexdump.c so everyone can use it.
Add a common hi/lo helper to avoid the shifting masking that is
done to get the upper and lower nibbles of a byte value.Pull the pack_hex_byte helper from kgdb as it is opencoded many
places in the tree that will be consolidated.Signed-off-by: Harvey Harrison
Acked-by: Paul Mundt
Cc: Jason Wessel
Cc: Ingo Molnar
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 May, 2008
2 commits
-
'ix' is unsigned but denormal_subf1() may return a negative int.
Signed-off-by: Roel Kluin
Signed-off-by: Paul Mundt -
Follows the se7722 change.
Signed-off-by: Paul Mundt
08 May, 2008
26 commits
-
Make sure register modifications stay atomic. Fixes processors with
shared priority register masking. Dual bitmap masking is unaffected.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
The processor models sh7706, sh7707 and sh7709 don't support high
level trigger sense configuration. And the intc code looks like
crap these days so what's the difference.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Clean up the intc tables by removing unneeded #ifdefs. The vector
list is what selects which interrupt sources that should be added,
having unsupported bitfields listed is ok as long as the vector
is excluded from the list.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch adds interrupt acknowledge code for external interrupt
sources on sh3 processors. Only really required for edge triggered
interrupts, but we ack regardless of sense configuration.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch unifies the sh3 external irq pin code. It buys us some
savings with reduced code redundancy, but the main feature with
this change is irq sense selection support for all sh3 processors.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Reset the transmitter and receiver when setting up early printk.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Drain by waiting for all characters to be sent, and make sure to
wait a little bit after setting up the baud rate.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Use sci_out() instead of ctrl_outw() for early printk setup code.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Add physical memory resources such as System RAM, Kernel code/data/bss
and reserved crash dump area to /proc/iomem. Same strategy as on x86.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Do like everyone else and have a struct resource for kernel bss.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Fix sh7705 interrupt sources for vectors 0xc80 and 0xca0.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Select smc91x bus width using platform data for se7722 now when the
smc91x header file is in place.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Select smc91x bus width and irg flags using platform data for MigoR
now when the smc91x header file is in place.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Signed-off-by: Mathieu Desnoyers
CC: Sam Ravnborg
CC: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt -
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
SH_MPC1211 has been marked as BROKEN for some time.
Unless someone is working on reviving it now, I'd therefore suggest this
patch to remove it.Signed-off-by: Adrian Bunk
Signed-off-by: Paul Mundt -
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt