search for: xstate_bv

Displaying 20 results from an estimated 62 matches for "xstate_bv".

2013 Nov 19
6
[PATCH 2/5] X86 architecture instruction set extension definiation
...+ if ( !(xcr0 & XSTATE_YMM) ) + return 0; + + if ( ~xcr0 & (XSTATE_OPMASK | XSTATE_ZMM | XSTATE_HI_ZMM) ) + return 0; + } + + return !(xcr0 & XSTATE_BNDREGS) == !(xcr0 & XSTATE_BNDCSR); +} + int validate_xstate(u64 xcr0, u64 xcr0_accum, u64 xstate_bv, u64 xfeat_mask) { if ( (xcr0_accum & ~xfeat_mask) || (xstate_bv & ~xcr0_accum) || (xcr0 & ~xcr0_accum) || - !(xcr0 & XSTATE_FP) || - ((xcr0 & XSTATE_YMM) && !(xcr0 & XSTATE_SSE)) || - ((xcr0_accum & XSTATE_YMM) &...
2013 Nov 25
0
[PATCH 2/4 V2] X86: enable support for new ISA extensions
...t be the same. */ + if ( ~xcr0 & (XSTATE_OPMASK | XSTATE_ZMM | XSTATE_HI_ZMM) ) + return 0; + } + + /* BNDREGS and BNDCSR must be the same. */ + return !(xcr0 & XSTATE_BNDREGS) == !(xcr0 & XSTATE_BNDCSR); +} + int validate_xstate(u64 xcr0, u64 xcr0_accum, u64 xstate_bv, u64 xfeat_mask) { if ( (xcr0_accum & ~xfeat_mask) || (xstate_bv & ~xcr0_accum) || (xcr0 & ~xcr0_accum) || - !(xcr0 & XSTATE_FP) || - ((xcr0 & XSTATE_YMM) && !(xcr0 & XSTATE_SSE)) || - ((xcr0_accum & XSTATE_YMM) &...
2020 Jul 21
0
[PATCH v9 31/84] KVM: x86: export kvm_vcpu_ioctl_x86_set_xsave()
...@@ void kvm_vcpu_ioctl_x86_get_xsave(struct kvm_vcpu *vcpu, #define XSAVE_MXCSR_OFFSET 24 -static int kvm_vcpu_ioctl_x86_set_xsave(struct kvm_vcpu *vcpu, - struct kvm_xsave *guest_xsave) +int kvm_vcpu_ioctl_x86_set_xsave(struct kvm_vcpu *vcpu, + struct kvm_xsave *guest_xsave) { u64 xstate_bv = *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)]; diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index f138d56450c0..5b6f1338de74 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -885,6 +885,8 @@ int kvm_arch_vcpu_set_guest_debug(stru...
2013 Jun 04
12
[PATCH 0/4] XSA-52..54 follow-up
The first patch really isn''t as much of a follow-up than what triggered the security issues to be noticed in the first place. 1: x86: preserve FPU selectors for 32-bit guest code 2: x86: fix XCR0 handling 3: x86/xsave: adjust state management 4: x86/fxsave: bring in line with recent xsave adjustments The first two I would see as candidates for 4.3 (as well as subsequent backporting,
2011 Sep 20
15
Re: Bug#642154: BUG: unable to handle kernel paging request at ffff8803bb6ad000
...0BTL/S1200BTL > > Sep 10 22:35:33 xen-dom0 kernel: [24183.985621] RIP: > > e030:[<ffffffff810106db>] [<ffffffff810106db>] > > __sanitize_i387_state+0x23/0xe1 > > Source/disassembly: > > void __sanitize_i387_state(struct task_struct *tsk) > { > u64 xstate_bv; > int feature_bit = 0x2; > struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; > ffffffff810106b8: 48 8b 97 48 04 00 00 mov 0x448(%rdi),%rdx > > if (!fx) > return; > ffffffff810106bf: 48 85 d2 test %rdx,%rdx > f...
2017 Oct 24
0
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...one: DMA32 [ 0.000000] Kernel command line: console=hvc0 xencons=tty0 root=/dev/xvda1 ro LANG=en_CA.UTF-8 elevator=noop nohz=off [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100 [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form [ 0.000000] Memory: 989236k/1048576k available (6954k kernel code, 388k absent, 58952k reserved, 4575k data, 1768k init) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.0000...
2015 May 09
4
Bug#784810: Xen domU try ton access to dom0 LVM Volume group
...4 u2097152 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 32202 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: root=/dev/xvda2 ro elevator=noop [ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes) [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 [ 0.000000] AGP: Checking aperture... [ 0.000000] AGP: No AGP bridge found [ 0.000000] Memory: 64992K/130684K available (5207K kernel code, 946K rwdata, 1832K rodata, 1204K init, 840K bss, 65692K reserved) [ 0.000000] Hierarchical RCU implementation. [ 0.000000]...
2018 Jan 09
0
Centos 7 Kernel 3.10.0-693.11.6.el7.x86_64 does not boot PV
...ping on. Total pages: 1032074 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: root=/dev/xvda1 root=/dev/xvda1 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100 [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form [ 0.000000] Memory: 2194120k/4194304k available (6984k kernel code, 388k absent, 116588k reserved, 4581k data, 1800k init) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] x86/pti: Xen PV detected, disabling PTI pr...
2017 Oct 24
2
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
On Tue, Oct 24, 2017 at 3:36 AM, Akemi Yagi <amyagi at gmail.com> wrote: > On Mon, Oct 23, 2017 at 11:08 PM, Akemi Yagi <amyagi at gmail.com> wrote: > >> On Mon, Oct 23, 2017 at 12:57 PM, Karl Johnson <karljohnson.it at gmail.com> >> wrote: >> >>> On Sat, May 20, 2017 at 8:30 PM, Sarah Newman <srn at prgmr.com> wrote: >>>
2018 Oct 29
2
guestfs launch failed in CentOS 7.5
...liable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm [ 0.000000] Disabling memory control group subsystem [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100 [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form [ 0.000000] Memory: 480520k/511984k available (7348k kernel code, 392k absent, 31072k reserved, 6281k data, 1844k init) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] x86/pti: Unmapping kernel while in userspace...
2014 Jul 11
0
Trying to set-up DomU CentOS 7, but get Warning: /dev/root does not exist
...007d000000 s86592 r8192 d24000 u1048576 [    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 515978 [    0.000000] Policy zone: DMA32 [    0.000000] Kernel command line: [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [    0.000000] xsave: enabled xstate_bv 0x3, cntxt size 0x240 [    0.000000] Checking aperture... [    0.000000] No AGP bridge found [    0.000000] Memory: 2006356k/2097152k available (6105k kernel code, 388k absent, 90408k reserved, 4065k data, 1584k init) [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [    0....
2016 Feb 04
3
Bug#810379: [Xen-devel] [BUG] pci-passthrough generates "xen:events: Failed to obtain physical IRQ" for some devices
On Wed, 2016-02-03 at 15:28 -0500, Konrad Rzeszutek Wilk wrote: > > > And I wonder if the XEN_DOMCTL_irq_permission aka, > > > xc_domain_irq_permission > > > had been called. I remember that at some point we missed it for > > > Xend.. > > > > > False alarm. > > It was all in Linux. Attached are four patches (the first two > are for
2016 Jan 08
1
Bug#810379: xen: pci-passthrough generates "xen:events: Failed to obtain physical IRQ" for some devices
...0000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 32202 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: root=/dev/xvda2 ro elevator=noop root=/dev/xvda2 ro [ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes) [ 0.000000] xsave: enabled xstate_bv 0x3, cntxt size 0x240 [ 0.000000] AGP: Checking aperture... [ 0.000000] AGP: No AGP bridge found [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing! [ 0.000000] Memory: 72968K/130684K available (5219K ker...
2015 Dec 03
2
virt-builder is very slow in git master when building ubuntu 14.04 vm
Hi All, I been using virt-builder to create testing VMs (most ubuntu) for a while, and it works great. But when I cloned the git repo today and found the process becoming extremely slow, please see the output below. log that produced by pre-installed vendor package: virt-builder ubuntu-14.04 --firstboot-command 'useradd -m -p "" myan; chage -d 0 myan; usermod -aG sudo myan;' [
2015 Dec 04
2
Re: virt-builder is very slow in git master when building ubuntu 14.04 vm
...t-timeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 guestfs_network=1 TERM=xterm [ 0.000000] Disabling memory control group subsystem [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form [ 0.000000] AGP: Checking aperture... [ 0.000000] AGP: No AGP bridge found [ 0.000000] Memory: 484928K/511480K available (7993K kernel code, 1232K rwdata, 3752K rodata, 1408K init, 1300K bss, 26552K reserved, 0K cma-reserved) [ 0.000000] SLUB: H...
2015 Oct 01
0
req->nr_phys_segments > queue_max_segments (was Re: kernel BUG at drivers/block/virtio_blk.c:172!)
...229376 bytes > > [ 0.000000] log_buf_len min size: 262144 bytes > > [ 0.000000] log_buf_len: 524288 bytes > > [ 0.000000] early log buf free: 254352(97%) > > [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) > > [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form > > [ 0.000000] Memory: 24684464K/25165300K available (7210K kernel code, 1199K rwdata, 2812K rodata, 1500K init, 1452K bss, 480836K reserved, 0K cma-reserved) > > [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 >...
2015 Oct 01
4
kernel BUG at drivers/block/virtio_blk.c:172!
...cpu_extra contributions: 229376 bytes > [ 0.000000] log_buf_len min size: 262144 bytes > [ 0.000000] log_buf_len: 524288 bytes > [ 0.000000] early log buf free: 254352(97%) > [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) > [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form > [ 0.000000] Memory: 24684464K/25165300K available (7210K kernel code, 1199K rwdata, 2812K rodata, 1500K init, 1452K bss, 480836K reserved, 0K cma-reserved) > [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 > [ 0.00...
2015 Oct 01
4
kernel BUG at drivers/block/virtio_blk.c:172!
...cpu_extra contributions: 229376 bytes > [ 0.000000] log_buf_len min size: 262144 bytes > [ 0.000000] log_buf_len: 524288 bytes > [ 0.000000] early log buf free: 254352(97%) > [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) > [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form > [ 0.000000] Memory: 24684464K/25165300K available (7210K kernel code, 1199K rwdata, 2812K rodata, 1500K init, 1452K bss, 480836K reserved, 0K cma-reserved) > [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 > [ 0.00...
2019 Nov 28
2
virt-df -a xxx.qcow2 failure, after about ten minutes , failed
...0040 [ 0.000000] x86/fpu: xstate_offset[4]: 0400, xstate_sizes[4]: 0040 [ 0.000000] x86/fpu: xstate_offset[5]: 0440, xstate_sizes[5]: 0040 [ 0.000000] x86/fpu: xstate_offset[6]: 0480, xstate_sizes[6]: 0200 [ 0.000000] x86/fpu: xstate_offset[7]: 0680, xstate_sizes[7]: 0400 [ 0.000000] xsave: enabled xstate_bv 0xff, cntxt size 0xa80 using standard form [ 0.000000] Memory: 751528k/786424k available (9076k kernel code, 392k absent, 34504k reserved, 5593k data, 1920k init) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] x86/pti: Unmapping kernel while in userspace [ 0.0000...
2018 Jan 25
3
Re: [ovirt-users] Slow conversion from VMware in 4.1
...gt; guestfs_network=1 TERM=linux guestfs_identifier=v2v > [ 0.000000] Disabling memory control group subsystem > [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) > [ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100 > [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using > standard form > [ 0.000000] Memory: 1994224k/2047864k available (6886k kernel code, > 392k absent, 53248k reserved, 4545k data, 1764k init) > [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 > [ 0.000000] Hierarchical RCU i...