Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread James Morris
On Wed, 24 Jan 2007, Sunil Naidu wrote: If Kernel community comes down to India...this would have a big impact on the community + industry too. I think it's a good idea. Any other reasons am missing here? Cost of flying 70 mainly US/European developers to India. - James -- James Morris

Re: [PATCH] s2io bogus memset

2007-01-23 Thread Jeff Garzik
Al Viro wrote: memset() after kmalloc() on size * 8 would better be on size * 8, not just size; fixed by switching to kcalloc() - it's more idiomatic anyway. Signed-off-by: Al Viro [EMAIL PROTECTED] applied - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Len Brown
On Tuesday 23 January 2007 07:27, Lionel Landwerlin wrote: Le mardi 23 janvier 2007 à 17:22 +0800, Luming Yu a écrit : Please try to remove processor module. Ok, that's done. Same problem. any difference with idle=poll? if yes, how about idle=halt? - To unsubscribe from this list: send the

[PATCH 2.6.20-rc5 01/12] dmaengine: add base support for the async_tx api

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] * introduce struct dma_async_tx_descriptor as a common field for all dmaengine software descriptors * convert the device_memcpy_* methods into separate prep, set src/dest, and submit stages * support capabilities beyond memcpy (xor, memset, xor zero sum,

[PATCH 2.6.20-rc5 02/12] dmaengine: add the async_tx api

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] async_tx is an api to describe a series of bulk memory transfers/transforms. When possible these transactions are carried out by asynchrounous dma engines. The api handles inter-transaction dependencies and hides dma channel management from the client. When

[PATCH 2.6.20-rc5 05/12] md: move write operations to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe sets STRIPE_OP_PREXOR, STRIPE_OP_BIODRAIN, STRIPE_OP_POSTXOR to request a write to the stripe cache. raid5_run_ops is triggerred to run and executes the request outside the stripe lock. Signed-off-by: Dan Williams [EMAIL PROTECTED] ---

[PATCH 2.6.20-rc5 06/12] md: move raid5 compute block operations to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe sets STRIPE_OP_COMPUTE_BLK to request servicing from raid5_run_ops. It also sets a flag for the block being computed to let other parts of handle_stripe submit dependent operations. raid5_run_ops guarantees that the compute operation completes

[PATCH 2.6.20-rc5 03/12] md: add raid5_run_ops and support routines

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] Prepare the raid5 implementation to use async_tx for running stripe operations: * biofill (copy data into request buffers to satisfy a read request) * compute block (generate a missing block in the cache from the other blocks) * prexor (subtract existing data

[PATCH 2.6.20-rc5 10/12] md: move raid5 io requests to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe now only updates the state of stripes. All execution of operations is moved to raid5_run_ops. Signed-off-by: Dan Williams [EMAIL PROTECTED] --- drivers/md/raid5.c | 68 1 files changed,

[PATCH 2.6.20-rc5 09/12] md: use async_tx and raid5_run_ops for raid5 expansion operations

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] The parity calculation for an expansion operation is the same as the calculation performed at the end of a write with the caveat that all blocks in the stripe are scheduled to be written. An expansion operation is identified as a stripe with the POSTXOR flag

[PATCH 2.6.20-rc5 12/12] dmaengine: driver for the iop32x, iop33x, and iop13xx raid engines

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] This is a driver for the iop DMA/AAU/ADMA units which are capable of pq_xor, pq_update, pq_zero_sum, xor, dual_xor, xor_zero_sum, fill, copy+crc, and copy operations. Changelog: * fixed a slot allocation bug in do_iop13xx_adma_xor that caused too few slots to

[PATCH 2.6.20-rc5 11/12] md: remove raid5 compute_block and compute_parity5

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] replaced by raid5_run_ops Signed-off-by: Dan Williams [EMAIL PROTECTED] --- drivers/md/raid5.c | 124 1 files changed, 0 insertions(+), 124 deletions(-) diff --git a/drivers/md/raid5.c

