Re: [patch] x86, apic: use tsc deadline for oneshot when available

2012-10-30 Thread Venki Pallipadi
Patch looks good. Acked-by: Venkatesh Pallipadi On Mon, Oct 22, 2012 at 2:37 PM, Suresh Siddha wrote: > > Thomas, You wanted to run some tests with this, right? Please give it a > try and see if this is ok to be pushed to the -tip. > > thanks, > suresh > --8<-- > From: Suresh Siddha > Subject:

Re: 2.6.25-rc1 regression - suspend to ram

2008-02-11 Thread Venki Pallipadi
On Tue, Feb 12, 2008 at 12:10:54AM +0100, R. J. Wysocki wrote: > On Monday, 11 of February 2008, Lukas Hejtmanek wrote: > > Hello, > > Hi, > > > 2.6.25-rc1 takes really long time till it suspends (about 30-40secs, used to > > be about 5 secs at all) and it is resuming about few minutes. While

Re: [2.6.25-rc1 regression] Suspend to RAM (bisected)

2008-02-11 Thread Venki Pallipadi
On Mon, Feb 11, 2008 at 12:06:50PM -0800, Venki Pallipadi wrote: > On Mon, Feb 11, 2008 at 05:37:04PM -0200, Carlos R. Mafra wrote: > > Pallipadi, Venkatesh wrote: > > > > > > Can you send me the output of acpidump and full dmesg to me. Looks like > > > it

Re: [2.6.25-rc1 regression] Suspend to RAM (bisected)

2008-02-11 Thread Venki Pallipadi
On Mon, Feb 11, 2008 at 05:37:04PM -0200, Carlos R. Mafra wrote: > Pallipadi, Venkatesh wrote: > > > > Can you send me the output of acpidump and full dmesg to me. Looks like > > it is a platform issue due to which we cannot use C1 mwait idle during > > suspend resume, something similar to issue w

Re: [PATCH] x86: Simplify cpu_idle_wait

2008-02-08 Thread Venki Pallipadi
On Fri, Feb 08, 2008 at 11:28:48AM +0100, Andi Kleen wrote: > > > - set_cpus_allowed(current, tmp); > > + smp_mb(); > > + /* kick all the CPUs so that they exit out of pm_idle */ > > + smp_call_function(do_nothing, NULL, 0, 0); > > I think the last argument (wait) needs to be 1 to make su

[PATCH] x86: Simplify cpu_idle_wait

2008-02-07 Thread Venki Pallipadi
Earlier commit 40d6a146629b98d8e322b6f9332b182c7cbff3df added smp_call_function in cpu_idle_wait() to kick cpus that are in tickless idle. Looking at cpu_idle_wait code at that time, code seemed to be over-engineered for a case which is rarely used (while changing idle handler). Below is a simpli

Re: 2.6.24-rc8-mm1

2008-01-17 Thread Venki Pallipadi
On Thu, Jan 17, 2008 at 11:40:32AM -0800, Andrew Morton wrote: > On Thu, 17 Jan 2008 11:22:19 -0800 "Pallipadi, Venkatesh" <[EMAIL PROTECTED]> > wrote: > > > > > The problem is > > >> modprobe:2584 conflicting cache attribute 5000-50001000 > > >> uncached<->default > > > > Some address ran

Re: [patch 0/4] x86: PAT followup - Incremental changes and bug fixes

