mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Changwei Zou <changwei.zou@canonical.com>
To: lukas@wunner.de
Cc: Martin.Kepplinger-Novakovic@ginzinger.com,
	changwei.zou@canonical.com, davem@davemloft.net,
	herbert@gondor.apana.org.au, ignat@linux.win,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
	martink@posteo.de
Subject: Re: [PATCH v2] crypto: rsassa-pkcs1: align DMA buffer to ARCH_DMA_MINALIGN
Date: Tue, 28 Jul 2026 19:19:41 +1000	[thread overview]
Message-ID: <20260728091941.13838-1-changwei.zou@canonical.com> (raw)
In-Reply-To: <amhJWs2AdPgFzw8t@wunner.de>

Hi Lukas,

Thank you for your feedback and guidance.

Yes, "PATCH V2" supersedes the previous patch.
https://lore.kernel.org/r/20260723150107.33546-1-changwei.zou@canonical.com

Although the first patch passed 10,000 iterations of stress testing,
it implicitly relied on in_buf (i.e., ctx->key_size) being larger than a cache line.

In PATCH V2, aligning out_buf to ARCH_DMA_MINALIGN makes the root cause clearer.

I will fix the typo and switch to the CRYPTO_* alignment macros in V3.

Thanks again.

Kind regards,
Changwei


      parent reply	other threads:[~2026-07-28  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27 22:43 Changwei Zou
2026-07-28  6:16 ` Lukas Wunner
2026-07-28  6:23   ` Lukas Wunner
2026-07-28  9:19   ` Changwei Zou [this message]

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=20260728091941.13838-1-changwei.zou@canonical.com \
    --to=changwei.zou@canonical.com \
    --cc=Martin.Kepplinger-Novakovic@ginzinger.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=ignat@linux.win \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=martink@posteo.de \
    /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

all inboxes | Powered by JetHome®