Christian Marangi
10afe5f7d3
mips: bmips: BCM6358: make sure CBR is correctly set
...
[ Upstream commit ce5cdd3b05216b704a704f466fb4c2dff3778caf ]
It was discovered that some device have CBR address set to 0 causing
kernel panic when arch_sync_dma_for_cpu_all is called.
This was notice in situation where the system is booted from TP1 and
BMIPS_GET_CBR() returns 0 instead of a valid address and
!!(read_c0_brcm_cmt_local() & (1 << 31)); not failing.
The current check whether RAC flush should be disabled or not are not
enough hence lets check if CBR is a valid address or not.
Fixes: ab327f8acdf8 ("mips: bmips: BCM6358: disable RAC flush for TP1")
Signed-off-by: Christian Marangi <[email protected] >
Acked-by: Florian Fainelli <[email protected] >
Signed-off-by: Thomas Bogendoerfer <[email protected] >
Signed-off-by: Sasha Levin <[email protected] >
2024-07-05 09:08:22 +02:00
..
alchemy
MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
2024-01-25 14:34:30 -08:00
ar7
ath25
ath79
bcm47xx
MIPS: BCM47XX: Cast memcmp() of function to (void *)
2022-10-26 13:22:47 +02:00
bcm63xx
MIPS: BCM63xx: Add check for NULL for clk in clk_enable
2023-01-18 11:40:58 +01:00
bmips
mips: bmips: BCM6358: make sure CBR is correctly set
2024-07-05 09:08:22 +02:00
boot
cavium-octeon
MIPS: OCTEON: warn only once if deprecated link status is being used
2023-01-18 11:40:58 +01:00
cobalt
configs
Remove DECnet support from kernel
2023-06-21 15:44:10 +02:00
crypto
dec
mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
2022-04-15 14:18:15 +02:00
emma
fw
MIPS: fw: Allow firmware to pass a empty env
2023-05-17 11:35:32 +02:00
generic
include
MIPS: scall: Save thread_info.syscall unconditionally on entry
2024-05-17 11:43:52 +02:00
jazz
dma-mapping: drop the dev argument to arch_sync_dma_for_*
2023-04-05 11:16:43 +02:00
jz4740
MIPS: fix build with gcc-12
2022-05-18 09:47:28 +02:00
kernel
MIPS: scall: Save thread_info.syscall unconditionally on entry
2024-05-17 11:43:52 +02:00
kvm
MIPS: KVM: Fix a build warning about variable set but not used
2023-12-08 08:44:24 +01:00
lantiq
MIPS: vpe-mt: drop physical_memsize
2023-03-11 16:43:52 +01:00
lasat
treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()
2023-04-20 12:07:32 +02:00
lib
treewide: Remove uninitialized_var() usage
2023-06-09 10:29:01 +02:00
loongson32
MIPS: Loongson32: Fix PHY-mode being left unspecified
2022-09-28 11:04:06 +02:00
loongson64
math-emu
mm
mips: Fix max_mapnr being uninitialized on early stages
2024-02-23 08:25:13 +01:00
mti-malta
net
netlogic
oprofile
paravirt
pci
MIPS: Routerboard 532: Fix vendor retry check code
2024-07-05 09:08:22 +02:00
pic32
MIPS: pic32: treat port as signed integer
2022-12-08 11:22:57 +01:00
pistachio
pmcs-msp71xx
pnx833x
power
ralink
MIPS: Use address-of operator on section symbols
2022-05-15 19:54:46 +02:00
rb532
MIPS: RB532: fix return value of __setup handler
2022-04-15 14:18:16 +02:00
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni
tools
txx9
vdso
vr41xx
MIPS: Remove repetitive increase irq_err_count
2022-06-29 08:58:46 +02:00
Kbuild
Kbuild.platforms
Kconfig
mips/cpu: Switch to arch_cpu_finalize_init()
2023-08-08 19:56:34 +02:00
Kconfig.debug
Makefile
Makefile.postlink