[PATCH 2.6.20-rc5 08/12] md: satisfy raid5 read requests via raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] Use raid5_run_ops to carry out the memory copies for a raid5 read request. Signed-off-by: Dan Williams [EMAIL PROTECTED] --- drivers/md/raid5.c | 40 +++- 1 files changed, 15 insertions(+), 25 deletions(-) diff --git

[PATCH 2.6.20-rc5 04/12] md: use raid5_run_ops for stripe cache operations

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] Each stripe has three flag variables to reflect the state of operations (pending, ack, and complete). -pending: set to request servicing in raid5_run_ops -ack: set to reflect that raid5_runs_ops has seen this request -complete: set when the operation is

[PATCH 2.6.20-rc5 07/12] md: move raid5 parity checks to raid5_run_ops

2007-01-23 Thread Dan Williams
From: Dan Williams [EMAIL PROTECTED] handle_stripe sets STRIPE_OP_CHECK to request a check operation in raid5_run_ops. If raid5_run_ops is able to perform the check with a dma engine the parity will be preserved in memory removing the need to re-read it from disk, as is necessary in the

Re: 2.6.20-rc3-mm1: umount reiser4 FS stuck in D state

2007-01-23 Thread Vladimir V. Saveliev
Hello On Saturday 13 January 2007 01:56, Laurent Riffard wrote: Le 06.01.2007 19:58, Vladimir V. Saveliev a écrit : Hello On Saturday 06 January 2007 13:58, Laurent Riffard wrote: Hello, got this with 2.6.20-rc3-mm1: === SysRq : Show Blocked State

Re: 2.6.20-rc3-mm1: umount reiser4 FS stuck in D state

2007-01-23 Thread Jens Axboe
On Tue, Jan 23 2007, Vladimir V. Saveliev wrote: Hello On Saturday 13 January 2007 01:56, Laurent Riffard wrote: Le 06.01.2007 19:58, Vladimir V. Saveliev a écrit : Hello On Saturday 06 January 2007 13:58, Laurent Riffard wrote: Hello, got this with 2.6.20-rc3-mm1:

Re: linux-2.6.20-rc4-mm1 Reiser4 filesystem freeze and corruption

2007-01-23 Thread Vladimir V. Saveliev
Hello On Tuesday 23 January 2007 10:38, Vince wrote: Zan Lynx wrote: I have been running 2.6.20-rc2-mm1 without problems, but both rc3-mm1 and rc4-mm1 have been giving me these freezes. They were happening inside X and without external console it was impossible to get anything, plus I

Re: 2.6.20-rc3-mm1: umount reiser4 FS stuck in D state

2007-01-23 Thread Laurent Riffard
Le 23.01.2007 16:46, Jens Axboe a écrit : On Tue, Jan 23 2007, Vladimir V. Saveliev wrote: Hello On Saturday 13 January 2007 01:56, Laurent Riffard wrote: Le 06.01.2007 19:58, Vladimir V. Saveliev a écrit : Hello On Saturday 06 January 2007 13:58, Laurent Riffard wrote: Hello, got this

Re: [RFC 3/6] bidi support: bidirectional request

2007-01-23 Thread Benny Halevy
James Bottomley wrote: On Mon, 2007-01-22 at 01:25 +0200, Boaz Harrosh wrote: - Instantiate another request_io_part in request for bidi_read. - Define Implement new API for accessing bidi parts. - API to Build bidi requests and map to sglists. - Define new end_that_request_block() function

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Benny Halevy
Muli Ben-Yehuda wrote: On Mon, Jan 22, 2007 at 01:21:28AM +0200, Boaz Harrosh wrote: - Introduce a new enum dma_data_direction data_dir member in struct request. and remove the RW bit from request-cmd_flag Some architecture use 'enum dma_data_direction' and some 'int

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Benny Halevy
Douglas Gilbert wrote: Benny Halevy wrote: Douglas Gilbert wrote: Perhaps the right use of DMA_BIRECTIONAL needs to be defined. Could it be used with a XDWRITE(10) SCSI command defined in sbc3r07.pdf at http://www.t10.org ? I suspect using two scatter gather lists would be a better

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Muli Ben-Yehuda
On Tue, Jan 23, 2007 at 03:45:00PM +0200, Benny Halevy wrote: +static inline int dma_uni_dir(enum dma_data_direction dir) +{ + return (dir == DMA_TO_DEVICE) || (dir == DMA_FROM_DEVICE) || + (dir == DMA_NONE); +} While this doesn't look very useful. Why is DMA_NONE a

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-23 Thread Benny Halevy
Muli Ben-Yehuda wrote: On Tue, Jan 23, 2007 at 03:45:00PM +0200, Benny Halevy wrote: +static inline int dma_uni_dir(enum dma_data_direction dir) +{ + return (dir == DMA_TO_DEVICE) || (dir == DMA_FROM_DEVICE) || + (dir == DMA_NONE); +} While this doesn't look very useful. Why is

