On 12/23/2007 12:44 AM, Jeff Garzik wrote:
>>
>> By possibly using different implementations for the two ranges you avoid
>> introducing a new API, you avoid taking risks with mmconf when you don't
>> need it. That doesn't preclude using mmconf for everything either if the
>> user requests it or
On Sat, 2007-12-22 at 02:52 -0800, Andrew Morton wrote:
> On Sat, 22 Dec 2007 11:39:30 +0100 Mike Galbraith <[EMAIL PROTECTED]> wrote:
>
> >
> > On Sat, 2007-12-22 at 04:52 -0500, Jon Masters wrote:
> >
> > > So, user tasks running with SCHED_FIFO should be able to lock a system?
> > > I guess
Hi Bjorn,
Le 23/12/2007, Bjorn Helgaas a écrit:
>On Saturday 22 December 2007 4:21:41 am Jean Delvare wrote:
>> >This patch makes the it87 driver request only the two ports used for the
>> >Environment Controller device.
>>
>> The problem is that the IT87xxF chips do decode 4 ports (recent chips,
tlb->need_flush += &__get_cpu_var(quicklist)[0].nr_pages != 0;
makes no sense whatsoever. How the hell can you ever get the address of
__get_cpu_var(quicklist)[0].nr_pages to be NULL? Postfix operators have
higher precedence than prefix ones, so that's
&(((__get_cpu_var(quicklist)
Hi,
did anyone already take care about:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg55641.html
the fix seems to paper the issue although it happened with other
people too now, so I wonder if there's any progress in that area?
thanks & have a nice Christmas,
Markus
On Dec 23, 2007 8:24 AM,
Hi!
> The fact is, 99% of the hardware you buy *today* has absolutely zero need
> for extended PCI config access. In fact, I would not be surprised at all
> if most hardware sold today generally doesn't have *any* devices that even
> have config registers in the 0x100+ range.
Most PCI Express
>
> 3) mmconfig might or might not be enabled, depending on which driver
> is loaded, whether it called an API or not.
>
> Even LESS testing by hw vendors than #2. Maybe even "never"
>
> Inconsistent (config access depends on device)
the "depends on device" is even true for Linux t
On Tue, 18 Dec 2007, Andrew Morton wrote:
> On Tue, 18 Dec 2007 20:52:07 +0100 (CET) Geert Uytterhoeven <[EMAIL
> PROTECTED]> wrote:
> > On Tue, 18 Dec 2007, Andrew Morton wrote:
> > > On Sun, 16 Dec 2007 11:51:00 +0100 (CET) Geert Uytterhoeven <[EMAIL
> > > PROTECTED]> wrote:
> > > > On recent k
On Sun, Dec 23, 2007 at 12:44:30AM -0500, Jeff Garzik wrote:
> Failures are more predictable and more consistent with an all-or-none
> scenario. The all-or-none solutions are the least complex on the software
> side, and far more widely tested than any mixed config access scheme.
Nope. The vast
* Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/
>
> - This kernel doesn't work on i386!
>
> It oopses late in boot due to an unrevertable change (e3c1b141) in
> git-x86 which I stared at for a while th
* Ingo Molnar <[EMAIL PROTECTED]> wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/
> >
> > - This kernel doesn't work on i386!
> >
> > It oopses late in boot due to an unrevertable change (e3c1b141) in
> > git-x86 which I stared at for a w
Another year, another update! :)
The kernel hacker's guide to git has received some updates:
http://linux.yyz.us/git-howto.html
This includes all the input sent to me in the past several months, as
well as a few new tips and tricks I use on a regular basis.
In general, this document
On Fri, Dec 21 2007 at 4:30 +0200, Benjamin Herrenschmidt <[EMAIL PROTECTED]>
wrote:
> The sense buffer ins scsi_cmnd can nowadays be DMA'ed into directly
> by some low level drivers (that typically happens with USB mass
> storage).
>
> This is a problem on non cache coherent architectures such a
On Sun 2007-12-23 18:05:59, David Newall wrote:
> Pavel Machek wrote:
>> On Sun 2007-12-23 07:06:58, David Newall wrote:
>>
>>> It's kind of hard to run anything over SSH if it has to be run before
>>> userspace is up. But the kernel can collect results from a modified
>>> memtest, after it c
Hello,
I can do better. I have investigated a bit the problem:
1) The problem arises only with the userspace nfsd (Universal nfsd 2.2).
I have realized that the latest patches introduced in 2.6.22 have
changed a lot of things into NFS.
2) The following code has been debugged with sunrpc.rpc_
On Sun, 23 Dec 2007 12:10:04 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> * Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/
> > >
> > > - This kernel doesn't work on i386!
> > >
> > > It oopses late i
Reogranize USB Kconfig Menu, and move USB_GADGET out into the Device Driver
Menu. This helps the USB Kconfig Menu to be more logical/usable.
Cc: David Brownell <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Cc: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Al Boldi <[EMAIL PROTECTED]>
-
* Andrew Morton <[EMAIL PROTECTED]> wrote:
> Still. The crash is 100% repeatable and is the same every time.
> Happens on both my i386 test boxes.
>
> http://userweb.kernel.org/~akpm/config-sony.txt
> http://userweb.kernel.org/~akpm/config-vmm.txt
>
> and I bisected it down to e3c1b141.
ok,
On Sun, Dec 23, 2007 at 02:50:52AM +0100, [EMAIL PROTECTED] wrote:
> rename UDF_SB function to udf_sb
FOO_SB is a convention used by most filesystems, so I don't really see
any point in changing it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a messag
On Sun, 23 Dec 2007, Jeff Garzik wrote:
> Another year, another update! :)
>
> The kernel hacker's guide to git has received some updates:
>
> http://linux.yyz.us/git-howto.html
>
> This includes all the input sent to me in the past several months,
> as well as a few new tips and tricks I u
On Sun, Dec 23, 2007 at 02:50:54AM +0100, [EMAIL PROTECTED] wrote:
> - change UDF_SB_VOLIDENT macro to udf_sb_volume_ident inline function
> - rename s_volident field to s_volume_ident
Please just use the field directly without an accessor. And as usual
there's a lot of opportunity to have a nice
Same comment applies to this one. And probably the following patches
aswell so I'm not going to comment on this issue for them.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/m
On Sun, Dec 23, 2007 at 12:57:35PM +0100, Ingo Molnar wrote:
>
> * Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> > Still. The crash is 100% repeatable and is the same every time.
> > Happens on both my i386 test boxes.
> >
> > http://userweb.kernel.org/~akpm/config-sony.txt
> > http://userweb.
Robert P. J. Day wrote:
On Sun, 23 Dec 2007, Jeff Garzik wrote:
Another year, another update! :)
The kernel hacker's guide to git has received some updates:
http://linux.yyz.us/git-howto.html
This includes all the input sent to me in the past several months,
as well as a few new tip
"Grant Likely" <[EMAIL PROTECTED]> writes:
>> +/*
>> + * preallocate space for a file. This implements fat fallocate inode
>> + * operation, which gets called from sys_fallocate system call. User
>> + * space requests len bytes at offset.
>> + */
>> +long fat_fallocate(struct inode *inode, int mod
On Sunday, 23 of December 2007, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/
>
> - This kernel doesn't work on i386!
>
> It oopses late in boot due to an unrevertable change (e3c1b141) in git-x86
> which I stared at for a w
On Sun, 23 Dec 2007, Jeff Garzik wrote:
> Robert P. J. Day wrote:
> > On Sun, 23 Dec 2007, Jeff Garzik wrote:
> >
> > > Another year, another update! :)
> > >
> > > The kernel hacker's guide to git has received some updates:
> > >
> > > http://linux.yyz.us/git-howto.html
> > >
> > > This includ
On Saturday 22 December 2007 01:17, Rik van Riel wrote:
> On Fri, 21 Dec 2007 21:52:19 +1100
>
> Nick Piggin <[EMAIL PROTECTED]> wrote:
> > BTW. if you have any workloads that are limited by page reclaim,
> > especially unmapped file backed pagecache reclaim, then I have some
> > stright-line-speed
On Sun, Dec 23, 2007 at 06:13:03AM -0500, Jeff Garzik wrote:
>Another year, another update! :)
>
>The kernel hacker's guide to git has received some updates:
>
> http://linux.yyz.us/git-howto.html
>
>This includes all the input sent to me in the past several months, as
>well as a few new ti
On Thu, Dec 20, 2007 at 01:11:24PM +, Jan Beulich wrote:
> With more and more sub-systems/sub-components leaving their footprint
> in task handling functions, it seems reasonable to add notifiers that
> these components can use instead of having them all patch themselves
> directly into core fi
On Dec 23 2007 14:49, Al Boldi wrote:
>--- 23.a/drivers/usb/Kconfig
>+++ 23.b/drivers/usb/Kconfig
>@@ -2,8 +2,8 @@
> # USB device configuration
> #
>
>-menuconfig USB_SUPPORT
>- bool "USB support"
>+config USB_SUPPORT
>+ bool
> depends on HAS_IOMEM
> default y
> ---hel
* Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> Well it doesn't build on x86-64 for me:
>
> CHK include/linux/compile.h
> CC arch/x86/ia32/../../../fs/compat_binfmt_elf.o
> Assembler messages:
> Fatal error: can't create arch/x86/ia32/../../../fs/.tmp_compat_binfmt_elf.o:
> No suc
Robert P. J. Day schrieb:
> On Sun, 23 Dec 2007, Jeff Garzik wrote:
>
>> Robert P. J. Day wrote:
>>> On Sun, 23 Dec 2007, Jeff Garzik wrote:
>>>
Another year, another update! :)
The kernel hacker's guide to git has received some updates:
http://linux.yyz.us/git-howto.h
Hello.
I encountered a BUG().
I didn't encounter this bug for 2.6.24-rc5-mm1 .
I guess this bug was introduced between 2.6.24-rc5-mm1 and 2.6.24-rc6-mm1 .
I placed .config at http://I-love.SAKURA.ne.jp/tmp/config-2.6.24-rc6-mm1
The dmesg is attached below.
Regards.
-
Linux version 2.6.24-rc6
Jan Engelhardt wrote:
> On Dec 23 2007 14:49, Al Boldi wrote:
> >--- 23.a/drivers/usb/Kconfig
> >+++ 23.b/drivers/usb/Kconfig
> >@@ -2,8 +2,8 @@
> > # USB device configuration
> > #
> >
> >-menuconfig USB_SUPPORT
> >-bool "USB support"
> >+config USB_SUPPORT
> >+bool
> > depends on HAS_
On Sunday, 23 of December 2007, Rafael J. Wysocki wrote:
> On Sunday, 23 of December 2007, Ingo Molnar wrote:
> >
> > * Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> >
> > > Well it doesn't build on x86-64 for me:
> > >
> > > CHK include/linux/compile.h
> > > CC arch/x86/ia32/../..
On 12/20/2007 10:39 PM, Cory T. Tusar wrote:
> tty: Fix logic change introduced by wait_event_interruptible_timeout()
>
> Commit 5a52bd4a2dcb570333ce6fe2e16cd311650dbdc8 introduced a subtle logic
> change in tty_wait_until_sent(). The original version would only error
> out of the 'do { ... } whi
Hugh Dickins wrote:
> On Sat, 22 Dec 2007, Balbir Singh wrote:
>> Andrew Morton wrote:
>>> On Fri, 21 Dec 2007 00:23:58 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote:
>>>
Based on the discussion at http://lkml.org/lkml/2007/12/20/383, it was
felt that control_type might not be a good thing
> Same here. In fact, I've always considered that procfs was for
> humans while sysfs was for tools. sysfs reminds me too much the
> unexploitable /devices in Solaris. With the proper tools, I think
> we can do a lot with it, but it's not as intuitive to find the
> proper tools as it was to do "ls"
Hello.
Thank you for attending discussion for previous posting
(starting from http://lkml.org/lkml/2007/12/16/23 ).
The previous posting was for feasibility test to know
whether this kind of trivial filesystem is acceptable for mainline.
Now, it seems that there is a little chance for accepting.
While looking for something else I stumbled over
wistron_btns-add-support-for-x86_64-systems.patch
in -mm. The patch looks very dubious to me. It basically
calls a BIOS function in long mode. To work like implemented
the BIOS would need to know magically what it was called
from (32bit or 64bit)
Following is the first part of the 2.6.25 merge window submission. Since
there are 238 patches in the queue (and a few more expected), they'll be
sent in five batches of around 50 each.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PR
From: Laurent Vivier <[EMAIL PROTECTED]>
Remove #ifdef functions never used
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c | 39 ---
1 files changed, 0 insertions(+), 39 deletions
From: Anthony Liguori <[EMAIL PROTECTED]>
Add vmmcall/vmcall to x86_emulate. Future patch will implement functionality
for these instructions.
Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c | 23 +-
From: Anthony Liguori <[EMAIL PROTECTED]>
This patch refactors the current hypercall infrastructure to better
support live migration and SMP. It eliminates the hypercall page by
trapping the UD exception that would occur if you used the wrong hypercall
instruction for the underlying architecture
From: Laurent Vivier <[EMAIL PROTECTED]>
Move all x86_emulate_memop() common variables between decode and execute to a
structure decode_cache. This will help in later separating decode and
emulate.
struct decode_cache {
u8 twobyte;
u8 b;
From: Laurent Vivier <[EMAIL PROTECTED]>
emulate_instruction() calls now x86_decode_insn() and x86_emulate_insn().
x86_emulate_insn() is x86_emulate_memop() without the decoding part.
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/
From: Laurent Vivier <[EMAIL PROTECTED]>
Move emulate_ctxt to kvm_vcpu to keep emulate context when we exit from kvm
module. Call x86_decode_insn() only when needed. Modify x86_emulate_insn() to
not modify the context if it must be re-entered.
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Sig
KVM avoids reloading the efer msr when the difference between the guest
and host values consist of the long mode bits (which are switched by
hardware) and the NX bit (which is emulated by the KVM MMU).
This patch also allows KVM to ignore SCE (syscall enable) when the guest
is running in 32-bit mo
When we allow guest page faults to reach the guests directly, we lose
the fault tracking which allows us to detect demand paging. So we provide
an alternate mechnism by clearing the accessed bit when we set a pte, and
checking it later to see if the guest actually used it.
Signed-off-by: Avi Kivi
There are two classes of page faults trapped by kvm:
- host page faults, where the fault is needed to allow kvm to install
the shadow pte or update the guest accessed and dirty bits
- guest page faults, where the guest has faulted and kvm simply injects
the fault back into the guest to hand
From: Laurent Vivier <[EMAIL PROTECTED]>
Split the decoding process into a new function x86_decode_insn().
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c | 77 +++--
1 files c
From: Ryan Harper <[EMAIL PROTECTED]>
This patch removes the fault injected when the guest attempts to set reserved
bits in cr3. X86 hardware doesn't generate a fault when setting reserved bits.
The result of this patch is that vmware-server, running within a kvm guest,
boots and runs memtest fro
From: Laurent Vivier <[EMAIL PROTECTED]>
To improve readability, move push, writeback, and grp 1a/2/3/4/5/9 emulation
parts into functions.
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c | 451 +++
From: Qing He <[EMAIL PROTECTED]>
Signed-off-by: Qing He <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c
index 8b0186f..fe
From: Laurent Vivier <[EMAIL PROTECTED]>
This patch modifies the management of REX prefix according behavior
I saw in Xen 3.1. In Xen, this modification has been introduced by
Jan Beulich.
http://lists.xensource.com/archives/html/xen-changelog/2007-01/msg00081.html
Signed-off-by: Laurent Vivier
Noted by Eddie Dong.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/vmx.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index d32e63d..8929575 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -225,7 +225,9
From: Laurent Vivier <[EMAIL PROTECTED]>
Remove _eflags and use directly ctxt->eflags. Caching eflags is not needed as
it is restored to vcpu by kvm_main.c:emulate_instruction() from ctxt->eflags
only if emulation doesn't fail.
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi
From: Rusty Russell <[EMAIL PROTECTED]>
Instead of the asymetry of kvm_free_apic, implement kvm_free_lapic().
And guess what? I found a minor bug: we don't need to hrtimer_cancel()
from kvm_main.c, because we do that in kvm_free_apic().
Also:
1) kvm_vcpu_uninit should be the reverse order from k
From: Izik Eidus <[EMAIL PROTECTED](none)>
Signed-off-by: Izik Eidus <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/kvm.h |9 +++
drivers/kvm/kvm_main.c | 160 +++-
drivers/kvm/vmx.c | 43 ++---
From: Izik Eidus <[EMAIL PROTECTED]>
The user is now able to set how many mmu pages will be allocated to the guest.
Signed-off-by: Izik Eidus <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/kvm.h |7 ++-
drivers/kvm/kvm_main.c | 47 +++
From: Izik Eidus <[EMAIL PROTECTED]>
When kvm uses user-allocated pages in the future for the guest, we won't
be able to use page->private for rmap, since page->rmap is reserved for
the filesystem. So we move the rmap base pointers to the memory slot.
A side effect of this is that we need to sto
From: Rusty Russell <[EMAIL PROTECTED]>
Move kvm_create_lapic() into kvm_vcpu_init(), rather than having svm
and vmx do it. And make it return the error rather than a fairly
random -ENOMEM.
This also solves the problem that neither svm.c nor vmx.c actually
handles the error path properly.
Signe
This is more consistent with the accessed bit management, and makes the dirty
bit available earlier for other purposes.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/mmu.c |5 +
drivers/kvm/paging_tmpl.h | 31 ---
2 files changed, 13 i
From: Izik Eidus <[EMAIL PROTECTED]>
Instead of having the kernel allocate memory to the guest, let userspace
allocate it and pass the address to the kernel.
This is required for s390 support, but also enables features like memory
sharing and using hugetlbfs backed memory.
Signed-off-by: Izik Ei
Now that smp_call_function_single() knows how to call a function on the
current cpu, there's no need to check explicitly.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/vmx.c |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/drivers/kvm/vmx.c b/drivers/k
From: Anthony Liguori <[EMAIL PROTECTED]>
Some of the MMU functions take a struct kvm_vcpu even though they affect all
VCPUs. This patch cleans up some of them to instead take a struct kvm. This
makes things a bit more clear.
The main thing that was confusing me was whether certain functions ne
We must set the bit before the shift, otherwise the wrong bit gets set.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/paging_tmpl.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h
index da36e48..e07cb2
From: Rusty Russell <[EMAIL PROTECTED]>
Since vcpu->apic is of the correct type, there's not need to cast.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/lapic.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
d
This is consistent with real-mode permissions.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/mmu.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c
index e6616a6..f52604a 100644
--- a/drivers/kvm/mmu.c
+++ b/drivers/kv
Since the mmu uses different shadow pages for dirty large pages and clean
large pages, this allows the mmu to drop ptes that are now invalid.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/paging_tmpl.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dr
From: Carsten Otte <[EMAIL PROTECTED]>
This patch splits kvm_vcpu_ioctl into archtecture independent parts, and
x86 specific parts which go to kvm_arch_vcpu_ioctl in x86.c.
Common ioctls for all architectures are:
KVM_RUN, KVM_GET/SET_(S-)REGS, KVM_TRANSLATE, KVM_INTERRUPT,
KVM_DEBUG_GUEST, KVM_S
From: Anthony Liguori <[EMAIL PROTECTED]>
This time, the biggest change is gpa_to_hpa. The translation of GPA to HPA does
not depend on the VCPU state unlike GVA to GPA so there's no need to pass in
the kvm_vcpu.
Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL
From: Carsten Otte <[EMAIL PROTECTED]>
Signed-off-by: Carsten Otte <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/Makefile |2 +-
drivers/kvm/kvm.h |4 ++
drivers/kvm/kvm_main.c | 69 +---
drivers/kvm/x86.c | 10
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/paging_tmpl.h | 23 +++
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h
index 4538b15..a0f84a5 100644
--- a/drivers/kvm/paging_tmpl.h
+++ b/driv
From: Mike Day <[EMAIL PROTECTED]>
Signed-off-by: Mike D. Day <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/kvm.h | 32 +-
drivers/kvm/kvm_main.c| 58 ++
drivers/kvm/lapic.c |3 +-
driver
From: Qing He <[EMAIL PROTECTED]>
If no apic is enabled in the bitmap of an interrupt delivery with delivery
mode of lowest priority, a warning should be reported rather than select
a fallback vcpu
Signed-off-by: Qing He <[EMAIL PROTECTED]>
Signed-off-by: Eddie (Yaozu) Dong <[EMAIL PROTECTED]>
Si
By forcing clean huge pages to be read-only, we have separate roles
for the shadow of a clean large page and the shadow of a dirty large
page. This is necessary because different ptes will be instantiated
for the two cases, even for read faults.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
From: Laurent Vivier <[EMAIL PROTECTED]>
Remove no_wb, use dst.type = OP_NONE instead, idea stollen from xen-3.1
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c | 76 ++--
driv
From: Nitin A Kamble <[EMAIL PROTECTED]>
Instructions:
inc r16/r32 (opcode 0x40-0x47)
dec r16/r32 (opcode 0x48-0x4f)
Signed-off-by: Nitin A Kamble <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x86_emulate.c | 20 ++--
1 files
From: Christian Borntraeger <[EMAIL PROTECTED]>
ppc and s390 offer the possibility to track process times precisely
by looking at cpu timer on every context switch, irq, softirq etc.
We can use that infrastructure as well for guest time accounting.
We need to account the used time before we change
From: Izik Eidus <[EMAIL PROTECTED]>
The current kvm mmu only reverse maps writable translation. This is used
to write-protect a page in case it becomes a pagetable.
But with swapping support, we need a reverse mapping of read-only pages as
well: when we evict a page, we need to remove any mapp
From: Izik Eidus <[EMAIL PROTECTED]>
In case the page is not present in the guest memory map, return a dummy
page the guest can scribble on.
This simplifies error checking in its users.
Signed-off-by: Izik Eidus <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/k
From: Izik Eidus <[EMAIL PROTECTED]>
This allows guest memory to be swapped. Pages which are currently mapped
via shadow page tables are pinned into memory, but all other pages can
be freely swapped.
The patch makes gfn_to_page() elevate the page's reference count, and
introduces kvm_release_pag
From: Anthony Liguori <[EMAIL PROTECTED]>
Allocate a userspace buffer for older userspaces. Also eliminate phys_mem
buffer. The memset() in kvmctl really kills initial memory usage but swapping
works even with old userspaces.
A side effect is that maximum guest side is reduced for older userspa
From: Izik Eidus <[EMAIL PROTECTED]>
Signed-off-by: Izik Eidus <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/mmu.c | 45 +++--
1 files changed, 35 insertions(+), 10 deletions(-)
diff --git a/drivers/kvm/mmu.c b/drivers
From: Nitin A Kamble <[EMAIL PROTECTED]>
Instruction: cmc, clc, cli, sti
opcodes: 0xf5, 0xf8, 0xfa, 0xfb respectively.
[avi: fix reference to EFLG_IF which is not defined anywhere]
Signed-off-by: Nitin A Kamble <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/x8
Simplify the walker level loop not to carry so much information from one
loop to the next. In addition to being complex, this made kmap_atomic()
critical sections difficult to manage.
As a result of this change, kmap_atomic() sections are limited to actually
touching the guest pte, which allows t
We now have a new namespace, KVM_REQ_*, for bits in vcpu->requests.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/kvm.h |2 +-
drivers/kvm/kvm_main.c |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 1e
From: Laurent Vivier <[EMAIL PROTECTED]>
Add new-line at end of debug strings.
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/ioapic.c | 25 ++---
1 files changed, 14 insertions(+), 11 deletions(-)
diff --git
Beside the obvious goodness of making code more common, this prevents
a livelock with the next patch which moves interrupt injection out of the
critical section.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/kvm_main.c |2 ++
drivers/kvm/svm.c |1 -
drivers/kvm/vmx.c
From: Laurent Vivier <[EMAIL PROTECTED]>
The only valid case is on protected page access, other cases are errors.
Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
---
drivers/kvm/kvm_main.c | 10 +++---
1 files changed, 7 insertions(+), 3 dele
* Tetsuo Handa <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I encountered a BUG().
> I didn't encounter this bug for 2.6.24-rc5-mm1 .
> I guess this bug was introduced between 2.6.24-rc5-mm1 and 2.6.24-rc6-mm1 .
does the patch below help?
Ingo
---
include/asm-x86/desc.h |4
1 fil
On Dec 23 2007 16:15, Al Boldi wrote:
>> >-menuconfig USB_SUPPORT
>> >- bool "USB support"
>> >+config USB_SUPPORT
>> >+ bool
>> >depends on HAS_IOMEM
>> >default y
>> >---help---
>>
>> With this patch, is USB_SUPPORT still needed? It is not visible (anymore),
>> always is y and no
On Dec 23 2007 16:25, Jan Engelhardt wrote:
>On Dec 23 2007 16:15, Al Boldi wrote:
>>> >-menuconfig USB_SUPPORT
>>> >- bool "USB support"
>>> >+config USB_SUPPORT
>>> >+ bool
>>> > depends on HAS_IOMEM
>>> > default y
>>> > ---help---
>>>
>>> With this patch, is USB_SUPPORT still needed? I
Hello,
When I have:
CONFIG_MIPS_DB1550
CONFIG_SOC_AU1550
CONFIG_SOC_AU1X00
CONFIG_PM
MEM_SDREFCFG is used at:
arch/mips/au1000/common/power.c::pm_do_freq()
While the MEM_SDREFCFG constant is declare only for CONFIG_SOC_AU1000,
CONFIG_SOC_AU1500, CONFIG_SOC_AU1100 at:
include/asm-mips/mach-au1x00
On Sunday, 23 of December 2007, Carlos Corbacho wrote:
> Fix suspend-to-RAM on nForce 4 (CK804) boards by increasing
> PCIBIOS_MIN_IO.
>
> Fixes kernel bugzilla #9528
>
> Problem:
>
> Linus' patch (52ade9b3b97fd3bea42842a056fe0786c28d0555) to re-order
> suspend (and fix fall out from Rafael's ea
On Dec 23, 2007 8:30 AM, Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/
[snip]
> +agk-dm-dm-snapshot-use-uninitialized_var.patch
> +agk-dm-dm-raid1-handle-write-failures.patch
> +agk-dm-dm-raid1-report-fault-stat
On Sun, 23 Dec 2007, Markus Rechberger wrote:
> Hi,
>
> did anyone already take care about:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg55641.html
>
> the fix seems to paper the issue although it happened with other
> people too now, so I wonder if there's any progress in that area?
http
On Sat, 2007-12-22 at 23:37 -0800, Pete Zaitcev wrote:
> On Sat, 22 Dec 2007 09:01:50 -0800, Daniel Walker <[EMAIL PROTECTED]> wrote:
>
> > Then in usu_probe_thread() your basically stopping it at the start of
> > the function with a down(), and the up() is just ancillary .. So you
> > could easil
1 - 100 of 207 matches
Mail list logo