https://bugzilla.kernel.org/show_bug.cgi?id=76331
Bug ID: 76331
Summary: kernel BUG at drivers/iommu/intel-iommu.c:844!
Product: Virtualization
Version: unspecified
Kernel Version: 3.14.4
Hardware: x86-64
OS: Linux
Il 15/05/2014 11:02, Christian Borntraeger ha scritto:
Paolo,
here is a fix for kvm/master targetting 3.15
The following changes since commit 5367742ad5321dd38058420adb4750ed9c7ead1e:
Merge tag 'signed-for-3.15' of git://github.com/agraf/linux-2.6 into
kvm-master (2014-05-13 18:15:16 +0200)
Hi,
on one of my clusters running qemu-kvm-1.6.1 on 3.10.22 x86_64
I noticed that after some time, migration of guest to other
(same) node causes guest to go nuts...
I get invalid opcode: [#1] PREEMPT SMP error, with
long backtrace, ending with Fixing recursive fault but reboot is needed!
s
On 13/05/14 16:58, Michael Mueller wrote:
> The proposed patch set implements S390 cpu model support in kvm. A cpu
> model is defined by a triple comprizing the cpu type , the cpu facility
> set and instruction blocking control. A consumer requests a feasible
> combination of that that triple befor
On 13.05.14 16:58, Michael Mueller wrote:
The patch introduces facilities and cpu_ids per virtual machine.
Different virtual machines may want to expose different facilities and
cpu ids to the guest, so let's make them per-vm instead of global.
In addition this patch renames all ocurrences of *
On 13.05.14 16:58, Michael Mueller wrote:
This patch enables cpu model support in kvm/s390 via the vm attribute
interface.
During KVM initialization, the host properties cpuid, IBC value and the
facility list are stored in the architecture specific cpu model structure.
During vcpu setup, these
From: Thomas Huth
As a program status word is also invalid (and thus generates an
specification exception) if the instruction address is not even,
we should test this in is_valid_psw(), too. This patch also exports
the function so that it becomes available for other parts of the
S390 KVM code as
From: Alexander Yarygin
This patch adds a new decoder of SIE intercepted instructions.
The decoder implemented as a macro and potentially can be used in
both kernelspace and userspace.
Note that this simplified instruction decoder is only intended to be
used with the subset of instructions that
From: Michael Mueller
This patch splits the SIE state guest prefix at offset 4
into a prefix bit field. Additionally it provides the
access functions:
- kvm_s390_get_prefix()
- kvm_s390_set_prefix()
to access the prefix per vcpu.
Signed-off-by: Michael Mueller
Reviewed-by: Cornelia Huck
Ac
From: Thomas Huth
Use the new helper function kvm_arch_fault_in_page() for faulting-in
the guest pages and only inject addressing errors when we've really
hit a bad address (and return other error codes to userspace instead).
Signed-off-by: Thomas Huth
Reviewed-by: Christian Borntraeger
Review
From: Michael Mueller
The patch adds functionality to retrieve the IBC configuration
by means of function sclp_get_ibc().
Signed-off-by: Michael Mueller
Acked-by: Cornelia Huck
Acked-by: Heiko Carstens
Acked-by: Christian Borntraeger
---
arch/s390/include/asm/sclp.h | 1 +
drivers/s390/c
From: Martin Schwidefsky
Use the mm semaphore to serialize multiple invocations of s390_enable_skey.
The second CPU faulting on a storage key operation needs to wait for the
completion of the page table update. Taking the mm semaphore writable
has the positive side-effect that it prevents any hos
From: David Hildenbrand
If the sigp interpretation facility is installed, most SIGP EXTERNAL CALL
operations will be interpreted instead of intercepted. A partial execution
interception will occurr at the sending cpu only if the target cpu is in the
wait state ("W" bit in the cpuflags set). Instr
From: Thomas Huth
If the new PSW for program interrupts is invalid, the VM ends up
in an endless loop of specification exceptions. Since there is not
much left we can do in this case, we should better drop to userspace
instead so that the crash can be reported to the user.
Signed-off-by: Thomas
From: Alexander Yarygin
Use the symbolic translation tables from sie.h for decoding diag, sigp
and sie exit codes.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/trace.h | 32 +---
From: Alexander Yarygin
The current trace definition doesn't work very well with the perf tool.
Perf shows a "insn_to_mnemonic not found" message. Let's handle the
decoding completely in a parseable format.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
Reviewed-by: Cornelia
-20140516
for you to fetch changes up to fda902cb8347da121025c4079b9e87748228a27e:
KVM: s390: split SIE state guest prefix field (2014-05-16 14:57:31 +0200)
1. Correct locking for lazy storage key handling
A test loop with multiple
From: Alexander Yarygin
This patch defines tables of reasons for exiting from SIE mode
in a new sie.h header file. Tables contain SIE intercepted codes,
intercepted instructions and program interruptions codes.
Signed-off-by: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christia
From: Thomas Huth
Rework the function kvm_arch_fault_in_sync() to become a proper helper
function for faulting-in a guest page. Now it takes the guest address as
a parameter and does not ignore the possible error code from gmap_fault()
anymore (which could cause undetected error conditions before
On Fri, 16 May 2014 13:55:41 +0200
Alexander Graf wrote:
>
> On 13.05.14 16:58, Michael Mueller wrote:
> > The patch introduces facilities and cpu_ids per virtual machine.
> > Different virtual machines may want to expose different facilities and
> > cpu ids to the guest, so let's make them per-
On Fri, 16 May 2014 13:32:09 +0200
Christian Borntraeger wrote:
> On 13/05/14 16:58, Michael Mueller wrote:
> > The proposed patch set implements S390 cpu model support in kvm. A cpu
> > model is defined by a triple comprizing the cpu type , the cpu facility
> > set and instruction blocking contr
On 16.05.14 16:46, Michael Mueller wrote:
On Fri, 16 May 2014 13:55:41 +0200
Alexander Graf wrote:
On 13.05.14 16:58, Michael Mueller wrote:
The patch introduces facilities and cpu_ids per virtual machine.
Different virtual machines may want to expose different facilities and
cpu ids to the
On Fri, May 16, 2014 at 10:48:00AM -0400, Konrad Rzeszutek Wilk wrote:
> On Fri, May 9, 2014 at 12:50 PM, Alex Williamson > wrote:
>
> > The driver_override field allows us to specify the driver for a device
> > ...
> >
> ...
>
> > Signed-off-by: Alex Williamson
> > Cc: Greg Kroah-Hartman
> >
When we migrate we ask the kernel about its current belief on what the guest
time would be. However, I've seen cases where the kvmclock guest structure
indicates a time more recent than the kvm returned time.
To make sure we never go backwards, calculate what the guest would have seen
as time at t
Linus,
The following changes since commit 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd:
Linux 3.15-rc4 (2014-05-04 18:14:42 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus
for you to fetch changes up to a4e91d04b86504f145cc5f766c26093
On Fri, 16 May 2014 14:08:24 +0200
Alexander Graf wrote:
>
> On 13.05.14 16:58, Michael Mueller wrote:
> > This patch enables cpu model support in kvm/s390 via the vm attribute
> > interface.
> >
> > During KVM initialization, the host properties cpuid, IBC value and the
> > facility list are st
[cc+ kvm]
(kvm is the proper list for non-QEMU related vfio)
On Fri, 2014-05-16 at 08:01 -0700, Saptarshi Sen wrote:
> I am using a driver from user-space using vfio.
> During intensive testing, when my application crashes.
> I try to re-run the same, when I get a bind-failure.
> Error code, is E
On Fri, 16 May 2014 16:49:37 +0200
Alexander Graf wrote:
>
> On 16.05.14 16:46, Michael Mueller wrote:
> > On Fri, 16 May 2014 13:55:41 +0200
> > Alexander Graf wrote:
> >
> >> On 13.05.14 16:58, Michael Mueller wrote:
> >>> The patch introduces facilities and cpu_ids per virtual machine.
> >>>
https://bugzilla.kernel.org/show_bug.cgi?id=76331
Alex Williamson changed:
What|Removed |Added
CC||alex.william...@redhat.com
--- Comment
Using app-emulation/qemu-2.0.0 from Gentoo portage. I'm a little fuzzy
on whether qemu and kvm are the same thing. If they're not, kindly
inform me and I'll be on my way. Also I don't know if this list is
strictly for kernelspace issues or if userspace may also be discussed.
And I can't be sure
From: Dave Hansen
I noticed on some of my systems that page fault tracing doesn't
work:
cd /sys/kernel/debug/tracing
echo 1 > events/exceptions/enable
cat trace;
# nothing shows up
I eventually traced it down to CONFIG_KVM_GUEST. At least in a
KVM VM, enabling
https://bugzilla.kernel.org/show_bug.cgi?id=76331
--- Comment #2 from Matt ---
Hi Alex,
# dmesg | grep ecap
[0.057396] dmar: IOMMU 0: reg_base_addr fbfff000 ver 1:0 cap c9008010e60262
ecap f020fa
[0.057403] dmar: IOMMU 1: reg_base_addr fbffe000 ver 1:0 cap c9078010ef0462
ecap f020fe
[ 1
On 16.05.14 17:39, Michael Mueller wrote:
On Fri, 16 May 2014 14:08:24 +0200
Alexander Graf wrote:
On 13.05.14 16:58, Michael Mueller wrote:
This patch enables cpu model support in kvm/s390 via the vm attribute
interface.
During KVM initialization, the host properties cpuid, IBC value and t
On 16.05.14 18:09, Michael Mueller wrote:
On Fri, 16 May 2014 16:49:37 +0200
Alexander Graf wrote:
On 16.05.14 16:46, Michael Mueller wrote:
On Fri, 16 May 2014 13:55:41 +0200
Alexander Graf wrote:
On 13.05.14 16:58, Michael Mueller wrote:
The patch introduces facilities and cpu_ids per
On Fri, 16 May 2014 12:45:15 -0700
Dave Hansen wrote:
>
> Steven had an alternative to this which has zero overhead when
> tracing is off where this includes the standard noops even when
> tracing is disabled. I'm unconvinced that the extra complexity
> of his apporach:
>
> http://lkml.ke
On 05/16/2014 12:45 PM, Dave Hansen wrote:
> From: Dave Hansen
>
> I noticed on some of my systems that page fault tracing doesn't
> work:
>
> cd /sys/kernel/debug/tracing
> echo 1 > events/exceptions/enable
> cat trace;
> # nothing shows up
>
> I eventually traced it do
Il 16/05/2014 22:53, H. Peter Anvin ha scritto:
On 05/16/2014 12:45 PM, Dave Hansen wrote:
From: Dave Hansen
I noticed on some of my systems that page fault tracing doesn't
work:
cd /sys/kernel/debug/tracing
echo 1 > events/exceptions/enable
cat trace;
# nothin
On 05/16/2014 02:01 PM, Paolo Bonzini wrote:
> Yes, of course. Dave, ok to only have it in 3.16?
Sure, it's been broken for a long time, so it's no hurry to get fixed.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majo
Hi Christoffer,
few more comments
>>> struct vgic_distvgic;
>>> + /* Marks start of migration, used to handle 2nd stage page faults
>>> +* during migration, prevent installing huge pages and split huge pages
>>> +* to small pages.
>>> +*/
>>
>> commenting style
>>
>> thi
Il 15/05/2014 18:51, Paolo Bonzini ha scritto:
During task switch, all of CS.DPL, CS.RPL, SS.DPL must match (in addition
to all the other requirements) and will be the new CPL. So far this
worked by carefully setting the CS selector and flag before doing the
s/flag/EFLAGS/
task switch; howev
On Thu, May 15, 2014 at 02:43:53PM +0200, Alexander Graf wrote:
> On LPAR guest systems Linux enables the shadow SLB to indicate to the
> hypervisor a number of SLB entries that always have to be available.
>
> Today we go through this shadow SLB and disable all ESID's valid bits.
> However, pHyp
On Thu, May 15, 2014 at 02:43:51PM +0200, Alexander Graf wrote:
> We didn't make use of SLB entry 0 because ... of no good reason. SLB entry 0
> will always be used by the Linux linear SLB entry, so the fact that slbia
> does not invalidate it doesn't matter as we overwrite SLB 0 on exit anyway.
>
On Tue, Apr 29, 2014 at 06:17:42PM +0200, Alexander Graf wrote:
> POWER8 introduces transactional memory which brings along a number of new
> registers and MSR bits.
>
> Implementing all of those is a pretty big headache, so for now let's at least
> emulate enough to make Linux's context switching
43 matches
Mail list logo