[PATCH] [RESEND] return ENOENT from ext3_link when racing with unlink

2007-01-23 Thread Eric Sandeen
(resend now that LCA is done) An update from the earlier thread, [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race I think this is better than the original idea of trying to handle the race; I've seen that the orphan inode list can get corrupted, but there may well be

Re: [PATCH] Fix rmmod/read/write races in /proc entries

2007-01-23 Thread Andrew Morton
On Mon, 15 Jan 2007 18:39:27 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: pde = create_proc_entry() if (!pde) return -ENOMEM; pde-write_proc = ...; open write

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread Josh Boyer
On 1/23/07, James Morris [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007, Sunil Naidu wrote: If Kernel community comes down to India...this would have a big impact on the community + industry too. I think it's a good idea. Any other reasons am missing here? Cost of flying 70 mainly

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
At Tue, 23 Jan 2007 16:16:12 -0500, Jakub Jelinek wrote: On Wed, Jan 24, 2007 at 12:06:45AM +0300, Samium Gromoff wrote: Should we introduce per-arch asm/elf.h files to hold the relevant flag definitions then? On some architectures there are no bits left. On others you'd need to go

[patch 00/46] High resolution timer / dynamic tick update

2007-01-23 Thread Thomas Gleixner
This is a full replacement queue for the high resolution timer / dynamic ticks implemementation in -mm. This version includes the following improvements: - Seperate clockevents management of devices and users - Provide a generic tick managament infrastructure, which makes use of the clock

[patch 01/46] Add irq flag to disable balancing for an interrupt

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Add a flag so we can prevent the irq balancing of an interrupt. Move the bits, so we have room for more :) Necessary for the ability to setup clocksources more flexible (e.g. use the different HPET channels per CPU) Signed-off-by: Thomas Gleixner [EMAIL

[patch 22/46] Extend next_timer_interrupt() to use a reference jiffie

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] For CONFIG_NO_HZ we need to calculate the next timer wheel event based on a given jiffie value. Extend the existing code to allow the extra 'now' argument. Provide a compability function for the existing implementations to call the function with now ==

[patch 21/46] Fix cascade lookup of next_timer_interrupt

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] When searching for the next pending timer in the timer wheel we need to take the cascade into account. The current code has several problems: 1. it looks into the previous cascade 2. it ignores a pending cascade 3. it ignores multiple cascades Change

[patch 30/46] ACPI keep track of timer broadcasting

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] This is a preperatory patch for highres/dyntick: - replace the big #ifdef ARCH_APICTIMER_STOPS_ON_C3 hackery by functions - remove the double switch in the power verify function (in the worst case we switched ipi to apic and 20usec later apic to ipi) -

[patch 31/46] Allow early access to the power management timer

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Allow early access to the power management timer by exposing the verified read function and providing a helper function which checks the pmtmr_ioport variable and returns either the pm timer readout or 0 in case the pm timer is not available. Create a new

[patch 44/46] Add debugging feature /proc/timer_stat

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Add /proc/timer_stats support: debugging feature to profile timer expiration. Both the starting site, process/PID and the expiration function is captured. This allows the quick identification of timer event sources in a system. Sample output: # echo 1

