18 Oct, 2007
40 commits
-
It's been unfinished and broken long enough, and I have some ideas on how
to do it more cleanly.Signed-off-by: Kyle McMartin
-
We have the macro _AC() generally available now
so the calculation of PAGE_SIZE can be made
assembler compatible.
Introduce use of _AC() and kill all users of
ASM_PAGE_SIZE.Signed-off-by: Sam Ravnborg
Signed-off-by: Kyle McMartin -
"extern inline" will have different semantics with gcc 4.3, and "static
inline" is correct here.Signed-off-by: Adrian Bunk
Cc: Matthew Wilcox
Signed-off-by: Andrew Morton
Signed-off-by: Kyle McMartin -
If we're going to export the header, at least let's organize it sensibly and
not have a mishmash of userspace, assembly, and kernel visible defines.Signed-off-by: Kyle McMartin
-
Signed-off-by: Jeff Bailey
Signed-off-by: Kyle McMartin -
Signed-off-by: Kyle McMartin
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
9p: remove sysctl
9p: fix bad kconfig cross-dependency
9p: soften invalidation in loose_mode
9p: attach-per-user
9p: rename uid and gid parameters
9p: define session flags
9p: Make transports dynamic -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
net: libertas sdio driver
mmc: at91_mci: cleanup: use MCI_ERRORS
mmc: possible leak in mmc_read_ext_csd -
Add driver for Marvell's Libertas 8385 and 8686 wifi chips.
Signed-off-by: Pierre Ossman
Acked-by: Dan Williams -
* ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86: (114 commits)
x86: delete vsyscall files during make clean
kbuild: fix typo SRCARCH in find_sources
x86: fix kernel rebuild due to vsyscall fallout
.gitignore update for x86 arch
x86: unify include/asm/debugreg_32/64.h
x86: unify include/asm/unwind_32/64.h
x86: unify include/asm/types_32/64.h
x86: unify include/asm/tlb_32/64.h
x86: unify include/asm/siginfo_32/64.h
x86: unify include/asm/bug_32/64.h
x86: unify include/asm/mman_32/64.h
x86: unify include/asm/agp_32/64.h
x86: unify include/asm/kdebug_32/64.h
x86: unify include/asm/ioctls_32/64.h
x86: unify include/asm/floppy_32/64.h
x86: apply missing DMA/OOM prevention to floppy_32.h
x86: unify include/asm/cache_32/64.h
x86: unify include/asm/cache_32/64.h
x86: unify include/asm/dmi_32/64.h
x86: unify include/asm/delay_32/64.h
... -
A sysctl method was added to enable and disable debugging levels. After
further review, it was decided that there are better approaches to doing this
and the sysctl methodology isn't really desirable. This patch removes the
sysctl code from 9p.Signed-off-by: Eric Van Hensbergen
-
This patch moves transport dynamic registration and matching to the net
module to prevent a bad Kconfig dependency between the net and fs 9p modules.Signed-off-by: Eric Van Hensbergen
-
The 9P2000 protocol requires the authentication and permission checks to be
done in the file server. For that reason every user that accesses the file
server tree has to authenticate and attach to the server separately.
Multiple users can share the same connection to the server.Currently v9fs does a single attach and executes all I/O operations as a
single user. This makes using v9fs in multiuser environment unsafe as it
depends on the client doing the permission checking.This patch improves the 9P2000 support by allowing every user to attach
separately. The patch defines three modes of access (new mount option
'access'):- attach-per-user (access=user) (default mode for 9P2000.u)
If a user tries to access a file served by v9fs for the first time, v9fs
sends an attach command to the server (Tattach) specifying the user. If
the attach succeeds, the user can access the v9fs tree.
As there is no uname->uid (string->integer) mapping yet, this mode works
only with the 9P2000.u dialect.- allow only one user to access the tree (access=)
Only the user with uid can access the v9fs tree. Other users that attempt
to access it will get EPERM error.- do all operations as a single user (access=any) (default for 9P2000)
V9fs does a single attach and all operations are done as a single user.
If this mode is selected, the v9fs behavior is identical with the current
one.Signed-off-by: Latchesar Ionkov
Signed-off-by: Eric Van Hensbergen -
This patch abstracts out the interfaces to underlying transports so that
new transports can be added as modules. This should also allow kernel
configuration of transports without ifdef-hell.Signed-off-by: Eric Van Hensbergen
-
Almost identical except for the extra DR_LEN_8 and the different
DR_CONTROL_RESERVED defines.Signed-off-by: Thomas Gleixner
Conflicts:
include/asm-x86/Kbuild
-
32bit has an extra UNW_FP define, which does not hurt.
Signed-off-by: Thomas Gleixner
-
Mostly the same. Make the few exceptions conditional.
Signed-off-by: Thomas Gleixner
Conflicts:
include/asm-x86/types_32.h
-
Same file, except for whitespace, comment formatting.
Signed-off-by: Thomas Gleixner
-
Same file, except for the 64bit PREAMBLE_SIZE define.
Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the
.long/.quad delta which can be solved by a define.Signed-off-by: Thomas Gleixner
-
Same file, except for the extra 64bit MAP_32BIT define, which does not hurt
for 32 bit compiles.Signed-off-by: Thomas Gleixner
-
The 32bit D(n) debug addon can be made exclusive for 32 bit compiles.
Otherwise all the same.Signed-off-by: Thomas Gleixner
-
The 64 bit variant has additional function prototypes which do no harm
for 32 bit.Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace and comment formatting.
Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and:
32-bit: if((unsigned int) addr >= (unsigned int) high_memory)
64-bit: if((unsigned long) addr >= (unsigned long) high_memory)where the latter can be used safely for both.
Signed-off-by: Thomas Gleixner
Conflicts:
include/asm-x86/floppy_32.h
include/asm-x86/floppy_64.h -
commit 554d284ba90bc2306c31e5363789f05c320969c3 added _GPF_NORETRY
to floppy_64.h to prevent OOM killer on floppy DMA allocations.Apply the same to the 32 bit variant.
Found during the attempt to unify the _32/_64 variants. Seperate commit
to document the resulting code change.Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the two variants
of fb_is_primary_device()Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and:
32-bit: unsigned long *virt_addr = va;
64-bit: unsigned int *virt_addr = va;Both can be safely replaced by:
u32 i, *virt_addr = va;Signed-off-by: Thomas Gleixner
-
Unification, so we have these things in one file.
Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the extra
function prototype usc_tsc_delay() in _32.Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the extra
defines in _64, which are conditional on VSMP anyway.Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the extra
DEBUG_PAGE_ALLOC function in _32.Signed-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the
AT_SYSINFO define for 32bitSigned-off-by: Thomas Gleixner
-
Same file, except for whitespace, comment formatting and the
usage of wbinvd() instead of asm volatile("wbinvd":::"memory"), which is
the same.Signed-off-by: Thomas Gleixner
-
Scripted unification.
Signed-off-by: Thomas Gleixner
-
Merge errno.h, resource.h, rtc.h, sections.h, serial.h and sockios.h,
where i386 and x86_64 have no or only trivial comment/include guard
differences.Build tested on both 32-bit and 64-bit, and booted on 64-bit.
[tglx: fixup Kbuild as well]
Signed-off-by: Roland Dreier
Signed-off-by: Thomas Gleixner -
Merge 32/64-bit headers that simply redirect to asm-generic
[tglx: fixup Kbuild as well]
Signed-off-by: Brian Gerst
Signed-off-by: Thomas Gleixner -
convert mm_context_t semaphore to a mutex.
Signed-off-by: Luiz Fernando N. Capitulino
Cc: Andi Kleen
Signed-off-by: Andrew Morton
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Add support for and use the multi-byte NOPs recently documented to be
available on all PentiumPro and later processors.This patch only applies cleanly on top of the "x86: misc.
constifications" patch sent earlier.[ tglx: arch/x86 adaptation ]
Signed-off-by: Jan Beulich
Signed-off-by: Andi Kleen
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixnerarch/x86/kernel/alternative.c | 23 ++++++++++++++++++++++-
include/asm-x86/processor_32.h | 22 ++++++++++++++++++++++
include/asm-x86/processor_64.h | 22 ++++++++++++++++++++++
3 files changed, 66 insertions(+), 1 deletion(-) -
[ tglx: arch/x86 adaptation ]
Signed-off-by: Luiz Fernando N. Capitulino
Signed-off-by: Andi Kleen
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner