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: <20250618133003.GC1613200@noisy.programming.kicks-ass.net>
Date: Wed, 18 Jun 2025 15:30:03 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: "Liang, Kan" <kan.liang@...ux.intel.com>
Cc: Mark Rutland <mark.rutland@....com>,
	"Mi, Dapeng" <dapeng1.mi@...ux.intel.com>, mingo@...hat.com,
	acme@...nel.org, namhyung@...nel.org, tglx@...utronix.de,
	dave.hansen@...ux.intel.com, irogers@...gle.com,
	adrian.hunter@...el.com, jolsa@...nel.org,
	alexander.shishkin@...ux.intel.com, linux-kernel@...r.kernel.org,
	ak@...ux.intel.com, zide.chen@...el.com, broonie@...nel.org
Subject: Re: [RFC PATCH 06/12] perf: Support extension of sample_regs

On Wed, Jun 18, 2025 at 06:10:20AM -0400, Liang, Kan wrote:

> Maybe we should use a mask to replace the nr_vectors.
> Because Dave mentioned that the XSAVES may fail.

XSAVE is a pain in the arse :/

> PERF_SAMPLE_SIMD_REGS := {
> 	u64 vectors_mask;
> 	u16 vector_length;
> 	u64 pred_mask;
> 	u16 pred_length;

That is not u64 aligned...

> 	u64 data[];
> }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