2008-01-17 Thread Venki Pallipadi
On Thu, Jan 17, 2008 at 11:52:43PM +0100, Andreas Herrmann3 wrote: > On Thu, Jan 17, 2008 at 11:15:05PM +0100, Ingo Molnar wrote: > > > > * Andreas Herrmann3 <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Jan 17, 2008 at 10:42:09PM +0100, Ingo Molnar wrote: > > > > > > > > * Siddha, Suresh B <[EMA

Re: [-mm Patch] uml: fix a building error

2008-01-17 Thread Venki Pallipadi
On Thu, Jan 17, 2008 at 04:14:37PM -0500, Jeff Dike wrote: > On Thu, Jan 17, 2008 at 11:38:53AM -0800, Pallipadi, Venkatesh wrote: > > Apart from unxlate, there is also ioremap_wc which is defined in the > > same way. > > And while we're on the subject, what's the deal with these, in > include/asm

Re: [patch 2/4] x86: PAT followup - Remove KERNPG_TABLE from pte entry

2008-01-16 Thread Venki Pallipadi
On Wed, Jan 16, 2008 at 10:14:00AM +0200, Mika Penttilä wrote: > [EMAIL PROTECTED] kirjoitti: > >KERNPG_TABLE was a bug in earlier patch. Remove it from pte. > >pte_val() check is redundant as this routine is called immediately after a > >ptepage is allocated afresh. > > > >Signed-off-by: Venkatesh

Re: [patch 0/4] x86: PAT followup - Incremental changes and bug fixes

2008-01-16 Thread Venki Pallipadi
On Wed, Jan 16, 2008 at 07:57:48PM +0100, Andreas Herrmann wrote: > Hi, > > I just want to report that the PAT support in x86/mm causes crashes > on two of my test machines. On both boxes the SATA detection does > not work when the PAT support is patched into the kernel. > > Symptoms are as follo

Re: Folding _PAGE_PWT into _PAGE_PCD (was Re: unify pagetable accessors patch causes double fault II)

2008-01-15 Thread Venki Pallipadi
On Tue, Jan 15, 2008 at 09:16:50AM -0800, Jeremy Fitzhardinge wrote: > Ingo Molnar wrote: > >-#define _PAGE_PRESENT (_AC(1, UL)<<_PAGE_BIT_PRESENT) > >-#define _PAGE_RW(_AC(1, UL)<<_PAGE_BIT_RW) > >-#define _PAGE_USER (_AC(1, UL)<<_PAGE_BIT_USER) > >-#define _PAGE_PWT (_AC(1, UL)<<_PAG

Re: + restore-missing-sysfs-max_cstate-attr.patch added to -mm tree

2008-01-03 Thread Venki Pallipadi
Reintroduce run time configurable max_cstate for !CPU_IDLE case. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.24-rc/drivers/acpi/processor_idle.c === --- linux-2.6.24-rc.orig/drivers/acpi/processor_idle.c

Re: [PATCH] x86: Voluntary leave_mm before entering ACPI C3

2007-12-19 Thread Venki Pallipadi
On Wed, Dec 19, 2007 at 08:32:55PM +0100, Ingo Molnar wrote: > > * Venki Pallipadi <[EMAIL PROTECTED]> wrote: > > > Aviod TLB flush IPIs during C3 states by voluntary leave_mm() before > > entering C3. > > > > The performance impact of TLB flush on

Re: [PATCH] x86: Voluntary leave_mm before entering ACPI C3

2007-12-19 Thread Venki Pallipadi
On Wed, Dec 19, 2007 at 11:48:14AM -0800, H. Peter Anvin wrote: > Ingo Molnar wrote: > > > >i dont think it's required for C3 to even turn off any portion of the > >CPU - if an interrupt arrives after the C3 sequence is initiated but > >just before dirty cachelines have been flushed then the CPU

Re: [PATCH] x86: Voluntary leave_mm before entering ACPI C3

2007-12-19 Thread Venki Pallipadi
On Wed, Dec 19, 2007 at 08:40:32PM +0100, Ingo Molnar wrote: > > * H. Peter Anvin <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar wrote: > >> * Venki Pallipadi <[EMAIL PROTECTED]> wrote: > >> > >>> Aviod TLB flush IPIs during C3

[PATCH] x86: Voluntary leave_mm before entering ACPI C3

2007-12-19 Thread Venki Pallipadi
Aviod TLB flush IPIs during C3 states by voluntary leave_mm() before entering C3. The performance impact of TLB flush on C3 should not be significant with respect to C3 wakeup latency. Also, CPUs tend to flush TLB in hardware while in C3 anyways. On a 8 logical CPU system, running make -j2, the

Re: [RFC PATCH 02/12] PAT 64b: Basic PAT implementation

2007-12-14 Thread Venki Pallipadi
On Fri, Dec 14, 2007 at 01:42:12AM +0100, Andi Kleen wrote: > > +void __cpuinit pat_init(void) > > +{ > > + /* Set PWT+PCD to Write-Combining. All other bits stay the same */ > > + if (cpu_has_pat) { > > All the old CPUs (PPro etc.) with known PAT bugs need to clear this flag > now in their C

Re: 2.6.24-rc1 and 2.6.24.rc2 hangs while running udev on my laptop

2007-11-09 Thread Venki Pallipadi
you try the patch below over rc2 and see whether it fixes the problem. Looking at the code, it should fix the problem. If it does not, can you send me the output of acpidump from your system. That will help to look further into this. You can get acpidump from latest pmtools package here. www.kern

[PATCH] Track accurate idle time with tick_sched.idle_sleeptime

2007-08-27 Thread Venki Pallipadi
Current idle time in kstat is based on jiffies and is coarse grained. tick_sched.idle_sleeptime is making some attempt to keep track of idle time in a fine grained manner. But, it is not handling the time spent in interrupts fully. Make tick_sched.idle_sleeptime accurate with respect to time spen

Re: Cpu-Hotplug and Real-Time

2007-08-07 Thread Venki Pallipadi
On Tue, Aug 07, 2007 at 07:13:36PM +0400, Oleg Nesterov wrote: > On 08/07, Gautham R Shenoy wrote: > > > > After some debugging, I saw that the hang occured because > > the high prio process was stuck in a loop doing yield() inside > > wait_task_inactive(). Description follows: > > > > Say a high-

Re: Time Problems with 2.6.23-rc1-gf695baf2

2007-07-31 Thread Venki Pallipadi
On Tue, Jul 31, 2007 at 05:38:08PM +0200, Eric Sesterhenn / Snakebyte wrote: > * Pallipadi, Venkatesh ([EMAIL PROTECTED]) wrote: > > This means things should work fine with processor.max_cstate=2 boot > > option > > as well. Can you please double check that. > > yes, system boots fine with this ke

[PATCH 7/7] ICH Force HPET: Add ICH7_0 pciid to quirk list

2007-06-22 Thread Venki Pallipadi
Add another PCI ID for ICH7 force hpet. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21/arch/i386/kernel/quirks.c === --- linux-2.6.21.orig/arch/i386/kernel/quirks.c +++ linux-2.6.21/arch/i386/kernel/quir

[PATCH 4/7] ICH Force HPET: Late initialization of hpet after quirk

2007-06-22 Thread Venki Pallipadi
Enable HPET later during boot, after the force detect in PCI quirks. Also add a call to repeat the force enabling at resume time. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> --- arch/i386/kernel/hpet.c | 50 +++- include/asm-i386/hpet.h

[PATCH 5/7] ICH Force HPET: ICH5 quirk to force detect enable

2007-06-22 Thread Venki Pallipadi
force_enable hpet for ICH5. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> --- arch/i386/kernel/hpet.c |2 arch/i386/kernel/quirks.c | 101 +- include/asm-i386/hpet.h |2 include/linux/pci_ids.h |1 4 files changed, 103

[PATCH 6/7] ICH Force HPET: ICH5 fix a bug with suspend/resume

2007-06-22 Thread Venki Pallipadi
A bugfix in ich5 hpet force detect which caused resumes to fail. Thanks to Udo A Steinberg for reporting the problem. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> --- arch/i386/kernel/quirks.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22-rc5/arch/i386

[PATCH 3/7] ICH Force HPET: ICH7 or later quirk to force detect enable

2007-06-22 Thread Venki Pallipadi
Force detect and/or enable HPET on ICH chipsets. This patch just handles the detection part and following patches use this information. Adds a function to repeat the force enabling during resume time. Using HPET this way, instead of PIT increases the time CPUs can reside in C-state when system is

[PATCH 2/7] ICH Force HPET: Restructure hpet generic clock code

2007-06-22 Thread Venki Pallipadi
Restructure and rename legacy replacement mode HPET timer support. Just the code structural changes and should be zero functionality change. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> --- Index: linux-2.6.22-rc5/arch/i386/kernel/hpet.c ===

[PATCH 1/7] ICH Force HPET: Make generic time capable of switching broadcast timer

2007-06-22 Thread Venki Pallipadi
Auto-detect the presence of HPET on ICH5 or newer platforms and enable HPET for broadcast timer. This gives a bigger upperlimit for tickless time tick and improves the power consumption in comparison to PIT as broadcast timer. This patch: Change the broadcast timer, if a timer with higher ratin

[PATCH 8/8] cpuidle: first round of documentation updates

2007-06-06 Thread Venki Pallipadi
Documentation changes based on Pavel's feedback. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/Documentation/cpuidle/sysfs.txt === --- linux-2.6.22-rc-mm.orig/Documentation/cpuidle/sysfs.txt 2

[PATCH 7/8] cpuidle: add rating to the governors and pick the one with highest rating by default

2007-06-06 Thread Venki Pallipadi
Introduce a governor rating scheme to pick the right governor by default. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/include/linux/cpuidle.h === --- linux-2.6.22-rc-mm.orig/include/linux/cpuid

[PATCH 6/8] cpuidle: make cpuidle sysfs driver/governor switch off by default

2007-06-06 Thread Venki Pallipadi
Make default cpuidle sysfs to show current_governor and current_driver in read-only mode. More elaborate available_governors and available_drivers with writeable current_governor and current_driver interface only appear with "cpuidle_sysfs_switch" boot parameter. Signed-off-by: Venkatesh Pallipa

[PATCH 5/8] cpuidle: menu governor change the early break condition

2007-06-06 Thread Venki Pallipadi
Change the C-state early break out algorithm in menu governor. We only look at early breakouts that result in wakeups shorter than idle state's target_residency. If such a breakout is frequent enough, eliminate the particular idle state upto a timeout period. Signed-off-by: Venkatesh Pallipadi

[PATCH 4/8] cpuidle: fis the uninitialized variable in sysfs routine

2007-06-06 Thread Venki Pallipadi
Fix the uninitialized usage of ret. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/drivers/cpuidle/sysfs.c === --- linux-2.6.22-rc-mm.orig/drivers/cpuidle/sysfs.c 2007-06-04 15:44:17.0

[PATCH 3/8] cpuidle: reenable /proc/acpi/ power interface for the time being

2007-06-06 Thread Venki Pallipadi
Keep /proc/acpi/processor/CPU*/power around for a while as powertop depends on it. It will be marked deprecated and removed in future. powertop can use cpuidle interfaces instead. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/drivers/acpi/processor_idle.c

[PATCH 2/8] cpuidle: menu governor and hrtimer compile fix

2007-06-06 Thread Venki Pallipadi
Compile fix for menu governor. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/drivers/cpuidle/governors/menu.c === --- linux-2.6.22-rc-mm.orig/drivers/cpuidle/governors/menu.c2007-06-01 16:25:

[PATCH 1/8] cpuidle: acpi_set_cstate_limit compile fix

2007-06-06 Thread Venki Pallipadi
Len, Following are a bunch of small changes to cpuidle trying to prepare it for mainline. Some of the changes are just the compile timer errors/warnings and you probably already have them in acpi-test. Should apply cleanly to latest acpi-test. Please include in acpi-test. Thanks, Venki This pa

Re: Intel's response Linux/MTRR/8GB Memory Support / Why doesn't the kernel realize the BIOS has problems and re-map appropriately?

2007-06-01 Thread Venki Pallipadi
On Fri, Jun 01, 2007 at 02:41:57PM -0700, Jesse Barnes wrote: > On Friday, June 1, 2007 2:19:43 Andi Kleen wrote: > > And normally the MTRRs win, don't they (if I remember the table correctly) > > So if the MTRR says UC and PAT disagrees it might not actually help > > I just checked, yes the MTRRs

[PATCH] Add a flag to indicate deferrable timers in /proc/timer_stats

2007-05-30 Thread Venki Pallipadi
Add a flag in /proc/timer_stats to indicate deferrable timers. This will let developers/users to differentiate between types of tiemrs in /proc/timer_stats. Deferrable timer and normal timer will appear in /proc/timer_stats as below. 10D, 1 swapper queue_delayed_work_on (delayed_wo

Re: [PATCH 3/4] Make net watchdog timers 1 sec jiffy aligned

2007-05-30 Thread Venki Pallipadi
On Wed, May 30, 2007 at 01:30:39PM -0700, Stephen Hemminger wrote: > On Wed, 30 May 2007 12:55:51 -0700 (PDT) > David Miller <[EMAIL PROTECTED]> wrote: > > > From: Patrick McHardy <[EMAIL PROTECTED]> > > Date: Wed, 30 May 2007 20:42:32 +0200 > > > > > Stephen Hemminger wrote: > > > >>>Index: linu

Re: [PATCH 3/4] Make net watchdog timers 1 sec jiffy aligned

2007-05-30 Thread Venki Pallipadi
On Wed, May 30, 2007 at 12:55:51PM -0700, David Miller wrote: > From: Patrick McHardy <[EMAIL PROTECTED]> > Date: Wed, 30 May 2007 20:42:32 +0200 > > > Stephen Hemminger wrote: > > >>>Index: linux-2.6.22-rc-mm/net/sched/sch_generic.c > > >>>=

Re: [PATCH 3/4] Make net watchdog timers 1 sec jiffy aligned

2007-05-30 Thread Venki Pallipadi
On Wed, May 30, 2007 at 08:42:32PM +0200, Patrick McHardy wrote: > Stephen Hemminger wrote: > >>>Index: linux-2.6.22-rc-mm/net/sched/sch_generic.c > >>>=== > >>>--- linux-2.6.22-rc-mm.orig/net/sched/sch_generic.c2007-05-24 > >

Re: [PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo

2007-05-29 Thread Venki Pallipadi
On Thu, May 24, 2007 at 05:04:13PM -0700, H. Peter Anvin wrote: > > If they grow slowly from the bottom, I guess we could simply allocate > space in the vector byte by byte instead. Either way, it means more > work whenever anything has to change. > hpa, Below patch adds a new word for feature

Re: [PATCH 1/4] Make usb-autosuspend timer 1 sec jiffy aligned

2007-05-29 Thread Venki Pallipadi
On Tue, May 29, 2007 at 11:22:30AM -0700, Randy Dunlap wrote: > On Tue, 29 May 2007 10:58:21 -0700 Venki Pallipadi wrote: > > > > > > > Below are a bunch of random timers, that were active on my system, > > that can better be round_jiffies() aligned. > > and

[PATCH 4/4] Make mce polling timers 1 sec jiffy aligned

2007-05-29 Thread Venki Pallipadi
round_jiffies() for i386 and x86-64 non-critical/corrected MCE polling. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/arch/x86_64/kernel/mce.c === --- linux-2.6.22-rc-mm.orig/arch/x86_64/kernel/mce

[PATCH 3/4] Make net watchdog timers 1 sec jiffy aligned

2007-05-29 Thread Venki Pallipadi
round_jiffies for net dev watchdog timer. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/net/sched/sch_generic.c === --- linux-2.6.22-rc-mm.orig/net/sched/sch_generic.c 2007-05-24 11:16:03.

[PATCH 2/4] Make page-writeback timers 1 sec jiffy aligned

2007-05-29 Thread Venki Pallipadi
timer round_jiffies in page-writeback. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.22-rc-mm/mm/page-writeback.c === --- linux-2.6.22-rc-mm.orig/mm/page-writeback.c 2007-05-25 10:49:11.0 -0700 ++

[PATCH 1/4] Make usb-autosuspend timer 1 sec jiffy aligned

2007-05-29 Thread Venki Pallipadi
Below are a bunch of random timers, that were active on my system, that can better be round_jiffies() aligned. I guess we need a audit of all timer usages atleast in kernel-core. This patch: Make usb autosuspend timers 1sec jiffy aligned. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]>

Re: [PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo

2007-05-24 Thread Venki Pallipadi
On Thu, May 24, 2007 at 03:02:23PM -0700, Andrew Morton wrote: > On Wed, 23 May 2007 15:46:37 -0700 > Venki Pallipadi <[EMAIL PROTECTED]> wrote: > > > Display Intel Dynamic Acceleration feature in /proc/cpuinfo. This feature > > will be enabled automatically by curr

Re: [PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo

2007-05-24 Thread Venki Pallipadi
On Thu, May 24, 2007 at 11:25:27PM +0200, Andi Kleen wrote: > On Thursday 24 May 2007 23:13:37 Venki Pallipadi wrote: > > On Thu, May 24, 2007 at 11:08:38PM +0200, Andi Kleen wrote: > > > > > > I think it's generally a good idea to push cpuinfo flags in earliest &

Re: [PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo

2007-05-24 Thread Venki Pallipadi
On Thu, May 24, 2007 at 11:08:38PM +0200, Andi Kleen wrote: > > I think it's generally a good idea to push cpuinfo flags in earliest > as possible; just make sure we actually use the final name (so that we don't > get > into a pni->sse3 mess again) > ida is official name as in the Software De

Re: [PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo

2007-05-24 Thread Venki Pallipadi
On Thu, May 24, 2007 at 05:01:04PM -0400, Dave Jones wrote: > On Thu, May 24, 2007 at 01:55:13PM -0700, Andrew Morton wrote: > > On Wed, 23 May 2007 15:46:37 -0700 > > Venki Pallipadi <[EMAIL PROTECTED]> wrote: > > > > > Display Intel Dynamic Acceler

[PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo

2007-05-23 Thread Venki Pallipadi
Display Intel Dynamic Acceleration feature in /proc/cpuinfo. This feature will be enabled automatically by current acpi-cpufreq driver and cpufreq. Refer to Intel Software Developer's Manual for more details about the feature. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-

Re: [PATCH] x86-64 highres/dyntick support

2007-05-07 Thread Venki Pallipadi
Needs this minor fix to build on i386. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21-tolkml/include/asm-i386/hpet.h === --- linux-2.6.21-tolkml.orig/include/asm-i386/hpet.h2007-05-07 14:32:37.00

[PATCH 8/8] Register unused HPET timers with /dev/hpet driver

2007-05-07 Thread Venki Pallipadi
Reserve available HPET timers with driver/hpet. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21/arch/i386/kernel/hpet.c === --- linux-2.6.21.orig/arch/i386/kernel/hpet.c 2007-04-27 14:59:00.0 -0

[PATCH 6/8] use HPET timer in standard interrupt delivery mode

2007-05-07 Thread Venki Pallipadi
Add support for HPET timers in "standard" interrupt delivery mode as opposed to "legacy replacement" mode. This enables HPET timer to be tied to regular IRQ lines and can enable different HPET timers to be targetted to different CPUs. And with this change, HPET timer need not have to overstep on

[PATCH 7/8] HPET boot option for the new standard interrupt delivery mode

2007-05-07 Thread Venki Pallipadi
Add a new boot option related to HPET. Current mode of HPET functioning: (1) If HPET is listed in BIOS: default: HPET gets detected at boot time and gets enabled in "legacy replacement" mode. "hpet=standard" boot option: HPET does not get used during early boot and PIT will be used in early boot

[PATCH 3/8] kernel irqbalance fixes to handle IRQs with balancing disabled

2007-05-07 Thread Venki Pallipadi
kernel irq balance code moves IRQs around without checking whether they are movable or not. Add those checks. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21-tolkml/arch/i386/kernel/io_apic.c === --- linu

[PATCH 4/8] Force detect and enable HPET on ICH

2007-05-07 Thread Venki Pallipadi
Force detect and/or enable HPET on ICH chipsets. This patch just handles the detection part and following patches use this information. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21-rc-mm-hpet/arch/i386/kernel/quirks.c ===

[PATCH 5/8] Late init of HPET after PCI quirk detection

2007-05-07 Thread Venki Pallipadi
Enable HPET later during boot, after the force detect in PCI quirks. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21-rc-mm-hpet/include/asm-i386/hpet.h === --- linux-2.6.21-rc-mm-hpet.orig/include/asm-i386

[PATCH 2/8] Change the broadcast timer based on rating of clockevent dev

2007-05-07 Thread Venki Pallipadi
Change the broadcast timer, if a timer with higher rating becomes available. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Index: linux-2.6.21-tolkml/kernel/time/tick-common.c === --- linux-2.6.21-tolkml.orig/kernel/time/t

[PATCH 1/8] Restructuring hpet timer generic clock interfaces

2007-05-07 Thread Venki Pallipadi
i386 HPET changes. Patchset does the following changes to HPET support: * Add HPET force detect to ICH chipsets, and detect the presence of HPET through PCI quirk. * Enable HPET timer to function in standard interrupt delivery mode, against the current legacy replacement mode * Enable HPET a

Re: 2.6.21-rc6-mm1

2007-04-10 Thread Venki Pallipadi
On Tue, Apr 10, 2007 at 07:59:29PM -0400, Adam Belay wrote: > On Tue, 2007-04-10 at 15:20 -0700, Venki Pallipadi wrote: > > On Mon, Apr 09, 2007 at 07:40:52PM +0200, Rafael J. Wysocki wrote: > > > On Monday, 9 April 2007 18:14, Pallipadi, Venkatesh wrote: > > > >

Re: 2.6.21-rc6-mm1

2007-04-10 Thread Venki Pallipadi
On Mon, Apr 09, 2007 at 07:40:52PM +0200, Rafael J. Wysocki wrote: > On Monday, 9 April 2007 18:14, Pallipadi, Venkatesh wrote: > > > > >-Original Message- > > >From: Rafael J. Wysocki [mailto:[EMAIL PROTECTED] > > >Sent: Monday, April 09, 2007 9:08 AM > > >To: Andrew Morton > > >Cc: linu

Re: [PATCH 1/5] RT kernel: force detect HPET from PCI space

2007-03-30 Thread Venki Pallipadi
On Fri, Mar 30, 2007 at 06:50:19PM +0200, Nicolas Mailhot wrote: > Anyone got the same thing for CK804? I had my hopes high, and then I saw > the DECLARE_PCI_FIXUP_HEADER values [and the thread title was > misleading] > Sorry about the wrong subject. It should have had ICH in the subject somewher

Re: [PATCH] Add support for deferrable timers (respun-Mar28)

2007-03-28 Thread Venki Pallipadi
On Wed, Mar 28, 2007 at 05:01:59PM -0700, Andrew Morton wrote: > On Wed, 28 Mar 2007 16:00:21 -0700 > Venki Pallipadi <[EMAIL PROTECTED]> wrote: > > > Please drop the patch you included yesterday and two incremental patches and > > use the patch below. > > As y

Re: [PATCH] Add support for deferrable timers (respun-Mar28)

2007-03-28 Thread Venki Pallipadi
Andrew, Please drop the patch you included yesterday and two incremental patches and use the patch below. This patch is - yesterday's patch + Your tidy cleanup + minor changes based on comments from Oleg and Andi. This is a lot cleaner (and smaller) than earlier patches. Thanks, Venki Introdu

Re: [PATCH] Add support for deferrable timers (respun)

2007-03-28 Thread Venki Pallipadi
On Wed, Mar 28, 2007 at 01:06:35PM +0200, Andi Kleen wrote: > Venki Pallipadi <[EMAIL PROTECTED]> writes: > > +++ new/kernel/timer.c 2007-03-26 15:19:35.0 -0800 > > @@ -74,7 +74,7 @@ > > tvec_t tv3; > > tvec_t tv4; > > tvec_t t

Re: [RFC][PATCH 3/3] add the 'menu' cpuidle governor

2007-03-27 Thread Venki Pallipadi
On Mar 27, 2007, at 12:04 PM, Adam Belay wrote: On Mon, 2007-03-26 at 13:36 +0800, Shaohua Li wrote: Hi, On Sat, 2007-03-24 at 03:47 -0400, Adam Belay wrote: This patch adds the 'menu' governor, as was described in my first email. +/** + * menu_select - selects the next idle state to en

Re: [PATCH] Add support for deferrable timers (respun)

2007-03-27 Thread Venki Pallipadi
On Wed, Mar 28, 2007 at 02:22:27AM +0400, Oleg Nesterov wrote: > On 03/27, Venki Pallipadi wrote: > > > > @@ -368,7 +368,7 @@ > > > > for (;;) { > > tvec_base_t *prelock_base = timer->base; > > - base = timer_get_base(tim

Re: [PATCH] Add support for deferrable timers (respun)

2007-03-27 Thread Venki Pallipadi
On Wed, Mar 28, 2007 at 01:11:45AM +0400, Oleg Nesterov wrote: > On 03/27, Venki Pallipadi wrote: > > > > for (;;) { > > - base = timer->base; > > + tvec_base_t *prelock_base = timer->base; > > + base = timer_get_base(

[PATCH] Add support for deferrable timers (respun)

2007-03-27 Thread Venki Pallipadi
On Thu, Mar 22, 2007 at 07:13:55PM +0300, Oleg Nesterov wrote: > > Perhaps we can do something like this, > > struct deferrable_timer { > struct timer_list timer; > void (*real_function)(struct deferrable_timer *self); > }; > > static void deferrable

Re: 2.6.21-rc5: maxcpus=1 crash in cpufreq: kernel BUG at drivers/cpufreq/cpufreq.c:82!

2007-03-26 Thread Venki Pallipadi
On Mon, Mar 26, 2007 at 11:12:02AM -0700, Venki Pallipadi wrote: > > >Calling initcall 0x8021e003: powernowk8_init+0x0/0x88() > >powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ > >processors (version 2.00.00) > >powernow-k8: BIOS error -

Re: 2.6.21-rc5: maxcpus=1 crash in cpufreq: kernel BUG at drivers/cpufreq/cpufreq.c:82!

2007-03-26 Thread Venki Pallipadi
On Mar 26, 2007, at 2:04 AM, Ingo Molnar wrote: trying to debug the forcedeth crash triggered another, new v2.6.20 -> v2.6.21 regression: maxcpus=1 on a dual-core system crashes the x86_64 SMP kernel in lock_policy_rwsem_write() - see the crash log below. Config attached. i suspect it could

Re: [PATCH 2/2] Export deferrable timer through workqueue and use it in ondemand governor

2007-03-21 Thread Venki Pallipadi
On Mar 21, 2007, at 3:04 PM, Dave Jones wrote: On Wed, Mar 21, 2007 at 01:23:40PM -0700, Venkatesh Pallipadi wrote: Add a new deferrable delayed work init. This can be used to schedule work that are 'unimportant' when CPU is idle and can be called later, when CPU eventually comes out o

Re: 2.6.21-rc4-mm1 - problem with cpuidle routine

2007-03-21 Thread Venki Pallipadi
On Mar 21, 2007, at 11:49 AM, Larry Finger wrote: When I configure 'CPU Idle PM Support' on my HP dv2125nr notebook with a Turion X64 X2 processor and X86_64 architecture selected, the computer freezes on bootup. I have included a portion the configuration file and part of /var/log/boot.msg