lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190829212016.GV5447@tassilo.jf.intel.com>
Date:   Thu, 29 Aug 2019 14:20:16 -0700
From:   Andi Kleen <ak@...ux.intel.com>
To:     Luwei Kang <luwei.kang@...el.com>
Cc:     pbonzini@...hat.com, rkrcmar@...hat.com,
        sean.j.christopherson@...el.com, vkuznets@...hat.com,
        wanpengli@...cent.com, jmattson@...gle.com, joro@...tes.org,
        tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, hpa@...or.com,
        x86@...nel.org, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC v1 3/9] KVM: x86: Implement MSR_IA32_PEBS_ENABLE read/write
 emulation

> +	case MSR_IA32_PEBS_ENABLE:
> +		if (pmu->pebs_enable == data)
> +			return 0;
> +		if (!(data & pmu->pebs_enable_mask) &&
> +		     (data & MSR_IA32_PEBS_OUTPUT_MASK) ==
> +						MSR_IA32_PEBS_OUTPUT_PT) {
> +			pebs_enable_changed(pmu, data);
> +			return 0;
> +		}

Need #GP for bad values

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