[patch 45/46] Add debugging feature /proc/timer_list

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] add /proc/timer_list, which prints all currently pending (high-res) timers, all clock-event sources and their parameters in a human-readable form. Sample output: Timer List Version: v0.1 HRTIMER_MAX_CLOCK_BASES: 2 now at 4246046273872 nsecs cpu: 0 clock 0:

[patch 20/46] uninline irq_enter()

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Uninline irq_enter(). [dynticks adds more stuff to it] No functional changes. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- include/linux/hardirq.h |7

[patch 46/46] Add SysRq-Q to print timer_list debug info

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Add SysRq-Q to print pending timers and other timer info. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/char/sysrq.c| 14 +-

[patch 43/46] hrtimers: prevent possible itimer DoS

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Fix potential setitimer DoS with high-res timers by pushing itimer rearm processing to process context. [Fixes from: Ingo Molnar [EMAIL PROTECTED]] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED]

[patch 42/46] hrtimers: add high resolution timer support

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Implement high resolution timers on top of the hrtimers infrastructure and the clockevents / tick-management framework. This provides accurate timers for all hrtimer subsystem users. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo

[patch 26/46] hrtimers; add state tracking

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Reintroduce ktimers feature optimized away by the ktimers review process: multiple hrtimer states to enable the running of hrtimers without holding the cpu-base-lock. (The optimized rbtree hack carried only 2 states worth of information and we need 4 for

[patch 41/46] i386: enable dynticks in kconfig

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Enable dynamic ticks selection. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] --- arch/i386/Kconfig |2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6.20-rc4-mm1-bo/arch/i386/Kconfig

[patch 25/46] hrtimers: cleanup locking

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Improve kernel/hrtimers.c locking: use a per-CPU base with a lock to control locking of all clocks belonging to a CPU. This simplifies code that needs to lock all clocks at once. This makes life easier for high-res timers and dyntick. No functional

[patch 40/46] i386 prepare nmi watchdog for dynticks

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] The NMI watchdog implementation assumes that the local APIC timer interrupt is happening. This assumption is not longer true when high resolution timers and dynamic ticks come into play, as they may switch off the local APIC timer completely. Take the

[patch 18/46] clocksource: Add verification (watchdog) helper

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] The TSC needs to be verified against another clocksource. Instead of using hardwired assumptions of available hardware, provide a generic verification mechanism. The verification uses the best available clocksource and handles the usability for high

[patch 39/46] i386 prepare for dyntick

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Prepare i386 for dyntick: idle handler callbacks. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Cc: john stultz [EMAIL PROTECTED] Cc: Roman Zippel [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by:

[patch 36/46] tick-management: dyntick / highres functionality

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] From: Ingo Molnar [EMAIL PROTECTED] Add functions to provide dynamic ticks and high resolution timers. The code which keeps track of jiffies and handles the long idle periods is shared between tick based and high resolution timer based dynticks. The dyntick

[patch 38/46] i386 rework local apic timer calibration

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] The local apic timer calibration has two problem cases: 1. The calibration is based on readout of the PIT/HPET timer to detect the wrap of the periodic tick. It happens that a box gets stuck in the calibration loop due to a PIT with a broken

[patch 19/46] Mark TSC on GeodeLX reliable

2007-01-23 Thread Thomas Gleixner
From: Marcelo Tosatti [EMAIL PROTECTED] From what I can tell the Geode can safely use the TSC for highres, since: 1) Does not support frequency scaling, 2) The TSC _does_ count when the CPU is halted. Furthermore, the Geode supports a mode called suspension on halt, where Suspend mode (which

[patch 33/46] clockevents: add core functionality

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Architectures register their clock event devices, in the clock events core. Users of the clockevents core can get clock event devices for their use. The clockevents core code provides notification mechanisms for various clock related management events.

[patch 34/46] tick-management: core functionality

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] From: Ingo Molnar [EMAIL PROTECTED] The tick-management code is the first user of the clockevents layer. It takes clock event devices from the clock events core and uses them to provide the periodic tick. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED]

[patch 35/46] tick-management: broadcast functionality

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] From: Ingo Molnar [EMAIL PROTECTED] Add broadcast functionality, so per cpu clock event devices can be registered as dummy devices or switched from/to broadcast on demand. The broadcast function distributes the events via the broadcast function of the clock

[patch 24/46] hrtimers: namespace and enum cleanup vs. git-input

2007-01-23 Thread Thomas Gleixner
From: Andrew Morton [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: Dmitry Torokhov [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/input/touchscreen/ads7846.c | 11 ++- 1 file changed, 6 insertions(+), 5

[patch 23/46] hrtimers: namespace and enum cleanup

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] - hrtimers did not use the hrtimer_restart enum and relied on the implict int representation. Fix the prototypes and the functions using the enums. - Use seperate name spaces for the enumerations - Convert hrtimer_restart macro to inline function - Add

[patch 27/46] hrtimers: clean up callback tracking

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Reintroduce ktimers feature optimized away by the ktimers review process: remove the curr_timer pointer from the cpu-base and use the hrtimer state. No functional changes. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL

[patch 29/46] ACPI: fix missing include for UP

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] apic.h does not get included on UP compiles. That way the APICTIMER_STOPS_ON_C3 is not there and UP boxen have no support for timer broadcasting. This was never noticed, because the lapic timer is only used for profiling on UP. Signed-off-by: Thomas

[patch 28/46] hrtimers: move and add documentation

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Move the initial hrtimers.txt document to the new directory Documentation/hrtimers Add design notes for the high resolution timer and dynamic tick functionality. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED]

[patch 17/46] clocksource: Remove the update callback

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] The clocksource code allows direct updates of the rating of a given clocksource now. Change TSC unstable tracking to use this interface and remove the update callback. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL

[patch 02/46] Add a functions to handle interrupt affinity setting

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Provide funtions to: - check, whether an interrupt can set the affinity - pin the interrupt to a given cpu Necessary for the ability to setup clocksources more flexible (e.g. use the different HPET channels per CPU) Signed-off-by: Thomas Gleixner [EMAIL

[patch 04/46] Uninline jiffies.h functions

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] There are loads of fat functions hidden in jiffies.h. Uninline them. No code changes. [ export fix from Jeremy Fitzhardinge [EMAIL PROTECTED] ] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andrew

[patch 05/46]

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Fix multiple conversion bugs in msecs_to_jiffies(). The main problem is that this condition: if (m jiffies_to_msecs(MAX_JIFFY_OFFSET)) overflows if HZ is smaller than 1000! This change is user-visible: for HZ=250 SUS-compliant poll()-timeout value

[patch 06/46] Fix timeout overflow with jiffies

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] Prevent timeout overflow if timer ticks are behind jiffies (due to high softirq load or due to dyntick), by limiting the valid timeout range to MAX_LONG/2. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED]

[patch 07/46] GTOD: persistent clock support

2007-01-23 Thread Thomas Gleixner
From: John Stultz [EMAIL PROTECTED] Persistent clock support: do proper timekeeping across suspend/resume. [ cleanup from Adrian Bunk [EMAIL PROTECTED] ] Signed-off-by: John Stultz [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED]

[patch 08/46] i386: use GTOD persistent clock support

2007-01-23 Thread Thomas Gleixner
From: John Stultz [EMAIL PROTECTED] Persistent clock support: do proper timekeeping across suspend/resume, i386 arch support. [ cleanup from Adrian Bunk [EMAIL PROTECTED] ] Build-fixes-from: Andrew Morton [EMAIL PROTECTED] Signed-off-by: John Stultz [EMAIL PROTECTED] Signed-off-by: Thomas

[patch 09/46] i386 Remove useless code in tsc.c

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] The delayed work code in arch/i386/kernel/tsc.c is an unused leftover of the GTOD conversion. Remove it. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] --- arch/i386/kernel/tsc.c | 40

[patch 10/46] Simplify the registration of clocksources

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Enqueue clocksources in rating order to make selection of the clocksource easier. Also check the match with an user override at enqueue time. Preparatory patch for the generic clocksource verification. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED]

[patch 11/46] x86: rewrite SMP TSC sync code

