Skip to content

Commit

Permalink
MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
Browse files Browse the repository at this point in the history
[ Upstream commit 564c836 ]

Commit 930beb5 ("MIPS: introduce MIPS_L1_CACHE_SHIFT_<N>") forgot
to select the correct MIPS_L1_CACHE_SHIFT for SNI RM. This breaks non
coherent DMA because of a wrong allocation alignment.

Fixes: 930beb5 ("MIPS: introduce MIPS_L1_CACHE_SHIFT_<N>")
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
tsbogend authored and gregkh committed Sep 23, 2020
1 parent 5c44b2d commit f8d4ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ config SNI_RM
select I8253
select I8259
select ISA
select MIPS_L1_CACHE_SHIFT_6
select SWAP_IO_SPACE if CPU_BIG_ENDIAN
select SYS_HAS_CPU_R4X00
select SYS_HAS_CPU_R5000
Expand Down

0 comments on commit f8d4ba3

Please sign in to comment.