linux-kernel mailing list

FromSubjectsort iconDate
Jeff Garzik
[PATCH 13/14] [ISDN] HiSax diva: convert to modern ISA/PNP/P...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/isdn/hisax/Kconfig | 3 +- drivers/isdn/hisax/Makefile | 3 +- drivers/isdn/hisax/config.c | 27 +--- drivers/isdn/hisax/diva.c | 453 ++++++++++++++++++++++++++----------------- 4 files changed, 283 insertions(+), 203 deletions(-) diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig index 02cdc57..36af79f 100644 --- a/drivers/isdn/hisax/Kconfig +++ b/drivers/isdn/hisax/Kconfig @@ -165,7 +165,8 @@ con...
Oct 31, 1:13 am 2007
Jeff Garzik
[PATCH 10/14] [ISDN] HiSax gazel: convert to modern ISA/PCI ...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/isdn/hisax/Kconfig | 3 +- drivers/isdn/hisax/Makefile | 2 +- drivers/isdn/hisax/config.c | 25 +---- drivers/isdn/hisax/gazel.c | 248 ++++++++++++++++++++++++++++++++---------- 4 files changed, 194 insertions(+), 84 deletions(-) diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig index 14951c0..dbc296e 100644 --- a/drivers/isdn/hisax/Kconfig +++ b/drivers/isdn/hisax/Kconfig @@ -306,7 +306,8 @@ conf...
Oct 31, 1:12 am 2007
Jeff Garzik
[PATCH 09/14] [ISDN] HiSax avm_pci: convert to modern PCI/IS...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/isdn/hisax/Kconfig | 4 +- drivers/isdn/hisax/Makefile | 2 +- drivers/isdn/hisax/avm_pci.c | 322 ++++++++++++++++++++++++++++++------------ drivers/isdn/hisax/config.c | 22 +--- 4 files changed, 235 insertions(+), 115 deletions(-) diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig index 4f98afb..14951c0 100644 --- a/drivers/isdn/hisax/Kconfig +++ b/drivers/isdn/hisax/Kconfig @@ -132,8 +132,8 @@ ...
Oct 31, 1:11 am 2007
Jeff Garzik
[PATCH 03/14] [ISDN] Ready HiSax driver for modularization
* move netjet, isac, arcofi, hscx common sub-modules to new libhisax.ko * export several symbols that are used by external drivers * move DEFAULT_PROTO* deterination to shareable header file * add hotplug and PCI-remove APIs Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/isdn/hisax/Makefile | 51 ++++++++++++++++---------------- drivers/isdn/hisax/arcofi.c | 3 ++ drivers/isdn/hisax/config.c | 59 +++++++++++++++++++++++-------------- drivers/isdn/hisax/h...
Oct 31, 1:10 am 2007
Jeff Garzik
[PATCH 02/14] [ISDN] Hisax: eliminate many unnecessary refer...
For the vast majority of CardType[card->typ] uses (but not all!), the string is constant for each driver. Therefore, we may replace CardType[card->typ] with the actual string describing the driver, making each printk() a bit more simple. This also has the nice, intended side effect of greatly reducing external references to hisax global CardType[]. This will be of value once the ISDN drivers are converted to the ISA/PCI/PNP hotplug APIs. Signed-off-by: Jeff Garzik <jgarzik@redhat.com&g...
Oct 31, 3:42 am 2007
Serge E. Hallyn
[PATCH] file capabilities: allow sigcont within session (v2)
From 5bff8967f45a35f858b96ca673d9bf98eac53d49 Mon Sep 17 00:00:00 2001 From: Serge E. Hallyn <serue@us.ibm.com> Date: Wed, 31 Oct 2007 11:22:04 -0500 Subject: [PATCH 1/1] file capabilities: allow sigcont within session (v2) (This is a proposed fix to http://bugzilla.kernel.org/show_bug.cgi?id=9247) Allow sigcont to be sent to a process with greater capabilities if it is in the same session. Otherwise, a shell from which I've started a root shell and done 'suspend' can't be restarted by th...
Oct 31, 7:49 pm 2007
Adrian Bunk
[2.6 patch] the scheduled I2C RTC driver removal
This patch contains the scheduled removal of legacy I2C RTC drivers with replacement drivers. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- Documentation/feature-removal-schedule.txt | 7 arch/powerpc/platforms/83xx/mpc832x_mds.c | 24 - arch/powerpc/platforms/83xx/mpc834x_mds.c | 24 - arch/powerpc/platforms/83xx/mpc836x_mds.c | 24 - arch/ppc/platforms/83xx/mpc834x_sys.c | 20 - arch/ppc/platforms/85xx/tqm85xx.c | 21 - arch/ppc/platforms/katana.c ...
Oct 31, 7:03 pm 2007
Pete Zaitcev
USB: FIx locks and urb->status in adutux (updated)
Two main issues fixed here are: - An improper use of in-struct lock to protect an open count - Use of urb status for -EINPROGRESS Also, along the way: - Change usb_unlink_urb to usb_kill_urb. Apparently there's no need to use usb_unlink_urb whatsoever in this driver, and the old use of usb_kill_urb was outright racy (it unlinked and immediately freed). - Fix indentation in adu_write. Looks like it was damaged by a script. - Vitaly wants -EBUSY on multiply opens. - bInterval was taken ...
Oct 31, 6:59 pm 2007
Mathieu Desnoyers
[patch 17/28] local_t m32r use architecture specific cmpxchg...
On m32r, use the new cmpxchg_local as primitive for the local_cmpxchg operation. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Hirokazu Takata <takata@linux-m32r.org> CC: linux-m32r@ml.linux-m32r.org --- include/asm-m32r/local.h | 362 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 361 insertions(+), 1 deletion(-) Index: linux-2.6-lttng/include/asm-m32r/local.h =================================================================== --- lin...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 19/28] Add cmpxchg_local to m68knommu
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: gerg@uclinux.org --- include/asm-m68knommu/system.h | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) Index: linux-2.6-lttng/include/asm-m68knommu/system.h =================================================================== --- linux-2.6-lttng.orig/...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 02/28] Fall back on interrupt disable in cmpxchg8b on...
Actually, on 386, cmpxchg and cmpxchg_local fall back on cmpxchg_386_u8/16/32: it disables interruptions around non atomic updates to mimic the cmpxchg behavior. The comment: /* Poor man's cmpxchg for 386. Unsuitable for SMP */ already present in cmpxchg_386_u32 tells much about how this cmpxchg implementation should not be used in a SMP context. However, the cmpxchg_local can perfectly use this fallback, since it only needs to be atomic wrt the local cpu. This patch adds a cmpxchg_486_u64 an...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 14/28] New cmpxchg_local (optimized for UP case) for ...
Add __xchg_local, xchg_local (define), __cmpxchg_local_u32, __cmpxchg_local, cmpxchg_local(macro). cmpxchg_local and cmpxchg64_local will use the architecture specific __cmpxchg_local_u32 for 32 bits arguments, and use the generic __cmpxchg_local_generic for 8, 16 and 64 bits arguments. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Hirokazu Takata <takata@linux-m32r.org> CC: clameter@sgi.com CC: linux-m32r@ml.linux-m32r.org --- include/asm-m32r/system.h...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 22/28] Add cmpxchg_local to s390
Use the standard __cmpxchg for every type that can be updated atomically. Use the new generic cmpxchg_local (disables interrupt) for other types. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: schwidefsky@de.ibm.com CC: linux390@de.ibm.com --- include/asm-s390/system.h | 44 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) Index: linux-2.6-lttng/include/asm-s390/system.h ============================...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 08/28] Add cmpxchg_local to avr32
Use the new generic cmpxchg_local (disables interrupt) for 8, 16 and 64 bits cmpxchg_local. Use the __cmpxchg_u32 primitive for 32 bits cmpxchg_local. Note that cmpxchg only uses the __cmpxchg_u32 or __cmpxchg_u64 and will cause a linker error if called with 8 or 16 bits argument. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com> CC: clameter@sgi.com CC: hskinnemoen@atmel.com --- include/asm-avr32/system.h | 23 ++...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 10/28] Add cmpxchg_local to cris
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: starvik@axis.com --- include/asm-cris/system.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) Index: linux-2.6-lttng/include/asm-cris/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-cris/system.h 2007-10-31 17:...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 15/28] Fix m32r __xchg
the #endif /* CONFIG_SMP */ should cover the default condition, or it may cause bad parameter to be silently missed. To make it work correctly, we have to remove the ifdef CONFIG SMP surrounding __xchg_called_with_bad_pointer declaration. Thanks to Adrian Bunk for detecting this. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Hirokazu Takata <takata@linux-m32r.org> CC: linux-m32r@ml.linux-m32r.org CC: Adrian Bunk <bunk@kernel.org> --- include/asm...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 07/28] Add cmpxchg_local to arm
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: rmk@arm.linux.org.uk --- include/asm-arm/system.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) Index: linux-2.6-lttng/include/asm-arm/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-arm/system.h 2007-10-31 17...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 21/28] Add cmpxchg_local to ppc
Add a local processor version of cmpxchg for ppc. Implements __cmpxchg_u32_local and uses it for 32 bits cmpxchg_local. It uses the non NMI safe cmpxchg_local_generic for 1, 2 and 8 bytes cmpxchg_local. From: Gunnar Larisch <gl@denx.de> From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Gunnar Larisch <gl@denx.de> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: benh@kernel.crashing.org --- include/asm-ppc/sys...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 25/28] Add cmpxchg_local to sparc, move __cmpxchg to ...
Move cmpxchg and add cmpxchg_local to system.h. Use the new generic cmpxchg_local (disables interrupt). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: wli@holomorphy.com CC: sparclinux@vger.kernel.org --- include/asm-sparc/atomic.h | 36 --------------------------------- include/asm-sparc/system.h | 48 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 36 deletions(-) Index: linux-2.6-lttng/include/asm-sparc/at...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 24/28] Add cmpxchg_local to sh64
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: lethal@linux-sh.org --- include/asm-sh64/system.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) Index: linux-2.6-lttng/include/asm-sh64/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-sh64/system.h 2007-10-31 ...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 28/28] Add cmpxchg_local to xtensa
Use the architecture specific __cmpxchg_u32 for 32 bits cmpxchg)_local. Else, use the new generic cmpxchg_local (disables interrupt). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com chris@zankel.net --- include/asm-xtensa/system.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) Index: linux-2.6-lttng/include/asm-xtensa/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-xte...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 18/28] Add cmpxchg_local to m86k
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: zippel@linux-m68k.org CC: linux-m68k@lists.linux-m68k.org --- include/asm-m68k/system.h | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) Index: linux-2.6-lttng/include/asm-m68k/system.h ================================================================...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 23/28] Add cmpxchg_local to sh, use generic cmpxchg()...
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Since cmpxchg_u32 is _exactly_ the cmpxchg_local generic implementation, remove it and use the generic version instead. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: lethal@linux-sh.org --- include/asm-sh/system.h | 52 ++++++++++++------------------------------------ 1 file changed, 14 insertions(+), 38 deletions(-) Index: li...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 20/28] Add cmpxchg_local to parisc
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: parisc-linux@parisc-linux.org --- include/asm-parisc/atomic.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Index: linux-2.6-lttng/include/asm-parisc/atomic.h =================================================================== --- linux-2.6-lttng.orig/inclu...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 26/28] Add cmpxchg_local to sparc64
Use cmpxchg_u32 and cmpxchg_u64 for cmpxchg_local and cmpxchg64_local. For other type sizes, use the new generic cmpxchg_local (disables interrupt). Change: Since the header depends on local_irqsave/local_irqrestore, it must be included after their declaration. Actually, being below the #include <linux/irqflags.h> should be enough, and on sparc64 it is included at the beginning of system.h. So it makes sense to move it up for sparc64. Signed-off-by: Mathieu Desnoyers <mathieu.desno...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 16/28] m32r: build fix of arch/m32r/kernel/smpboot.c
This patch is for Mathieu Desnoyers's include/asm-m32r/local.h. Applying the new include/asm-m32r/local.h, inclusion of linux/sched.h is needed to fix a build error of arch/m32r/kernel/smpboot.c. <-- snip --> ... CC arch/m32r/kernel/smpboot.o /project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c: In function 'do_boot_cpu': /project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:279: error: implicit declaration of function 'fork_idle' /pr...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 13/28] Add cmpxchg_local, cmpxchg64 and cmpxchg64_loc...
Add the primitives cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64. They use cmpxchg_acq as underlying macro, just like the already existing ia64 cmpxchg(). Changelog: ia64 cmpxchg_local coding style fix Quoting Keith Owens: As a matter of coding style, I prefer #define cmpxchg_local cmpxchg #define cmpxchg64_local cmpxchg64 Which makes it absolutely clear that they are the same code. With your patch, humans have to do a string compare of two defines to see if they are the same....
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 27/28] Add cmpxchg_local to v850
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com --- include/asm-v850/system.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) Index: linux-2.6-lttng/include/asm-v850/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-v850/system.h 2007-10-31 17:32:43.000000000 -0400 ...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 06/28] Add cmpxchg64 and cmpxchg64_local to x86_64
Make sure that at least cmpxchg64_local is available on all architectures to use for unsigned long long values. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Andi Kleen <ak@muc.de> --- include/asm-x86_64/cmpxchg.h | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) Index: linux-2.6-lttng/include/asm-x86_64/cmpxchg.h =================================================================== --- linux-2.6-lttng.orig/include/asm-x86_64/cmpxch...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 12/28] Add cmpxchg_local to h8300
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com --- include/asm-h8300/system.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) Index: linux-2.6-lttng/include/asm-h8300/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-h8300/system.h 2007-10-31 18:06:31.000000000 -04...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 05/28] Add cmpxchg64 and cmpxchg64_local to powerpc
Make sure that at least cmpxchg64_local is available on all architectures to use for unsigned long long values. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Paul Mackerras <paulus@samba.org> CC: linuxppc-dev@ozlabs.org --- include/asm-powerpc/system.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/include/asm-powerpc/system.h =================================================================== --- linu...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 01/28] Add cmpxchg_local to asm-generic for per cpu a...
Emulates the cmpxchg_local by disabling interrupts around variable modification. This is not reentrant wrt NMIs and MCEs. It is only protected against normal interrupts, but this is enough for architectures without such interrupt sources or if used in a context where the data is not shared with such handlers. It can be used as a fallback for architectures lacking a real cmpxchg instruction. For architectures that have a real cmpxchg but does not have NMIs or MCE, testing which of the generic vs a...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 09/28] Add cmpxchg_local to blackfin, replace __cmpxc...
Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set since nobody seems to know why __cmpxchg has been implemented in assembly in the first place thather than in plain C. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com CC: michael.frysinger@analog.com --- include/asm-blackfin/system.h | 59 ++++++++---------------------------------- 1 file changed, 12 insertions(+), 47 deletions(-) Index:...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 11/28] Add cmpxchg_local to frv
Use the new generic cmpxchg_local (disables interrupt) for 8, 16 and 64 bits arguments. Use the 32 bits cmpxchg available on the architecture for 32 bits arguments. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: clameter@sgi.com --- include/asm-frv/system.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Index: linux-2.6-lttng/include/asm-frv/system.h =================================================================== --- linux-2.6-lttng.orig/inclu...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 04/28] Add cmpxchg64 and cmpxchg64_local to mips
Make sure that at least cmpxchg64_local is available on all architectures to use for unsigned long long values. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: ralf@linux-mips.org CC linux-mips@linux-mips.org --- include/asm-mips/cmpxchg.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) Index: linux-2.6-lttng/include/asm-mips/cmpxchg.h =================================================================== --- linux-2.6-lttng.orig/include/asm-mips/cmpxchg.h 20...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 03/28] Add cmpxchg64 and cmpxchg64_local to alpha
Make sure that at least cmpxchg64_local is available on all architectures to use for unsigned long long values. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: rth@twiddle.net CC: ink@jurassic.park.msu.ru --- include/asm-alpha/system.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/include/asm-alpha/system.h =================================================================== --- linux-2.6-lttng.orig/include/asm-alpha/s...
Oct 31, 6:37 pm 2007
Mathieu Desnoyers
[patch 00/28] cmpxchg_local and cmpxchg64_local patches, cle...
Hi, Here is a repost of those patches after running them through checkpatch. I added a compile check to each architecture implementing cmpxchg64_local that verifies if the argument size is 8 bytes. Sorry about the coding style state in which those patches were : I tried to follow the coding style of the existing header code, which is, to be polite, disappointing. I left the "volatile" in the function headers, since I do not want to take any decision in that aspect without being fully aware o...
Oct 31, 6:37 pm 2007
Junio C Hamano
[ANNOUNCE] GIT 1.5.3.5
The latest maintenance release GIT 1.5.3.5 is available at the usual places: http://www.kernel.org/pub/software/scm/git/ git-1.5.3.5.tar.{gz,bz2} (tarball) git-htmldocs-1.5.3.5.tar.{gz,bz2} (preformatted docs) git-manpages-1.5.3.5.tar.{gz,bz2} (preformatted docs) RPMS/$arch/git-*-1.5.3.5-1.$arch.rpm (RPM) There are many fixes including a handful bugs that led to segfaults. ---------------------------------------------------------------- GIT v1.5.3.5 Release Notes ===========...
Oct 31, 6:40 pm 2007
David Griffith
fixing usb-midi device support
I have a MOTU Fastlane and an Emu Xmidi 2x2 USB midi interfaces. The Emu unit works fine with current kernels. The MOTU unit won't work with kernels newer than 2.6.17. I stumbled over a patch that had something to do with a MOTU Fastlane, but I haven't been able to find it again. Could I get some advice on fixing MOTU Fastlane support? -- David Griffith dgriffi@cs.csubak.edu -
Oct 31, 5:30 pm 2007
Glauber de Oliveira ...
[PATCH 0/7] (Re-)introducing pvops for x86_64 - Real pvops w...
Hey folks, This is the part-of-pvops-implementation-that-is-not-exactly-a-merge. Neat, uh? This is the majority of the work. The first patch in the series does not really belong here. It was already sent to lkml separetedly before, but I'm including it again, for a very simple reason: Try to test the paravirt patches without it, and you'll fail miserably ;-) (and it was not yet included). Other than that, I thank you all in advance for the review. Have fun! -
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 1/16] Wipe out traditional opt from x86_64 Makefile
Among other things, using -traditional as a gcc option stops us from using macro token pasting, which is a feature we heavily rely on. There was still a use of -traditional in arch/x86/kernel/Makefile_64, which this patch removes. I don't see any problems building kernels in my x86_64 box without -traditional. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> --- arch/x86/kernel/Makefile_64 | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/x86/k...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 2/16] paravirt hooks at entry functions.
Those are the hooks needed for paravirt at entry_64.S In general, they follow the way of i386. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- arch/x86/kernel/entry_64.S | 108 +++++++++++++++++++++++++++----------------- 1 files changed, 66 insertions(+), 42 deletions(-) diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 3a058bb.....
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 3/16] read/write_crX, clts and wbinvd for 64-bit para...
This patch introduces, and patch callers when needed, native versions for read/write_crX functions, clts and wbinvd. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- arch/x86/mm/pageattr_64.c | 3 +- include/asm-x86/system_64.h | 60 ++++++++++++++++++++++++++++++------------ 2 files changed, 45 insertions(+), 18 deletions(-) diff --git a/arch/x86/mm...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 4/16] provide native irq initialization function
The interrupt initialization routine becomes native_init_IRQ and will be overriden later in case paravirt is on. The interrupt array is made visible for guests such lguest, that will need to have their own initialization mechanism (though using most of the same irq lines) later on. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- arch/x86/kernel/i8259_64.c | ...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 5/16] report ring kernel is running without paravirt
When paravirtualization is disabled, the kernel is always running at ring 0. So report it in the appropriate macro Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/segment_64.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/asm-x86/segment_64.h b/include/asm-x86/segment_64.h index 04b8ab2..240c1bf 100644 ...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 6/16] export math_state_restore
Export math_state_restore symbol, so it can be used for hypervisors. They are commonly loaded as modules (lguest being an example). Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- arch/x86/kernel/traps_64.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index d0c2bc7..a533ecd ...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 7/16] native versions for set pagetables
This patch turns the set_p{te,md,ud,gd} functions into their native_ versions. There is no need to patch any caller. Also, it adds pte_update() and pte_update_defer() calls whenever we modify a page table entry. This last part was coded to match i386 as close as possible. Pieces of the header are moved to below the #ifdef CONFIG_PARAVIRT site, as they are users of the newly defined set_* macros. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt &l...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 8/16] add native functions for descriptors handling
This patch turns the basic descriptor handling into native_ functions. It is basically write_idt, load_idt, write_gdt, load_gdt, set_ldt, store_tr, load_tls, and the ones for updating a single entry. In the process of doing that, we change the definition of load_LDT_nolock, and caller sites have to be patched. We also patch call sites that now needs a typecast. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: ...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 9/16] This patch add provisions for time related func...
can be later replaced by paravirt versions. it basically encloses {g,s}et_wallclock inside the already existent functions update_persistent_clock and read_persistent_clock, and defines {s,g}et_wallclock to the core of such functions. it also allow for a later-on-game time initialization, as done by i386. Paravirt guests can set a function to do their own initialization this way. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmi...
Oct 31, 3:14 pm 2007
Glauber de Oliveira ...
[PATCH 10/16] export cpu_gdt_descr
With paravirualization, hypervisors needs to handle the gdt, that was right to this point only used at very early inialization code. Hypervisors (lguest being the current case) are commonly modules, so make it an export Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- arch/x86/kernel/x8664_ksyms_64.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletion...
Oct 31, 3:14 pm 2007
previous daytodaynext day
October 30, 2007October 31, 2007December 1, 2007