2007-01-23 Thread Thomas Gleixner
From: Ingo Molnar [EMAIL PROTECTED] make the TSC synchronization code more robust, and unify it between x86_64 and i386. The biggest change is the removal of the 'fix up TSCs' code on x86_64 and i386, in some rare cases it was /causing/ time-warps on SMP systems. The new code only checks for

[patch 12/46] clocksource: replace is_continuous by a flag field

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Using a flag filed allows to encode more than one information into a variable. Preparatory patch for the generic clocksource verification. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] ---

[patch 13/46] clocksource: fixup is_continous changes on ARM

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Fixup the is_contionous replacement by a flag field. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] --- arch/arm/mach-imx/time.c |2 +- arch/arm/mach-ixp4xx/common.c |2 +-

[patch 14/46] clocksource: fixup is_continous changes on AVR32

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Fixup the is_contionous replacement by a flag field. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] --- arch/avr32/kernel/time.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[patch 15/46] clocksource: fixup is_continous changes on S390

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Fixup the is_contionous replacement by a flag field. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] --- arch/s390/kernel/time.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[patch 16/46] clocksource: fixup is_continous changes on MIPS

2007-01-23 Thread Thomas Gleixner
From: Thomas Gleixner [EMAIL PROTECTED] Fixup the is_contionous replacement by a flag field. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Ingo Molnar [EMAIL PROTECTED] --- arch/mips/kernel/time.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[patch 03/46] [RFC] HZ free ntp

2007-01-23 Thread Thomas Gleixner
From [EMAIL PROTECTED] Wed Dec 20 02:36:15 2006 Distangle the NTP update from HZ. This is necessary for dynamic tick enabled kernels. --- include/linux/timex.h |7 +++ kernel/hrtimer.c | 11 --- kernel/time/ntp.c | 30 +++--- kernel/timer.c

[PATCH 1/2]: Fix BUG in cancel_dirty_pages on XFS

2007-01-23 Thread David Chinner
With the recent changes to cancel_dirty_pages(), XFS will dump warnings in the syslog because it can truncate_inode_pages() on dirty mapped pages. I've determined that this is indeed correct behaviour for XFS as this can happen in the case of races on mmap()d files with direct I/O. In this case

[PATCH 2/2]: Fix BUG in cancel_dirty_pages on XFS

2007-01-23 Thread David Chinner
Make XFS use the new truncate_unmap_inode_pages_range() function. Signed-off-by: Dave Chinner [EMAIL PROTECTED] --- fs/xfs/linux-2.6/xfs_fs_subr.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Index: 2.6.x-xfs-new/fs/xfs/linux-2.6/xfs_fs_subr.c

Re: [PATCH] videobuf_qbuf: fix? possible videobuf_queue-stream corruption and lockup

2007-01-23 Thread Mauro Carvalho Chehab
Em Ter, 2007-01-23 às 20:57 +0300, Oleg Nesterov escreveu: I am pretty sure the bug is real, but the patch may be wrong, please review. We are doing -buf_prepare(buf) before adding buf to q-stream list. This means that videobuf_qbuf() should not try to re-add a STATE_PREPARED buffer.

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread Sunil Naidu
On 1/24/07, Josh Boyer [EMAIL PROTECTED] wrote: Any other reasons am missing here? Cost of flying 70 mainly US/European developers to India. Thanks James. I thought about this factor. Thinking about what are the factors which make a Kernel developer to show interest on a particular

Re: SATA exceptions with 2.6.20-rc5

2007-01-23 Thread Robert Hancock
Larry Walton wrote: The last patch (sata_nv-force-int-dev-in-interrupt.patch) seems to have fix the problem. Much appreciated, thank you. I'd consider it a must have in 2.6.20. Can any of the rest of you that have been seeing this problem also confirm that this fixes it? -- Robert Hancock

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
At Tue, 23 Jan 2007 16:16:12 -0500, Jakub Jelinek wrote: On Wed, Jan 24, 2007 at 12:06:45AM +0300, Samium Gromoff wrote: Should we introduce per-arch asm/elf.h files to hold the relevant flag definitions then? On some architectures there are no bits left. On others you'd need to go

