The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Nam Cao <namcao@linutronix.de>
To: "Paul Walmsley" <pjw@kernel.org>,
	"Palmer Dabbelt" <palmer@dabbelt.com>,
	"Albert Ou" <aou@eecs.berkeley.edu>,
	"Alexandre Ghiti" <alex@ghiti.fr>,
	"Clément Léger" <cleger@rivosinc.com>,
	"Andrew Jones" <ajones@ventanamicro.com>,
	"Charlie Jenkins" <thecharlesjenkins@gmail.com>,
	linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Nam Cao <namcao@linutronix.de>
Subject: [PATCH 0/2] riscv: Some misaligned cleanups
Date: Thu, 28 May 2026 23:12:29 +0200	[thread overview]
Message-ID: <cover.1780002199.git.namcao@linutronix.de> (raw)

Two minor cleanup which affects performance. The first patch addresses a bug
causing improper initialization of fast_unaligned_access_speed_key, affecting
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(-)

-- 
2.47.3


             reply	other threads:[~2026-05-28 21:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-28 21:12 Nam Cao [this message]
2026-05-28 21:12 ` [PATCH 1/2] riscv: misaligned: Fix fast_unaligned_access_speed_key init Nam Cao
2026-05-28 21:12 ` [PATCH 2/2] riscv: traps_misaligned: Avoid redundant unaligned access speed probe Nam Cao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1780002199.git.namcao@linutronix.de \
    --to=namcao@linutronix.de \
    --cc=ajones@ventanamicro.com \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=cleger@rivosinc.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=thecharlesjenkins@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox