Re: [PATCH v4 02/11] x86/bhi: Move the BHB sequence to a macro for reuse

From: Nikolay Borisov

Date: Thu Nov 20 2025 - 11:28:55 EST




On 11/20/25 08:18, Pawan Gupta wrote:
In preparation to make clear_bhb_loop() work for CPUs with larger BHB, move
the sequence to a macro. This will allow setting the depth of BHB-clearing
easily via arguments.

No functional change intended.

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx>

Reviewed-by: Nikolay Borisov <nik.borisov@xxxxxxxx>