Skip to content

Commit 0b8a9a2

Browse files
tsbogendpiso77
authored andcommitted
MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
BugLink: https://bugs.launchpad.net/bugs/1896795 [ 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> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
1 parent 6273af8 commit 0b8a9a2

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
@@ -876,6 +876,7 @@ config SNI_RM
876876
select I8253
877877
select I8259
878878
select ISA
879+
select MIPS_L1_CACHE_SHIFT_6
879880
select SWAP_IO_SPACE if CPU_BIG_ENDIAN
880881
select SYS_HAS_CPU_R4X00
881882
select SYS_HAS_CPU_R5000

0 commit comments

Comments
 (0)