Re: identifying CONFIG variable typoes in the source tree

2007-01-23 Thread Oleg Verych
On 2007-01-23, Robert P. J. Day wrote: [] what it does is scan the entire tree for lines of the form ...if... CONFIG_whatever... collects all of those CONFIG variables and, one at a time, checks to see if that variable even exists in any Kconfig file in the tree so that it could possibly

Strange

2007-01-23 Thread Christoph Anton Mitterer
Hi. I'm using a kernel 2.6.18.1 with a Plextor PX-769A CD/DVD drive (using the old IDE drivers)... The drive itself is brand-new. The firmware version is 1.06 (which is the most recent). There are to issues I experience. 1) On some (but not all) DVD-Videos I get the following messages: kernel:

Re: Strange

2007-01-23 Thread Alan
kernel: Error: Illegal request -- (Sense key=0x05) kernel: Read of scrambled sector without authentication -- (asc=0x6f, ascq=0x03) The disc is using digital rights management. If you are in a country that permits it you can use a dvd reader library with decss support, if not you'll have

Re: Strange

2007-01-23 Thread Christoph Anton Mitterer
Alan wrote: kernel: Error: Illegal request -- (Sense key=0x05) kernel: Read of scrambled sector without authentication -- (asc=0x6f, ascq=0x03) The disc is using digital rights management. If you are in a country that permits it you can use a dvd reader library with decss support,

Re: [RFC] pci_bus conversion to struct device

2007-01-23 Thread Tim Pepper
On 1/18/07, Greg KH [EMAIL PROTECTED] wrote: Hm, only ia64 enables that option. Matthew, do you care about those files? Given the ia64 nature, unless benh was truly wanting to do something or ppc64, IBM's big NUMA boxes are pretty unlikely to care. Tim - To unsubscribe from this list: send

via irq quirk breakage

2007-01-23 Thread Nick Piggin
Recently updated an old box to a new kernel, and the USB mouse stops working. Well it sort of works, but stutters and is very unresponsive. This happens now and again when the IRQ routing for my board gets broken. Attached a dmesg from a bad 2.6.20-rc5, and a quick hack that gets everything

Re: [mm PATCH 4/6] RCU: preemptible RCU

2007-01-23 Thread Andrew Morton
On Tue, 16 Jan 2007 00:58:58 +0530 Dipankar Sarma [EMAIL PROTECTED] wrote: This patch implements a new version of RCU which allows its read-side critical sections to be preempted. Why is it selectable if CONFIG_PREEMPT=n? It uses a set of counter pairs to keep track of the read-side

Re: SATA exceptions with 2.6.20-rc5

2007-01-23 Thread Björn Steinbrink
On 2007.01.23 17:18:43 -0600, Robert Hancock wrote: Larry Walton wrote: The last patch (sata_nv-force-int-dev-in-interrupt.patch) seems to have fix the problem. Much appreciated, thank you. I'd consider it a must have in 2.6.20. Can any of the rest of you that have been seeing this

Re: [mm PATCH 4/6] RCU: preemptible RCU

