linux-kernel mailing list

FromSubjectsort iconDate
Steven Noonan
[PATCH] drivers/ide/ide-probe.c: uninitialized variable 'rc'
Fixed the warning by initializing 'rc' to zero. Signed-off-by: Steven Noonan <steven@uplinklabs.net> --- drivers/ide/ide-probe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 994e410..e53c645 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1492,7 +1492,7 @@ static struct device_attribute *ide_port_attrs[] = { static int ide_sysfs_register_port(ide_hwif_t *hwif) { - int i, ...
Sep 9, 2:07 pm 2008
Yinghai Lu
[PATCH 5/5] x86: centaur_64.c remove duplicated setting ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/centaur_64.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/cpu/centaur_64.c b/arch/x86/kernel/cpu/centaur_64.c index 0e5cf17..a1625f5 100644 --- a/arch/x86/kernel/cpu/centaur_64.c +++ b/arch/x86/kernel/cpu/centaur_64.c @@ -20,7 +20,6 @@ static void __cpuinit init_centaur(struct cpuinfo_x86 *c) if (c->x86 == 0x6 && c->x86_model >= 0xf) { c->x86_cache_alignment = ...
Sep 9, 4:40 pm 2008
Yinghai Lu
[PATCH 1/5] x86: make intel.c has 64bit support code
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/intel.c | 119 ++++++++++++++++++++++++++++++------------- 1 files changed, 83 insertions(+), 36 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index a669895..365a008 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -15,6 +15,11 @@ #include <asm/ds.h> #include <asm/bugs.h> +#ifdef CONFIG_X86_64 +#include <asm/topology.h> +#include ...
Sep 9, 4:40 pm 2008
Yinghai Lu
[PATCH 3/5] x86: let intel 64bit use intel.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/Kconfig.cpu | 10 +- arch/x86/kernel/cpu/Makefile | 3 +- arch/x86/kernel/cpu/intel_64.c | 366 ---------------------------------------- include/asm-x86/bugs.h | 2 +- 4 files changed, 3 insertions(+), 378 deletions(-) delete mode 100644 arch/x86/kernel/cpu/intel_64.c diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 1fe3482..50d8842 100644 --- a/arch/x86/Kconfig.cpu +++ ...
Sep 9, 4:40 pm 2008
Yinghai Lu
[PATCH 4/5] x86: intel.c put workaround for old cpus together
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/intel.c | 192 ++++++++++++++++++++++--------------------- 1 files changed, 98 insertions(+), 94 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index 365a008..5f76bf1 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -63,15 +63,54 @@ int __cpuinit ppro_with_ram_bug(void) return 0; } +#ifdef CONFIG_X86_F00F_BUG +static void __cpuinit ...
Sep 9, 4:40 pm 2008
Yinghai Lu
[PATCH 2/5] x86: make intel_64.c the same to intel.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/intel_64.c | 301 +++++++++++++++++++++++++++++++++++++--- 1 files changed, 284 insertions(+), 17 deletions(-) diff --git a/arch/x86/kernel/cpu/intel_64.c b/arch/x86/kernel/cpu/intel_64.c index aef4f28..365a008 100644 --- a/arch/x86/kernel/cpu/intel_64.c +++ b/arch/x86/kernel/cpu/intel_64.c @@ -1,42 +1,108 @@ #include <linux/init.h> +#include <linux/kernel.h> + +#include <linux/string.h> +#include ...
Sep 9, 4:40 pm 2008
John Wenker
PROBLEM: fstat(2) returns st_size==0 for non-empty FIFO.
A colleague has run into a problem. We assume it's a kernel issue. Here is the pertinent bug report data. [1.] One line summary of the problem: fstat(2) returns st_size == 0 for a FIFO that is known to have data in it. [2.] Full description of the problem/report: When using a FIFO, fstat(2) (and stat(2)) returns a 'struct stat' with the st_size field equal to zero, at a time when the FIFO is known to have data in it. Problem occurs with Linux 2.6.16 kernel (see more below), but does ...
Sep 9, 4:05 pm 2008
David Miller
[GIT]: Netwokring
1) Three bluetooth regression fixes from Marcel Holtmann. 2) In 2.6.27 we added a faster and more reliable IPSEC policy and state dumping mechanism, but this new code leaves out larval and socket local policies which is an unintended user visible change. Fixed by Herbert Xu. 3) As per kernel bugzilla, ip6_dst_lookup_tail() can OOPS when the optimistic DAD config option is enabled because said code assumes there is always a neighbour attached to a route at this point, ...
Sep 9, 4:16 pm 2008
David Miller
[GIT]: Sparc
I had always gotten strange wedges when hot plugging cpus on Niagara boxes via the hypervisor, and I think the following bug spotted by Paul McKenney finally nails it. Please pull, thanks a lot. The following changes since commit 4d084617fb0d025c42c242362d1f27d337e2d407: Paul E. McKenney (1): sparc64: Prevent sparc64 from invoking irq handlers on offline CPUs are available in the git repository at: master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git ...
Sep 9, 4:13 pm 2008
Parag Warudkar
Re: [PATCH] x86: sysfs - kill owner field from attribute
Yep, sorry. Fighting with git-send-email right now - once I win --
Sep 9, 4:35 pm 2008
Andrew Morton
Re: [PATCH] x86: sysfs - kill owner field from attribute
On Tue, 9 Sep 2008 19:11:02 -0400 hm, OK, there may be newly-added code which will now break. Not a big The patch was wordwrapped - please fix that up before sending any more This is simpler, no? --- a/include/linux/sysfs.h~x86-sysfs-kill-owner-field-from-attribute-fix +++ a/include/linux/sysfs.h @@ -27,7 +27,7 @@ struct module; */ struct attribute { const char *name; -#if !defined(CONFIG_X86_64) && !defined(CONFIG_X86_32) +#ifndef CONFIG_X86 struct module *owner; ...
Sep 9, 4:26 pm 2008
Parag Warudkar
[PATCH] x86: sysfs - kill owner field from attribute
Tejun's commit 7b595756ec1f49e0049a9e01a1298d53a7faaa15 made sysfs attribute->owner unnecessary. But the field was left in the structure to ease the merge. It's been over a year since that change and it is now time to start killing attribute->owner along with its users - one arch at a time! This patch is attempt #1 to get rid of attribute->owner only for CONFIG_X86_64 or CONFIG_X86_32 . We will deal with other arches later on as and when possible - avr32 will be the next since that is ...
Sep 9, 4:11 pm 2008
Jeremy Fitzhardinge
Re: TARGET_CPUS in assign_irq_vector
Would it be wrong to make it possible_cpu_mask? J --
Sep 9, 4:46 pm 2008
Yinghai Lu
Re: TARGET_CPUS in assign_irq_vector
logical mode, vector_allocation_domain will return all online cpus aka the 8 cpus. phys_flat mode, vector_allotcation_domain will only the cpumask with the cpu set.. target_cpus is the cpus that could be possible to used to take vector and process that irq. so at least it should be online. YH --
Sep 9, 3:54 pm 2008
Jeremy Fitzhardinge
TARGET_CPUS in assign_irq_vector
On x86-64, the genapic implementations of target_cpus returns cpu_online_map. What if more cpus have yet to come online? Shouldn't it be cpu_possible_map? Though I'm probably confused. I don't really know what the intent of target_cpus and vector_allocation_domain is. Thanks, J --
Sep 9, 3:30 pm 2008
Daniel Phillips
Tux3 Report: One less feature
Hi, Last week, the subvolumes feature was dropped from Tux3. I thought it would be worth explaining why, because it says something about the Tux3 design philosophy and the direction I think we ought to be headed. A subvolume is a separately mountable filesystem that coexists with other subvolumes in a single, physical volume. For a tree-structured filesystem, which is to say, nearly every modern filesystem, having subvolumes just requires adding more tree roots. Nothing could be simpler, ...
Sep 9, 2:37 pm 2008
Stephen Rothwell
linux-next releases
Hi all, There will be no linux-next release for Sep 9 (as my body and brain are in two widely distant time zones) or Sep 10 (as I am travelling again). Hopefully normal releases will start again on Thursday (US west coast time). --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Sep 9, 3:13 pm 2008
Daniel J Blueman
[2.6.27-rc5] inotify_read's ev_mutex vs do_page_fault's ...
I observed this locking violation [1] while gnome-panel was loading; this was previously reported at http://uwsg.iu.edu/hypermail/linux/kernel/0806.3/2881.html . Let me know for more information/config/testing. Thanks! Daniel --- [1] ======================================================= [ INFO: possible circular locking dependency detected ] 2.6.27-rc5-233c-debug #2 ------------------------------------------------------- gnome-panel/4944 is trying to acquire lock: ...
Sep 9, 2:03 pm 2008
roel kluin
[PATCH] sh: intc_prio_data() test before subtraction on ...
bit is unsigned, so test before subtraction Signed-off-by: Roel Kluin <roel.kluin@gmail.com> --- diff --git a/arch/sh/kernel/cpu/irq/intc.c b/arch/sh/kernel/cpu/irq/intc.c index 8c70e20..94536d3 100644 --- a/arch/sh/kernel/cpu/irq/intc.c +++ b/arch/sh/kernel/cpu/irq/intc.c @@ -464,9 +464,10 @@ static unsigned int __init intc_prio_data(struct intc_desc *desc, } fn += (pr->reg_width >> 3) - 1; - bit = pr->reg_width - ((j + 1) * pr->field_width); - BUG_ON(bit < ...
Sep 9, 2:02 pm 2008
heukelum
[PATCH 20/24] i386: add TRACE_IRQS_OFF to entry_32.S in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Many exceptions use the same code path via the label 'error_code' in entry_32.S. At this point interrupts are off, so let's inform the tracing code of that fact before calling into C. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index c5fe01b..49438e5 100644 --- ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 12/24] i386: convert hardware exception 12 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle stack segment exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 572ea9f..e535324 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -640,7 +640,7 @@ DO_ERROR_INFO(6, SIGILL, "invalid ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 10/24] i386: convert hardware exception 10 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle invalid TSS exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 477946a..8ace1e2 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -638,7 +638,7 @@ DO_VM86_ERROR(4, SIGSEGV, "overflow", ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 18/24] i386: convert hardware exception 19 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle SIMD coprocessor exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index f696914..1ad7697 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -1142,6 +1142,8 @@ static void simd_math_error(void ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 24/24] i386: trace_hardirqs_fixup should now not ...
From: Alexander van Heukelum <heukelum@fastmail.fm> The exception handlers in entry_32.S should now all call TRACE_IRQS_OFF before calling the C code. The calls to trace_hardirqs_fixup should now be unnecessary. Remove them. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 7047760..041a25e 100644 --- ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 19/24] i386: remove temporary DO_TRAP macros, exp ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Only one use of the DO_TRAP macros remains. Expand that one and remove the macros now. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 66 ++++++++++---------------------------------- 1 files changed, 15 insertions(+), 51 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 1ad7697..7047760 100644 --- a/arch/x86/kernel/traps_32.c +++ ...
Sep 9, 12:56 pm 2008
heukelum
[RFC/PATCH] i386: handle all exceptions with interrupts ...
From: Alexander van Heukelum <heukelum@fastmail.fm> x86_64 handles all exceptions with interrupts off initially, this bisectable patch set does the same for i386, in (very) small steps. If this is acceptable, it would make further unification of traps_32.c and traps_64.c a lot easier. If it is not... why? Patches are against current -git. Every step in the series runs fine in a simple system under qemu. Greetings, Alexander --
Sep 9, 12:55 pm 2008
heukelum
[PATCH 14/24] i386: convert hardware exception 15 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle exception 15 with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index c3b636e..ef934a2 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -1162,6 +1162,7 @@ void do_simd_coprocessor_error(struct pt_regs ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 22/24] i386: add TRACE_IRQS_OFF for the nmi
From: Alexander van Heukelum <heukelum@fastmail.fm> At this point interrupts are off, so let's inform the tracing code of that fact before calling into C. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index a278505..2abdc9a 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -849,6 +849,7 ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 13/24] i386: convert hardware exception 13 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle general protection exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index e535324..c3b636e 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -652,6 +652,8 @@ do_general_protection(struct ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 8/24] i386: convert hardware exception 7 to an in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle no coprocessor exception with interrupt initially off. device_not_available in entry_32.S calls either math_state_restore or math_emulate. This patch adds an extra indirection to be able to re-enable interrupts explicitly in traps_32.c Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 15 ++------------- arch/x86/kernel/traps_32.c | 14 +++++++++++++- 2 files changed, 15 ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 5/24] i386: convert hardware exception 4 to an in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle overflow exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 944641a..5d762a8 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -633,7 +633,7 @@ void do_##name(struct pt_regs *regs, long ...
Sep 9, 12:55 pm 2008
heukelum
[PATCH 21/24] i386: add TRACE_IRQS_OFF for exception 1 (debug)
From: Alexander van Heukelum <heukelum@fastmail.fm> At this point interrupts are off, so let's inform the tracing code of that fact before calling into C. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 49438e5..a278505 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -804,6 +804,7 @@ ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 17/24] i386: convert hardware exception 18 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle machine check exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 2 +- arch/x86/kernel/traps_32.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 5a88585..c5fe01b 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -1019,7 ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 9/24] i386: convert hardware exception 9 to an in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle coprocessor segment overrun exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 3ddd71b..477946a 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -637,7 +637,7 @@ DO_VM86_ERROR_INFO(0, ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 15/24] i386: convert hardware exception 16 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle coprocessor error exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index ef934a2..733c0e3 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -1086,6 +1086,7 @@ void math_error(void __user *ip) ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 3/24] i386: convert hardware exception 0 to an in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle divide error exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 9ac59e0..97d193c 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -632,7 +632,7 @@ void do_##name(struct pt_regs *regs, ...
Sep 9, 12:55 pm 2008
heukelum
[PATCH 16/24] i386: convert hardware exception 17 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle alignment check exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 733c0e3..bc8b21d 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -641,7 +641,7 @@ DO_ERROR(9, SIGFPE, "coprocessor ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 23/24] i386: add TRACE_IRQS_OFF for the exception ...
From: Alexander van Heukelum <heukelum@fastmail.fm> At this point interrupts are off, so let's inform the tracing code of that fact before calling into C. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/entry_32.S | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 2abdc9a..b21fbfa 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -921,6 +921,7 @@ ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 7/24] i386: convert hardware exception 6 to an in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle invalid opcode exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index becfc84..5d8d057 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -635,7 +635,7 @@ void do_##name(struct pt_regs *regs, ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 2/24] i386: prepare to convert exceptions to interrupts
From: Alexander van Heukelum <heukelum@fastmail.fm> There is some macro magic in traps_32.c to construct standard exception dispatch functions. This patch renames the DO_ERROR- like macros to DO_TRAP, and introduces new DO_ERROR ones that conditionally reenable interrupts explicitly, like x86_64. No code changes. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 76 +++++++++++++++++++++++++++++++++++++------ 1 files changed, 65 ...
Sep 9, 12:55 pm 2008
heukelum
[PATCH 4/24] i386: expand exception 3 DO_TRAP macro
From: Alexander van Heukelum <heukelum@fastmail.fm> The int3 exception was already takes as an interrupt and do_int3 does not fit in the new DO_ERROR macro. This patch just expands the DO_TRAP macro and rearranges the code a bit. No functional changes intended. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/traps_32.c ...
Sep 9, 12:55 pm 2008
heukelum
[PATCH 1/24] i386: remove kprobes' restore_interrupts in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> x86_64 uses a helper function conditional_sti in traps_64.c which is equal to restore_interrupts in kprobes.h. The only user of restore_interrupts is in traps_32.c. Introduce conditional_sti for i386 and remove restore_interrupts. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 8 +++++++- include/asm-x86/kprobes.h | 9 --------- 2 files changed, 7 insertions(+), 10 deletions(-) diff ...
Sep 9, 12:55 pm 2008
heukelum
[PATCH 6/24] i386: convert hardware exception 5 to an in ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle bounds exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 5d762a8..becfc84 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -634,7 +634,7 @@ void do_##name(struct pt_regs *regs, long ...
Sep 9, 12:56 pm 2008
heukelum
[PATCH 11/24] i386: convert hardware exception 11 to an ...
From: Alexander van Heukelum <heukelum@fastmail.fm> Handle segment not present exception with interrupt initially off. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> --- arch/x86/kernel/traps_32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 8ace1e2..572ea9f 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c @@ -639,7 +639,7 @@ DO_VM86_ERROR(5, SIGSEGV, ...
Sep 9, 12:56 pm 2008
roel kluin
[PATCH] [POWERPC] unsigned hwirq cannot be negative
This patch is not tested --- fsl_msi_alloc_hwirqs() converts an int from bitmap_find_free_region() into an irq_hw_number_t, but this can be an -ENOMEM. This is tested in fsl_setup_msi_irqs(), but incorrectly: irq_hw_number_t is unsigned. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> --- diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c index 2c5187c..a2aa59a 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c @@ -67,7 +67,7 @@ static ...
Sep 9, 1:34 pm 2008
Thomas Gleixner
[GIT pull] timer updates for 2.6.27
Linus, Please pull the latest timers-fixes-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git timers-fixes-for-linus This removes a WARN_ON which I (ab)used to gather information about the HPET reprogramming issue. It served it's purpose and can be removed now. Thanks, tglx ------------------> Thomas Gleixner (1): clockevents: remove WARN_ON which was used to gather information kernel/time/tick-oneshot.c | 18 ...
Sep 9, 1:32 pm 2008
Mikhail Kshevetskiy
forcedeth: option to disable 100Hz timer (try 2)
On some hardware no TX done interrupts are generated, thus special 100Hz timer interrupt is required to handle this situation properly. Other device do not require that timer interrupt feature. Forcedeth has a DEV_NEED_TIMERIRQ flag to mark the broken devices. Unfortunately, nobody know the actual list of broken devices, so all device has this flag on. Other problem, this flag is not user visible, so the kernel recompilation is required to disable timer interrupts and test a device. This ...
Sep 9, 12:34 pm 2008
Yinghai Lu
[PATCH] pci: fix merging left out for BAR print out v2
print out for Device BAR address before kernel try to update them. also change it to KERN_DEBUG instead... v2: update to linux-pci next also add (unsigned long long) cast Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index d8d3f90..e3bddc5 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -304,6 +304,9 @@ static int __pci_read_base(struct pci_dev *dev, enum pci_bar_type type, } else { res->start = l64; ...
Sep 9, 12:27 pm 2008
Chris Snook
Re: [19.666764] Disabling IRQ #23
What's the proprietary module that's tainting it? Ideally we'd like to see it reproduced on an untainted kernel, but depending on what it is, it may not matter. When you say you're not able to log in, is that because the keyboard is unresponsive? It appears to be affecting USB, so I'd be curious to know if you can ssh into the box, or log in with a PS/2 keyboard. Of course, some PS/2 ports are connected via USB under the hood, so the keyboard might not tell us much. -- Chris --
Sep 9, 4:28 pm 2008
Justin P. Mattock
Re: [19.666764] Disabling IRQ #23
The only proprietary modules Atheros and Fglrx. Which confuses me, due to the message giving Info on USB. As for the login, On a MacBook I need uhci To use the keyboard. When this Goes off I can type, but results In the letter duplicating itself I.g. Typing the letter * results in ** As for using ssh, no. I guess as a workaround I can try and change my login name and password With double letters so I can grab a copy of dmesg justin P. Mattock --
Sep 9, 4:56 pm 2008
Justin Mattock
[19.666764] Disabling IRQ #23
I've been noticing this message appear every "X" amount of boot's(maybe ten or so); [19.656768] irq 23: nobody cared (try booting with the "irqpoll" option) [19.666039] Pid: 0, comm: swapper Tainted: P 2.6.27-rc5-00363-ga002d93 [19.666764] [<c0151774>] __report_bad_irq+0x2e/0x6f [19.666764] [<c015199b>] note_interrupt+0x1e6/0x217 [19.666764] [<c0150d73>] ? handle_IRQ_event+0x2a/0x5a [19.666764] [<c0151f4c>] handle_fastoei_irq+0x91/0xb6 [19.666764] [<c0104ff2>] ...
Sep 9, 12:08 pm 2008
H. Peter Anvin
[git pull] x86 fixes
Linus, Please pull the latest x86-fixes-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus This includes your patch for disabling static NOPL entirely on 32 bits; as discussed yesterday the -Wa,-mtune=generic32 patches are deferred to post-27. Thanks, -hpa ------------------> Jeremy Fitzhardinge (1): xen: fix 2.6.27-rc5 xen balloon driver warnings Linus Torvalds (1): x86: disable static NOPLs on 32 ...
Sep 9, 12:03 pm 2008
Cyrill Gorcunov
Re: [PATCH] x86: io-apic - get rid of __DO_ACTION macro
Yinghai, the base idea with mask is to apply a mask only if you need it. And having _and_ operation to be mandatory implemented is a limitation and just not enough. So that is why i do check if mask is defined (well it cold be not a good practice indeed). Thanks for notice (and about binary operator too - will fix :) --
Sep 9, 1:28 pm 2008
Cyrill Gorcunov
[PATCH] x86: io-apic - get rid of __DO_ACTION macro
Replace __DO_ACTION macro with io_apic_modify_irq function. This allow us to 'grep' definitions being hided by the macro, ie the following: __unmask_IO_APIC_irq __mask_IO_APIC_irq __mask_and_edge_IO_APIC_irq __unmask_and_level_IO_APIC_irq Also I removed R parameter which was to define offset inside route table but always being zero for now and I don't think if it ever will be other then that. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Please review. This modification ...
Sep 9, 11:46 am 2008
Yinghai Lu Sep 9, 1:13 pm 2008
Thierry
Suggested patch: Sending the FQDN when booting via DHCP
[re-sent without HTML encoding, and to the right aliases ...] Hi all, the following patch can be useful, in order to let the DHCP server accordingly update the DNS, when booting via DHCP. This can be useful for 2 reasons: 1) on small systems, the embedded filesystem may even not have udhcpd 2) when booting nfsroot, the nfs server does not like when udhcpd in invoked, even when requested the same IP address. Here is the patch, for 2.6.27-rc5. (Notice that it is the very first time I ...
Sep 9, 10:35 am 2008
Dave Hansen
[RFC v2][PATCH] dynamically enable readprofile at runtime
Way too often, I have a machine that exhibits some kind of crappy behavior. The CPU looks wedged in the kernel or it is spending way too much system time and I wonder what is responsible. I try to run readprofile. But, of course, Ubuntu doesn't enable it by default. Dang! The reason we boot-time enable it is that it takes a big bufffer that we generally can only bootmem alloc. But, does it hurt to at least try and runtime-alloc it? To use: echo 2 > /sys/kernel/profile Then run ...
Sep 9, 11:05 am 2008
Christoph Hellwig
[PATCH] update Documentation/filesystems/Locking for 2.6 ...
In the 2.6.27 circle ->fasync lost the BKL, and the last remaining ->open variant that takes the BKL is also gone. ->get_sb and ->kill_sb didn't have BKL forever, so updated the entries while we're at that. Signed-off-by: Christoph Hellwig <hch@lst.de> Index: linux-2.6/Documentation/filesystems/Locking =================================================================== --- linux-2.6.orig/Documentation/filesystems/Locking 2008-09-09 19:57:03.000000000 +0200 +++ ...
Sep 9, 11:02 am 2008
Yinghai Lu
[PATCH 3/3] x86: let intel 64bit use intel.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/Kconfig.cpu | 10 - arch/x86/kernel/cpu/Makefile | 3 arch/x86/kernel/cpu/intel_64.c | 366 ----------------------------------------- include/asm-x86/bugs.h | 2 4 files changed, 3 insertions(+), 378 deletions(-) delete mode 100644 arch/x86/kernel/cpu/intel_64.c Index: linux-2.6/arch/x86/Kconfig.cpu =================================================================== --- ...
Sep 9, 10:40 am 2008
Yinghai Lu
[PATCH 2/3] x86: make intel_64.c the same to intel.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/intel_64.c | 301 +++++++++++++++++++++++++++++++++++++--- 1 files changed, 284 insertions(+), 17 deletions(-) diff --git a/arch/x86/kernel/cpu/intel_64.c b/arch/x86/kernel/cpu/intel_64.c index aef4f28..365a008 100644 --- a/arch/x86/kernel/cpu/intel_64.c +++ b/arch/x86/kernel/cpu/intel_64.c @@ -1,42 +1,108 @@ #include <linux/init.h> +#include <linux/kernel.h> + +#include <linux/string.h> +#include ...
Sep 9, 10:40 am 2008
Yinghai Lu
[PATCH 1/3] x86: make intel.c has 64bit support code
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/intel.c | 119 ++++++++++++++++++++++++++++++------------- 1 files changed, 83 insertions(+), 36 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index a669895..365a008 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -15,6 +15,11 @@ #include <asm/ds.h> #include <asm/bugs.h> +#ifdef CONFIG_X86_64 +#include <asm/topology.h> +#include ...
Sep 9, 10:40 am 2008
FUJITA Tomonori
[PATCH 2/4] x86: convert gart to use is_buffer_dma_capab ...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Joerg Roedel <joerg.roedel@amd.com> --- arch/x86/kernel/pci-gart_64.c | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index 0b99d4a..1b0c412 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c @@ -214,24 +214,14 @@ static void iommu_full(struct device *dev, size_t size, int dir) static inline ...
Sep 9, 9:06 am 2008
FUJITA Tomonori
[PATCH 3/4] x86: convert pci-nommu to use is_buffer_dma_ ...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- arch/x86/kernel/pci-nommu.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c index 8e398b5..1c1c98a 100644 --- a/arch/x86/kernel/pci-nommu.c +++ b/arch/x86/kernel/pci-nommu.c @@ -14,7 +14,7 @@ static int check_addr(char *name, struct device *hwdev, dma_addr_t bus, size_t size) { - if (hwdev && bus + size > *hwdev->dma_mask) { + if ...
Sep 9, 9:06 am 2008
Joerg Roedel
Re: [PATCH 1/4] add is_buffer_dma_capable helper function
I don't think so. The current code does not care about it and if it happens its a bug in the iommu implementation. Joerg -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of ...
Sep 9, 9:21 am 2008
Luck, Tony
RE: [PATCH 1/4] add is_buffer_dma_capable helper function
+static inline int is_buffer_dma_capable(u64 mask, dma_addr_t addr, size_t size) +{ + return addr + size <= mask; +} Do we care about wrap-around (e.g. addr=0xffffffffffffffff size=2)? -Tony --
Sep 9, 9:17 am 2008
FUJITA Tomonori
[PATCH 0/4] add a helper function, is_buffer_dma_capable()
This patchset adds a trivial helper function, is_buffer_dma_capable() and cleans up some IOMMU implementations. This function is to to see if a memory region is DMA-capable or not with the arguments, the dma_mask (or coherent_dma_mask) of a device and the address and size of a memory region. It's useful for IOMMUs that don't do virtual mappings at all times. The patch for swiotlb is a bug fix (the rest are just cleanups). Currently, swiotlb doesn't take account of the size of a memory region ...
Sep 9, 9:06 am 2008
Joerg Roedel
Re: [PATCH 0/4] add a helper function, is_buffer_dma_capable()
Good idea. This patchset increases the readability of the software dma-api implementations. Acked-by: Joerg Roedel <joerg.roedel@amd.com> -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | ...
Sep 9, 9:27 am 2008
FUJITA Tomonori
[PATCH 1/4] add is_buffer_dma_capable helper function
is_buffer_dma_capable helper function is to see if a memory region is DMA-capable or not. The arugments are the dma_mask (or coherent_dma_mask) of a device and the address and size of a memory region. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Tony Luck <tony.luck@intel.com> Cc: Joerg Roedel <joerg.roedel@amd.com> --- include/linux/dma-mapping.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/dma-mapping.h ...
Sep 9, 9:06 am 2008
FUJITA Tomonori
[PATCH 4/4] swiotlb: convert swiotlb to use is_buffer_dm ...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Tony Luck <tony.luck@intel.com> --- lib/swiotlb.c | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index b5f5d11..240a67c 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -274,13 +274,13 @@ cleanup1: } static int -address_needs_mapping(struct device *hwdev, dma_addr_t addr) +address_needs_mapping(struct device *hwdev, dma_addr_t addr, size_t size) ...
Sep 9, 9:06 am 2008
FUJITA Tomonori
RE: [PATCH 1/4] add is_buffer_dma_capable helper function
On Tue, 9 Sep 2008 09:17:05 -0700 We could do something like: return addr < mask && addr + size <= mask; But such wrap-around can happen only with a buggy IOMMU implementation. A driver will does DMA from 0xffffffffffffffff to 0x1. Even if this function does the right thing in such case, we will be dead? --
Sep 9, 9:49 am 2008
FUJITA Tomonori
[PATCH 1/2] x86: remove duplicated extern force_iommu
Both iommu.h and dma-mapping.h have extern force_iommu. The latter doesn't need to do. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- include/asm-x86/dma-mapping.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/asm-x86/dma-mapping.h b/include/asm-x86/dma-mapping.h index 8bb3108..9dd92b4 100644 --- a/include/asm-x86/dma-mapping.h +++ b/include/asm-x86/dma-mapping.h @@ -16,7 +16,6 @@ extern dma_addr_t bad_dma_address; extern int ...
Sep 9, 8:49 am 2008
FUJITA Tomonori
[PATCH 0/2] x86: minor cleanups for dma mapping stuff
This minor cleanup patchset is against tip/x86/iommu. --
Sep 9, 8:49 am 2008
FUJITA Tomonori
[PATCH 2/2] x86: convert dma_alloc_coherent to use is_de ...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- include/asm-x86/dma-mapping.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-x86/dma-mapping.h b/include/asm-x86/dma-mapping.h index 9dd92b4..7b0fdd6 100644 --- a/include/asm-x86/dma-mapping.h +++ b/include/asm-x86/dma-mapping.h @@ -280,7 +280,7 @@ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp |= GFP_DMA; } - if (!dev->dma_mask) + if ...
Sep 9, 8:49 am 2008
Mike Travis
[PATCH 3/3] sched: Optimize cpumask temp stack usage in ...
* Make the following changes to kernel/sched.c functions: - use node_to_cpumask_ptr in place of node_to_cpumask * Remove special code for SCHED_CPUMASK_ALLOC and use CPUMASK_ALLOC from linux/cpumask.h. Applies to linux-2.6.tip/master. Signed-off-by: Mike Travis <travis@sgi.com> --- kernel/sched.c | 81 +++++++++++++++++++++++---------------------------------- 1 file changed, 33 insertions(+), 48 deletions(-) --- linux-2.6.tip.orig/kernel/sched.c +++ ...
Sep 9, 8:50 am 2008
Mike Travis
[PATCH 2/3] x86: modify send_IPI_mask interface to accep ...
* Change genapic interfaces to accept cpumask_t pointers and to not return cpumask function values. * Modify external callers to use these cpumask_t pointers in their calls. * Create new send_IPI_mask_allbutself which is the same as the send_IPI_mask functions but removes smp_processor_id() from list. This removes another common need for a temporary cpumask_t variable. * Rewrite functions that used a temp cpumask_t variable for: cpumask_t allbutme = ...
Sep 9, 8:50 am 2008
Mike Travis
[PATCH 1/3] cpumask: add for_each_online_cpu_mask_nr function
* Add for_each_online_cpu_mask_nr() function to eliminate need for a common use of a temporary cpumask_t variable. When the following procedure is being used: funcproto(cpumask_t *mask, ...) { cpumask_t temp; cpus_and(temp, *mask, cpu_online_map); for_each_cpu_mask_nr(cpu, temp) ... If then becomes: funcproto(cpumask_t *mask, ...) { for_each_online_cpu_mask_nr(cpu, *mask) ... * Note the generic __next_cpu_and (and __next_cpu_and_nr) ...
Sep 9, 8:50 am 2008
Mike Travis
[PATCH 0/3] x86: remove extraneous stack cpumask variables
Some more minor cleanups in cpumask stack usage with no new cpumask functions (except for the for_each_online_cpu_mask_nr call). Frees up more memory for the stack. Also, cleans up the genapic API to always pass pointers (for both 32 and 64) and to not return cpumask function values. * Add for_each_online_cpu_mask_nr to eliminate a common case of needing a temporary on-stack cpumask_t variable. * Change the genapic->send_IPI_mask function to accept cpumask_t pointer. * ...
Sep 9, 8:50 am 2008
Jike Song
[PATCH] PCI: utilize calculated results when detecting M ...
in function msi_capability_init, we can make use of the calculated results instead of calling is_mask_bit_support and is_64bit_address twice, in spite of the fact that they are macros. Signed-off-by: Jike Song <albcamus@gmail.com> --- drivers/pci/msi.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 4a10b56..d281201 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -378,23 +378,21 @@ static int ...
Sep 9, 8:42 am 2008
Jike Song Sep 9, 8:42 am 2008
Andrea Righi
Re: [RFC] [PATCH -mm] cgroup: limit the amount of dirty ...
mmmh.. maybe it's a bit more complex (would add some overhead?) to translate the limit from dirty_ratio into pages or bytes, because we need to evaluate it in function of the per-cgroup dirtyable memory (lru pages and free pages I suppose). Maybe it's enough to implement it directly in determine_dirtyable_memory(). I can try to implement it and post a new patch. -Andrea --
Sep 9, 9:39 am 2008
Andrea Righi
[RFC] [PATCH -mm] cgroup: limit the amount of dirty file pages
This is a totally experimental patch against 2.6.27-rc5-mm1. It allows to control how much dirty file pages a cgroup can have at any given time. This feature is supposed to be strictly connected to a generic cgroup IO controller (see below). Interface: a new entry "filedirty" is added to the file memory.stat, reporting the number of dirty file pages (in pages), and a new file memory.file_dirty_limit_in_pages is added in the cgroup filesystem to show/set the current limit. The overall ...
Sep 9, 8:38 am 2008
Dave Hansen
Re: [RFC] [PATCH -mm] cgroup: limit the amount of dirty ...
So, this functions similarly to our global dirty ratio? Is it just intended to keep a cgroup from wedging itself too hard with too many dirty pages, just like the global ratio? -- Dave --
Sep 9, 10:49 am 2008
kamezawa.hiroyu
Re: [RFC] [PATCH -mm] cgroup: limit the amount of dirty ...
Before staring patch review, why not dirty_ratio per memcg ? Is there difficult implementation issue ? Thanks, -Kame --
Sep 9, 9:26 am 2008
Holger Schurig
OOPS: getting an ACPI interrupt while in an ACPI interru ...
I just got this OOPS: irq 9: nobody cared (try booting with the "irqpoll" option) Pid: 0, comm: swapper Tainted: P 2.6.26.3 #3 [<c012f063>] __report_bad_irq+0x24/0x69 [<c012f06a>] __report_bad_irq+0x2b/0x69 [<c012f257>] note_interrupt+0x1af/0x1e4 [<c01cbc97>] acpi_irq+0xb/0x1c [<c012e983>] handle_IRQ_event+0x1a/0x3f [<c012f917>] handle_level_irq+0x63/0x84 [<c01046d0>] do_IRQ+0x4b/0x60 [<c010320f>] common_interrupt+0x23/0x28 [<c01d007b>] acpi_ds_create_operands+0x1c/0xf9 ...
Sep 9, 7:05 am 2008
Jeff Mahoney
[PATCH] firmware: Allow release-specific firmware dir
Every kernel package trying to provide files under /lib/firmware runs into problems really quickly with multiple kernels installed, especially with respect to distribution package tracking of the files. This patch moves them to /lib/firmware/$KERNELRELEASE. udev v127's firmware.sh looks there first before falling back to /lib/firmware. Signed-off-by: Jeff Mahoney <jeffm@suse.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Makefile +++ b/Makefile @@ ...
Sep 9, 7:15 am 2008
Ingo Molnar
Re: [PATCH] Fix memmap=exactmap boot argument
applied to tip/x86/urgent, thanks Prarit! Ingo --
Sep 9, 7:37 am 2008
Prarit Bhargava
[PATCH] Fix memmap=exactmap boot argument
When using kdump modifying the e820 map is yielding strange results. For example starting with BIOS-provided physical RAM map: BIOS-e820: 0000000000000100 - 0000000000093400 (usable) BIOS-e820: 0000000000093400 - 00000000000a0000 (reserved) BIOS-e820: 0000000000100000 - 000000003fee0000 (usable) BIOS-e820: 000000003fee0000 - 000000003fef3000 (ACPI data) BIOS-e820: 000000003fef3000 - 000000003ff80000 (ACPI NVS) BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved) BIOS-e820: ...
Sep 9, 6:56 am 2008
gcpatch
[PATCH 2.6.26.5] USB: ftdi_sio: add support for Domintel ...
Support for Domintell devices (FTDI FT232BM based) : DGQG and DUSB01 module. PIDs were missing. Signed-off-by: Gaetan Carlier <gcpatch@gmail.com> --- diff -uNr linux.vanilla/drivers/usb/serial/ftdi_sio.c linux/drivers/usb/serial/ftdi_sio.c --- linux.vanilla/drivers/usb/serial/ftdi_sio.c 2008-09-08 19:40:20.000000000 +0200 +++ linux/drivers/usb/serial/ftdi_sio.c 2008-09-09 11:26:33.000000000 +0200 @@ -643,6 +643,8 @@ .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, { ...
Sep 9, 4:33 am 2008
Evgeniy Polyakov
Distributed storage release.
Hi. I am pleased to announce new Distributed Storage (DST) project release. DST is a block layer network device, which among others has following features: * Kernel-side client and server. No need for any special tools for data processing (like special userspace applications) except for configuration. * Bullet-proof memory allocations via memory pools for all temporary objects (transaction and so on). * Zero-copy sending (except header) if supported by device using sendpage(). ...
Sep 9, 4:38 am 2008
Naohiro Ooiwa
[PATCH] sysrq: Add enable_mask in sysrq_moom_op
Hi all I found a little mistake. It is written in the Documentation/sysrq.txt that oom-killer is enable when we set "64" in /proc/sys/kernel/sysrq. The following is it. <Documentation/sysrq.txt> Here is the list of possible values in /proc/sys/kernel/sysrq: 64 - enable signalling of processes (term, kill, oom-kill) ^^^^^^^^ but enable_mask is not in sysrq_moom_op. Could you please check the following patch ...
Sep 9, 4:33 am 2008
Alex Nixon
Re: [PATCH 2/2] xen: fix pinning when not using split pt ...
Cheers Jeremy - a better solution. Worth mentioning - this doesn't exist peacefully alongside my patch 965fe78fe Ingo - could you revert that please? Thanks, - Alex --
Sep 9, 4:22 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 2/2] xen: fix pinning when not using split pt ...
This is a fix for a bug which only exists in tip.git. J --
Sep 9, 4:29 pm 2008
Andrew Morton
Re: [PATCH 2/2] xen: fix pinning when not using split pt ...
On Tue, 09 Sep 2008 15:43:25 -0700 What are the effects of the bug which you fixed? Do you consider this to be 2.6.27 material? 2.6.26.x? 2.6.25.x? --
Sep 9, 3:53 pm 2008
Jeremy Fitzhardinge
Re: [PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
I've got a patch here which fixes it. Will post shortly. J --
Sep 9, 3:28 pm 2008
Jeremy Fitzhardinge
[PATCH 1/2] mm: define USE_SPLIT_PTLOCKS rather than rep ...
Define USE_SPLIT_PTLOCKS as a constant expression rather than repeating "NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS" all over the place. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/xen/mmu.c | 2 +- include/linux/mm.h | 6 +++--- include/linux/mm_types.h | 10 ++++++---- include/linux/sched.h | 6 +++--- 4 files changed, 13 insertions(+), 11 deletions(-) =================================================================== --- ...
Sep 9, 3:43 pm 2008
Alex Nixon
[PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
We still need to pin PTEs, even if there are no PTE locks. Otherwise we'll BUG whenever there aren't PTE locks (i.e. whenever NR_CPUS < CONFIG_SPLIT_PTLOCK_CPUS), as we try to unpin PTEs which were never pinned in the first place. Signed-off-by: Alex Nixon <alex.nixon@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Ingo Molnar <mingo@elte.hu> --- arch/x86/xen/mmu.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/xen/mmu.c ...
Sep 9, 4:25 am 2008
Jeremy Fitzhardinge
Re: [PATCH 2/2] xen: fix pinning when not using split pt ...
Yes. Also, could you wait for an Ack from me before committing anything Xen related? And Alex, could you be sure to explicitly cc: me on Xen patches? Thanks, J --
Sep 9, 4:32 pm 2008
Ingo Molnar
Re: [PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
applied to tip/x86/xen, thanks Alex. Ingo --
Sep 9, 4:27 am 2008
Jeremy Fitzhardinge
Re: [PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
Where does the unpin happen? xen_unpin_page() also checks to see if it took the lock before trying to unpin, symmetric with xen_pin_page(). --
Sep 9, 11:05 am 2008
Alex Nixon
Re: [PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
Here's the backtrace of the BUG() the patch addresses. Now you've pointed it out - I see the asymmetry - and also suspect some ptes are being left pinned. I'm having trouble finding a cleaner solution which solves this but doesn't incite more BUGs. Perhaps you have an idea? - Alex ------------[ cut here ]------------ kernel BUG at /local/scratch/hotplug.linux.trees.git/arch/x86/xen/enlighten.c:847! invalid opcode: 0000 [#1] Modules linked in: Pid: 1, comm: init Tainted: G ...
Sep 9, 12:21 pm 2008
Alex Nixon
Re: [PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
Hmm ok. I'll search further for a solution which fixes things more officially (and deals with the CONFIG_SMP && (NR_CPUS < CONFIG_SPLIT_PTLOCK_CPUS) case, which I just realized is also broken, and isn't fixed by this patch). In the meantime, at least UP is now usable. - Alex --
Sep 9, 3:26 pm 2008
Jeremy Fitzhardinge
[PATCH 2/2] xen: fix pinning when not using split pte locks
We only pin PTE pages when using split PTE locks, so don't do the pin/unpin when attaching/detaching pte pages to a pinned pagetable. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/xen/enlighten.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) =================================================================== --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -864,7 +864,7 @@ if (!PageHighMem(page)) { ...
Sep 9, 3:43 pm 2008
Jeremy Fitzhardinge
Re: [PATCH] Xen: Fix pte unpin BUG when !CONFIG_SMP
Right, I see. We shouldn't be pinning ptes on attachment in xen_alloc_ptpage() if we're not using split pte locks. --
Sep 9, 1:37 pm 2008
Martin Schwidefsky
[GIT PULL] 2.6.27-rc5 updates for s390
Hi Linus, please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus Three cio bug fixes and a CVE for a ptrace bug that can cause a kernel crash. Cornelia Huck (2): [S390] cio: Correct cleanup on error. [S390] cio: handle ssch() return codes correctly. Jarod Wilson (1): [S390] CVE-2008-1514: prevent ptrace padding area read/write in 31-bit mode Peter Oberparleiter (1): [S390] cio: allow offline processing for ...
Sep 9, 3:51 am 2008
Bjorn Helgaas
Re: [bisected][resend] pnp: Huge number of "io resource ...
Yup, this all looks reasonable to me, too. But these regions must be different than they were when the PNP quirk ran. I wonder if the BIOS left them unprogrammed, we ran the PNP quirk and discovered all these "conflicts," then PCI came along and assigned resources. Your dmesg shows power state changes for the PCI devices. Maybe the BIOS left them in D3 and unprogrammed: Intel ICH Modem 0000:00:1f.6: power state changed by ACPI to D0 Intel ICH 0000:00:1f.5: power state changed by ACPI ...
Sep 9, 10:40 am 2008
Rene Herman
Re: [bisected][resend] pnp: Huge number of "io resource ...
His pci_resource_start() values are 0. How about just checking for that? Rene.
Sep 9, 11:31 am 2008
Frans Pop
[bisected][resend] pnp: Huge number of "io resource over ...
The only thing I used to get for pnp 00:08 on my Toshiba Satellite A40 up to 2.6.26 was this single line: pnp 00:08: can't add resource for IO 0xa8-0xa9 During bisecting I have found that fairly early in the 2.6.27 cycle this was "fixed" and that message disappeared. The commit that changed this was: commit aee3ad815dd291a7193ab01da0f1a30c84d00061 Author: Bjorn Helgaas <bjorn.helgaas@hp.com> Date: Fri Jun 27 16:56:57 2008 -0600 PNP: replace pnp_resource_table with dynamically allocated ...
Sep 9, 3:50 am 2008
Bjorn Helgaas
Re: [bisected][resend] pnp: Huge number of "io resource ...
2.6.26 supported up to 40 I/O resources for PNP devices. If a device had more than 40, we complained once and silently ignored Yep. This commit removed the fixed limit (40), so we shouldn't see messages like that any more. The commit log mentioned these: pnpacpi: exceeded the max number of IO resources 00:01: too many I/O port resources 78 messages is certainly intolerable. If the PNP quirk ignored PNP resources that had already been disabled, I think we'd ...
Sep 9, 8:30 am 2008
Rene Herman
Re: [bisected][resend] pnp: Huge number of "io resource ...
It's not just a check, and not just general... Generally, you need it -- if PnP grabs an I/O resource, PCI can no longer do so (making the driver fail) which is the same problem that quirk_system_pci_resources() upto that point solved for mem resources only. And specifically, I definitely need it to not have my soundcard driver crap out due to PnPACPI grabbing a range that overlaps with its BAR. I don't know why your 1f.5 and 1f.6 are grabbing the "motherboard I/O ports" 0x00-0xff ...
Sep 9, 4:22 am 2008
Frans Pop
Re: [bisected][resend] pnp: Huge number of "io resource ...
Thanks for your quick replies Bjorn and Rene! Right, that explains. Thanks. The old message text led me to think that only that particular resource was problematic, while actually it was the listed one and all following. Thanks for the background info and data for comparison. Here's what I have (full info attached). AFAICT it looks equally sane and consistent. 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller ...
Sep 9, 9:26 am 2008
l5ynlwlcyku9kvaqc2jf ...
Feature Request
Hello, I run linux on an AMD/VIA combination that appears to be prone to producing extremely anoying buzz on the sound card (and also in the image I get from my bt848 TV board) when I run the kernel with "make idle calls to CPU when not busy". The way out is to supply a "no-hlt"-append in lilo.conf. Doing so makes the noise go away. Unfortunately but unevitably, it then also pulls 5-10 Watts more from the grid. I thought it might be an idea to make this "no-hlt" flexible via a /proc entry, so that ...
Sep 9, 2:49 am 2008
Andrew Morton
Re: mmotm 2008-09-08-18-32 uploaded
Dunno. There is a largel number of debugging patches at the tail of the series so they should be the first thing to eliminate. --
Sep 9, 10:37 am 2008
KAMEZAWA Hiroyuki
Re: mmotm 2008-09-08-18-32 uploaded
On Mon, 08 Sep 2008 18:35:16 -0700 I'll dig if I have time. This is just a report. I tries UnixBench4.1 on x86_64/2cpu/1socket machine. (memory cgroup is enabled) Following is comparison with a mmtom based on rc4. === [rc4mm1] Execl Throughput 3004.4 lps (29.6 secs, 3 samples) C Compiler Throughput 1017.9 lpm (60.0 secs, 3 samples) Shell Scripts (1 concurrent) 5726.3 lpm (60.0 secs, 3 samples) Shell Scripts (8 concurrent) ...
Sep 9, 3:25 am 2008
Alex Chiang
[PATCH v2 08/13] PCI: ibmphp: stop managing hotplug_slot->name
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. Now, we simply advise the PCI core of the name that we would like, and let the core take care of the rest. Additionally, slightly rearrange the members of struct slot so they are naturally aligned to eliminate holes. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/ibmphp.h | 5 ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 13/13] PCI: Hotplug core: remove 'name'
Now that the PCI core manages the 'name' for each individual hotplug driver, and all drivers have been converted to use hotplug_slot_name(), there is no need for the PCI hotplug core to drag around its own copy of name either. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: matthew@wil.cx Cc: kaneshige.kenji@jp.fujitsu.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/pci_hotplug_core.c | 6 +++--- include/linux/pci_hotplug.h | 3 ...
Sep 9, 3:01 am 2008
Alex Chiang Sep 9, 10:18 am 2008
Alex Chiang
[PATCH v2 05/13] PCI: cpci_hotplug: stop managing hotplu ...
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. Now, we simply advise the PCI core of the name that we would like, and let the core take care of the rest. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: scottm@somanetworks.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/cpci_hotplug.h | 6 ++ drivers/pci/hotplug/cpci_hotplug_core.c | 75 ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 01/13] PCI Hotplug core: add 'name' param pci_ ...
Update pci_hp_register() to take a const char *name parameter. The motivation for this is to clean up the individual hotplug drivers so that each one does not have to manage its own name. The PCI core should be the place where we manage the name. We update the interface and all callsites first, in a "no functional change" manner, and clean up the drivers later. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: matthew@wil.cx Cc: ...
Sep 9, 3:00 am 2008
Matthew Wilcox
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names
Not quite true ... the Mth registered slot becomes N-(M-1). With the I don't like the goto-loop style (yes, I know we do it elsewhere), and I think we only need to krealloc inside the 'if' condition. Something like this, perhaps: static char *make_slot_name(const char *name) { char *new_name; int len, max, dup; new_name = kstrdup(name, GFP_KERNEL); if (!new_name) return NULL; /* * Make sure we hit the realloc case the first time through the * loop. 'len' will be ...
Sep 9, 6:07 am 2008
Matthew Wilcox
Re: [PATCH v2 01/13] PCI Hotplug core: add 'name' param ...
Not a huge fan of this style ... the usual style would be: extern int pci_hp_register(struct hotplug_slot *, struct pci_bus *, int nr, const char *name); Otherwise Acked-by: Matthew Wilcox <willy@linux.intel.com> -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Sep 9, 5:05 am 2008
Matthew Wilcox
Re: [PATCH v2 04/13] PCI: acpiphp: remove 'name' parameter
What's the difference between snprintf and scnprintf? And why were we bothering to use snprintf anyway? For when we fall into a parallel universe where a u32 can have more than twenty digits? -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Sep 9, 7:38 am 2008
Alex Chiang
[PATCH v2 07/13] PCI: fakephp: remove 'name' parameter
Remove 'name' from fakephp's struct dummy_slot, as the PCI core will now manage our slot name for us. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/fakephp.c | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/pci/hotplug/fakephp.c b/drivers/pci/hotplug/fakephp.c index f1c1817..7447faf 100644 --- a/drivers/pci/hotplug/fakephp.c +++ ...
Sep 9, 3:00 am 2008
Matthew Wilcox
Re: [PATCH v2 05/13] PCI: cpci_hotplug: stop managing ho ...
Unfortunately, our name is kind of crappy. Can we not give the user anything better than this? I can't seem to find the CompactPCI specification to see if we have a better name available. I wonder if we can use DMI data on this class of machine. Scott? -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Sep 9, 8:04 am 2008
Alex Chiang
[PATCH v2 11/13] PCI: SGI Hotplug: stop managing bss_hot ...
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. Update the sn_hp_slot_private_alloc() interface to fill in the correct name for us, as that function already has all the parameters needed to determine the name. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: jpk@sgi.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/sgi_hotplug.c | 19 ++++++------------- 1 files changed, 6 ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 06/13] PCI: cpqphp: stop managing hotplug_slot->name
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. Now, we simply advise the PCI core of the name that we would like, and let the core take care of the rest. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/cpqphp.h | 13 +++++------- drivers/pci/hotplug/cpqphp_core.c | 39 +++++++++++++++++-------------------- 2 files changed, 23 ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 00/13] PCI: let the core manage slot names
Hi Jesse, This is v2 of the series that implements a series of changes that allows the PCI core to manage slot names, rather than individual hotplug drivers. It addresses comments raised during the first round of review, most notably the bug that Kenji-san found of possible false name collisions. This series applies against linux-next. I'm including the previous explanation/justification to remind folks of the raison d'etre for this patchset. Thanks. /ac There are several ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 10/13] PCI: rpaphp: stop managing hotplug_slot->name
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. This means that alloc_slot_struct() no longer needs to take a 'name' param. On the other hand, we give rpaphp_register_slot() a 'name' param now to simplify the hotplug registration process. rpaphp_register_slot() can directly pass the drc_name to the PCI hotplug core. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: benh@kernel.crashing.org Signed-off-by: ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 04/13] PCI: acpiphp: remove 'name' parameter
We do not need to manage our own name parameter, especially since the PCI core can change it on our behalf, in the case of duplicate slot names. Remove 'name' from acpiphp's version of struct slot. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: kaneshige.kenji@jp.fujitsu.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/acpiphp.h | 9 +++++---- drivers/pci/hotplug/acpiphp_core.c | 31 ++++++++++++++++--------------- 2 files changed, 21 ...
Sep 9, 3:00 am 2008
Scott Murray
Re: [PATCH v2 05/13] PCI: cpci_hotplug: stop managing ho ...
This is about all that can be done, unfortunately. I've never seen anything useful with regards to this in DMI on the boards I've looked at, and we would have to rework the board driver -> CPCI hotplug core interface to pass that information along even if we could get it for some boards. In general, it is a difficult problem to solve since the same set of system master and peripheral boards in a different chassis could very well be at different geographic addresses depending on where the ...
Sep 9, 2:11 pm 2008
Alex Chiang
[PATCH v2 12/13] PCI: shcphp: remove 'name' parameter
We do not need to manage our own name parameter, especially since the PCI core can change it on our behalf, in the case of duplicate slot names. Remove 'name' from shpchp's version of struct slot. This change also removes the unused struct task_event from the slot structure. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: kaneshige.kenji@jp.fujitsu.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/pciehp_hpc.c | 1 - ...
Sep 9, 3:01 am 2008
Alex Chiang
[PATCH v2 02/13] PCI: prevent duplicate slot names
Prevent callers of pci_create_slot() from registering slots with duplicate names. This condition occurs most often when PCI hotplug drivers are loaded on platforms with broken firmware that assigns identical names to multiple slots. We now rename these duplicate slots on behalf of the user. If firmware assigns the name N to multiple slots, then: The first registered slot is assigned N The second registered slot is assigned N-1 The third registered slot is assigned N-2 The Mth ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 03/13] PCI, PCI Hotplug: introduce slot_name helpers
In preparation for cleaning up the various hotplug drivers such that they don't have to manage their own 'name' parameters anymore, we provide the following convenience functions: pci_slot_name() hotplug_slot_name() These helpers will be used by individual hotplug drivers. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: matthew@wil.cx Cc: kaneshige.kenji@jp.fujitsu.com Signed-off-by: Alex Chiang <achiang@hp.com> --- include/linux/pci.h | 5 +++++ ...
Sep 9, 3:00 am 2008
Alex Chiang
[PATCH v2 09/13] PCI: pciehp: remove 'name' parameter
We do not need to manage our own name parameter, especially since the PCI core can change it on our behalf, in the case of duplicate slot names. Remove 'name' from pciehp's version of struct slot, and remove unused 'task_list' as well. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Cc: kaneshige.kenji@jp.fujitsu.com Signed-off-by: Alex Chiang <achiang@hp.com> --- drivers/pci/hotplug/pciehp.h | 9 +++++-- drivers/pci/hotplug/pciehp_core.c | 25 ...
Sep 9, 3:00 am 2008
Matthew Wilcox
Re: [PATCH v2 03/13] PCI, PCI Hotplug: introduce slot_na ...
Acked-by: Matthew Wilcox <willy@linux.intel.com> -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Sep 9, 7:30 am 2008
Matthew Wilcox
Re: [PATCH v2 06/13] PCI: cpqphp: stop managing hotplug_ ...
So ... we're using %d here and %u in acpiphp. Obviously we don't expect to get a number above 2 billion, but I think if we do have some utterly bogus firmware that gives us a number above 2 billion, printing a positive number is a better user experience than a negative number. We clearly have a common pattern here where hotplug drivers have a number insteaqd of a name (I would venture this is the most common). Maybe we need a common helper? I think this is a subject for the long-term todo ...
Sep 9, 8:08 am 2008
Jiri Slaby
Re: mmotm 2008-09-08-18-32 uploaded
Hi, CONFIG_MII=n CONFIG_R8169=y causes: drivers/built-in.o: In function `rtl8169_gset_xmii': r8169.c:(.text+0x8b4ec): undefined reference to `mii_ethtool_gset' R8169 should depend on MII? --
Sep 9, 2:32 am 2008
Randy Dunlap
Re: mmotm 2008-09-08-18-32 uploaded
It should select MII. That should change CONFIG_MII to =y. --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 9, 8:03 am 2008
Jiri Slaby
undefined reference to `v4l_printk_ioctl' [Was: mmotm 20 ...
Hi, CONFIG_VIDEO_DEV=m CONFIG_COMPAT_VIDEO_DEV=y causes: drivers/built-in.o: In function `v4l_compat_ioctl32': (.text+0x8db19): undefined reference to `v4l_printk_ioctl' COMPAT_VIDEO_DEV should be tristate? --
Sep 9, 2:26 am 2008
niels
GPIO active high/low handling on embedded devices
Hi, I missing some functionality in the current GPIO interface which I am using in an embedded environment. It is not possible to specify if an output is low or high active on arch level. IOW I want to activate or deactivate (on driver level) an output without having to know if an output is high or low active, which should be specified on arch level. Currently I created a structure with the gpio number and a boolean is_inverted, and I added two functions called gpio_activate and ...
Sep 9, 1:48 am 2008
Hidehiro Kawai
[PATCH 2/2][RESEND] jbd: ordered data integrity fix
In ordered mode, if a file data buffer being dirtied exists in the committing transaction, we write the buffer to the disk, move it from the committing transaction to the running transaction, then dirty it. But we don't have to remove the buffer from the committing transaction when the buffer couldn't be written out, otherwise it would miss the error and the committing transaction would not abort. This patch adds an error check before removing the buffer from the committing ...
Sep 9, 1:52 am 2008
Hidehiro Kawai
[PATCH 1/2][RESEND] ext3: add an option to control error ...
Hi Andrew, I posted these patches previously and revised to follow comments, but they haven't been merged yet. So I resend them. The previous post: http://kerneltrap.org/mailarchive/linux-kernel/2008/7/30/2742434 Thanks, Subject: [PATCH 1/2] ext3: add an option to control error handling on file data If the journal doesn't abort when it gets an IO error in file data blocks, the file data corruption will spread silently. Because most of applications and commands do buffered writes ...
Sep 9, 1:49 am 2008
Jan Kara
Re: [PATCH -mm] jbd: test BH_Write_EIO to detect errors ...
Your changes look sane. Thanks for fixing this. You can add Acked-by: Jan Kara <jack@suse.cz> -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Sep 9, 8:52 am 2008
Hidehiro Kawai
[PATCH -mm] jbd: test BH_Write_EIO to detect errors on m ...
__try_to_free_cp_buf(), __process_buffer(), and __wait_cp_io() test BH_Uptodate flag to detect write I/O errors on metadata buffers. But by commit 95450f5a7e53d5752ce1a0d0b8282e10fe745ae0 "ext3: don't read inode block if the buffer has a write error"(*), BH_Uptodate flag can be set to inode buffers with BH_Write_EIO in order to avoid reading old inode data. So now, we have to test BH_Write_EIO flag of checkpointing inode buffers instead of BH_Uptodate. This patch does it. (*) ...
Sep 9, 1:42 am 2008
KAMEZAWA Hiroyuki
Re: mmotm 2008-09-08-18-32 uploaded
On Mon, 08 Sep 2008 18:35:16 -0700 Hmm, I'm not sure this is a trouble or not.. == %quilt push -a <snip> |commit 5ca7e4a6b0929c7a0763f9b2481e063d9f047db0 |Author: Hans de Goede <j.w.r.degoede@hhs.nl> |Date: Wed Sep 3 17:12:20 2008 -0300 | | V4L/DVB (8831): gspca: Resolve webcam conflicts between some drivers. | | -remove USB-id's from zc0301 for cams for which zc0301.c does not support | the sensor | -remove USB-id's from sn9c102 for cams where sn9c102 does not support ...
Sep 9, 1:37 am 2008
KAMEZAWA Hiroyuki
Re: mmotm 2008-09-08-18-32 uploaded
On Tue, 9 Sep 2008 01:43:54 -0700 Oh, thank you. -Kame --
Sep 9, 2:11 am 2008
Andrew Morton
Re: mmotm 2008-09-08-18-32 uploaded
urgh, that's patch(1) being silly and interpreting that text as part of a patch. IIRC it's interpreting it as a context diff. Adding `-u' to the `patch' command will shut it up. That change should be made to quilt (IMO). --
Sep 9, 1:43 am 2008
roel kluin
[PATCH] [CELL] oprofile: test for flag instead of negati ...
vi arch/powerpc/oprofile/cell/vma_map.c +46 And you'll find this comment in vma_map_lookup(): Default the offset to the physical address + a flag value. Addresses of dynamically generated code can't be found in the vma map. For those addresses the flagged value will be sent on to the user space tools so they can be reported rather than just thrown away. Returned is the flag value 0x10000000 + vma when not found. The test for negative overlay_tbl_offset does not work because it is ...
Sep 9, 12:48 pm 2008
Mikael Pettersson
Re: invalid tests on unsigned
roel kluin writes: > Using spatch I have found the following occurrences where there is > an invalid test on an unsigned. > > Some may be not seriously, but just redundant, others may indicate > an incorrect assumption (that the variable can be negative). > I haven't found time to sort out these. > > If I have time I will write patches, but feel free to write one > yourself if you want. > > Roel > > What is shown below is not meant as patch, just for reporting. > > ...
Sep 9, 2:15 am 2008
roel kluin
invalid tests on unsigned
Using spatch I have found the following occurrences where there is an invalid test on an unsigned. Some may be not seriously, but just redundant, others may indicate an incorrect assumption (that the variable can be negative). I haven't found time to sort out these. If I have time I will write patches, but feel free to write one yourself if you want. Roel What is shown below is not meant as patch, just for reporting. ----[ arch/arm/mach-davinci/psc.c, unsigned ]---- --- ...
Sep 9, 7:19 am 2008
roel kluin
Re: invalid tests on unsigned
Some more (not yet reported): ----[ drivers/video/atmel_lcdfb.c, unsigned long ]---- --- drivers/video/atmel_lcdfb.c 2008-08-07 17:53:08.000000000 +0200 @@ -843,7 +843,7 @@ static int __init atmel_lcdfb_probe(stru } sinfo->irq_base = platform_get_irq(pdev, 0); - if (sinfo->irq_base < 0) { dev_err(dev, "unable to get irq "); ret = sinfo->irq_base; goto stop_clk; ----[ drivers/video/aty/radeon_base.c, __u32 ]---- --- drivers/video/aty/radeon_base.c 2008-08-07 ...
Sep 9, 2:10 pm 2008
Maynard Johnson
Re: [PATCH] [CELL] oprofile: test for flag instead of ne ...
Arnd, This patch was originally submitted some time back, and I gave my approval for it. The last I heard from you about it (on July 2), you said you were queuing it up for 2.6.27. Has it gotten upstream yet? Thanks. -Maynard -------------------------------------------------------------------------- --
Sep 9, 1:48 pm 2008
Hannes Hering
Re: + ehea-fix-dlpar-memory-handling.patch added to -mm tree
Hello, please consider the ehea-fix-dlpar-memory-handling.patch as critical bug fix, as it fixes a potential firmware error causing the driver to get inoperable when system memory is sparse. Therefore please include this fix into 2.6.27. Regards Hannes --
Sep 9, 12:58 am 2008
Dave Hansen
Re: [RFC v4][PATCH 9/9] File descriprtors (restore)
This needs to use an ERR_PTR(). It will save using the double-pointer. -- Dave --
Sep 9, 9:26 am 2008
Dave Hansen
Re: [RFC v4][PATCH 0/9] Kernel based checkpoint/restart`
Cool, I can actually apply these! :) -- Dave --
Sep 9, 11:06 am 2008
Oren Laadan
[RFC v4][PATCH 0/9] Kernel based checkpoint/restart`
These patches implement checkpoint-restart [CR v3]. This version is aimed at addressing feedback and eliminating bugs, after having added save and restore of open files state (regular files and directories) which makes it more usable. Todo: - Add support for x86-64 and improve ABI - Refine or change syscall interface - Extend to handle (multiple) tasks in a container - Security (without CAPS_SYS_ADMIN files restore may fail) Changelog: [2008-Sep-09] v4: - Various fixes and clean-ups ...
Sep 9, 12:42 am 2008
Serge E. Hallyn
Re: [RFC v4][PATCH 5/9] Memory managemnet (restore)
As Dave has pointed out, this appears to be a security problem. I think what you need to do is create a new helper mprotect_fixup_withchecks(), which does all the DAC+MAC checks which are done in the sys_mprotect() loop starting with "for (nstart = start ; ; ) {... Otherwise an unprivileged user can create a checkpoint image of a program which has done a ro shared file mmap, edit the checkpoint, then restart it and (i assume) cause the modified contents to be written to the file. This could ...
Sep 9, 9:07 am 2008
Vegard Nossum
Re: [RFC v4][PATCH 8/9] File descriprtors (dump)
Hi, Below are some concerns, I would be grateful for explanations (or pointers if I missed them before). Should cr_hbuf_put() come before the return here? As far as I've understood, "leaking" the buffer size/data isn't critical (1. because it's just some extra space, and/or 2. the buffer is discarded on error anyway). The code looks really unbalanced Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is ...
Sep 9, 1:23 am 2008
Ingo Molnar
Re: [RFC v4][PATCH 3/9] x86 support for checkpoint/restart
please use the correct comment style consistently throughout your hm, the preemption disabling seems pointless here. What does it protect plsdntuseannyngabbrvtsngnrcd. [1] "checkpoint_" should be just fine in most cases. Ingo [1] (please dont use annoying abbreviations in generic code) --
Sep 9, 1:17 am 2008
Oren Laadan
[RFC v4][PATCH 5/9] Memory managemnet (restore)
Restoring the memory address space begins with nuking the existing one of the current process, and then reading the VMA state and contents. Call do_mmap_pgoffset() for each VMA and then read in the data. Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> --- arch/x86/mm/checkpoint.c | 5 +- arch/x86/mm/restart.c | 54 +++++++ checkpoint/Makefile | 2 +- checkpoint/ckpt_arch.h | 2 + checkpoint/restart.c | 43 ++++++ checkpoint/rstr_mem.c | 351 ...
Sep 9, 12:42 am 2008
Oren Laadan
[RFC v4][PATCH 4/9] Memory management (dump)
For each VMA, there is a 'struct cr_vma'; if the VMA is file-mapped, it will be followed by the file name. The cr_vma->npages will tell how many pages were dumped for this VMA. Then it will be followed by the actual data: first a dump of the addresses of all dumped pages (npages entries) followed by a dump of the contents of all dumped pages (npages pages). Then will come the next VMA and so on. Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> --- arch/x86/mm/checkpoint.c | 30 +++ ...
Sep 9, 12:42 am 2008
Oren Laadan
[RFC v4][PATCH 8/9] File descriprtors (dump)
Dump the files_struct of a task with 'struct cr_hdr_files', followed by all open file descriptors. Since FDs can be shared, they are assigned an objref and registered in the object hash. For each open FD there is a 'struct cr_hdr_fd_ent' with the FD, its objref and its close-on-exec property. If the FD is to be saved (first time) then this is followed by a 'struct cr_hdr_fd_data' with the FD state. Then will come the next FD and so on. This patch only handles basic FDs - regular files, ...
Sep 9, 12:42 am 2008
Oren Laadan Sep 9, 4:23 pm 2008
Oren Laadan
Re: [RFC v4][PATCH 5/9] Memory managemnet (restore)
As I replied to Dave, I don't see why this would be a security problem. This handles private memory only. In particular, the uncommon case of a read-only VMA tha has modified contents. This _cannot_ affect the file from which this VMA may have been mapped. Shared memory (not file-mapped) will be handled differently: since it is always backed up by an inode in shmfs, the restart will populate the relevant pages directly. Besides, non-file-mapped shared memory is again not a security ...
Sep 9, 4:35 pm 2008
Oren Laadan
[RFC v4][PATCH 7/9] Infrastructure for shared objects
Infrastructure to handle objects that may be shared and referenced by multiple tasks or other objects, e..g open files, memory address space etc. The state of shared objects is saved once. On the first encounter, the state is dumped and the object is assigned a unique identifier (objref) and also stored in a hash table (indexed by its physical kenrel address). From then on the object will be found in the hash and only its identifier is saved. On restart the identifier is looked up in the ...
Sep 9, 12:42 am 2008
Oren Laadan
[RFC v4][PATCH 1/9] Create syscalls: sys_checkpoint, sys ...
Create trivial sys_checkpoint and sys_restore system calls. They will enable to checkpoint and restart an entire container, to and from a checkpoint image file descriptor. The syscalls take a file descriptor (for the image file) and flags as arguments. For sys_checkpoint the first argument identifies the target container; for sys_restart it will identify the checkpoint image. Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> --- arch/x86/kernel/syscall_table_32.S | 2 ++ ...
Sep 9, 12:42 am 2008
Oren Laadan
[RFC v4][PATCH 3/9] x86 support for checkpoint/restart
(Following Dave Hansen's refactoring of the original post) Add logic to save and restore architecture specific state, including thread-specific state, CPU registers and FPU state. Currently only x86-32 is supported. Compiling on x86-64 will trigger an explicit error. Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> --- arch/x86/mm/Makefile | 2 + arch/x86/mm/checkpoint.c | 194 ++++++++++++++++++++++++++++++++++++++++++++ arch/x86/mm/restart.c | 178 ...
Sep 9, 12:42 am 2008
Oren Laadan
[RFC v4][PATCH 6/9] Checkpoint/restart: initial documentation
Covers application checkpoint/restart, overall design, interfaces and checkpoint image format. Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> --- Documentation/checkpoint.txt | 187 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 187 insertions(+), 0 deletions(-) create mode 100644 Documentation/checkpoint.txt diff --git a/Documentation/checkpoint.txt b/Documentation/checkpoint.txt new file mode 100644 index 0000000..f67aef1 --- /dev/null +++ ...
Sep 9, 12:42 am 2008
Oren Laadan
[RFC v4][PATCH 9/9] File descriprtors (restore)
Restore open file descriptors: for each FD read 'struct cr_hdr_fd_ent' and lookup objref in the hash table; if not found (first occurence), read in 'struct cr_hdr_fd_data', create a new FD and register in the hash. Otherwise attach the file pointer from the hash as an FD. This patch only handles basic FDs - regular files, directories and also symbolic links. Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> --- checkpoint/Makefile | 2 +- checkpoint/restart.c | 4 + ...
Sep 9, 12:42 am 2008
Vegard Nossum
Re: [RFC v4][PATCH 8/9] File descriprtors (dump)
Hm, shouldn't this be max * sizeof(*fdlist) like the kmalloc above? Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
Sep 9, 1:06 am 2008
Oren Laadan
[RFC v4][PATCH 2/9] General infrastructure for checkpoin ...
Add those interfaces, as well as helpers needed to easily manage the file format. The code is roughly broken out as follows: checkpoint/sys.c - user/kernel data transfer, as well as setup of the checkpoint/restart context (a per-checkpoint data structure for housekeeping) checkpoint/checkpoint.c - output wrappers and basic checkpoint handling checkpoint/restart.c - input wrappers and basic restart handling Patches to add the per-architecture support as well as the actual work to do the ...
Sep 9, 12:42 am 2008
Vegard Nossum
Re: [RFC v4][PATCH 4/9] Memory management (dump)
Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
Sep 9, 2:22 am 2008
santi mondal
const struct file_operations struct definition
Hi All, I was trying to build a kernel module to block all the writes happening to a particular disk/mount point (multiple disk/mount points at the same time). To achieve this I tried to replace the file_operations->write function pointer. Since it is defined as "const", replacing it is not poissible. Is there any way outs to get the control in the filesystem's write funtion ? It would be of great help if anybody could throw some ideas. Sorry for sending the e-mail without subscribing to ...
Sep 9, 12:38 am 2008
Adam Tkac
[PATCH 2.6.27-rc5] Allow set RLIMIT_NOFILE to RLIM_INFINITY
Hi all, when process wants set limit of open files to RLIM_INFINITY it gets EPERM even if it has CAP_SYS_RESOURCE capability. Attached patch should fix the problem. Please add me to CC of your responses because I'm not member of list. Regards, Adam -- Adam Tkac
Sep 9, 12:14 am 2008
Ingo Molnar
Re: [PATCH] seccomp: drop now bogus dependency on PROC_FS
applied to tip/x86/cleanups, thanks Alexey! Ingo --
Sep 9, 12:10 am 2008
Alexey Dobriyan
[PATCH] seccomp: drop now bogus dependency on PROC_FS
seccomp is prctl(2)-driven now. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- arch/x86/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1191,7 +1191,6 @@ config IRQBALANCE config SECCOMP def_bool y prompt "Enable seccomp to safely compute untrusted bytecode" - depends on PROC_FS help This kernel feature is useful for number crunching applications that may need to compute untrusted bytecode ...
Sep 9, 12:01 am 2008
Sheng Yang
[PATCH 0/2] Extend "flags" to contain HW virtualization info
Hi, All Here is the update version of "virt flags" according to comments. Now I extend the "flags" instead of new "virt flags" line, this also result in NCAPINTS was extended to 9. Still just implement Intel side. And I don't mean to tell apart from VMX and SVM features in cpufeatures.h. Thanks! -- regards Yang, Sheng --
Sep 8, 11:54 pm 2008
Avi Kivity
Re: [PATCH 2/2] x86: Extended cpuinfo to show virtualiza ...
I'm missing the strings that go into /proc/cpuinfo? -- error compiling committee.c: too many arguments to function --
Sep 9, 6:26 am 2008
H. Peter Anvin Sep 9, 8:50 am 2008
Yinghai Lu
Re: [PATCH 2/2] x86: Extended cpuinfo to show virtualiza ...
it should go into intel_64.c and intel.c YH --
Sep 9, 12:52 am 2008
Sheng Yang
[PATCH 2/2] x86: Extended cpuinfo to show virtualization ...
The hardware virtualization technology evolves very fast. But currently it's hard to tell if your CPU support a certain kind of HW technology without digging into the source code. The patch add a new catagory in "flags" under /proc/cpuinfo. Now "flags" can indicate the (important) HW virtulization features the CPU supported as well. Current implementation just cover Intel VMX side. Signed-off-by: Sheng Yang <sheng.yang@intel.com> --- arch/x86/kernel/cpu/common.c | 45 ...
Sep 8, 11:54 pm 2008
Yang, Sheng
Re: [PATCH 2/2] x86: Extended cpuinfo to show virtualiza ...
Yeah, I've considered that, but seems duplicate for both files? The feature detection code is the same. Any way to merge them? Thanks! -- regards Yang, Sheng --
Sep 9, 1:05 am 2008
Yinghai Lu
Re: [PATCH 2/2] x86: Extended cpuinfo to show virtualiza ...
just merged intel_64.c into intel.c... YH --
Sep 9, 10:45 am 2008
Avi Kivity
Re: [PATCH 2/2] x86: Extended cpuinfo to show virtualiza ...
You could add another file (intel-vt.c) and #include or link it from both intel.c and intel_64.c. -- error compiling committee.c: too many arguments to function --
Sep 9, 6:23 am 2008
Sheng Yang
[PATCH 1/2] x86: Move VMX MSRs to msr-index.h
They are hardware specific MSRs, and we would use them in virtualization feature detection later. Signed-off-by: Sheng Yang <sheng.yang@intel.com> --- arch/x86/kvm/vmx.h | 15 --------------- include/asm-x86/msr-index.h | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/arch/x86/kvm/vmx.h b/arch/x86/kvm/vmx.h index 425a134..b32d4e5 100644 --- a/arch/x86/kvm/vmx.h +++ b/arch/x86/kvm/vmx.h @@ -331,21 +331,6 @@ enum vmcs_field { #define ...
Sep 8, 11:54 pm 2008
My Everyday Page
Launching MyEverydayPage.com (Ver 2.0)
Dear Members, Its our great pleasure to launch a new version of your favorite everyday website with Great New Looks, New Logo & More Features. One stop homepage for you, with one click links to all the important daily visit websites. <http://www.myeverydaypage.com/> Changes/Additions: 1: Brand new Platform to provide you with better looks and performance. 2: More new websites added, as per your recommendations/feed backs. 3: Easy Access to Google Search. 4: New MEP ...
Sep 9, 4:01 am 2008
Alain Knaff
[update3] [PATCH] init: bzip2 or lzma -compressed kernel ...
From: Alain Knaff <alain@knaff.lu> This is an updated version of my bzip2/lzma patch It is based on an idea by Christian Ludwig, includes support for compressing the kernel with bzip2 or lzma rather than gzip. Both compressors give smaller sizes than gzip. Lzma's decompresses faster than bzip2. It also supports ramdisks and initramfs' compressed using these two compressors. The functionality has been successfully used for a couple of years by the udpcast project This version applies ...
Sep 8, 11:41 pm 2008
Ingo Molnar
Re: [PATCH] init/initramfs.c: unused function when compi ...
applied to tip/fastboot - thanks Steven! Ingo --
Sep 8, 11:51 pm 2008
Ingo Molnar
Re: [PATCH] x86: fix HPET compiler error when not using ...
applied to tip/timers/hpet-percpu - thanks Steven. I'm wondering, what is the compiler error you got? I havent seen any in my testing. Ingo --
Sep 8, 11:56 pm 2008
Ingo Molnar
Re: [PATCH] x86: unused variable in dma_alloc_coherent_g ...
applied to tip/x86/iommu - thanks Steven, Ingo --
Sep 8, 11:57 pm 2008
Steven Noonan
Re: [PATCH] x86: fix HPET compiler error when not using ...
Actually, it was technically a compiler warning and link error. The compiler warning was "hpet_setup_msi_irq used but never defined", and then when trying to link, it threw the linker error "undefined reference to hpet_setup_msi_irq". - Steven --
Sep 8, 5:13 pm 2008
FUJITA Tomonori
Re: [PATCH] x86: unused variable in dma_alloc_coherent_g ...
On Tue, 9 Sep 2008 08:57:36 +0200 Did you apply the same patch yesterday? http://lkml.org/lkml/2008/9/8/274 --
Sep 9, 12:04 am 2008
Ingo Molnar
Re: [PATCH] x86: unused variable in dma_alloc_coherent_g ...
yes, but i havent pushed it out in time yesterday night. In such scenarios i generally zap the patch i generated and replace it with the fix that is being sent against the last publicly available tree. That is what happened here too. This makes it all symmetric and fair (i as a maintainer have no time advantage to get fixes in first) and it also teaches me to push out fixes faster :-) Ingo --
Sep 9, 12:13 am 2008
Frans Pop
Re: [PATCH] e100: Use pci_pme_active for clearing wake-u ...
Patch works for me. Tested-by: Frans Pop <elendil@planet.nl> --
Sep 9, 9:01 am 2008
Rafael J. Wysocki
[PATCH] e100: Use pci_pme_active for clearing wake-up ev ...
The message is actually harmless, but I agree that it's confusing. The appended patch should fix the problem (ISTR sending it some time ago already). Thanks, Rafael --- From: Rafael J. Wysocki <rjw@sisk.pl> e100: Use pci_pme_active for clearing wake-up events and disabling PME# Currently e100 uses pci_enable_wake() to clear pending wake-up events and disable PME# during intitialization, but that function is not suitable for this purpose, because it immediately returns error ...
Sep 9, 6:14 am 2008
Frans Pop
[regression] e100: PCI wake-up handling rework causes "E ...
(Resending because of error in mail headers in previous attempt; sorry) On my Toshiba Satellite A40 with 2.6.27-rc4/5 I noticed the following error in the boot log (not there with 2.6.26): e100: 0000:01:08.0: e100_probe: Error clearing wake event Bisection has fingered the following patch as the cause of the message. commit eb9d0fe40e313c0a74115ef456a2e43a6c8da72f Author: Rafael J. Wysocki <rjw@sisk.pl> Date: Mon Jul 7 03:34:48 2008 +0200 PCI ACPI: Rework PCI handling of ...
Sep 8, 11:12 pm 2008
Jason Wessel
Re: [PATCH][kgdb] Make mem access function weak in kgdb.c.
This patch is a reasonable change if you are looking to use the common kgdb code, however your patch needs some further work in that the documentation and prototypes in include/linux/kgdb.h file need to be updated as well. -------------------- In include/linux/kgdb.h you have: 270 extern int kgdb_mem2hex(char *mem, char *buf, int count); 271 extern int kgdb_hex2mem(char *buf, char *mem, int count); The above two lines need to be changed by your patch, as well as adding a ...
Sep 9, 5:08 am 2008
sonic zhang
[PATCH][kgdb] Make mem access function weak in kgdb.c.
L1 instruction memory and MMR memory on blackfin can not be accessed by common functions probe_kernel_read() and probe_kernel_write(). Blackfin asks for 2/4 byte align access to MMR memory and DMA access to L1 instruction memory. These functions need to be reimplemented in architecture specific kgdb.c. Signed-off-by: Sonic Zhang <sonic.adi@gmail.com> --- kernel/kgdb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/kgdb.c b/kernel/kgdb.c index ...
Sep 8, 11:03 pm 2008
Artem Bityutskiy
[GIT PULL] [Resend] UBIFS updates for 2.6.27-rc6
Hi Linus, please pull from git://git.infradead.org/~dedekind/ubifs-2.6.git linux-next The following changes since commit 6a55617ed5d1aa62b850de2cf66f5ede2eef4825: Linus Torvalds (1): Linux v2.6.27-rc4 are available: Adrian Hunter (2): UBIFS: always read hashed-key nodes under TNC mutex UBIFS: allow for racing between GC and TNC Artem Bityutskiy (13): UBIFS: fix zero-length truncations UBIFS: do not update min_idx_lebs in stafs UBIFS: push ...
Sep 9, 12:22 am 2008
Jarod Wilson
[PATCH 08/18] lirc driver for the Soundgraph IMON IR Receivers
Successfully tested earlier tonight, see: https://bugzilla.redhat.com/show_bug.cgi?id=459523 Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> Tested-by: Tom Horsley <tom.horsley@att.net> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_imon.c | 1280 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1288 insertions(+), 0 deletions(-) ...
Sep 8, 9:05 pm 2008
Lennart Sorensen
Re: [PATCH 0/18] linux infrared remote control drivers
The soundgraph imon driver is number 8, but it works great for me, and lots of cases include that one (at least silverstone cases). I think more than the first 4 or 5 are in very active use. -- Len Sorensen --
Sep 9, 11:27 am 2008
Stefan Lippers-Hollmann
Re: [PATCH 02/18] lirc serial port receiver/transmitter ...
Hi [...] This might actually be the most common setup, as it is very easy to build[1] with minimal soldering skills and has also been used by various vendors (older models of the TechniSat SkyStar2 DVB-S budget card, to name just one example; it is only slowly being replaced by alternative means, as serial ports are becoming rare on newer systems. Regards Stefan Lippers-Hollmann [1] http://www.lirc.org/receivers.html --
Sep 9, 12:51 pm 2008
Janne Grunau
Re: [PATCH 01/18] lirc core device driver infrastructure
There is also BITS_TO_LONGS(x) which does the intended. I found it only since it uses DIV_ROUND_UP. Will use that. Thanks. Janne --
Sep 9, 6:10 am 2008
Jarod Wilson
Re: [PATCH 05/18] lirc driver for i2c-based IR receivers
Knew I had to screw up at least one thing. That should be j@jannau.net, not jannua.net. -- Jarod Wilson jarod@redhat.com --
Sep 8, 9:13 pm 2008
Chris Wedgwood
Re: [PATCH 0/18] linux infrared remote control drivers
Why does most of this have to be in the kernel? Can a lot of this not be done from userspace? --
Sep 8, 9:36 pm 2008
Jarod Wilson
[PATCH 16/18] lirc driver for the IR interface on BT829- ...
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_bt829.c | 388 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 396 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_bt829.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:06 pm 2008
Sebastian Siewior
Re: [PATCH 01/18] lirc core device driver infrastructure
bytes_in_key = p->code_length / 8; if (p->code_length % 8) bytes_in_key++; I meant the missing spaces around / and %. Looking now at it, it seems Sebastian --
Sep 9, 5:33 am 2008
Jonathan Corbet
Re: [PATCH 02/18] lirc serial port receiver/transmitter ...
So where do all these LIRC_SERIAL_* macros come from? I can't really tell It would be really nice to use the .field=value structure initialization This is a little scary. Maybe hrtimers would be a better way of handling This all looks like a reimplementation of ioport_map() and the associated This looks like a hard busy wait, without even an occasional, polite, cpu_relax() call. There's got to be a better way? The i2c code has the result of a lot of bit-banging work, I wonder ...
Sep 9, 9:14 am 2008
Alexey Dobriyan
Re: [PATCH 0/18] linux infrared remote control drivers
Woo-hoo! One Vista-compatible (oh how it's called) remote control was waiting for this! All version.h and autoconf.h inclusions aren't needed. #ifdef MODULE is gross and very old. Don't need that. Just use static int __init x_init(void) { ... } static void __exit x_exit(void) { ... } module_init(x_init); module_exit(x_exit); MODULE_LICENSE ... It will work correctly in modular and built-in case. Static number of devices is simple but how about adding them ...
Sep 9, 12:06 am 2008
Andi Kleen
Re: [PATCH 01/18] lirc core device driver infrastructure
Jarod Wilson <jwilson@redhat.com> writes: This means you always wake up every half a second? That will not make the powertop users happy. When there's nothing to do it should just sleep. The checks in plugin_register seem a bit extreme. Always use the #ifdef MODULE path, it does DTRT when compiled in too. Remove the init_module wrapper, replace with module_init() ... not read further ... -Andi -- ak@linux.intel.com --
Sep 9, 2:46 am 2008
Jon Smirl
Re: [PATCH 0/18] linux infrared remote control drivers
I've been asking this one too. Can someone familiar with the guts of input give an assessment of integrating LIRC in with the rest of input? Don't we want these events handled via evdev so that ordering between IR, mouse, keyboard will be maintained? -- Jon Smirl jonsmirl@gmail.com --
Sep 9, 8:34 am 2008
Jonathan Corbet
Re: [PATCH 04/18] lirc driver for 2nd-gen and later Medi ...
On Tue, 9 Sep 2008 00:05:49 -0400 As I understand it, proper assertions of copyright need the word My guess is that this will not be a major impediment to mainline inclusion; What is the locking regime for this function? As far as I can tell, it's called with no locking at all, even though it's manipulating the irctl This kind of formatting suggests that, just maybe, the control structures Looking at lirc_unregister_plugin(), I don't see any cause of failure that could be expected ...
Sep 9, 4:30 pm 2008
Jarod Wilson
[PATCH 01/18] lirc core device driver infrastructure
-Add Kconfig and Makefile bits -Add device driver interface and headers The initial Kconfig and Makefile bits were done by Mario Limonciello for the Ubuntu kernel, but have been tweaked a bit since then. Any errors are probably my doing. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> CC: Mario Limonciello <superm1@ubuntu.com> --- MAINTAINERS | 9 + drivers/input/Kconfig | ...
Sep 8, 9:05 pm 2008
Jarod Wilson
[PATCH 18/18] lirc driver for the zilog/haupauge IR tran ...
--- diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 5f9d860..2ba0904 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -170,6 +170,8 @@ source "drivers/input/tablet/Kconfig" source "drivers/input/touchscreen/Kconfig" +source "drivers/input/lirc/Kconfig" + source "drivers/input/misc/Kconfig" endif diff --git a/drivers/input/Makefile b/drivers/input/Makefile index 98c4f9a..4dcb852 100644 --- a/drivers/input/Makefile +++ ...
Sep 8, 9:06 pm 2008
Jarod Wilson
[PATCH 18/18] lirc driver for the zilog/haupauge IR tran ...
Hopefully, I get this summary more or less correct... A number of Hauppauge devices contain both an IR receiver and an IR transmitter. The RX side is rather similar to those handled by the lirc_i2c driver, but the TX side is quite different. Devices with both have to be handled a bit carefully... The TX side is serviced by a zilog processor, running some zilog firmware, but is interfaced with via a software db/table apparently written by a Hauppauge sub-contractor. This is provided via a ...
Sep 8, 9:06 pm 2008
Janne Grunau
Re: [PATCH 01/18] lirc core device driver infrastructure
LIRC_SERIAL_TRANSMITTER is already gone, not sure that should happen to done thanks for the review. My changes are until Jarod pulls them in following tree git://git.jannau.net/linux-2.6-lirc.git Janne --
Sep 9, 4:35 am 2008
Jonathan Corbet
Re: [PATCH 01/18] lirc core device driver infrastructure
I think it's most cool that this code is finally making its way toward kthread_stop() will wake up the process, so there is no need to do it separately here. In fact, it almost looks like the separate wake_up_process() call could create an (unlikely) race where the thread would miss the fact that it's supposed to stop and sleep again. Fixing the sleep_on() call there to use something like wait_event() would help in that So the plugin open() function is called outside of any lock. Note ...
Sep 9, 8:33 am 2008
Jarod Wilson
[PATCH 10/18] lirc driver for Igor Cesko's USB IR receiver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_igorplugusb.c | 619 +++++++++++++++++++++++++++++++++ 3 files changed, 627 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_igorplugusb.c diff --git a/drivers/input/lirc/Kconfig ...
Sep 8, 9:05 pm 2008
Jarod Wilson
[PATCH 11/18] lirc driver for the Technotrend USB IR receiver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 6 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_ttusbir.c | 400 +++++++++++++++++++++++++++++++++++++ 3 files changed, 407 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_ttusbir.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:05 pm 2008
Jarod Wilson
[PATCH 02/18] lirc serial port receiver/transmitter devi ...
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_serial.c | 1312 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 1320 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_serial.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:05 pm 2008
Christoph Hellwig
Re: [PATCH 01/18] lirc core device driver infrastructure
n is the default, no needed add a "default n" line for it. Anyone configuring the kernel should know he's on Linux, so strike the Obviously this can be built in, so it should be named better. Also I don't think LIRC means anything to a user, so use Infrared Remote Control support or something similar instead. I don't quite understand why this needs a different option from Please don't mark funtion inline unless there's a very good reason for What's the init doing in a cleanup ...
Sep 9, 6:01 am 2008
Jarod Wilson
[PATCH 06/18] lirc driver for the ATI USB RF remote receiver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_atiusb.c | 1321 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 1329 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_atiusb.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:05 pm 2008
Jarod Wilson
[PATCH 09/18] lirc driver for the Streamzap PC Receiver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_streamzap.c | 795 +++++++++++++++++++++++++++++++++++ 3 files changed, 803 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_streamzap.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:05 pm 2008
Janne Grunau
Re: [PATCH 03/18] lirc driver for 1st-gen Media Center E ...
I don't really care and I agree that the SCM is the preferred place for the information. The only problem is that the info is in a different SCM (lirc cvs repository). I've removed the changelogs from all files as long as no names wre sigh, It would be a good idea, not sure if I'm motivated enough to add That's probably a question for the original author, Dan. CC added. I'm yes, the declaration looks like this: static DECLARE_MUTEX(...); which gives us a single holder ...
Sep 9, 4:59 pm 2008
Jarod Wilson
[PATCH 12/18] lirc driver for the Sasem OnAir and Dign H ...
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_sasem.c | 969 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 977 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_sasem.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:05 pm 2008
Jarod Wilson
Re: [PATCH 0/18] linux infrared remote control drivers
IR device handling is often a bit, shall we say, "special", for a number of devices... Some receivers decode the waveform and give us something sensible the input layer could use (and some IR receivers do work that way), while other receivers pass along raw IR codes, which we require the use of the lirc daemon to decode and convert into something sensible. To complicate the matter further, a number of devices are either output-only devices, or both input and output devices. There's been ...
Sep 9, 8:23 am 2008
Jarod Wilson
[PATCH 03/18] lirc driver for 1st-gen Media Center Ed. U ...
Works a treat with the lirc_mceusb receiver hooked to my own mythtv frontend, feeding it signals from a Logitech Harmony 880 remote. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> Tested-by: Jarod Wilson <jarod@redhat.com> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_mceusb.c | 890 ++++++++++++++++++++++++++++++++++++++ 3 files ...
Sep 8, 9:05 pm 2008
Jarod Wilson
Re: [PATCH 01/18] lirc core device driver infrastructure
Janne took care of these. Heck, he's already replied, I'll just leave out the Historical. I think it is supposed to signify that this was originally licensed and written by Artur, but simply removing "(L) " is fine (here and in Yeah, but now that you point that out, I'm not sure how... :) Me too. Gone. -- Jarod Wilson jarod@redhat.com --
Sep 9, 10:03 am 2008
Andi Kleen
Re: [PATCH 01/18] lirc core device driver infrastructure
> pr_printk is not found in include/ nor by google. please explain pr_debug() sorry. -Andi --
Sep 9, 6:03 am 2008
Sebastian Siewior
Re: [PATCH 01/18] lirc core device driver infrastructure
Do you rely on this specific major? Since your daemon opens /dev/lirc0 you don't need a fixed major do you? LIRC_SERIAL_TRANSMITTER is used in patch 2 and just to enable a module options. Since it is always the case, please remove it. if you need this than you use the BKL back. As far as I remember the ioctl() handler in kernel core no longer takes the BKL and I don't For all comments above functions: - Please use the default comment style. - don't comment obvious things - please use kernel ...
Sep 9, 12:40 am 2008
Jonathan Corbet
Re: [PATCH 03/18] lirc driver for 1st-gen Media Center E ...
General convention is that this sort of changelog information belongs in the SCM, not in the code. That's doubly true for the USB skeleton driver Perhaps renaming this structure to something more directly descriptive res is set many times in this function, but it is never checked. It seems to me like the addition of some error handling would be a good idea. Hmm...how was that information obtained? If this driver was reverse-engineered, it would be good to know just what ...
Sep 9, 12:21 pm 2008
Jarod Wilson
Re: [PATCH 02/18] lirc serial port receiver/transmitter ...
One frequently-used source of pre-built serial receivers (and transmitters) here in the US is http://irblaster.info/. Hey, that actually just reminded me... I think I *do* have a serial IR receiver laying about somewhere that came w/one of my TechniSat SkyStar HD-5000 cards... Thank you, Stefan! ;) -- Jarod Wilson jarod@redhat.com --
Sep 9, 12:56 pm 2008
Janne Grunau Sep 9, 1:32 am 2008
Jarod Wilson
[PATCH 14/18] lirc driver for the ITE IT87xx CIR Port re ...
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_it87.c | 999 ++++++++++++++++++++++++++++++++++++++++ drivers/input/lirc/lirc_it87.h | 116 +++++ 4 files changed, 1123 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_it87.c create mode 100644 ...
Sep 8, 9:05 pm 2008
Christoph Hellwig
Re: [PATCH 0/18] linux infrared remote control drivers
Any reason this is a separate subsystem instead of just a bunch new Can you first only send the actually tested drivers? That way review an cleanup can focus on the core and those few and we might get them ready for 2.6.28. Other drivers can than be added when testing and review is done. --
Sep 9, 5:46 am 2008
Jarod Wilson
Re: [PATCH 0/18] linux infrared remote control drivers
Yeah, I realized imon was much lower in the sort order after my reply there, which was a bad initial move by me, since its actually one of the ones that has definite positive testing feedback already. I believe quite a number of vendors of HTPC cases use imon lcd (or vfd) and ir combo devices. -- Jarod Wilson jarod@redhat.com --
Sep 9, 11:34 am 2008
Jarod Wilson
[PATCH 13/18] lirc driver for ITE8709 CIR port receiver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_ite8709.c | 545 +++++++++++++++++++++++++++++++++++++ 3 files changed, 553 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_ite8709.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index ...
Sep 8, 9:05 pm 2008
Janne Grunau
Re: [PATCH 01/18] lirc core device driver infrastructure
Added CONFIG_LIRC_SERIAL_TRANSMITTER to Kconfig and removed this from A relict. Lirc used many single holder semaphore and I forgot to remove the include after converting them to mutexes. I'll check the other Probably not, but it doesn't make a difference for the current kernel. The only other hit for this symbol is arch/xtensa/kernel/syscall.c 38:#undef __KERNEL_SYSCALLS__ There is only one other inline. I doubt it makes a difference there but I won't change it without test. ...
Sep 9, 2:53 am 2008
Jarod Wilson
[PATCH 04/18] lirc driver for 2nd-gen and later Media Ce ...
Successfully tested with the mce v2 receiver and remote that shipped with my Hauppauge HVR-1500 expresscard tuner. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> Tested-by: Jarod Wilson <jarod@redhat.com> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_mceusb2.c | 1119 +++++++++++++++++++++++++++++++++++++ 3 files changed, 1127 ...
Sep 8, 9:05 pm 2008
Jarod Wilson
[PATCH 15/18] lirc driver for the SIR IrDA port
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_sir.c | 1302 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1310 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_sir.c diff --git a/drivers/input/lirc/Kconfig b/drivers/input/lirc/Kconfig index 42e9bc3..b2bdbfb ...
Sep 8, 9:06 pm 2008
Alan Cox
Re: [PATCH 01/18] lirc core device driver infrastructure
Needs to change anyway 60 is already assigned for local and experimental use. Alan --
Sep 9, 4:13 am 2008
Jarod Wilson
[PATCH 05/18] lirc driver for i2c-based IR receivers
Successfully tested with the IR interface on a Hauppauge PVR-250 and the flimsly little grey remote that shipped with it. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannua.net> CC: Christoph Bartelmus <lirc@bartelmus.de> Tested-by: Jarod Wilson <jarod@redhat.com> --- drivers/input/lirc/Kconfig | 8 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_i2c.c | 639 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 648 ...
Sep 8, 9:05 pm 2008
Janne Grunau
Re: [PATCH 01/18] lirc core device driver infrastructure
pr_debug() does something else. that dprintk macro prints depending on a module parameter Janne --
Sep 9, 6:20 am 2008
Jarod Wilson
[PATCH 0/18] linux infrared remote control drivers
The following patch series adds 17 new drivers for assorted infrared and/or RF remote control receivers and/or transmitters. These drivers have long lived out-of-tree at http://www.lirc.org/, packaged as 3rd-party modules by many distributions, and more recently, patched into the kernels of at least Fedora and Ubuntu. The primary maintainer of lirc, Christoph Bartelmus simply hasn't had the time to send these bits upstream, and a few months back, gave me the go-ahead to take on the task. Most ...
Sep 8, 9:05 pm 2008
Jarod Wilson
[PATCH 17/18] lirc driver for homebrew parallel port receivers
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/lirc_parallel.c | 728 ++++++++++++++++++++++++++++++++++++ drivers/input/lirc/lirc_parallel.h | 26 ++ 4 files changed, 762 insertions(+), 0 deletions(-) create mode 100644 drivers/input/lirc/lirc_parallel.c create mode 100644 ...
Sep 8, 9:06 pm 2008
Jarod Wilson
[PATCH 07/18] lirc driver for the CommandIR USB Transceiver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Janne Grunau <j@jannau.net> CC: Christoph Bartelmus <lirc@bartelmus.de> --- drivers/input/lirc/Kconfig | 7 + drivers/input/lirc/Makefile | 1 + drivers/input/lirc/commandir.c | 982 +++++++++++++++++++++++++++++++++++++++ drivers/input/lirc/commandir.h | 68 +++ drivers/input/lirc/lirc_cmdir.c | 596 ++++++++++++++++++++++++ drivers/input/lirc/lirc_cmdir.h | 25 + 6 files changed, 1679 insertions(+), 0 ...
Sep 8, 9:05 pm 2008
Stefan Richter
Re: [PATCH 01/18] lirc core device driver infrastructure
Really? .open() has been changed to be called without the BKL held, but .ioctl() is still called with BKL protection. Currently, many .ioctl() implementations are replaced by .unlocked_ioctl() which take the BKL themselves if necessary or if it is not yet clear whether they would work without BKL protection. This should be audited for the following aspects: - Could there be a race condition between irctl_open() and lirc_dev_init()? If yes, try to rework them to eliminate ...
Sep 9, 6:27 am 2008
Henrique de Moraes H ...
[stable 2.6.26 PATCH] ACPI: Fix thermal shutdowns
From: Milan Broz <mbroz@redhat.com> Do not use unsigned int if there is test for negative number... See drivers/acpi/processor_perflib.c static unsigned int ignore_ppc = -1; ... if (event == CPUFREQ_START && ignore_ppc <= 0) { ignore_ppc = 0; ... Signed-off-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> --- cherry-picked from mainline 9f497bcc695fb828da023d74ad3c966b1e58ad21 Let's see if this time it will make it for 2.6.26.6? Without ...
Sep 8, 8:30 pm 2008
Zhang, Yanmin
[BUG] 2.6.27-rc5 couldn't boot on tulsa machine randomly
On my tulsa x86-64 machine, kernel 2.6.25-rc5 couldn't boot randomly. Basically, function __enable_runtime forgets to reset rt_rq->rt_throttled to 0. When every cpu is up, per-cpu migration_thread is created and it runs very fast, sometimes to mark the corresponding rt_rq->rt_throttled to 1 very quickly. After all cpus are up, with below calling chain, sched_init_smp => arch_init_sched_domains => build_sched_domains => ... => cpu_attach_domain => rq_attach_root => set_rq_online => ... => ...
Sep 8, 8:26 pm 2008
q-newsgroup
[PATCH] Re: fbcon: replace
Commit 22af89aa0c0b4012a7431114a340efd3665a7617 changed the order of operations for computing monochrome color values. This generates 0xffff000f instead of 0x0000000f for a 4 bit monochrome color, leading to image corruption if it is passed to cfb_imageblit or other similar functions. Here's a quick patch to fix it up. David Winn PS: Please CC me with any replies. Thanks diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h index a6e38e9..89a3468 100644 --- ...
Sep 8, 7:25 pm 2008
Chris Adams
[PATCH] ti_usb_3410_5052 obviously broken by firmware changes
From: Chris Adams <cmadams@hiwaay.net> While making some other changes to ti_usb_3410_5052, I noticed that the changes made to move the firmware loading to a separate function are broken (in ti_download_firmware(), status is set to -ENOMEM and never changed). This means the driver will never initialize the device properly. It looks like status was supposed to get the result of ti_do_download(). Signed-off-by: Chris Adams <cmadams@hiwaay.net> --- It doesn't look like there's a maintainer ...
Sep 8, 7:20 pm 2008
David Wagner
Re: [Patch] hfs: fix namelength memory corruption
Ahh. Took me a second to see that this is saved from signed/unsigned attacks by the fact that CName.len is u8. In other words: len is declared as an "int" (i.e., signed). memcpy's third parameter is declared as size_t (i.e., unsigned). Fortunately, len can't be negative, because CName.len is u8. OK, got it. I took a glance at some of the rest of fs/hfs/, to see whether there are any other issues in there, and I couldn't tell whether it's all OK. e.g., * hfs_asc2mac() doesn't seem to ...
Sep 8, 7:02 pm 2008
Mathieu Desnoyers
[RFC PATCH 1/5] Priority Sifting Reader-Writer Lock v13
Priority Sifting Reader-Writer Lock (psrwlock) excludes reader execution contexts one at a time, thus increasing the writer priority in stages. It favors writers against readers, but lets higher priority readers access the lock even when there are subscribed writers waiting for the lock at a lower priority. Very frequent writers could starve reader threads. I used LTTng traces and eventually made a small patch to lockdep to detect whenever a spinlock or a rwlock is used both with interrupts ...
Sep 8, 5:34 pm 2008
Mathieu Desnoyers
[RFC PATCH 5/5] Priority Sifting Reader-Writer Lock Late ...
Trace preempt/softirqs off/irqsoff latency in rwlock. Can be used to perform precise measurement on the impact of these primitives without being lost in the kernel noise. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Linus Torvalds <torvalds@linux-foundation.org> Cc: "H. Peter Anvin" <hpa@zytor.com> CC: Jeremy Fitzhardinge <jeremy@goop.org> CC: Andrew Morton <akpm@linux-foundation.org> CC: Ingo Molnar <mingo@elte.hu> CC: "Paul E. McKenney" ...
Sep 8, 5:34 pm 2008
Mathieu Desnoyers
[RFC PATCH 3/5] Priority Sifting Reader-Writer Lock x86_ ...
Create a specialized calling convention for x86_64 where the first argument is passed in rax. Use a trampoline to move it to the rdi register. Useful to re-use the return value of a cmpxchg without moving registers in-line. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Linus Torvalds <torvalds@linux-foundation.org> Cc: "H. Peter Anvin" <hpa@zytor.com> CC: Jeremy Fitzhardinge <jeremy@goop.org> CC: Andrew Morton <akpm@linux-foundation.org> CC: Ingo Molnar ...
Sep 8, 5:34 pm 2008
Mathieu Desnoyers
[RFC PATCH 4/5] Priority Sifting Reader-Writer Lock Sample
Sample module to show how to use psrwlock. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Linus Torvalds <torvalds@linux-foundation.org> Cc: "H. Peter Anvin" <hpa@zytor.com> CC: Jeremy Fitzhardinge <jeremy@goop.org> CC: Andrew Morton <akpm@linux-foundation.org> CC: Ingo Molnar <mingo@elte.hu> CC: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> CC: Peter Zijlstra <peterz@infradead.org> CC: Joe Perches <joe@perches.com> CC: Wei Weng <wweng@acedsl.com> --- ...
Sep 8, 5:34 pm 2008
Mathieu Desnoyers
[RFC PATCH 0/5] Priority Sifting Reader-Writer Lock v13
Hi, Here is the reworked version of what was initially called "Fair rwlock", then "writer-biased rwlock". Hopefully the naming should now better represent the innovation in this reader-writer locking scheme. Thanks to Linus' patient explanations, it uses a single atomic op on a 32 bit variable in the fast path. The bright side of this is instruction-wise compactness of the fast path and that there is practically no limitation on the number of readers or writers. The downside is added memory ...
Sep 8, 5:34 pm 2008
Mathieu Desnoyers
[RFC PATCH 2/5] Priority Sifting Reader-Writer Lock Docu ...
Design goal, algorithmic description and performance tests. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Linus Torvalds <torvalds@linux-foundation.org> Cc: "H. Peter Anvin" <hpa@zytor.com> CC: Jeremy Fitzhardinge <jeremy@goop.org> CC: Andrew Morton <akpm@linux-foundation.org> CC: Ingo Molnar <mingo@elte.hu> CC: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> CC: Peter Zijlstra <peterz@infradead.org> CC: Joe Perches <joe@perches.com> CC: Wei Weng ...
Sep 8, 5:34 pm 2008
Atsuo Igarashi
[PATCH] kgdb: could not write to the last of valid memor ...
Hi, I'm using i.MX31 ARM11 board which has 104Mbyte valid memory. When I'd invoked a print command to write the last of valid memory from gdb, there was no response from kgdb. It seems that the following line causes this problem. kernel/kgdb.c: write_mem_msg() ... 491 flush_icache_range(addr, addr + length + 1); If the last byte of valid memory is specified, the last cache line and the next cache line will be flushed by the ARM11 V6's function from flush_icache_range(). I'm not ...
Sep 8, 5:04 pm 2008
Jason Wessel
Re: [PATCH] kgdb: could not write to the last of valid m ...
I had to go digging through the archives to find out where the "+1" came from, as it pre-dates my involvement with kgdb. It turns out this actually appeared in the initial version of the 'X' 'M' gdb serial packet write. You can see historical first version if you scroll to line 973 at: http://kgdb.cvs.sourceforge.net/kgdb/kgdb-2/core-lite.patch?annotate=1.40 That means we have carried this for 3 years, 10 months with no one noticing it. :-) The flush_icache_range() is a "start" to ...
Sep 9, 6:14 am 2008
Willy Tarreau
Re: [update2] [PATCH] init: bzip2 or lzma -compressed ke ...
4 bytes aren't that much, the code looks a lot cleaner and touches less areas. I may be wrong, but I think that some #ifdef NEW_CODE and #ifdef IN_MEMORY can go too. Note that I have *not* analysed the dependency chain, it's just (...) etc... Regards, Willy --
Sep 8, 9:03 pm 2008
Uwe
Re: [PATCHSCRIPT] MAINTAINERS: sort and merge P and M fields
Hello Linus, I see you applied this patch but not the two patches from my script. Does this mean you consider this is not the right time for the latter two patches? If so should I trigger you again later? When? Or didn't you find time to look at the script? thanks and best regards Uwe --
Sep 9, 12:49 pm 2008
Paul Bolle
Re: [PATCHSCRIPT] MAINTAINERS: sort and merge P and M fields
If the MAINTAINERS file in the repository mentioned in that thread (http://www.modarm9.com/git/people/ukleinek/linux-2.6.git?a=shortlog;h=refs/heads/maint...) is the result of the current script, you need to clean up some of the results of merging the P and M fields (false positives not removed): $ grep "P:.*," MAINTAINERS P: Cirrus Logic Corporation (kernel 2.2 driver) <Cirrus Logic Corporation, Thomas Woller <twoller@crystal.cirrus.com>> P: Hans Verkuil, Andy Walls <hverkuil@xs4all.nl, ...
Sep 9, 4:37 pm 2008
Frank Mayhar
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.
Roland suggested this approach; I just want to snapshot the field That's not completely clear to me. I'm allowing for the possibility that it might be called during, say, process teardown. It's used in so If that's the consensus I'll do so. I assumed that speed was more That was the original plan but we (that is, Roland and I) decided to eliminate the separate storage for the dead-threads totals. It's now all kept in the totals field, for the whole thread group. Note that this ...
Sep 9, 1:29 pm 2008
Ingo Molnar
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.
[ i've extended the Cc: line accordingly. ] Ingo --
Sep 9, 12:03 am 2008
Oleg Nesterov
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.
Just to clarify: yes I see, .totals is also used by do_task_stat()/etc, but they can iterate over sub-threads as before. And my apologies if this was already discussed ;) Oleg. --
Sep 9, 9:13 am 2008
Oleg Nesterov
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.
I'll try to read this patch on weekend. A couple of naive questions The patch has a lot of rcu_read_lock(); sig = rcu_dereference(tsk->signal); This is bogus, task_struct->signal is not protected by RCU. However, at first glance the code (this and other funcs) looks correct... Either tsk == current, or the code runs under ->siglock. Or we know that ->signal can't go away (wait_task_zombie). As for this particular function, it seems to me that ->signal == NULL is not possible, ...
Sep 9, 9:01 am 2008
Hugh Dickins
Re: [PATCH tip] x86: unsigned long pte_pfn
That's a much better idea, thanks. Though it wasn't *quite* the same in the 32-bit 2-level case, because that mode didn't need any mask at all, the right shift was sufficient. I expected gcc to optimize away that difference, and often it does, but not always (I'm using 4.2.1 and CC_OPTIMIZE_FOR_SIZE here): pte_page() involved 228: c1 e8 0c shr $0xc,%eax 22b: c1 e0 05 shl $0x5,%eax before the unification, but afterwards 228: 25 00 f0 ff ff and ...
Sep 9, 8:42 am 2008
Jeremy Fitzhardinge
Re: [PATCH tip] x86: unsigned long pte_pfn
Neither of those sequences make much sense to me in isolation, but I guess it's setting up to index the struct page array. But in general, I think some CPUs are not very happy about shifting, so using the "and" is --
Sep 9, 9:52 am 2008
Linus Torvalds
Re: [git pull] x86 fixes
Latest version is out there now (leaving the gas-error-proofing for later), Linus --
Sep 9, 12:56 pm 2008
Ingo Molnar
Re: [git pull] x86 fixes
that did the trick - commit 14469a8 is visible now here :) Ingo --
Sep 9, 1:49 pm 2008
Ingo Molnar
Re: [git pull] x86 fixes
it fixes build errors in my test setup too. Ingo --
Sep 8, 11:05 pm 2008
Linus Torvalds
Re: [git pull] x86 fixes
oops. Or maybe I had forgotten to push it out. Linus "_now_ I did" Torvalds --
Sep 9, 1:46 pm 2008
David Sanders
Re: [git pull] x86 fixes
The Kconfig.cpu change wasn't in my git pull. David --
Sep 9, 1:37 pm 2008
Ingo Molnar
Re: [git pull] x86 fixes
Sam, i've applied Peter's fix (see the commit below) - do you have any objections to us carrying this in x86/urgent? It's needed for the gcc fix/workaround. Ingo ---------------> From 095fbc7296ccfe41688e8ef136587b23f0e8c123 Mon Sep 17 00:00:00 2001 From: H. Peter Anvin <hpa@zytor.com> Date: Mon, 8 Sep 2008 14:43:11 -0700 Subject: [PATCH] kbuild: fix cc-option and cc-option-yn Use -c instead of -S in cc-option and cc-option-yn, so we can probe options related to the ...
Sep 9, 12:19 am 2008
David Sanders
Re: [git pull] x86 fixes
I haven't seen this come across the wire in Linus's 2.6.27 tree. We're still going to do this right? David --
Sep 9, 12:18 pm 2008
Linus Torvalds
Re: [git pull] x86 fixes
It's commit 14469a8dd23677921db5e7354a602c98d9c6300f. Maybe it hadn't finished mirroring out? Linus --
Sep 9, 1:45 pm 2008
David Sanders
Re: [git pull] x86 fixes
I see it now thanks. David --
Sep 9, 1:53 pm 2008
Ma, Chinang
RE: 2.6.27-rc5 OLTP performance regression
Peter, We increased sched_shares_ratelimit and were able to recover the 2% performance regression. Thanks, -----Original Message----- From: Peter Zijlstra [mailto:peterz@infradead.org] Sent: Monday, September 08, 2008 11:04 AM To: Ma, Chinang Cc: Ingo Molnar; Srivatsa Vaddagiri; Mike Galbraith; Gregory Haskins; Steven Rostedt; Nick Piggin; Siddha, Suresh B; Wilcox, Matthew R; Tripathi, Sharad C; Chilukuri, Harita; linux-kernel@vger.kernel.org Subject: Re: 2.6.27-rc5 OLTP performance ...
Sep 9, 2:39 pm 2008
Adrian Bunk
Re: [git pull] x86 fixes
If I understand the binutils changelog correctly -march=generic32 support was added one week before the NOP code in question, so all cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 9, 10:43 am 2008
Adrian Bunk
Re: [git pull] x86 fixes
As far as I understood it it's a gas issue, and X86_GENERIC=y would therefore *not* fix the bug with gcc < 4.2 and affected binutils since we pass -mtune=i686 for gcc < 4.2 with X86_GENERIC=y. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 9, 9:57 am 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Yes, but if it's slower than jmp+mov than you actively want to avoid it. -hpa --
Sep 9, 10:01 am 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Well, for one thing, gcc doesn't actually pass the -mtune= option to gas, it turns out. But yes, "-Wa,-march=generic32" is really the proper fix. -hpa --
Sep 9, 10:03 am 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Compile just about any C program with -march=i686. -hpa --
Sep 9, 10:19 am 2008
H. Peter Anvin
Re: [git pull] x86 fixes
It doesn't, after all, with the current gcc driver. A future gcc driver may change that. Of course, now when this has popped up on the radar s/-march/-mtune/, but yes. I suspect it was actually added *in order* to support the NOP code. -hpa --
Sep 9, 11:12 am 2008
Mark Lord
Re: [git pull] x86 fixes
.. Our firewall here uses a Via C3-600 CPU, and CMOV has never worked on it. But based upon your posting, I have today upgraded the BIOS to the latest (2004) version. Now.. how can I check whether CMOV works or not? It's not listed in /proc/cpuinfo. Thanks --
Sep 9, 10:17 am 2008
Linus Torvalds
Re: [git pull] x86 fixes
It doesn't. I guess I don't care that much, since explicitly asking for some odd-ball case does indicate that you want a very specific kernel. I guess that's ok. I'm certainly not violently against it. Of course, I also suspect that we _could_ fix it so that things like memcpy really only have two cases: - the special inlined "rep movs" thing. Although I'm not actually sure gcc even does this, and I don't think we force it any more. - If doing a function call, we could just ...
Sep 9, 9:15 am 2008
Andi Kleen
Re: [git pull] x86 fixes
AFAIK they fixed that in newer BIOS with a microcode update. It's slow, but it works. -Andi --
Sep 9, 3:24 am 2008
Ingo Molnar
Re: [git pull] x86 fixes
yeah, in terms of precision of the definition it's certainly more towards the 'vague' end of the spectrum. OTOH, we do change our defaults slowly but surely to match the hardware. So this would give a practical definition. If someone _does_ complain legitimately, it doesnt cost us much to revert a tweak and delay it some more. So the idea is to have some sort of independent platform, instead of the current practice of distros like Debian chosing pretty much random options. No strong ...
Sep 9, 12:27 am 2008
Andi Kleen
Re: [git pull] x86 fixes
If it's not in cpuinfo it won't work. -Andi -- ak@linux.intel.com --
Sep 9, 11:40 am 2008
Linus Torvalds
Re: [git pull] x86 fixes
Well, more practically, the C3 simply _isn't_ a "modern 32-bit" one. It would fall into the other category of "pre-PPro, but at least better than i386". Linus --
Sep 9, 7:54 am 2008
Mark Lord
Re: [git pull] x86 fixes
.. .. Okay, done. And the binary does indeed have a ton of CMOV instructions. When running it, this appears immediately: Illegal instruction So much for the "BIOS upgrade fixes CMOV microcode" theory. Cheers --
Sep 9, 10:48 am 2008
Adrian Bunk
Re: [git pull] x86 fixes
We use 3DNow! for bigger memcpy's if the kernel is configured for a K7. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 9, 9:05 am 2008
Andrew Morton
Re: [PATCH bz #11425] tpm: release memory on init failure
On Mon, 8 Sep 2008 10:45:30 -0700 Seems I already fixed it: http://userweb.kernel.org/~akpm/mmotm/broken-out/drivers-char-tpm-tpmc-fix-error-patch... (identical to yours, with a different label name). --
Sep 8, 5:39 pm 2008
Paul Mackerras
Re: [PATCH] fix RTC_CLASS regression with PARISC
Yes as long as your rtc set functions don't need to sleep, since update_persistent_clock is called at interrupt level. Some powerpc systems have their RTC at the far end of an I2C bus, and the I2C access routines can sleep. Paul. --
Sep 8, 6:22 pm 2008
David Miller
Re: [PATCH] fix RTC_CLASS regression with PARISC
From: David Brownell <david-b@pacbell.net> Can you be more specific? Oh, you want me to use the string defined by that config option. Ok :-) But as far as I can tell this will only be set of RTC_HCTOSYS and users currently are allowed to not set that. If this code goes somewhere generic you would need to ifdef test on that, depending upon where you'd want to put it and how it would When would be "eventually closed" if I open it here and remember the pointer in a static local variable, ...
Sep 8, 8:51 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
One more point: that should probably use CONFIG_RTC_HCTOSYS_DEVICE instead of hard-wiring to "rtc0". Yeah, I'm sure your SPARCs have lots of RTCs to choose from -- not! -- but I'd like to see you end Why wouldn't it be, so long as it's eventually closed to prevent leakage? Other code can rtc_class_open() too; unlike a userspace open("/dev/rtc0", ...) this isn't an If you're concerned about stuff like "rmmod my-i2c-rtc-driver" losing (or "rmmod my-i2c-rtc-driver's-i2c-adapter") ... ...
Sep 8, 8:17 pm 2008
David Miller
Re: [PATCH] fix RTC_CLASS regression with PARISC
From: David Brownell <david-b@pacbell.net> Well if I cache it then we'll hold it forever and that's not so nice right? I'm going to put the missing rtc_close() in there for now to fix the leak. I'm happy to cache this if you think it's warranted, but then I see, as Paul mentioned this is needed for stuff like RTCs behind I2C. This change isn't in Linus's tree yet. --
Sep 8, 7:52 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
I'd be tempted to cache that ... notice how you never Depends on what patches have applied; I've lost track of whether it's now ok for update_persistent_clock() to sleep. Previously it was not, without a critical patch (appended). Having something like that work is *certainly* a goal, at least for those who don't want to get rid of those kernel NTP hooks entirely. And of course, once that works I'd claim it should live in drivers/rtc for the benefit of other platforms. :) - Dave ...
Sep 8, 5:55 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
I'll translate that as "-ENOPATCH". :) It'd suffice to fire a timer every 15 minutes or so, and close it if the NTP logic hasn't refreshed the clock since last time. You're right that the simplest scheme is to just open/close on each call. The extra work is so infrequent it OK by me. --
Sep 8, 9:14 pm 2008
Matthew Garrett
Re: [regression] Re: Controlling backlight on thinkpad x60
Yeah, X did retarded things in response to video events. That's been That sounds bizarre, and I can't reproduce it here. -- Matthew Garrett | mjg59@srcf.ucam.org --
Sep 9, 9:42 am 2008
Pavel Machek
[regression] Re: Controlling backlight on thinkpad x60
That's bad then, because ACPI video support does not work here. I can boot, and even Fn-home/end works, but it breaks with X. In old versions, it resulted on black screen after LID close in X. In 2.6.27-rc5, screen goes black as soon as X are started. (In old versions, I could use ibm-acpi, and fn-home/end worked even without CONFIG_ACPI_VIDEO...) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) ...
Sep 9, 8:29 am 2008
Pavel Machek
Re: [regression] Re: Controlling backlight on thinkpad x60
It was same old X. New X fix that. But I still have two backlight devices... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Sep 9, 9:55 am 2008
Matthew Garrett
Re: [regression] Re: Controlling backlight on thinkpad x60
Should be fixed in .28. Sorry about that, confusion over which DRM branches were getting merged meant it missed .27. -- Matthew Garrett | mjg59@srcf.ucam.org --
Sep 9, 9:58 am 2008
Pavel Machek
Re: [regression] Re: Controlling backlight on thinkpad x60
Hmm, I have updated my X server, and it now works with ACPI_VIDEO... which means that this is probably not affecting huge number of people. Hmm... something is still funny. I have root@amd:/sys/class/backlight/acpi_video0# echo 1 > brightness root@amd:/sys/class/backlight/acpi_video0# echo 0 > brightness root@amd:/sys/class/backlight/acpi_video0# cd ../acpi_video1/ root@amd:/sys/class/backlight/acpi_video1# echo 0 > brightness root@amd:/sys/class/backlight/acpi_video1# echo 7 > ...
Sep 9, 8:36 am 2008
linux-os (Dick Johnson)
Re: Linux 2.6.25.17
The previous kernel I used was linux-2.6.22.1 and this kernel doesn't have the problem. I discovered the problem when I built and installed the "latest stable" 2.6.25.17. My main working disk, a new SATA, showed severe errors during each reboot. I can duplicate this at will and remove the errors by removing my second CPU! Cheers, Dick Johnson Penguin : Linux version 2.6.25.17 on an i686 machine (4786.48 BogoMips). My book : ...
Sep 9, 4:59 am 2008
mark gross
Re: kernel BUG at drivers/pci/intel-iommu.c:1373!
I have a bad feeling about this. Can you retest booting with a kernel parrameter "intel_iommu=strict"? --
Sep 9, 9:19 am 2008
Michael J Gruber
Re: [ANNOUNCE] Guilt v0.31
Following up on my own mumble: There are some lesser known make targets for git which almost do that already. make install-html uses only asciidoc and xsltproc, but not xmlto, for generating (and installing) html doc, which makes some people happier already. make quick-install-doc installs the man pages (and only the man pages, not the html version) by using the "man" branch provided by "the man" (JC). I would go about renaming quick-install-doc to quick-install-man, introducing ...
Sep 9, 6:02 am 2008
Junio C Hamano
Re: [ANNOUNCE] Guilt v0.31
What does it improve? IOW, can't you do what you want to do (I am assuming that what you want to do is to be able to copy out the pregenerated contents from convenience branches) without such a rename? If you rename the target, I am reasonably sure you would break somebody's build procedure. It is a separate topic if there are large number of such somebody, or just a limited few. --
Sep 9, 8:13 am 2008
Michael J Gruber
Re: [ANNOUNCE] Guilt v0.31
This works because you have the full toolchain, especially xmlto. He might want an install target which installs doc from the doc-tarball or from the man- and html-branches. Be it a Makefile in those convenience branches. I know it's just a tar or cpio away, of course. I might look at a Makefile for the doc branches. Michael --
Sep 9, 3:10 am 2008
Junio C Hamano
Re: [ANNOUNCE] Guilt v0.31
Actually, after a major release is the worst time to push for such an agenda. Especially when that release burned the maintainer with numerous complains against a major change in it, that has been advertised for a long time, which was pushed by other people for no good reason other than "such a clean-up would make things much tidier". Grrr ;-). --
Sep 9, 9:02 am 2008
Michael J Gruber
Re: [ANNOUNCE] Guilt v0.31
It makes it more systematic. Right now: Documentation/Makefile: all: builds html and man install: installs only man (depends on man) install-{info,html}: installs $foo (depends on $foo) quick-install: installs man from man branch Makefile: doc: builds html and man (-C D all) install-doc: installs only man (-C D install) install-{info,html}: installs $foo (-C D install-$foo) quick-install-doc: installs man from man branch (-C D install-$foo) So there is a distinct asymmetry between ...
Sep 9, 8:40 am 2008
Michael J Gruber
Re: [ANNOUNCE] Guilt v0.31
For many projects, things become unstable after a major release. This is the time to experiment. Right before a major release, everything needs to settle down, with a focus on bugfixes and stability. That said, I know the "logic" of the make targets now, so I really don't care any more what they are named. I just meant to keep others from being confused. So I guess I'll go with the existing naming and fit Junio, I think you handled that in the best possible way, and I felt sympathetic with ...
Sep 9, 9:29 am 2008
Eric W. Biederman
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
A very esoteric oops that hasn't shown up for two years. Please let's look at this and see what it would take to fix this properly. What are we trying to achieve by reading utsname? Eric --
Sep 9, 8:09 am 2008
Chuck Lever
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
If the upper layers are responsible for providing the utsname, you will need to fix up lockd and the NFS server's callback client too, at It appears to be used only for RPC's AUTH_SYS credentials. The nodename is used to identify the caller's host. See RFC 1831, Appendix A: http://rfclibrary.hosting.com/rfc/rfc1831/rfc1831-16.asp I'm not terribly familiar with uts namespaces, though. Can someone explain why we need to distinguish between these for AUTH_SYS if the I ...
Sep 9, 10:07 am 2008
Serge E. Hallyn
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
But an easily reproducible one. It's not as though we'll stop looking for the right fix just bc we have It looks like it gets copied into the sunrpc messages so I assume it is a part of the sunrpc spec? I don't want to do this, but we *could* put a conditional in utsname() to have it return init_utsname if current->nsproxy is null... -serge --
Sep 9, 8:29 am 2008
Serge E. Hallyn
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
Thanks, Cedric. Eric is probably right about the long-term fix, but yeah it might take a while to properly wade through the sunrpc and nfs layers to store the nodename at nfs mount time, and in the meantime this fixes a real oops. --
Sep 9, 5:43 am 2008
Chuck Lever
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
cl_server is the server-side. cl_nodename is the "machine name" of It's worth investigating. Just enable RPC tracing (/usr/sbin/rpcdebug -m rpc -s all) before shutting down the client. NFS unmounting is historically difficult because during a system shutdown, unmounting is the last thing to occur, and usually happens after most system services (such as the portmapper service) have become unavailable. That's fine for local file systems, but it makes for a rather dodgy ...
Sep 9, 12:00 pm 2008
Eric W. Biederman
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
Actually looking at the code. It looks like a proper fix may be even simpler. Why do we have both clnt->cl_server and clnt->cl_nodename? Or is cl_server Which is interesting when the problem happens during NFS unmount. Although frankly it could fail anyway. It seems strange that we are creating a client during unmount anyway. Eric --
Sep 9, 11:20 am 2008
Eric W. Biederman
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
Thanks, Darn. Looks like we need to capture both names at the same or a similar point. Interesting. Eric --
Sep 9, 1:08 pm 2008
Cedric Le Goater
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
yes. well, my eyes are making progress in the NFS code. it will take some I nearly did that one but it will hide future misusage of utsname(). So I think it's better to keep it that way, and let the machine oops when we need to fix our code. C. --
Sep 9, 8:40 am 2008
Cedric Le Goater
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
struct rpc_create_args seems to be used only as a stack argument I see. It make sense but, looking at the code, the nfs and sunrpc will need some heavy changes ... Thanks, C. --
Sep 9, 4:54 am 2008
Andrew Morton
Re: [Patch] hfs: fix namelength memory corruption
On Mon, 8 Sep 2008 15:35:05 +0200 I can't really use the above text in a changelog. Think how it will "corrupting". I assume that this bug was found using a deliberately corrupted filesystem? If so, that sort of thing should be described in the changelog. Please spend a little more time (say, 60 seconds) preparing patch Please send a full changelog for this patch. I can (and often do) end up writing these things myself, but it's not a very satisfactory arrangement, particularly ...
Sep 8, 5:14 pm 2008
Peter Zijlstra
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
Right, I get the domain stuff - that's good stuff. But, let my try and confuse you with ASCII-art ;-) Domain [0-7] group [0-3] group [4-7] Domain [0-3] group[0-1] [group2-3] Domain [0-1] group 0 group 1 (right hand side not drawn due to lack of space etc...) So we have this tree of domains, which is cool stuff. But then we have these groups in there, which closely match up with the domain's child domains. So my idea was to ditch the groups ...
Sep 8, 11:54 pm 2008
Peter Zijlstra
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
Humm, are you saying each cpu has its own domain tree? My understanding was that its a global structure, eg. given: domain[0-1] domain[0] domain[1] Afaict the only flexibility you loose is that you cannot make groups larger/smaller than the child domain - which given that the whole premesis of the groups existence is that the inner-group balancing Those cacheline bounces could be mitigated by splitting sched_domain into two parts with a cacheline aligned dummy and keep the ...
Sep 9, 1:25 am 2008
Peter Zijlstra
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
Sure, and those comments only tell me what it does, not why it does it. But then why not add a domain level that represents the packages and power schedule on that? That way you dont have to change the domain structure depending on the load balance goals. Also, that justification is just wrong - AMD has similar constructs in its cpus, and god knows what other architectures do, so hiding this in Yes I understand, but we really need to do something about it - and everybody with interests in ...
Sep 8, 11:18 pm 2008
Nick Piggin
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
I agree it is terrible, and subsequent "features" weren't really properly What sub-domains? The domains-minus-groups are just a graph (in existing setup code AFAIK just a line) of cpumasks. You have to group because you want enough control for example not to pull load from an unusually busy CPU from one group if it's load should actually be spread out over a smaller domain (ie. probably other CPUs within the group we're looking at). It would be nice if you could make it simpler of course, ...
Sep 8, 11:31 pm 2008
Suresh Siddha
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
Peter, Almost every if() stmt/basic block in the power savings code has comments around it. And also power-savings code is 50 lines (mostly comments) Why? Based on the power vs perf, we wanted to construct topologies differently. Reason for the complexity is, in some of the Intel cpu's, while the cores share the same package they have different last level caches. So for performance, we want to differentiate based on last level caches power-savings code is very small part of that nightmare ...
Sep 8, 6:20 pm 2008
Nick Piggin
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
It's fundamentally two different things anyway though. I don't see any theoretical improvement, and it definitely wouldn't improve the practical side much if any because the biggest problem I don't think is the simple walks themselves but the calculations and stuff. If it can yield something clearly better that is impossible using domains and groups, I could change my mind. --
Sep 9, 2:03 am 2008
Nick Piggin
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
But it's all per-cpu, so you'd have to iterate down other CPU's child domains. Which may get dirtied by that CPU. So you get cacheline bounces. You also lose flexibility (although nobody really takes full advantage I'm not saying you couldn't do it (reasonably well -- cacheline bouncing might be a problem if you propose to traverse other CPU's domains), but Yes it would be great if it happens. --
Sep 9, 12:59 am 2008
H. Peter Anvin Sep 9, 4:50 pm 2008
Hugh Dickins
Re: [PATCH] mm: ifdef Quicklists in /proc/meminfo
Are you harking back to the good old days of 2.6.24? Or looking ahead to a bright new future? There was a defect, in the TLB flushing sequence IIRC, which got them kicked out in a hurry. They might return - but I think everybody would prefer to have a better way of applying the existing allocators than this extra pool. Hugh --
Sep 9, 5:04 am 2008
Jeremy Fitzhardinge Sep 9, 4:48 pm 2008
Keith Owens
Re: Recent copy of libpcap from CVS
Thanks, but that is still version 0.9.8 with no support for usb. It defines DLT_USB and DLT_USB_LINUX but has no code to actually read from /dev/usbmon. I need the CVS version of libpcap. --
Sep 8, 5:07 pm 2008
Patrick McHardy
Re: Recent copy of libpcap from CVS
Thats odd, the version I had has USB support and that one also appears to be missing my VLAN patches that are in current CVS. I'll try to figure out what went wrong and send you both a new tarball. --
Sep 8, 8:11 pm 2008
David Miller
Re: Recent copy of libpcap from CVS
From: Keith Owens <kaos@ocs.com.au> Sorry that's the most recent CVS tree Patrick had when I built that GIT repo. --
Sep 8, 5:10 pm 2008
Andrew Morton
Re: [PATCH 1/1] system call notification with self_ptrace
On Mon, 08 Sep 2008 14:02:01 +0200 It sounds like it might be useful. Are there any userspace tools available with which people can utilise Maintainers of the other 30-odd architectures would appreciate a test application which they can use to develop and test their ports, please. Michael Kerrisk will no doubt be looking for manpage assistance. Please cc him on this material. It would be good to get suitable testcases integrated into LTP (if LTP has ptrace tests). The patch title ...
Sep 8, 5:04 pm 2008
Oleg Nesterov
Re: [PATCH 1/1] system call notification with self_ptrace
I still think this patch shouldn't change handle_signal(). Once again. The signal handler for SIGSYS can first do sys_ptrace(PTRACE_SELF_OFF) (which is filtered out), and then use any other syscall, so this change is not needed, afaics. The overhead of the additional PTRACE_SELF_OFF syscall is very small, especially compared to signal delivery. I don't think this functionality will be widely used, but this change adds the unconditional overhead to handle_signal(). Btw, the check above ...
Sep 9, 5:43 am 2008
Avi Kivity
Re: [PATCH 1/2] x86: Move VMX MSRs to msr-index.h
Might as well move these two bitmask definitions. -- error compiling committee.c: too many arguments to function --
Sep 9, 6:47 am 2008
Yang, Sheng
Re: [RFC][PATCH 0/2] x86: Add "virt flags"
Thanks! I will update the patch to add another category, and merge the array. -- regards --
Sep 8, 8:32 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 0/5] fix exhaustion of ZONE_DMA with swiotlb ...
On Mon, 8 Sep 2008 18:10:09 +0900 Thanks, works well for me :) Tested-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --
Sep 9, 3:41 am 2008
Thomas Gleixner
Re: [regression] __tick_program_event of hpet is stuck
Frans, what's the highest value which you have seen ? Thanks, tglx --
Sep 9, 3:49 am 2008
Thomas Gleixner
Re: [regression] __tick_program_event of hpet is stuck
Yes, I wanted that. Some new debug outputs are usually I have not a single machine where this shows up, but I really wanted to get some data. It worked :) Thanks, tglx --
Sep 9, 12:36 pm 2008
Thomas Gleixner
Re: [regression] __tick_program_event of hpet is stuck
It's nothing to worry about. I out the WARN_ON() there to get some information about the validation of min_delta_ns and to see in which range this happens. I'm going to remove the WARN_ON() and just keep the information that we need to increase the min_delta_ns value for safe operation. Thanks, tglx --
Sep 9, 6:27 am 2008
Frans Pop
Re: [regression] __tick_program_event of hpet is stuck
These are the highest I've seen, but that's possibly because I haven't left the system running for longer. There's just under an hour between the messages (kern.log has 00:59:17, 01:56:38, 02:51:23 for the three increases listed above) with the first fairly shortly after boot. I've just awakened the laptop from suspend and will let it sit for the rest of the day. If I get any higher values I'll let you know. --
Sep 9, 5:38 am 2008
Frans Pop
Re: [regression] __tick_program_event of hpet is stuck
Ah, OK. A WARN_ON is perhaps a bit heavy for that, unless you actually want to be flooded with reports :-) In my case it prevented me from running the kernel on other boxes than the laptop because I feared some possibly important issue. Also, a single line can easily be filtered out from logcheck reports while Sounds like a plan; have already done so locally. Here are some results I've got so far. You can see reboots and supend to RAMs. Maximum observed value on the HP 2510p is now 80000 ...
Sep 9, 12:20 pm 2008
Avi Kivity
Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP pte flag for IO ...
Could PTE_SPECIAL, added for get_user_pages_really_fast(), be reused for this? -- error compiling committee.c: too many arguments to function --
Sep 9, 6:32 am 2008
Keir Fraser
Re: [Xen-devel] Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP ...
Oh, yes, our _PAGE_IO has the same meaning. -- Keir --
Sep 9, 9:05 am 2008
Avi Kivity
Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP pte flag for IO ...
It's a "don't refcount me" flag, which is not sematically the same as No. We don't care if a page is an I/O page or RAM (other than refcounting correctness and page attributes, which are handled by other means). -- error compiling committee.c: too many arguments to function --
Sep 9, 7:56 am 2008
Keir Fraser
Re: [Xen-devel] Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP ...
That's basically what our _PAGE_IO flag (in our old Linux patchset) means. We use it to cause pte_pfn() to return an invalid pfn and hence avoid reference counting that way. Since kernel mappings are never reference counted (I think?) perhaps we could use _PAGE_SPECIAL even if it is restricted to use on user mappings. -- Keir --
Sep 9, 8:29 am 2008
Jeremy Fitzhardinge
Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP pte flag for IO ...
I'm not sure; I still don't really understand how _PAGE_SPECIAL gets used, other than being user-mode mapping only. But in principle, _PAGE_IOMAP could be set on both kernel and user mappings (if you direct map a device into a process address space), so I think they would conflict then? Also, _PAGE_SPECIAL is also shared with _PAGE_CPA_TEST, which is only used on kernel mappings, so they can co-exist happily. Is _PAGE_IOMAP at all useful for device passthrough in kvm? J --
Sep 9, 7:47 am 2008
Jeremy Fitzhardinge
Re: [Xen-devel] Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP ...
Well, _PAGE_IOMAP's most important semantic from Xen's perspective is that the frame number is considered to already be an MFN and so isn't converted. It may be that _PAGE_SPECIAL is also useful for its "no refcount" properties, but we could set both in that case. At present we can't set _PAGE_SPECIAL on kernel mappings because we assume its usermode only, and its shared with _PAGE_CPA_TEST which is kernel-only. Most _PAGE_IOMAP mappings are in kernel space, but I wouldn't discount user ...
Sep 9, 8:48 am 2008
Pierre Ossman
Re: MMC host driver requirements
On Sun, 7 Sep 2008 23:52:28 +0200 Hmm... I thought the CB710/720 only had an SDHCI interface for the Requests are serialised, yes. But you could in theory get set_ios() calls during an ongoing request. Doing so would be very undefined though so it should be sufficient to just avoid crashing the entire Not much really. The cmd->data pointer is for convenience as it allows None at all. You have to specify your restrictions in the mmc_host structure fields (note that you cannot restrict ...
Sep 9, 12:18 am 2008
Michał Mirosław
Re: MMC host driver requirements
SDHCI supports CB712/714 parts. I already investigated that CB710 is not I checked yesterday that indeed nothing bad happens, but looking at the code I can see that mmc_request_done can call ->request() with a retried request so, unless gcc optimizes tail-calls, recursion Is it safe to assume that cmd->data is NULL when command type is other than ADTC? I've looked briefly through drivers/mmc/core/*_ops.c, but I'll give it a try. Thanks for your reply. I'll post the code for review ...
Sep 9, 2:06 am 2008
Alan Stern
Re: [PATCH 1/1] drivers/usb/host/pci-quirks.c: wait for ...
As far as I know, it was indeed just grabbed out of the air. The spec My BIOS has the same bug. I wouldn't mind seeing the delay reduced. Alan Stern --
Sep 9, 7:13 am 2008
Andrew Morton
Re: [PATCH 1/1] drivers/usb/host/pci-quirks.c: wait for ...
(cc linux-usb) I guess it risks breaking someone else's system. Or perhaps the number was just grabbed out of the air. Can we do a separate quirk just for that machine (and ones with the same bug)? --
Sep 8, 9:44 pm 2008
Jesse Barnes
Re: [Bug #11439] [2.6.27-rc4-git4] compilation warnings
Not yet; I'll include it in my next pull request though. Thanks, Jesse --
Sep 8, 10:01 pm 2008
Andrew Morton Sep 8, 9:08 pm 2008
Dave Airlie
Re: [PATCH] rate limit drm:radeon_cp_idle/reset errors
This looks like a userspace problem, some app is accessing the drm file descriptror without holding the drm lock, this is very illegal. Its probably a race between the X server and the AIGLX driver. Dave. --
Sep 9, 1:15 am 2008
Roberto Oppedisano
Re: [PATCH] rate limit drm:radeon_cp_idle/reset errors
I also think it's a userspace problem. I found it while playing with KDE4.1 kwin/Compiz, less than a month ago, always running on a current vanilla git kernel: I noticed the syslog storm only recently (my bad, because judging from the disk light I think it has always been there). If you think it's useful I can do some test with older kernels (will take some time btw). R --
Sep 9, 3:08 am 2008
Andrew Morton
Re: [PATCH] rate limit drm:radeon_cp_idle/reset errors
Thanks. I should have asked earlier: was 2.6.26 OK? Any other kernels tested? --
Sep 9, 1:12 am 2008
Roberto Oppedisano
Re: [PATCH] rate limit drm:radeon_cp_idle/reset errors
This is against vanilla current git. Linux poppero1 2.6.27-rc5-00000-g7686ad5-dirty #1 PREEMPT Sun Sep 7 08:47:08 CEST 2008 i686 GNU/Linux R --
Sep 9, 12:37 am 2008
Nick Piggin
Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi + ...
Great, thanks very much for reporting and testing. --
Sep 9, 12:55 am 2008
Nick Piggin
Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi + ...
Thanks for that, it clearly shows the virtual address allocator is allowing an overlapping allocation after a vm_unmap_aliases() call. Unfortunately, my "random" test case happened not to trigger that... I should have paid more attention to edge cases rather than just random testing. Anyway, I hope this fix should solve the problem for you? (it fixes it here)
Sep 8, 8:04 pm 2008
Krzysztof Helt
Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi + ...
On Tue, 9 Sep 2008 13:04:47 +1000 Your patch fixes two WARN_ON dumps from my original dmesg (agp related and module loading related). The remaining one is the acpi kobject duplication. Tested-by: Krzysztof Helt <krzysztof.h1@wp.pl> Thanks a lot Nick, Krzysztof ---------------------------------------------------------------------- Tanie polaczenia z Polska i ze swiatem Sprawdz >> http://link.interia.pl/f1f00 --
Sep 8, 10:05 pm 2008
Luis R. Rodriguez
Re: [PATCH 1/2 v5] cfg80211: Add new wireless regulatory ...
The only case I didn't test was the case for Intel's drivers, all other drivers would use regulatory_hint() based on an alpha2 and that worked swell. I found some issues with the case of providing a built regulatory domain so I'm updating it now and am also updating some other parts of the code for the old regulatory infrastructure, it seems there were a few obvious issues we didn't catch there yet. I hope to have the new doc for you with a few fixes and an example as to what Intel drivers ...
Sep 8, 10:48 pm 2008
Aaron Straus
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
Hi, One other piece of information. Of the bisected offending commit: commit e261f51f25b98c213e0b3d7f2109b117d714f69d Author: Trond Myklebust <Trond.Myklebust@netapp.com> Date: Tue Dec 5 00:35:41 2006 -0500 NFS: Make nfs_updatepage() mark the page as dirty. =20 This will ensure that we can call set_page_writeback() from within nfs_writepage(), which is always called with the page lock set. =20 Signed-off-by: Trond Myklebust ...
Sep 9, 12:46 pm 2008
Luca Tettamanti
Re: [2.6.27] overlapping early reservations [was: early ...
I mean git pulled from Linus' tree. Btw, I'm attaching dmesg with debug. Luca
Sep 9, 2:48 pm 2008
Andrew Morton
Re: [PATCH] Cleanup to make remove_memory() arch neutral
On Mon, 08 Sep 2008 14:52:34 -0700 I spent some time trying to build-test this on ia64 and gave up. How the heck do you turn on memory hotplug on ia64? --
Sep 8, 5:56 pm 2008
Randy Dunlap
Re: [PATCH] Cleanup to make remove_memory() arch neutral
After using ia64 defconfig, all I had to do was enable Sparse Memory model instead of Discontiguous. --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 6:14 pm 2008
Badari Pulavarty
Re: [PATCH] Cleanup to make remove_memory() arch neutral
Thanks for catching it. I forgot that it was being used by acpi. Since we didn't export it for ppc and s390, I assumed its safe to remove the export. Sorry !! Thanks, Badari --
Sep 9, 8:12 am 2008
Yasunori Goto
Re: [PATCH] Cleanup to make remove_memory() arch neutral
EXPORT_SYMBOL_GPL(remove_memory) is removed. It is required by drivers/acpi/acpi_memhotplug.ko. -- Yasunori Goto --
Sep 8, 6:21 pm 2008
Chris Leech
[PATCH] 24-bit types: typedef and functions for accessin ...
Both iSCSI and Fibre Channel make use of 24-bit big-endian values in frame headers. This patch defines __be24 and __le24 typedefs for a structure wrapped around a 3-byte array, and functions to convert back and forth to a 32-bit integer. The undefs in iscsi_proto.h are because of the different calling convention for the existing hton24 macro in the iSCSI code. iSCSI will be converted in a subsequent patch. Changes from last posting: Switched from preprocessor macros to inline functions. ...
Sep 9, 3:59 pm 2008
Jens Axboe
Re: Block: Trouble with kobject initialisation for blk_c ...
I think this patch is a step in the right direction, lets get rid of that pesky kobject just for the cmdfilter. Can you resend the patch _without_ the sysfs changes and link support? We haven't released a kernel with cmd filter support yet, so we can change the location still and not have to worry about compatability. -- Jens Axboe --
Sep 9, 3:28 am 2008
FUJITA Tomonori
Re: Block: Trouble with kobject initialisation for blk_c ...
On Tue, 9 Sep 2008 12:28:45 +0200 The sysfs changes looks too much for 2.6.27-rcX but without the sysfs changes, we have the cmdfilter under /sys/block/sda/queue/, right? We don't need to worry about compatibility, but /sys/block/sda is more appropriate? (though I don't think that the cmd filter is a good idea so I don't care much). Jens, would it be better to just disable the cmdfilter stuff for 2.6.27? It's too late for another try to fix this broken stuff, I guess. --
Sep 9, 5:45 am 2008
Jens Axboe
Re: Block: Trouble with kobject initialisation for blk_c ...
Yeah, it's certainly starting to look like it... The amount of changes to unbreak it are too large to submit now, so lets postpone it until 2.6.28. -- Jens Axboe --
Sep 9, 6:18 am 2008
Elias Oltmanns
Re: Block: Trouble with kobject initialisation for blk_c ...
Well, but why is it in struct request_queue then? Is it going to be I won't bother with the patch against 2.6.27-rc then. What about 2.6.28 though? Not that I really care whether the cmd_filter appears under sda/ or sda/queue/, I just wanted to point out that the sysfs code can be simplified considerably. The things I do care about, of course, are the two problems that have been fixed by my patch: There are no spurious warnings and stack dumps due to kobject reinitialisation and ...
Sep 9, 9:57 am 2008
Alan D. Brunelle
Re: Benchmarking results: DSS elapsed time values w/ rq_ ...
Unfortunately, ia64 does /not/ currently support the standard lockstat reporting interface. However, I was able to utilize Caliper (an HP ia64 profiler similar to Oprofile) and gathered a couple of interesting values. These are averaged over 10 runs each (10 w/ rq_affinity=0 and 10 w/ rq_affinity=1, alternating between the two). First: For the overall system we can gauge how efficient the instruction stream is by looking at un-stalled instructions: w/ rq_affinity set to 0 we see 24.001% of ...
Sep 9, 9:54 am 2008
Jan Beulich
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3)
Not for me - the original patch made the field common to 32/64-bits, so the delta patch (with the original one re-enabled [or the revert removed]) should be able to use it. It's also suspicious that you get this only in one place, while the field is being used several times... Jan --
Sep 9, 1:15 am 2008
Jan Beulich
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
I just spotted it - it's a mismerge on my part. Will send v3 in a minute. Jan --
Sep 9, 12:36 am 2008
Ingo Molnar
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3)
build failure: arch/x86/kernel/cpu/common.c: In function 'cpu_detect': arch/x86/kernel/cpu/common.c:445: error: 'struct cpuinfo_x86' has no member named 'x86_phys_bits' Ingo --
Sep 9, 12:58 am 2008
Ingo Molnar
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
yeah - questionable in the sense of assuming that it's all non-RAM. But there's nothing weird about this testbox (it's a usual whitebox) - and two other testboxes failed as well after some time (no crashlog available from them). A 64-bit testbox didnt fail so it seems 32-bit only. Ingo --
Sep 9, 12:31 am 2008
Ingo Molnar
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3)
thanks, i've applied the delta below. Ingo ----------> From b9397fe215791b4f83bda23b9f3c0d5200e94558 Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Tue, 9 Sep 2008 09:45:32 +0200 Subject: [PATCH] x86: x86_{phys,virt}_bits field also for i386, fix fix mismerge. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> --- arch/x86/kernel/cpu/common.c | 15 +++++---------- arch/x86/mm/ioremap.c | 2 +- 2 files ...
Sep 9, 12:47 am 2008
Jan Beulich
[PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3)
Make the x86_{phys,virt}_bits common for 32- and 64-bits, and use the former in ioremap's phys_addr_valid() check also on 32bit/PAE. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- arch/x86/kernel/cpu/common.c | 17 ++++++++++++++++- arch/x86/mm/ioremap.c | 15 +++++++-------- include/asm-x86/processor.h | 4 ++-- 3 files changed, 25 insertions(+), 11 deletions(-) --- linux-x86.orig/arch/x86/kernel/cpu/common.c +++ linux-x86/arch/x86/kernel/cpu/common.c @@ -439,6 ...
Sep 9, 12:43 am 2008
Jan Beulich
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
We shouldn't fail them, they're valid. What the crash means is that even addresses below 1Mb are considered out of range, which I can only take as x86_phys_bits being zero (or a bogus very small number) on secondary (or all) CPUs. However, looking at the call tree I can't see how that could happen (provided CPUID doesn't produce garbage output): - smp_store_cpu_info(), as it always did, pre-initializes the new CPU's info with boot_cpu_data, and calls identify_secondary_cpu() - ...
Sep 9, 12:22 am 2008
Jesse Barnes
Re: [PATCH] fix printk format compiler warnings
I suppose. They only appear with certain configs and are fairly harmless, so I wasn't planning on pushing them into 2.6.27. But I'll include it in my next pull request anyway, since you're such a cool guy and I want to make you happy :) (assuming 2.6.27 proper isn't released in the next couple of day...) Thanks, Jesse --
Sep 8, 9:54 pm 2008
Rafael J. Wysocki
Re: [Suspend-devel] Resume performance
Well, it should be a bit less than that. Usually, the resume shouldn't take That may matter a lot. It would be interesting to check if detaching any of Of course the USB devices are also resumed and that takes time (comparable to the boot time). Thanks, Rafael --
Sep 9, 7:13 am 2008
Anders Aagaard
Re: [Suspend-devel] Resume performance
Correct, and I'm also thinking it's the disks, I'll try that as soon as --
Sep 9, 1:31 pm 2008
Anders Aagaard Sep 9, 1:09 pm 2008
Rafael J. Wysocki
Re: [Suspend-devel] Resume performance
This is with the NVidia driver I guess? So your resume appears to be 1.6 s faster without the USB devices. Perhaps the disks also add to the latency. If you have CONFIG_PCIEASPM set in the kernel config, you can try to unset it and see if that changes anything. Thanks, Rafael --
Sep 9, 1:31 pm 2008
Andy Whitcroft
Re: [PATCH 0/4] Reclaim page capture v3
We have customers complaining about usability of hugepages. They are keen to obtain the performance benefits from their use, but put off by the difficulty in managing systems with them enabled. That has led to series of changes to improve availability and managability of hugepages, including targetted reclaim, anti-fragmentation, and the dynamic pool. We obviously test hugepages with a series of benchmarks but generally in controlled environments where allocation of hugepages is guarenteed, ...
Sep 9, 9:35 am 2008
Nick Piggin
Re: [PATCH 0/4] Reclaim page capture v3
But you have customers telling you they're getting annoyed because of this? Or you have your own "realistic" workloads that allocate hugepages on demand (OK, when I say realistic, something like specjbb or whatever is obviously a reasonable macrobenchmark even if it isn't strictly They shouldn't, because that's sad and deadlocky. But yes I agree it Yeah, but blocking the whole pool gives a *much* bigger chance to coalesce freed pages. And I'm not just talking about massive order-10 ...
Sep 8, 8:31 pm 2008
Mariusz Kozlowski
Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
I applied your fix to 2.6.27-rc5-mm1 (it doesn't apply to mainline) and the result is that when I first rmmod ide-cd_mod it's ok, but it seems that the module is not unregistered because when you rmmod ide-cd_mod again immediately you will see this: BUG: atomic counter underflow at: Pid: 4920, comm: rmmod Tainted: G W 2.6.27-rc5-mm1 #4 [<c01ec579>] ? kobject_release+0x0/0x59 [<c01ed300>] kref_put+0x4c/0x7c [<c01ec4cc>] kobject_put+0x20/0x4e [<c01aed10>] ? ...
Sep 9, 2:07 am 2008
Jens Axboe
Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Looks like something for Bart to look into. -- Jens Axboe --
Sep 9, 6:21 am 2008
Dmitri Vorobiev
Re: 2.6.27-rc5-mm1
Hi, <<<<<<<< [dmitri.vorobiev@amber linux-2.6.27-rc5]$ make ARCH=mips CROSS_COMPILE=mips-unknown-linux-gnu- malta_defconfig # # configuration written to .config # [dmitri.vorobiev@amber linux-2.6.27-rc5]$ make ARCH=mips CROSS_COMPILE=mips-unknown-linux-gnu- scripts/kconfig/conf -s arch/mips/Kconfig # # configuration written to .config # CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC ...
Sep 9, 4:07 am 2008
Mariusz Kozlowski
Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Sure. It applied fine to clean current mainline. It looks ok now. No oopses and no BUGs. But still after a fresh boot I see # modprobe ide-cd_mod # rmmod ide-cd_mod # rmmod ide-cd_mod # rmmod ide-cd_mod ERROR: Module ide_cd_mod does not exist in /proc/modules # modprobe ide-cd_mod # rmmod ide-cd_mod # rmmod ide-cd_mod ERROR: Module ide_cd_mod does not exist in /proc/modules You need to rmmod ide-cd_mod twice to get it unloaded. After another modprobe/rmmod it works as ...
Sep 9, 5:14 am 2008
Jens Axboe
Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Can you try the below patch from Elias? diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c index 304ec73..0120c8e 100644 --- a/block/blk-sysfs.c +++ b/block/blk-sysfs.c @@ -9,12 +9,6 @@ #include "blk.h" -struct queue_sysfs_entry { - struct attribute attr; - ssize_t (*show)(struct request_queue *, char *); - ssize_t (*store)(struct request_queue *, const char *, size_t); -}; - static ssize_t queue_var_show(unsigned int var, char *page) { diff --git a/block/blk.h ...
Sep 9, 3:29 am 2008
Johannes Berg
Re: [PATCH -mm] Fix dev_load() compilation again
Hi, I think I like this patch better than Stephen's, but despite causing the Rusty, can you take http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.27-rc5/2= .6.27-rc5-mm1/broken-out/net-fix-compilation-ng-when-config_module.patch (although I'd rather see the blank line stay) and fold it into that patch or put it into the tree that Stephen pulls? johannes
Sep 8, 11:27 pm 2008
Stephen Hemminger
Re: [PATCH 1/3] PCI: vpd handle longer delays in access
On Mon, 8 Sep 2008 14:26:05 -0700 cond_resched sounds like the best suggestion. The problem is that this code needs to deal with hardware that could be fast, or slow depending on how the device is implemented. --
Sep 9, 9:55 am 2008
Arjan van de Ven
Re: [PATCH 1/3] PCI: vpd handle longer delays in access
On Tue, 9 Sep 2008 09:55:48 -0700 one option is poll fast for <X jiffies> and then back off with sleeping delays -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Sep 9, 10:01 am 2008
Adrian Bunk
Re: Building Kernel with -O0
There are several places in the kernel where we e.g. rely on gcc removing dead code, and otherwise the linking of the kernel fails. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 9, 9:04 am 2008
David Howells
Re: Building Kernel with -O0
Compiling with -O0 has worked previously, but not for a while. David --
Sep 9, 3:24 pm 2008
Andi Kleen
Re: Building Kernel with -O0
Traditionally it was not allowed because -O0 didn't inline and the kernel relied on inlining in some cases. But with always_inline that is obsolete -- all functions that rely on inlining should be marked __always_inline. I think a few more cases crept in where it was common to write build time asserts as if (some condition the compiler evaluates at runtime) __error_condition_xyz_is_false(); and this obviously relies on the optimizer to build. But these are all slowly ...
Sep 9, 12:24 pm 2008
Adrian Bunk
Re: Building Kernel with -O0
^^^^^^^ The reason why it works for Keith at all seems to be that even with -O0 gcc already does this kind of optimizations. Check e.g. the assembler generated for the following (userspace) program with -O0: <-- snip --> int foobar; int main() { if (1) return 0; foobar = 12345; return 42; } cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had ...
Sep 9, 12:43 pm 2008
Andi Kleen
Re: Building Kernel with -O0
What I mean is global optimization over the whole function, like constant propagation. That is required for some of the more complex macros like the *_user() ones. Some expression evaluation is required by the C standard (e.g. otherwise you couldn't generally declare global arrays with expressions) While that's technically not required in the body of the function outside declarations the compiler does it normally. But only inside a statement. -Andi --
Sep 9, 1:05 pm 2008
linux-os (Dick Johnson)
Re: Building Kernel with -O0
Sorry, I couldn't resist after being required to write code in VC++/MFC, where memory leaks are "normal," and pointers passed to "methods" don't remain valid if there is any other activity besides yours occurring in the machine. If you have to single-step through kernel procedures, you are not writing proper code for a kernel. Furthermore, even when using the kernel debugger, you are not executing the exact same path that would be executed without the debugger attached. These are some ...
Sep 9, 11:55 am 2008
Keith A. Prickett
Re: Building Kernel with -O0
I am currently running the kernel compiled with -O0. The final problem I ran into was some NULL pointer dereference and compiling ONLY files in the mm directory with -O2 fixed the issue. To build with -O0 I had to change a few things (for my ARM architecture): 1. Ensure the __attribute__((always_inline)) was turned off in the "inline" #define (compiler.h) 2. Fix some inline assembly in kprobes (ARM only) that, due to no optimization, needed more registers than the compiler had ...
Sep 9, 10:10 am 2008
Oren Laadan
Re: [RFC v3][PATCH 5/9] Memory managemnet (restore)
Your observation is correct; I chose this interface because it's really simple and handy. I'm not worried about the performance because such VMAs (read only but modified) are really rare, and the code can be optimized later on. VMAs of shared maps (IPC, anonymous shared) will be treated differently. VMAs of shared files (mapped shared) are saved without their contents, as the contents remains available on the file system ! (yes, for that we will eventually need file system ...
Sep 8, 11:01 pm 2008
David Fries
Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
Two new patches will follow, Notable changes since the last patch: Register all four platform devices, previously I would stop at one with a zero io port address, but if there were multiple ISA PnP devices or autoprobed devices on bootup, it would not look for the second. This way it will look for up to MAX_NE_CARDS. Removed BAD_STR. The platform_device structure holds id, which is this_dev which is the index into the io, irq, and bad arrays. ne_drv_probe can find the 0xbad flag in the bad ...
Sep 8, 7:54 pm 2008
David Fries
[PATCH 2/2] ne.c Fix suspend and resume for ISA PnP cards.
From: David Fries <david@fries.net> A call to pnp_stop_dev and pnp_start_dev now shuts down and initializes plug and play devices for suspend and resume. Signed-off-by: David Fries <david@fries.net> Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Paul Gortmaker <p_gortmaker@yahoo.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Jeff Garzik <jeff@garzik.org> --- drivers/net/ne.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/net/ne.c ...
Sep 8, 8:01 pm 2008
David Fries
[PATCH 1/2] [PATCH] ne.c fix rmmod, platform driver impr ...
From: David Fries <david@fries.net> Removing the module would cause a kernel oops as platform_driver_probe failed to detect a device and unregistered the platform driver on module init, and cleanup_module would unregister the already unregistered driver. The suspend and resume functions weren't being called. platform_driver support was added earlier, but without any platform_device_register* calls I don't think it was being used. Now all devices are registered using ...
Sep 8, 7:58 pm 2008
Jesse Barnes
Re: [PATCH 3/3] sky2: use pci_read_vpd to read info duri ...
The sky2 bits too? Sure, that's fine with me. I'll stuff it into my linux-next tree tomorrow after a quick look. Thanks, Jesse --
Sep 8, 9:36 pm 2008
Jesse Barnes
Re: linux-next: Tree for September 3
Yeah, looks reasonable. Thanks for pushing it already; I've had crappy to non-existent network access for the past week... Thanks, Jesse --
Sep 8, 9:39 pm 2008
Chuck Ebbert
Re: [PATCH] ahci: Fix long standing Marvell regressions
> ahci, pata_marvell: play nicely together I can't see how that's going to work with a 6145 adapter and no PATA devices attached. The AHCI driver will always defer to pata_marvell (unless marvell_enable=1 is passed) and pata_marvell will defer to ahci when it doesn't see any PATA devices. --
Sep 9, 3:18 pm 2008
jmerkey
Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
Second patch tested - works great. Jeff --
Sep 9, 12:30 pm 2008
Alexey Starikovskiy
Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
Thanks! I've found more slippery place, could you please add attached patch if the first one doesn't work? Regards, Alex.
Sep 9, 10:35 am 2008
Alexey Starikovskiy
Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
It does not disable EC, it disables EC GPE (interrupt from EC). Could you please test patch from comment #81 in bug #9998? http://bugzilla.kernel.org/attachment.cgi?id=17695&action=view Thanks, Alex. --
Sep 8, 10:15 pm 2008
jmerkey
Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
Oh shit, my mistake. I applied it to a 2.2.26.4 tree. please disregard. I will test it shortly. Jeff --
Sep 9, 7:59 am 2008
jmerkey
Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
Patch does not apply correctly to 2.6.27-rc5 -- do you have a patch a little closer to 2.6.27-rc6? Here is what ended up in the .rej file after I applied it: *************** *** 140,208 **** outb(data, ec->data_addr); } - static inline int acpi_ec_check_status(struct acpi_ec *ec, enum ec_event event) { - if (test_bit(EC_FLAGS_WAIT_GPE, &ec->flags)) - return 0; - if (event == ACPI_EC_EVENT_OBF_1) { - if (acpi_ec_read_status(ec) & ACPI_EC_FLAG_OBF) - return 1; - } ...
Sep 9, 7:51 am 2008
jmerkey
Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
The first patch corrected the problem. I have regressed the patch on 2.6.27-rc5. The message is now gone. I will test the new patch you just Jeff --
Sep 9, 10:53 am 2008
Kirill A. Shutemov
Re: [PATCH] Allow recursion in binfmt_script and binfmt_misc
It's enough for my goals. :) No. Should I repost patch with unsigned int recursion_depth? --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/
Sep 8, 11:45 pm 2008
Jesse Barnes
Re: [PATCH 1/6] pci: fix merging left out for BAR print out
Can you resend this against my linux-next branch? It didn't apply to my latest bits... Thanks, Jesse --
Sep 9, 11:45 am 2008
Renato S. Yamane
Re: Lenovo 3000 N100 i8042 problems
Here is the dmidecode from a Lenovo 3000-V200. I hope this help something. Let me know if you need more info. Best regards, Renato S. Yamane
Sep 8, 8:35 pm 2008
Renato S. Yamane
Re: Lenovo 3000 N100 i8042 problems
I use 2.6.26 Kernel available in Debian Lenny and don't have any problem. Best regards, Renato --
Sep 9, 6:37 am 2008
Henrique de Moraes H ...
Re: Lenovo 3000 N100 i8042 problems
Well, does that box suffer either of the issues (breaks either with the patch or without the patch)? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --
Sep 8, 8:42 pm 2008
Jesse Barnes
Re: [2.6.27 PATCH] Blacklist DMAR on Intel G31/G33 chipsets
Applied. I'll include it in my next 2.6.27 pull request after fixing up my trees. Thanks, Jesse --
Sep 9, 11:39 am 2008
Pierre Ossman
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
On Mon, 8 Sep 2008 14:28:00 +0100 This still doesn't use the fields from the request structure. E.g. SDIO support is probably still broken here as it mandates a timeout of 1 second for data transfers. -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and ...
Sep 9, 12:22 am 2008
Matt Fleming
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
OK, just to be clear, where are those fields not used? They are used in the new mmc_get_timeout() function. I'm assuming SDIO should use the same logic as MMC for working out the timeout value? Or is there an upper limit of 1 second on the timeout for SDIO? I am not very confident in my understanding of the nuances of SDIO. Also, I don't have any SDIO hardware so I can't test this change (which is the reason I didn't change it in the first place). --
Sep 9, 12:59 am 2008
Matt Fleming
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
What fields in the request structure? Are you talking about struct mmc_request ? --
Sep 9, 12:34 am 2008
Pierre Ossman
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
On Tue, 9 Sep 2008 08:59:11 +0100 Sorry, you're right. I just noticed the !host->mmc->card part and assumed you had your own logic in there. Why do you have that part though? What case have you found where you need the timeouts and do not have properly set timeout fields? -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish ...
Sep 9, 1:55 am 2008
Matt Fleming
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
This check was put in place because the function was being called before the card structure was setup properly. I didn't actually work out the call path but it stopped the kmmcd thread oopsing :) How does this patch look for the SDIO case? diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 044d84e..5ebfe35 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -249,8 +249,10 @@ void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card ...
Sep 9, 2:07 am 2008
Pierre Ossman
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
On Tue, 9 Sep 2008 08:34:27 +0100 Yup, timeout_ns and timeout_clks. -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption. --
Sep 9, 12:44 am 2008
Matt Fleming
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
The stack trace where this check is needed is here, mmc_get_timeout() mmc_spi_readblock() mmc_spi_request() mmc_wait_for_req() mmc_send_cxd_data() mmc_send_csd() mmc_attach_sd() Maybe it would be a good idea to move the line at drivers/mmc/core/mmc.c:447 up before the call to mmc_send_csd()? Then it'd probably be possible to remove that !host->mmc->card check from mmc_get_timeout(). --
Sep 9, 2:42 am 2008
Michael Kerrisk
Re: [PATCH] make setpriority POSIX compliant; introduce ...
Chris, AFAICS, interpreting 0 as the TGID would be more consistent with those parts of the interface that are specified by POSIX.1. -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html --
Sep 9, 11:45 am 2008
Chris Friesen
Re: [PATCH] make setpriority POSIX compliant; introduce ...
The patch interprets 0 as the current pid rather than the current tgid. It's up for discussion whether we should preserve old behaviour when specifying 0, or use a new and arguably more logical behaviour but possibly break old apps. Chris --
Sep 9, 9:42 am 2008
Michael Kerrisk
Re: [PATCH] make setpriority POSIX compliant; introduce ...
Denys, Tested-by: Michael Kerrisk <mtk.manpages@gmail.com> Please do CC me on API changes, so that they might get documented in the man pages. Thanks for this work. (I'm not sure whether or not it's a response to my bug report, http://bugzilla.kernel.org/show_bug.cgi?id=6258 ) I tested your patch. Most things seem to work as I would expect, but there is one strangeness. I would expect setpriority(PRIO_PROCESS, getpid()) and setpriority(PRIO_PROCESS, 0) to have the same affect ...
Sep 9, 8:45 am 2008
kamezawa.hiroyu
Re: Re: [RFC][PATCH] Remove cgroup member from struct page
Doesn't have big issue without CONFIG_SPARSEMEM, maybe. Sorry for my confusion. Thanks, -Kame --
Sep 9, 5:30 am 2008
Nick Piggin
Re: [RFC][PATCH] Remove cgroup member from struct page
Just keep in mind that an important point is to make it more attractive to configure cgroup into the kernel, but have it disabled or unused at runtime. --
Sep 8, 8:58 pm 2008
Nick Piggin
Re: [RFC][PATCH] Remove cgroup member from struct page
I guess it would be just a matter of coding up the implementation for each model you want to support. In some cases, you might lose memory (eg in the case of flatmem where you have holes in ram), but in those cases you lose memory from the struct pages anyway so I wouldn't worry too much. I think it would be reasonable to provide an implementation for flatmem as well (which AFAIK is the other non-deprecated memory model). It should not be hard to code AFAIKS. --
Sep 9, 5:28 am 2008
Balbir Singh
Re: [RFC][PATCH] Remove cgroup member from struct page
Agreed, but we do reduce the sizeof(struct page) without adding on to What address calculation do we need, sorry I don't recollect it. 32 bit systems with PAE can support quite a lot of memory, so I am not sure I I don't like the approach. -- Balbir --
Sep 8, 9:18 pm 2008
KAMEZAWA Hiroyuki
Re: [RFC][PATCH] Remove cgroup member from struct page
On Tue, 9 Sep 2008 13:58:27 +1000 Hmm..kicking out 4bytes per 4096bytes if disabled ? maybe a routine like SPARSEMEM is a choice. Following is pointer pre-allocation. (just pointer, not page_cgroup itself) == #define PCG_SECTION_SHIFT (10) #define PCG_SECTION_SIZE (1 << PCG_SECTION_SHIFT) struct pcg_section { struct page_cgroup **map[PCG_SECTION_SHIFT]; //array of pointer. }; struct page_cgroup *get_page_cgroup(unsigned long pfn) { struct pcg_section *sec; sec = ...
Sep 8, 9:53 pm 2008
Balbir Singh
Re: [RFC][PATCH] Remove cgroup member from struct page
No problem, I am glad to know that we are not limited to a particular model. -- Balbir --
Sep 9, 5:34 am 2008
KAMEZAWA Hiroyuki
Re: [RFC][PATCH] Remove cgroup member from struct page
On Mon, 08 Sep 2008 21:18:37 -0700 Because it's depends on CONFIG. But ok, I'll recall my patches from grave. Maybe it can be a hint for you. Thanks, -Kame --
Sep 9, 12:37 am 2008
Nick Piggin
Re: [RFC][PATCH] Remove cgroup member from struct page
Yeah of course. 4 or 8 bytes. Everything adds up. There is nothing special about cgroups that says it is allowed to use fields in struct page where others cannot. Put it in perspective: we try very hard not to allocate new Yes I too think that would be the ideal way to go to get the best of performance in the enabled case. However Balbir I believe is interested in memory savings if not all pages have cgroups... I don't know, I don't care so much about the "enabled" case, so I'll leave you two ...
Sep 8, 10:00 pm 2008
KAMEZAWA Hiroyuki
Re: [RFC][PATCH] Remove cgroup member from struct page
On Mon, 08 Sep 2008 21:18:37 -0700 base_address = base_addrees_of_page_group_chunk_of_pfn. base_address + offset_of_pfn_from_base_pfn * sizeof (struct page_cgroup). Thanks, -Kame --
Sep 8, 9:55 pm 2008
KAMEZAWA Hiroyuki
Re: [RFC][PATCH] Remove cgroup member from struct page
On Mon, 8 Sep 2008 20:58:10 +0530 Hmm.. I've considered this approach for a while and my answer is that this is not what you really want. Because you just moves the placement of pointer from memmap to radix_tree both in GFP_KERNEL, total kernel memory usage is not changed. So, at least, you have to add some address calculation (as I did in March) to getting address of page_cgroup. But page_cgroup itself consumes 32bytes per page. Then..... My proposal to 32bit system is following - remove ...
Sep 8, 8:57 pm 2008
Balbir Singh
Re: [RFC][PATCH] Remove cgroup member from struct page
Can't we make it more generic. I was thinking of allocating memory for each node for page_cgroups (of the size of spanned_pages) at initialization time. I've not yet prototyped the idea. BTW, even with your approach I fail to see why we need to add a dependency on CONFIG_SPARSEMEM (but again it is 4:30 in the morning and I might be missing the obvious) -- Balbir --
Sep 9, 5:24 am 2008
KAMEZAWA Hiroyuki
Re: [RFC][PATCH] Remove cgroup member from struct page
On Tue, 9 Sep 2008 15:00:10 +1000 I'll add a new patch on my set. Balbir, are you ok to CONFIG_CGROUP_MEM_RES_CTLR depends on CONFIG_SPARSEMEM ? I thinks SPARSEMEM(SPARSEMEM_VMEMMAP) is widely used in various archs now. Thanks, -Kame --
Sep 8, 10:12 pm 2008
David Miller
Re: [PATCH] prevent sparc64 from invoking irq handlers o ...
From: Manfred Spraul <manfred@colorfullife.com> It does work on sparc64. Such an IPI doesn't do a wait so there would be no deadlock issues either. --
Sep 9, 12:57 pm 2008
Manfred Spraul
Re: [PATCH] prevent sparc64 from invoking irq handlers o ...
Does this apply to smp_send_reschedule() as well? A [rare] codepath in the current rcu code does to trigger quiescent states on remote cpus. -- Manfred --
Sep 9, 11:49 am 2008
Paul E. McKenney
Re: [PATCH] prevent sparc64 from invoking irq handlers o ...
It turns out that there is a timer_cpu_modifier() that invokes migrate_timers() upon CPU_DEAD or CPU_DEAD_FROZEN. And migrate_timers() looks like it does what its name says. And I believe that CPU_DEAD happens after sparc64's local_irq_enable() window, so we should be OK. Thanx, Paul --
Sep 9, 7:54 am 2008
David Miller
Re: [PATCH] prevent sparc64 from invoking irq handlers o ...
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> No, the timer interrupts are controlled differently, as the IRQ source lives inside of the CPU rather in some external entity. I need to fix that by invoking tick_ops->disable_irq() here. I'll take And IPI handler runs in HW irq context, therefore such an IPI-creates-an-IPI should not be allowed, at least not directly. Actually the restriction seems to be that an IPI cannot be sent when Exactly. --
Sep 8, 5:17 pm 2008
Bjorn Helgaas
Re: ACPI PnP on Intel MU440EX
Thanks very much for the report. This sounds like it could be a PNPACPI issue, which I am very interested in fixing. Can you please turn on CONFIG_PNP_DEBUG in your .config and collect the complete dmesg log with and without "pnpacpi=off"? I do have an "lspnp" that works with PNPACPI here: http://kernel.org/pub/linux/kernel/people/helgaas/pnputils-0.1.tar.bz2 but it's not widely used. The debug information from the config option above is usually more useful. Bjorn --
Sep 9, 9:34 am 2008
Pasi
Re: [PATCH 0/6] detect online disk resize
So now we just need a sane way to resize dm-multipath devices online :) -- Pasi --
Sep 9, 12:41 am 2008
Greg KH
Re: USBIP protocol
No it doesn't, it continues on. Or it should. Perhaps it's been fixed since then, I would rely on that kernel to be looking like anything "real" these days, it is very old and only supported by Novell, and not the target audience for this patch at all. thanks, greg k-h --
Sep 9, 12:33 am 2008
Steve Calfee
Re: USBIP protocol
Hi all, I have been looking at the USBIP stuff and don't understand the generic probe issues. In your second patch: static struct usb_device_id stub_table[] = { +#if 0 + /* just an example */ + { USB_DEVICE(0x05ac, 0x0301) }, /* Mac 1 button mouse */ + { USB_DEVICE(0x0430, 0x0009) }, /* Plat Home Keyboard */ + { USB_DEVICE(0x059b, 0x0001) }, /* Iomega USB Zip 100 */ + { USB_DEVICE(0x04b3, 0x4427) }, /* IBM USB CD-ROM */ + { USB_DEVICE(0x05a9, 0xa511) }, /* LifeView USB cam ...
Sep 9, 12:12 am 2008
Matthew Wilcox
Re: USBIP protocol
[Sorry, I meant to send this mail before I left on Friday ... best laid plans, etc] 'Client' and 'Server' are totally not clear. Is the 'server' the big machine in the closet without USB devices, or is the machine with the device attached to it 'serving' the device to the machine without usb devices? (I'd like to give a big shout-out to my homies working on X Windows for making this confusion possible) Controller machine: Loads vhci-hcd runs usbip --attach machine-b 2-2 Target ...
Sep 8, 5:53 pm 2008
Alan Stern
Re: USBIP protocol
It is unfortunate that these two words have been used in multiple ways, with meanings that are sometimes only subtly different and sometimes grossly conflicting. Isn't it standard in networking circles for "server" to mean the system running a daemon that waits for incoming connections and "client" to mean the system running an on-demand program that initiates a Okay, "controller" and "target". I'm not sure that "controller" is the best word either, since it might be confused with "USB ...
Sep 9, 8:21 am 2008
Greg KH Sep 9, 1:04 am 2008
Jesse Barnes
Re: [PATCH 2.6.27-rc4][RESEND] irq: irq and pci_ids patc ...
Thanks for fixing this up, Seth. I just applied it to my linux-next branch. Jesse --
Sep 9, 11:44 am 2008
KOSAKI Motohiro
Re: [PATCH] coredump_filter: add hugepage core dumping
Very thanks, kawai-san. Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> --
Sep 9, 4:20 am 2008
Alex Williamson
Re: [GIT]: Networking
NetworkManager can see access points, but doesn't get much further than that. From an end user perspective, similar to how it behaved in 2.6.26, before Dave's wext compat fixes. Alex --
Sep 8, 8:08 pm 2008
Jouni Malinen
Re: [GIT]: Networking
OK. Interesting point here is that the old code was using IWEVCUSTOM which is defined as having header_type IW_HEADER_TYPE_POINT and so are the new IWEVASSOCREQIE and IWEVASSOCRESPIE. The only difference is in max_tokens specifying different maximum length for the data. Maybe the old code was also broken, but wpa_supplicant handled the bogus data without causing problems (text parsing failing instead of some I haven't looked how IW_HEADER_TYPE_POINT headers get encoded ...
Sep 8, 9:05 pm 2008
Jouni Malinen
Re: [GIT]: Networking
By the way, that description is incorrect; the change was in the other Great.. I was hoping that the WEXT compat ioctl fixes from Dave resolved all WEXT cases. This code is (and was) using wireless_send_event() and I did not find clear changes to its use in Dave's patch set. Was that supposed to be fixed with the compat ioctl patches? I'm not very familiar with this area and don't have an easy way to test this now (I'm traveling and don't have access to a 64/32-bit setup). As far as I ...
Sep 8, 7:44 pm 2008
David Miller
Re: [GIT]: Networking
From: Jouni Malinen <j@w1.fi> I thought this was the idea behind nl80211? To be a new netlink interface for wireless, one that actually is designed correctly from the start and thus can avoid all of these problems. --
Sep 8, 9:15 pm 2008
Jouni Malinen
Re: [GIT]: Networking
Are you using 802.11n? Dave's patches fixed scan result processing, but it looks like they may not have fixed wireless_send_event() processing. It would be interesting to see what wpa_supplicant debug log shows here. I would assume the device was able to associate with the AP, but something went wrong when the association information (the data that was changed to use binary format instead of text-based custom iw event). -- Jouni Malinen PGP id ...
Sep 8, 8:06 pm 2008
Jouni Malinen
Re: [GIT]: Networking
Hmm.. I was using my temporary thunderbird setup and it is configured to wordwrap at 72 character lines.. The mail server may have done something odd, though. The version of the message I received directly at w1.fi was word wrapped, so I have no idea what happened here. Anyway, since the message was discussing your patchset, here's another version from mutt (and another mail server) and which will hopefully show up in more reasonable format. By the way, that description is incorrect; the ...
Sep 8, 7:55 pm 2008
David Miller
Re: [GIT]: Networking
From: Jouni Malinen <j@w1.fi> If we're talking about the netlink emission of WEXT blobs, then such bits cannot be fixed unfortunately, because via netlink we don't know in the message generating context what kind of process will receive the message. In fact, when broadcasting a netlink message, applications of different dispositions can want to receive the message. So in essence netlink cases cannot be fixed for COMPAT handling, rather, netlink protocols must be designed to be COMPAT ...
Sep 8, 8:43 pm 2008
Jouni Malinen
Re: [GIT]: Networking
Well, this wireless_send_event() is the part of WEXT that no one has worked with replacing yet as far as I'm aware.. The currently available infrastructure in nl80211 can be relatively easily extended to handle all other functionality, but unless I've missed something, this sending of event messages to user space would require new type of functionality for nl8211. In other words, sure, it can be done, but we are not there yet. -- Jouni Malinen PGP ...
Sep 8, 10:34 pm 2008
David Miller
Re: [GIT]: Networking
I'm so entirely tired of reading these 300+ column emails today that I'm just flat out refusing to read this one. People, fix your setup please! And if you have to get your email client to auto format your outgoing email text for you, that's fine. Although I can't understand why folks are too lazy to type enter every 80 columns or so. It's funny how something so fundamental that everyone could get right 15 years ago, is now such an epidemic problem. :-/ --
Sep 8, 7:46 pm 2008
Jesse Barnes
Re: [2.6 patch] fix pciehp_free_irq()
Applied to my linux-next branch. Kenji-san do you think this should go into 2.6.27? I haven't heard any regression reports about it, but it does seem like a good and simple fix... Thanks, Jesse --
Sep 9, 11:40 am 2008
Kenji Kaneshige
Re: Re: [2.6 patch] fix pciehp_free_irq()
Though regression was not reported, it is actually a regression internally. It doesn't have a big impact against the hotplug controller that supports "command completed interrupt", but it might have a impact against the controller that doesn't support "command completed interrupt". So I think it should go into 2.6.27. As you said, the patch looks good and simple. Thanks, Kenji Kaneshige --
Sep 9, 3:52 pm 2008
Andrew Patterson
Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again
I like this idea. Even perhaps add a recursive scan to rescan behind a bridge? -- Andrew Patterson Hewlett-Packard --
Sep 8, 10:32 pm 2008
Jesse Barnes
Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again
I don't have a preference here; whatever is most useful for people is probably what we should go for. Zhao? Thanks, Jesse --
Sep 8, 9:12 pm 2008
Matthew Wilcox
Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again
I think we have two distinct groups of users; those who find emulating slot hotplug useful, and those who want to hot-remove pci functions. Maybe hot-removing a pci function should not be part of the pci hotplug core per se -- obviously it would share much code -- but being able to hot-remove a function is a fundamentally different thing from being able to hot-remove a slot. For example, hot-removing a function from a device that is in a real hotplug slot should be possible, but it ...
Sep 8, 9:27 pm 2008
Andrew Morton
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
On Mon, 08 Sep 2008 10:11:46 -0600 Taking a spinlock outside lock_kernel() isn't good, and is quite unusual. - It might be ab/ba deadlockable (I didn't check) (I trust you always test with lockdep enabled?) - will make Ingo unhappy when he applies his "make lock_kernel use mutex_lock" patch (if it's still around). - will probably give the -rt guys conniptions. swapping the above two lines would presumably be an easy fix, but one wonders whether we still need lock_kernel() in ...
Sep 8, 5:32 pm 2008
Joe Peterson
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
OK, attached is a new version of this patch: tty-fix-echo-tab-erase-and-locking.patch I have removed lock_kernel() from n_tty.c completely (which is a nice benefit). As we discussed, this is now easier due to my echo patch isolating the column state code. In its place, I created two new mutex locks: "output_lock" (protects column state and and driver buffer space left) and "echo_lock" (protects the echo buffer). I could have used just one to protect all of this, but there was no need to ...
Sep 9, 1:42 pm 2008
Andrew Morton
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
That used to be the case, but the mutex_lock() version of the bkl got yup. --
Sep 9, 10:43 am 2008
Alan Cox
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
That lock orders writes to the ldisc so you would often be called with it I would start with a lock for each object you need to get the locking right for. If you ever take more than one at once it must be in the same order (a lock heirarchy) to avoid deadlocks. Shouldn't be. n_tty is the last real user of the BKL in the ldisc layer. I've been over the driver write methods already and they *should* now be sorted and safe. Alan --
Sep 9, 6:19 am 2008
Joe Peterson
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
Indeed - and, as Alan said, lock_kernel() can sleep (a nuance I had not realized until looking more into the kernel locking mechanisms just now). Although I have seen no issues during testing (and I do have lockdep in the kernel), you are 100% right. I had wanted to keep from disturbing the locking situation in n_tty, but maybe it is time to get rid of the BKL there. My echo buffer patches actually isolate the tty column state stuff to the output processing functions now anyway, so the BLK ...
Sep 9, 6:00 am 2008
Alan Cox
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
On Mon, 8 Sep 2008 17:32:50 -0700 lock_kernel can sleep. Its not allowed... Alan --
Sep 9, 3:55 am 2008
Alan Cox
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
The driver output side can sleep, and it has to be able to sleep because the drivers like USB need to be able to sleep. If you have the column handling isolated and locked that is a big step towards exterminating the BKL in the n_tty code. It also illustrates why locking people always say "lock data not code". Alan --
Sep 9, 6:12 am 2008
Joe Peterson
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
Well, it's isolated, but still locked with the BKL, which would be great to get rid of. A few questions for you, since you've worked with this code (and kernel locking stuff) a lot longer than I: 1) Now that column state is confined to the process_out/echo funcs in n_tty, would using tty_write_lock() (the defined atomic write lock mutex) be a good replacement for lock_kernel(), even though interruptible? 2) To protect echo buffer operations, I would lean toward using a separate echo lock ...
Sep 9, 6:15 am 2008
Jesse Barnes
Re: [2.6 patch] m68k: remove the dead PCI code
Btw, I'm assuming you'll be queuing this up, Geert. Let me know if you want to do otherwise... Thanks, Jesse --
Sep 8, 10:06 pm 2008
Geert Uytterhoeven
Re: [2.6 patch] m68k: remove the dead PCI code
Yes, I will. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds --
Sep 9, 12:11 am 2008
Alex Chiang
Re: [PATCH 02/13] PCI: prevent duplicate slot names
Hi Kenji-san, As always, thank you very much for the excellent review. Sorry for the delay; I've been busy with travel, and trying to figure out how to solve the issue you pointed out below. Yes, you are right, that is a problem. I've taken the following approach: - the above code is providing a mechanism to allow a _hotplug_ driver to override a _detection_ driver slot name. - in other words, we only have to worry about the case when a _detection_ driver was loaded ...
Sep 9, 2:04 am 2008
Yoshinori Sato
Re: [PATCH] exclude h8300 local symbols (Re: kallsyms ex ...
At Tue, 9 Sep 2008 00:39:40 +0100 (BST), OK. This case can't pattern match. I Add h8300 special mode. -- Yoshinori Sato <ysato@users.sourceforge.jp> --
Sep 8, 8:07 pm 2008
Luming Yu
Re: [RFC PATCH] set TASK_TRACED before arch_ptrace code ...
Just have chance to re-check the problem. I have spotted the place that strace misbehaves when SIGTRAP is blocked by task being straced with -f flag (follow trace) The problem is that after debugee blocking SIGTRAP the task's exec path would not wake up debugger (strace) with this signal. But strace don't know about it, and expect such a wake up. Upon receiving a subsequent wake up,strace still thought it was a wake up from "SIGTRAP in previous exec path". From now on, Debuger and Debugee ...
Sep 8, 8:06 pm 2008
Miklos Szeredi
Re: unprivileged mounts git tree
Thanks for the scripts, I don't have any better ones, I have only been testing by hand. As for -mm, sure it would be nice. I'll do a resubmission of the whole series with proper changelog, etc. It would be really nice if Al and/or Christoph could review if there are any major conceptual problems left. Thanks, Miklos --
Sep 9, 6:34 am 2008
Sergei Shtylyov
Re: [PATCH 5/7] sgiioc4: use ->init_dma method
It should be quite obvious that 'dma_base' will never be 0 since It should print "MMIO-DMA" since the registers are memory-mapped. Making another notch... MBR, Sergei --
Sep 9, 12:32 pm 2008
Yan Li
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
Yeah, VMware's PCI vendor Id: 0x15AD Why using PCI vendor ID is safer than DMI? -- Li, Yan "Everything that is really great and inspiring is created by the individual who can labor in freedom." - Albert Einstein, in Out of My Later Years (1950) --
Sep 9, 5:28 am 2008
H. Peter Anvin
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
If we get false negatives that is quite frankly their problem, not ours. If nothing else, we should be able to look for a host bridge with the VMWare vendor ID -- that should arguably be safer than DMI. -hpa --
Sep 8, 5:34 pm 2008
H. Peter Anvin
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
Mostly because DMI is human-readable and therefore more likely to change for non-technical reasons. -hpa --
Sep 9, 1:12 pm 2008
Yan Li
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
Yeah, I agree with you, it's a bad method. I just took it for granted that vmware has done the necessary study and they knew what they were doing. I have tested it on two boxes so I thought they were OK. Now I They haven't done this. Per VMware's design, the cpuinfo in virtual guest is identical to the underlying physical CPU. I guess they want to send most of the code to run on underlying CPU directly and won't I think they didn't use this way cause VMware wanted it to be Some people ...
Sep 8, 5:20 pm 2008
Jeff Kirsher
Re: Marvel IDE 88SE6101 2.4.XX support
Actually Auke is no longer a maintainer for the 10/100/1000/10000 Intel drivers. Please send your patches to me and Jesse. -- Cheers, Jeff --
Sep 8, 10:10 pm 2008
previous daytodaynext day
September 8, 2008September 9, 2008September 10, 2008