mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 16:07:11 +07:00
3584be9ec3
In a multiplatform configuration, enabling DEBUG_LL breaks booting on all platforms with incompatible settings. In case of the Marvell platforms of the Orion/MVEBU family, the physical addresses are all the same, we just map them at different virtual addresses, which makes it impossible to run a kernel with DEBUG_LL enabled on a combination of the merged mvebu and the legacy boardfile based platforms. This is easily solved by using the same virtual address everywhere. I picked the address that is already used by mach-mvebu for UART0: 0xfec12000. All these platforms have a 1MB region with their internal registers, almost always at physical address 0xf1000000, so I'm updating the iotable for that entry. In case of mach-dove, this is slightly trickier, as the existing mapping is 8MB and a second 8MB mapping is already at the 0xfec00000 address. I have verified from the datasheet that the last 7MB of the physical mapping are "reserved" and nothing in Linux tries to use it either. I'm putting this 1MB mapping at the same address as the others, and the second 8MB register area immediately before that. Link: https://lore.kernel.org/r/20190731195713.3150463-14-arnd@arndb.de Link: https://lore.kernel.org/linux-arm-kernel/87si3eb1z8.fsf@free-electrons.com/ Signed-off-by: Arnd Bergmann <arnd@arndb.de> |
||
---|---|---|
.. | ||
board-d2net.c | ||
board-dt.c | ||
board-mss2.c | ||
board-rd88f5182.c | ||
bridge-regs.h | ||
common.c | ||
common.h | ||
db88f5281-setup.c | ||
dns323-setup.c | ||
irq.c | ||
irqs.h | ||
Kconfig | ||
kurobox_pro-setup.c | ||
ls_hgl-setup.c | ||
Makefile | ||
mpp.c | ||
mpp.h | ||
mv2120-setup.c | ||
net2big-setup.c | ||
orion5x.h | ||
pci.c | ||
rd88f5181l-fxo-setup.c | ||
rd88f5181l-ge-setup.c | ||
rd88f5182-setup.c | ||
rd88f6183ap-ge-setup.c | ||
terastation_pro2-setup.c | ||
ts78xx-fpga.h | ||
ts78xx-setup.c | ||
ts209-setup.c | ||
ts409-setup.c | ||
tsx09-common.c | ||
tsx09-common.h | ||
wnr854t-setup.c | ||
wrt350n-v2-setup.c |