mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: dmaengine@vger.kernel.org, Rosen Penev <rosenp@gmail.com>
Cc: Frank Li <Frank.Li@kernel.org>,
	 Harninder Rai <harninder.rai@freescale.com>,
	 Xuelin Shi <xuelin.shi@freescale.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dmaengine: fsl_raid: byte-swap cdb32 when programming CDBs
Date: Tue, 15 Sep 2026 23:06:25 +0530	[thread overview]
Message-ID: <178949378514.248239.6603688959758210230.b4-ty@kernel.org> (raw)
In-Reply-To: <20260910194324.33697-1-rosenp@gmail.com>


On Thu, 10 Sep 2026 12:43:24 -0700, Rosen Penev wrote:
> The three prep functions write the first word of the command descriptor
> block (cdb32) with a plain u32 assignment, while every other CDB/CF
> descriptor field is written with cpu_to_be32(). The RAID Engine expects
> big-endian descriptors, so the plain assignment produces a corrupted CDB
> on little-endian hosts. Use cpu_to_be32() for cdb32 to match the
> surrounding code.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: fsl_raid: byte-swap cdb32 when programming CDBs
      commit: 8b641810905cba4eb200d72adde386bca380c0df

Best regards,
-- 
~Vinod



      parent reply	other threads:[~2026-09-15 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 19:43 Rosen Penev
2026-09-11 15:17 ` Frank Li
2026-09-15 17:36 ` Vinod Koul [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=178949378514.248239.6603688959758210230.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=harninder.rai@freescale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rosenp@gmail.com \
    --cc=xuelin.shi@freescale.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

all inboxes | Powered by JetHome®