From: Vinod Koul <vkoul@kernel.org>
To: Herve Codina <herve.codina@bootlin.com>
Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>,
dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH 1/1] dmaengine: dw-edma: Fix unaligned 64bit access
Date: Mon, 11 Apr 2022 19:54:35 +0530 [thread overview]
Message-ID: <YlQ6I3ZzMDpU0Sjd@matsya> (raw)
In-Reply-To: <20220225120252.309404-1-herve.codina@bootlin.com>
On 25-02-22, 13:02, Herve Codina wrote:
> On some arch (ie aarch64 iMX8MM) unaligned PCIe accesses are
> not allowed and lead to a kernel Oops.
> [ 1911.668835] Unable to handle kernel paging request at virtual address ffff80001bc00a8c
> [ 1911.668841] Mem abort info:
> [ 1911.668844] ESR = 0x96000061
> [ 1911.668847] EC = 0x25: DABT (current EL), IL = 32 bits
> [ 1911.668850] SET = 0, FnV = 0
> [ 1911.668852] EA = 0, S1PTW = 0
> [ 1911.668853] Data abort info:
> [ 1911.668855] ISV = 0, ISS = 0x00000061
> [ 1911.668857] CM = 0, WnR = 1
> [ 1911.668861] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000040ff4000
> [ 1911.668864] [ffff80001bc00a8c] pgd=00000000bffff003, pud=00000000bfffe003, pmd=0068000018400705
> [ 1911.668872] Internal error: Oops: 96000061 [#1] PREEMPT SMP
> ...
>
> The llp register present in the channel group registers is not
> aligned on 64bit.
>
> Fix unaligned 64bit access using two 32bit accesses
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2022-04-11 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-25 12:02 [PATCH 1/1] dmaengine: dw-edma: Fix unaligned 64bit access Herve Codina
2022-04-11 14:24 ` 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=YlQ6I3ZzMDpU0Sjd@matsya \
--to=vkoul@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=gustavo.pimentel@synopsys.com \
--cc=herve.codina@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.petazzoni@bootlin.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