Skip to content

Commit 38eefb1

Browse files
tsbogendgregkh
authored andcommitted
MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
[ 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]>
1 parent f3440c0 commit 38eefb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ config SNI_RM
856856
select I8253
857857
select I8259
858858
select ISA
859+
select MIPS_L1_CACHE_SHIFT_6
859860
select SWAP_IO_SPACE if CPU_BIG_ENDIAN
860861
select SYS_HAS_CPU_R4X00
861862
select SYS_HAS_CPU_R5000

0 commit comments

Comments
 (0)