From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7CE33EBF2C for ; Wed, 11 Feb 2026 17:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770831049; cv=none; b=pTraU3i8hJDNASkuZc/X0ErD4X1weIfmqjnbnPUBVvMkhsnnhyvMrylJEdQziNTM3qxS5Gv3Z2/XFOnGsI3bsvESGD7pPhvTg+4IR+sEkcXTbBgVPrAaJKHkarofetZCnA+HtKhO0foChpLe4OVjV6ymv5IWTRGgLwoSEPpvzc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770831049; c=relaxed/simple; bh=qAhtyENHGBeJ1uaRNllls3pmE35xWIX1ru2HUNjPXtI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kaeRIch06u98FRQM0qKg9iElBP7+EjDAC1SD2cOUr2CebPlXI219cingVDtbyRPx6LrxDyexXgoSCcdalhT8U4DpsmP5LCORhqDxaI428uPyJ1t1VIqdn/LIvQzHIXcq+WPWF2GxDhYbNMrWS9ukR0zDL6C0aTDe/5cOfsxple8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Xh1UqN3V; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=NDTUOcOU; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Xh1UqN3V"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NDTUOcOU" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1770831047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3lruDsVqHt0DDZU4L6ReeWR11gmn26KN2zmJ7mPsbtw=; b=Xh1UqN3VKXUsWAGMmRQvMP8kaTAyukyNyqDOc8CEtX6/5QLs9E0UAw0JZISks2Z281eSJq ASO6AUzY8Q6FNtroDzSnhIABvCcq8kVnTUEEyEO2fyX7Ma2J//iR7VtDr0yfUB4KYRBVKu 0fWZWgXzlvuI5RTxfg/QRHogNt3CYdPDXW+ShaDFGWThVUv3DXPX8JWElj03sgnso/o+uF TlZgiJcixm2NmSSj2sYB/kPTBP2zGBMWZXpKxp7JgfVKgouIezYesZ2ZDsignqyQfaY/KS hoipyfNjVElCozuofLpcwm7vfWSPhs+oleiSd9XxaY4N8j7ojUKbkI69A28n8Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1770831047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3lruDsVqHt0DDZU4L6ReeWR11gmn26KN2zmJ7mPsbtw=; b=NDTUOcOUDAf0O3Ih0Xu2QZaGAsDxBfXm2SZP6fltRJWaVhWlBftMOA367bwBPJv8BzVYKG Byi3MUX7/BMY93Aw== To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Andrew Jones , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Nam Cao Subject: [PATCH 0/5] riscv: Cleanup and deduplicate unaligned access speed probe Date: Wed, 11 Feb 2026 18:30:30 +0100 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, This series does some minor cleanups and deduplication of riscv unaligned access speed probe. arch/riscv/kernel/unaligned_access_speed.c | 221 ++++++++------------- 1 file changed, 85 insertions(+), 136 deletions(-) Nam Cao (5): riscv: Clean up & optimize unaligned scalar access probe riscv: Split out measure_cycles() for reuse riscv: Reuse measure_cycles() in check_vector_unaligned_access() riscv: Split out compare_unaligned_access() riscv: Reuse compare_unaligned_access() in check_vector_unaligned_access() --=20 2.47.3