Skip to content

Commit ffb5d74

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 <tsbogend@alpha.franken.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 2b557a0 commit ffb5d74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ config SNI_RM
848848
select I8253
849849
select I8259
850850
select ISA
851+
select MIPS_L1_CACHE_SHIFT_6
851852
select SWAP_IO_SPACE if CPU_BIG_ENDIAN
852853
select SYS_HAS_CPU_R4X00
853854
select SYS_HAS_CPU_R5000

0 commit comments

Comments
 (0)