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 2F48A3112B2 for ; Wed, 17 Jun 2026 03:38:37 +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=1781667518; cv=none; b=jDMm2fAWDLsMSHq4WHPW2vsTpuO5gwiYisJj3aBGLfC+2hiNe4JTE7Wgc7zLB+53Sf35CGGCsUCNecpZEvLYPl3BQvDt+srWf6Jy5zZXqWNQdqMofreo2XQ45+kq6dU2Ry1tNuYi74XAJ50lYjPT8Q5t1aTyCCck9URY6DmO2cM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781667518; c=relaxed/simple; bh=Otn4J11hTMizYrDW6Gh5JrofhK6BJ+ZdGHNwQI8F/fE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jdCbD6ubXw6eBYiWIGn0o3lTwnm1T56YKlfyF63xq1CVjVb5LYpusbeyWIQ40Ha1bNP3vDDkEHXxwaKikRx2p22pm4u/cyc2PEoD6JC8EKTG/i8UB25dHfNNVlKLctZE+QR+T41L8PHcLQDL32fB7yKa6tCGMluMjnR9n1bbQbU= 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=FUwyAik4; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bkeRL8RK; 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="FUwyAik4"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bkeRL8RK" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1781667515; 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=Z8KTVnvj6CZiytzjZC55rYxHlJSY9APqUbyBxvST0GI=; b=FUwyAik4zuSVPljx/z/Nw2++bSxwNRvOXCnIz/kRUQSxki7a99PEI6rDTX7E/ChqXcOklM sgQZuThZcz9W9uEQmaZKD34suJuGxVn5HD+9VRPi78h7D/Bi+urcBe4AplkeMnAhHgOhwo R9X0EwEbX4wXRDiJlJ1gZ9gqS0QRDqteAPF7DunJtKvUaXfKun/MDfjZC64HbSBy+IXlBi 175yph0oHYiFS8sBJw88NnaAiuNSSaevtJirKqaxaPauqwbRZsOpq/FhIRm9xowUmQK7L9 CchrIFe8xHBMxrc+BX6iZPpdZ93aBUjplil6w316rKTzKwiIHaEPmPuIEiiAzQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1781667515; 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=Z8KTVnvj6CZiytzjZC55rYxHlJSY9APqUbyBxvST0GI=; b=bkeRL8RKRCoeNxRgbMbGJZLXTNwq8rS4NkrIA/pCXA8u9rTuT3MkAe73vDxpkRJf9iopyo 9owRKlX8i1nZj7BA== To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Andrew Jones , Jingwei Wang , Anirudh Srinivasan , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Nam Cao Subject: [PATCH 0/2] riscv: unaligned: stop using kthread for vector speed probe Date: Wed, 17 Jun 2026 05:38:23 +0200 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 is follow-up to the discussion at: https://lore.kernel.org/linux-riscv/20260612-vec_unaligned_drop_init-v1-1-d= f969210ae34@oss.tenstorrent.com/ It removes the kthread usage for unaligned vector access speed probe, avoid= ing a bug that the kthread may still be excuting a __init function that have already been freed. It also allows removing some vdso synchronization, simplify the code. This kthread has been bothering me for a while now, and the recent bug repo= rt pushed me to post this series. Nam Cao (2): riscv: unaligned: stop using kthread for check_vector_unaligned_access() Revert "riscv: hwprobe: Fix stale vDSO data for late-initialized keys at boot" arch/riscv/include/asm/hwprobe.h | 7 --- arch/riscv/include/asm/vdso/arch_data.h | 6 -- arch/riscv/kernel/sys_hwprobe.c | 70 ++++------------------ arch/riscv/kernel/unaligned_access_speed.c | 19 +----- arch/riscv/kernel/vdso/hwprobe.c | 2 +- 5 files changed, 15 insertions(+), 89 deletions(-) --=20 2.47.3