Herve Codina
8fc5133d6d
dmaengine: dw-edma: Fix unaligned 64bit access
...
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
Fixes: 04e0a39fc10f ("dmaengine: dw-edma: Add writeq() and readq() for 64 bits architectures")
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20220225120252.309404-1-herve.codina@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-04-12 16:45:42 +05:30
..
2021-10-18 11:43:12 +05:30
2021-10-26 10:54:32 +05:30
2022-03-11 16:05:01 +05:30
2022-04-12 16:45:42 +05:30
2022-03-11 15:47:39 +05:30
2021-10-26 10:54:47 +05:30
2022-04-08 23:27:17 +05:30
2022-02-15 11:04:06 +05:30
2021-07-13 14:38:47 -05:00
2021-02-01 11:27:14 +05:30
2022-04-12 16:45:42 +05:30
2022-03-11 15:39:09 +05:30
2022-03-10 10:12:25 +05:30
2022-03-11 15:23:23 +05:30
2021-07-05 12:05:13 -07:00
2022-03-11 12:34:05 +05:30
2022-03-11 12:32:53 +05:30
2021-12-17 21:42:17 +05:30
2021-08-06 21:48:11 +05:30
2022-02-15 16:53:11 +05:30
2020-08-23 17:36:59 -05:00
2021-01-08 13:57:19 +05:30
2021-01-08 13:57:19 +05:30
2022-04-11 19:03:29 +05:30
2020-09-11 17:42:12 +05:30
2020-09-11 17:42:12 +05:30
2021-12-17 21:39:27 +05:30
2021-11-22 11:38:05 +05:30
2021-10-25 09:42:56 +05:30
2020-12-11 21:20:08 +05:30
2021-08-02 12:27:10 +05:30
2020-10-05 09:59:17 +05:30
2021-10-28 22:56:24 +05:30
2021-10-28 22:56:24 +05:30
2021-10-28 22:56:24 +05:30
2021-05-10 19:51:03 +05:30
2021-01-12 18:00:39 +05:30
2020-08-29 13:50:56 -07:00
2022-03-11 16:05:39 +05:30
2020-11-09 17:21:05 +05:30
2021-08-02 12:31:19 +05:30
2022-04-11 19:48:51 +05:30
2020-10-01 10:18:59 +05:30
2020-08-23 17:36:59 -05:00
2021-04-12 17:14:53 +05:30
2022-03-01 10:07:22 +01:00
2021-08-29 19:14:20 +05:30
2020-06-24 13:06:15 +05:30
2021-10-25 12:12:13 +05:30
2020-12-29 10:08:00 +05:30
2021-12-17 11:23:56 +05:30
2020-09-18 12:19:06 +05:30
2020-11-09 17:25:54 +05:30
2021-07-14 11:05:55 -05:00
2021-12-16 22:16:41 +01:00
2020-11-24 23:02:20 +05:30
2020-11-24 22:55:15 +05:30
2020-09-18 12:19:06 +05:30
2021-07-28 12:54:50 +05:30
2021-01-12 18:00:40 +05:30
2022-01-08 22:16:44 +05:30
2022-02-28 13:59:15 +00:00
2021-10-26 10:54:57 +05:30
2021-12-17 11:23:56 +05:30
2021-10-26 10:55:07 +05:30
2021-12-17 11:23:56 +05:30
2021-12-13 13:18:48 +05:30
2021-05-31 09:47:27 +05:30
2022-02-15 11:12:07 +05:30
2022-02-15 10:58:04 +05:30
2022-01-03 17:00:09 +05:30
2021-06-07 17:06:38 +05:30
2020-11-18 16:28:49 +05:30
2021-12-17 11:23:38 +05:30
2021-10-25 10:06:10 +05:30
2020-09-18 12:19:07 +05:30
2020-09-18 12:19:07 +05:30
2022-01-03 17:49:37 +05:30
2020-09-18 12:19:07 +05:30
2020-09-18 12:19:07 +05:30