Skip to content

Commit 4077072

Browse files
tsbogendSomasundaram Krishnasamy
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]> (cherry picked from commit 38eefb1964388f93644b35ec77000c5fbecca9cc)
1 parent e580fe4 commit 4077072

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
@@ -858,6 +858,7 @@ config SNI_RM
858858
select I8253
859859
select I8259
860860
select ISA
861+
select MIPS_L1_CACHE_SHIFT_6
861862
select SWAP_IO_SPACE if CPU_BIG_ENDIAN
862863
select SYS_HAS_CPU_R4X00
863864
select SYS_HAS_CPU_R5000

0 commit comments

Comments
 (0)