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] [day] [month] [year] [list]
Message-ID: <0ce1757e3267df037912b303f60c662c45d0a6e6.camel@amazon.co.uk>
Date: Mon, 1 Dec 2025 14:45:01 +0000
From: "Woodhouse, David" <dwmw@...zon.co.uk>
To: "Sieber, Fernand" <sieberf@...zon.com>, "pbonzini@...hat.com"
	<pbonzini@...hat.com>, "seanjc@...gle.com" <seanjc@...gle.com>,
	"peterz@...radead.org" <peterz@...radead.org>
CC: "Saenz Julienne, Nicolas" <nsaenz@...zon.es>, "Busse, Anselm"
	<abusse@...zon.de>, "x86@...nel.org" <x86@...nel.org>, "bp@...en8.de"
	<bp@...en8.de>, "stable@...r.kernel.org" <stable@...r.kernel.org>,
	"hpa@...or.com" <hpa@...or.com>, "mingo@...hat.com" <mingo@...hat.com>,
	"tglx@...utronix.de" <tglx@...utronix.de>, "dave.hansen@...ux.intel.com"
	<dave.hansen@...ux.intel.com>, "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
	Schönherr, Jan H. <jschoenh@...zon.de>, "Borghorst,
 Hendrik" <hborghor@...zon.de>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "nh-open-source@...zon.com"
	<nh-open-source@...zon.com>
Subject: Re: [PATCH] KVM: x86/pmu: Do not accidentally create BTS events

On Mon, 2025-12-01 at 16:23 +0200, Fernand Sieber wrote
> Perf considers the combination of PERF_COUNT_HW_BRANCH_INSTRUCTIONS with
> a sample_period of 1 a special case and handles this as a BTS event (see
> intel_pmu_has_bts_period()) -- a deviation from the usual semantic,
> where the sample_period represents the amount of branch instructions to
> encounter before the overflow handler is invoked.

That's kind of awful, and seems to be the real underlying cause of the KVM
issue. Can we kill it with fire? Peter?

Download attachment "smime.p7s" of type "application/pkcs7-signature" (5964 bytes)




Amazon Development Centre (London) Ltd. Registered in England and Wales with registration number 04543232 with its registered office at 1 Principal Place, Worship Street, London EC2A 2FA, United Kingdom.



Content of type "text/html" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