2007-01-23 Thread Andrew Morton
On Tue, 16 Jan 2007 00:58:58 +0530 Dipankar Sarma [EMAIL PROTECTED] wrote: +/* + * Wait for CPUs to acknowledge the flip. + */ +static int rcu_try_flip_waitack(int flipctr) +{ + int cpu; + + for_each_possible_cpu(cpu) + if (per_cpu(rcu_flip_flag, cpu) !=

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Lionel Landwerlin
Le mardi 23 janvier 2007 à 16:30 -0500, Len Brown a écrit : On Tuesday 23 January 2007 07:27, Lionel Landwerlin wrote: Le mardi 23 janvier 2007 à 17:22 +0800, Luming Yu a écrit : Please try to remove processor module. Ok, that's done. Same problem. any difference with idle=poll? if

Re: [PATCH] seq_file conversion: APM on arm

2007-01-23 Thread Andrew Morton
On Mon, 15 Jan 2007 23:59:35 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: Compile-tested. Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- arch/arm/kernel/apm.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) --- a/arch/arm/kernel/apm.c

Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh

2007-01-23 Thread Andrew Morton
On Mon, 15 Jan 2007 23:11:46 +0100 Sam Ravnborg [EMAIL PROTECTED] wrote: On Mon, Jan 15, 2007 at 04:24:17PM -0500, Rob Landley wrote: Signed-off-by: Rob Landley [EMAIL PROTECTED] Acked-by: Sam Ravnborg [EMAIL PROTECTED] Use awk instead of gawk. -- There's a symlink from awk to

Re: [RFC] pci_bus conversion to struct device

2007-01-23 Thread Benjamin Herrenschmidt
On Tue, 2007-01-23 at 16:22 -0800, Tim Pepper wrote: On 1/18/07, Greg KH [EMAIL PROTECTED] wrote: Hm, only ia64 enables that option. Matthew, do you care about those files? Given the ia64 nature, unless benh was truly wanting to do something or ppc64, IBM's big NUMA boxes are pretty

[RFC] Limit the size of the pagecache

2007-01-23 Thread Christoph Lameter
This is a patch using some of Aubrey's work plugging it in what is IMHO the right way. Feel free to improve on it. I have gotten repeatedly requests to be able to limit the pagecache. With the revised VM statistics this is now actually possile. I'd like to know more about possible uses of such

Re: [PATCH] seq_file conversion: coda

2007-01-23 Thread Andrew Morton
On Tue, 16 Jan 2007 00:53:05 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: Compile-tested. You can runtime-test this interface without ever having mounted a CODA fs. Please. compile-tested-only patches are always a worry. - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er

2007-01-23 Thread Marc St-Jean
Alan wrote: There are three different fixes: 1. Fix for THRE errata That should be handled anyway. The current code actually spots this and uses a backup timer for dodgy UARTS Thanks, I'll retest without this fix on the current l-m.o git master and see if it still solves our errata.

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er

2007-01-23 Thread Alan
On Tue, 23 Jan 2007 14:37:23 -0800 Marc St-Jean [EMAIL PROTECTED] wrote: This I would hope you can hide in the platform specific serial_in/serial_out functions. If you write the UART_LCR save it in serial_out(), if you read IER etc. I couldn't find hooks for platform specific

Re: [PATCH 0/4] atl1: Attansic L1 ethernet driver

2007-01-23 Thread Jay Cliburn
Jeff Garzik wrote: OK, I have merged the monolithic patch into jgarzik/netdev-2.6.git#atl1. Once I'm done merging patches tonight, I will merge this new 'atl1' branch into the 'ALL' meta-branch, which will auto-propagate this driver into Andrew Morton's -mm for testing. For future driver

[PATCH] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs

2007-01-23 Thread Dale Farnsworth
From Dale Farnsworth [EMAIL PROTECTED] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs This bug was found and isolated by Thibaut VARENE [EMAIL PROTECTED] and Jarek Poplawski [EMAIL PROTECTED]. This patch is a modification of their fixes. We acquire and release the lock for each

Re: [PATCH] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs

2007-01-23 Thread Thibaut VARENE
On 1/23/07, Dale Farnsworth [EMAIL PROTECTED] wrote: From Dale Farnsworth [EMAIL PROTECTED] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs This bug was found and isolated by Thibaut VARENE [EMAIL PROTECTED] and Jarek Poplawski [EMAIL PROTECTED]. This patch is a modification of

Re: [PATCH 4/4] atl1: Ancillary C files for Attansic L1 driver

2007-01-23 Thread Stephen Hemminger
On Mon, 22 Jan 2007 21:00:04 +0100 Luca Tettamanti [EMAIL PROTECTED] wrote: Il Sun, Jan 21, 2007 at 09:33:39PM -0600, Jay Cliburn ha scritto: Randy Dunlap wrote: On Sun, 21 Jan 2007 15:07:37 -0600 Jay Cliburn wrote: [snip] + value = ioread16(hw-hw_addr + REG_PCIE_CAP_LIST); +

<    1   2   3   4   5   6   7   >