Rith the recent guest page fault change, we perform access checks on our own
instead of relying on the cpu. This means we have to perform the nx checks as
well.
Software like the google toolbar on windows appears to rely on this somehow.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
Index: linu
From: Joerg Roedel <[EMAIL PROTECTED]>
This patch implements forwarding of SHUTDOWN intercepts from the guest
on to userspace on AMD SVM. A SHUTDOWN event occurs when the guest produces
a triple fault (e.g. on reboot). This also fixes the bug that a guest
reboot actually causes a host reboot under
Perhaps the most visible change is that -no-acpi is no longer required
to install Windows (it is still recommended as the Windows ACPI HAL will
eat a lot of cpu time).
Changes from kvm-11:
- More migration work (Uri Lublin)
- savevm/loadvm (and migration) work on AMD (Leonard Norrgard)
- More
As written, sys_shmget will return ENOSPC when one page is still
available for allocation. This patch corrects the test.
Signed-off-by: Guy Streeter <[EMAIL PROTECTED]>
--
Index: linux-2.6/ipc/shm.c
===
--- linux-2.6.orig/ipc/shm.c
At Tue, 23 Jan 2007 16:17:56 +0100,
Adrian Bunk wrote:
>
> Despite being under linux/, linux/irq.h shouldn't be #include'd by arch
> independent code.
>
> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Thanks, I applied to ALSA tree now.
Takashi
-
To unsubscribe from this list: send the line
the session and pgrp fields in mxser_struct are unused.
Signed-off-by: Cedric Le Goater <[EMAIL PROTECTED]>
---
drivers/char/mxser.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
Index: 2.6.20-rc4-mm1/drivers/char/mxser.c
Hi,
I tried to call the following code in a kernel module:
error = do_path_lookup(AT_FDCWD, "/etc/profile.d/glib2.csh",
LOOKUP_PARENT, &nd);
I exported the function do_path_lookup() using
"EXPORT_SYMBOL_GPL(do_path_lookup);"
But do_path_lookup() caused the "general protection fault: 00
Hi!
>>But I still believe it can be out.
>>
>> Do you believe it could be a user-space daemon or what?
>
>Yes, what prevents userspace daemon watching /dev/input/event* to
>provide this functionality?
>
> Well that was my first attempt. Just an hack, but it works. Nonethe
Manuel Lauss wrote:
> Hi,
>
> here's a trivial patch which adds R6 reponse support to the au1xmmc
> driver. Fixes SD card detection / operation.
>
NAK. MMC_RSP_R1 and MMC_RSP_R6 have the same value so this will break
the switch.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer
Hello,
I have written a kernel module which introduces a new subsystem in
sysfs, and it contains several attributes, one of which is binary. So
far, I've been testing it using text. My problem is, attempting to read
data continues forever. For example:
# echo "test data" > /sys/mystuff/binarya
On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote:
[...]
> > Do you believe it could be a user-space daemon or what?
>
> Yes, what prevents userspace daemon watching /dev/input/event* to
> provide this functionality?
hmmm... EVIOCGRAB for example? the synaptics Xorg driver is using
it,
On Tue 2007-01-23 20:01:07, Mattia Dongili wrote:
> On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote:
> [...]
> > > Do you believe it could be a user-space daemon or what?
> >
> > Yes, what prevents userspace daemon watching /dev/input/event* to
> > provide this functionality?
>
> hmm
On Tue, Jan 23, 2007 at 02:49:59PM +0100, Michael Noisternig wrote:
> Sorry, I wasn't clear. I meant that it's not possible to let the user
> create the parent directory via mkdir(2) within sysfs. I.e.
> # mkdir object <-- create object/, configfs only
> # ls object
> type
> # echo b > object/typ
In gmane.linux.kernel, David Miller wrote:
> From: Alan Cox <[EMAIL PROTECTED]>
> Date: Mon, 22 Jan 2007 07:45:02 -0500
>
>> On Mon, Jan 22, 2007 at 12:07:11PM +0100, Christoph Hellwig wrote:
>> > > process. This year, the Kernel Summit will be held in Cambridge,
>> > > England, at the DeVere Univ
On 1/23/07, Stefan Richter <[EMAIL PROTECTED]> wrote:
This would be hard to organize and support. There are news sites like
LWN which give outlines of important kernel changes, and there are
mailinglists or community sites for architectures or driver subsystems
if you are interested in special p
On 1/23/07, Pavel Machek <[EMAIL PROTECTED]> wrote:
Hi1
...
>
>But I still believe it can be out.
>
> Do you believe it could be a user-space daemon or what?
Yes, what prevents userspace daemon watching /dev/input/event* to
provide this functionality?
Hi,
On Tue, 23 Jan 2007, Yu-Chen Wu wrote:
> All of the code as below:
> //==
> extern struct vm_struct *vmlist;
> struct vm_struct *vmlist2,*L2vm;
>
> int find_vm_struct(void *addr)
> {
> struct vm_struct **p;
> int i;
>
On Wed, 2007-01-03 at 11:43 +0100, Björn Steinbrink wrote:
> [Re-added lkml to the CC list, please don't drop anything from CC]
yes, since I would not have replied to this ;)
>
> On 2007.01.03 17:39:48 +0800, [EMAIL PROTECTED] wrote:
> > Hi!
> >
> > Thanks very much for your clear explanation !
On Sat, 13 Jan 2007 21:34:28 -0800 (PST)
Roland McGrath <[EMAIL PROTECTED]> wrote:
> + vma = vma->vm_next ?: vma == gate_vma ? NULL : gate_vma) {
Painful. Can we do this?
diff -puN fs/binfmt_elf.c~i386-vdso-use-vm_alwaysdump-tidy fs/binfmt_elf.c
--- a/fs/binfmt_elf.c~i386-vdso-use-vm
Stefan Priebe - FH wrote:
> I've 3 Servers which works wonderful with 2.6.16.X (also testet the
> latest 2.6.16.37)
>
> but with 2.6.18.6 i get these errors:
>
> "general protection fault: [#1]"
> "Modules linked in:"
> "CPU:0"
> "EIP:0060:[]Not tainted VLI"
> "EFLAGS: 00010246 (
On 1/22/07, Alan Cox <[EMAIL PROTECTED]> wrote:
Ditto..
Definitely disagree with that. I'd like to see the conference somewhere
else different this time - perhaps Czech Republic, or somewhere else more
easterly and Linux active (or even Finland...)
> While we're at it it would be nice to get r
On Tue, 23 Jan 2007, Andrew Morton wrote:
>
> /*
> + * Helper function for iterating across a vma list. It ensures that the
> caller
> + * will visit `gate_vma' prior to terminating the search.
Well, the comment is wrong. The code doesn't actually visit 'gate_vma' if
the list of VMA's is e
> On Sat, 13 Jan 2007 21:34:28 -0800 (PST)
> Roland McGrath <[EMAIL PROTECTED]> wrote:
>
> > +vma = vma->vm_next ?: vma == gate_vma ? NULL : gate_vma) {
>
> Painful. Can we do this?
Can't stand concise, eh? ;-) Your version is fine with me.
Thanks,
Roland
-
To unsubscribe from this
On Sun, 14 Jan 2007 08:33:45 -
Thomas Gleixner <[EMAIL PROTECTED]> wrote:
> The name space cleanup of the interrupt request flags (SA_xxx -> IRQF_xxx)
> left a 6 month grace period for the old deprecated flags. Remove them.
fwiw, I'll make this [patch 3/3], so the kernel compiles OK at each s
Sunil Naidu wrote:
...
> Am talking from the Linux users point of view (who need to know deep
> about the Kernel development, etc. Imagine, a student or a
> professional who wants to build a kernel with a patch for a i686
> machine?
You speak of advanced users with very special requirements. They
On Tue, Jan 23, 2007 at 08:02:57PM +0100, Pavel Machek wrote:
> On Tue 2007-01-23 20:01:07, Mattia Dongili wrote:
> > On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote:
> > [...]
> > > > Do you believe it could be a user-space daemon or what?
> > >
> > > Yes, what prevents userspace dae
> Not that the old code did either, so it's not like it's a new bug, but I
> thought I'd point it out anyway. As if we care (but you can probably
> trigger this by having an app that does
>
> munmap(NULL, TASK_SIZE);
>
> which will cause a SIGSEGV on return (because the stack doesn't exist
These patches allow the binaries which absolutely require that
their address space layout to be unaffected by address space
randomisation to specify that in their ELF header.
The first part defines the ELF header flag, the second implements
the corresponding part of the interpreter functionality.
Author: Samium Gromoff <[EMAIL PROTECTED]>
Date: Tue Jan 23 22:31:13 2007 +0300
Define the ELF binary header flag EF_AS_NO_RANDOM
EF_AS_NO_RANDOM should mean that the binary requests to not apply
randomisation to address spaces of its processes.
diff --git a/include/linux/elf.h
On Tue, 2007-01-23 at 12:02 -0800, Andrew Morton wrote:
> > The name space cleanup of the interrupt request flags (SA_xxx -> IRQF_xxx)
> > left a 6 month grace period for the old deprecated flags. Remove them.
>
> fwiw, I'll make this [patch 3/3], so the kernel compiles OK at each step.
Yup, shou
Author: Samium Gromoff <[EMAIL PROTECTED]>
Date: Tue Jan 23 23:12:16 2007 +0300
load_elf_binary: do not set PF_RANDOMIZE if the ELF file has
EF_AS_NO_RANDOM s
et
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 7cb2872..007dedd 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -780
Satoru Takeuchi wrote:
At Tue, 23 Jan 2007 00:42:31 +0100,
Richard Knutsson wrote:
Michal Piotrowski wrote:
How about this script?
"d) Ensure that your patch does not add new trailing whitespace. The
below
script will fix up your patch by stripping off such whitespace.
#!/bin
Jesper Juhl wrote:
> On 22/01/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote:
>> Is there going to be another 2.6.18-stable release?
>>
>
> Now that 2.6.19 is out, most likely not. -stable releases are made
> for the latest stable 2.6.x kernel, once 2.6.x+1 is out that's the one
> -stable patches are
On Tue, Jan 23, 2007 at 11:28:13PM +0300, Samium Gromoff wrote:
> Author: Samium Gromoff <[EMAIL PROTECTED]>
> Date: Tue Jan 23 22:31:13 2007 +0300
>
> Define the ELF binary header flag EF_AS_NO_RANDOM
>
> EF_AS_NO_RANDOM should mean that the binary requests to not apply
> rando
On Tue, Jan 23, 2007 at 03:33:48PM -0500, Chuck Ebbert wrote:
> Jesper Juhl wrote:
> > On 22/01/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote:
> >> Is there going to be another 2.6.18-stable release?
> >>
> >
> > Now that 2.6.19 is out, most likely not. -stable releases are made
> > for the latest st
At Tue, 23 Jan 2007 15:50:18 -0500,
Jakub Jelinek wrote:
>
> On Tue, Jan 23, 2007 at 11:28:13PM +0300, Samium Gromoff wrote:
> > Author: Samium Gromoff <[EMAIL PROTECTED]>
> > Date: Tue Jan 23 22:31:13 2007 +0300
> >
> > Define the ELF binary header flag EF_AS_NO_RANDOM
> >
> > EF_
because it's cold outside and i was bored, i put together the
following script, to be run from the top of the source tree:
==B
#!/bin/sh
CV=$(grep -rh "^#.*if.* CONFIG_[A-Za-z0-9]" . | grep -v endif)
CVARS=$(echo "${CV}" | sed "s/.*\(CONFIG_[
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
through whomever maintains the relevant psABI to get a bit officia
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
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 bo
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: s
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, comp
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. Whe
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]>
---
dri
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
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
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
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
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 t
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 b/drivers/md/r
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 --gi
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 compl
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 synchro
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
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 wit
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,
> >
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 wit
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() f
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
> dma_data_d
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 be
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
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 lo
(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 ot
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
> wri
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 US/Eu
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
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
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
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 == ji
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
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)
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
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 > /pro
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:
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 |
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 +-
i
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]>
Signed
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 M
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
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
=
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 chan
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 PI
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 resolu
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]>
Sig
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 dynt
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 reado
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
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.
T
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
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 cl
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(+)
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 c
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 <[
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 Gle
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 PROT
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 P
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 <[EMA
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:
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
valu
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]>
Signe
101 - 200 of 339 matches
Mail list logo