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 ABE53352014 for ; Thu, 28 May 2026 21:12:40 +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=1780002762; cv=none; b=EYJAySsXqCYflbyMBxKu8bAHnfDUyfZr9hJElBPA852LIB3Wpm1lt+NirwcJZPCl3FkApHZk5cyj1LIadRgt5HWWcrv8Wka+dCSLD0f+DUs2hTP3lhZAgaoy5bCpzoc1aIRFsPtRxsNHs95NoFNCK5tkqyqGY6JEoIA29GV123M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780002762; c=relaxed/simple; bh=ecIniojf0Bv1RZ1pVOxDDAS6Iecex6IQWmeJF+N+4O8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vqzve9m2S0339SiBM/6PYXCOjFwfArWtdVgmTQmvrUwtZYY1Zg/7wMqHrZW83Dd8XBKEAoI2itHycrO5QlbRTDuLkvTbwKa/KeixBXvtDFerNz7cLbKQU5BQDkU8J18H4EzeEZb5/7ove3eQP4owSwcCSVkp7zyB8DFPG7sKeTg= 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=1krzi4LV; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zDr1SP9R; 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="1krzi4LV"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zDr1SP9R" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780002758; 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=Vbn1ysewc4dPhC75UO+Yew2aAizs4+TdppDNkIGId4Y=; b=1krzi4LVD+omrvBDVNDsoOaSJks7HlS8grhV6eYUaGF3nsEZofvN8YU5XMhbkmiYHPRg3T vGA2uJ1JbhySJpDe5Gio75XLqwqqn69kFIuag34m9Czz4scmAIhwGdxo1z5XfWZZT3Ujp1 WFnJp8BYhfjGb9z1HQPYSQfemNUtBCjZYNOYwRCEH7lx7lox7R8I3hhTlv4hDZIXogDSOB LyV4IXHbPpIpSsZM3MDPe9JtXcLzN1EoR1rFNdCdrUu2i9NvBLFYuEaBeZEPa9mztiXugk jF7T2tbQfdfhfifBTKGSy+QevrfmxhHx1L37464mM/sBGEkng5hNWJiqCbUR+Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780002758; 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=Vbn1ysewc4dPhC75UO+Yew2aAizs4+TdppDNkIGId4Y=; b=zDr1SP9RK3PPGR/NPqlZRnja++Hb21WSh47Y1ZuTYkjq1+l7yOTevq33ZrSQZ5/bSUt9Jj p5PxeYaMlsYEpMDQ== To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Andrew Jones , Charlie Jenkins , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Nam Cao Subject: [PATCH 0/2] riscv: Some misaligned cleanups Date: Thu, 28 May 2026 23:12:29 +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 Two minor cleanup which affects performance. The first patch addresses a bug causing improper initialization of fast_unaligned_access_speed_key, affecti= ng performance of do_csum(). The second patch remove a redundant access speed probe in CPU hotplug. Nam Cao (2): riscv: misaligned: Fix fast_unaligned_access_speed_key init riscv: traps_misaligned: Avoid redundant unaligned access speed probe arch/riscv/kernel/traps_misaligned.c | 4 +- arch/riscv/kernel/unaligned_access_speed.c | 69 +++++++--------------- 2 files changed, 24 insertions(+), 49 deletions(-) --=20 2.47.3