Thread (62 messages) 62 messages, 9 authors, 2022-04-29

Re: [PATCH 26/41] ARM: omap1: relocate static I/O mapping

From: Arnd Bergmann <arnd@kernel.org>
Date: 2022-04-20 19:21:10
Also in: alsa-devel, dmaengine, dri-devel, linux-arm-kernel, linux-input, linux-mmc, linux-omap, linux-serial, linux-usb, lkml

On Wed, Apr 20, 2022 at 3:46 PM Aaro Koskinen [off-list ref] wrote:
Hi,

On Tue, Apr 19, 2022 at 03:37:08PM +0200, Arnd Bergmann wrote:
quoted
From: Arnd Bergmann <arnd@arndb.de>

The address range 0xfee00000-0xfeffffff is used for PCI and
PCMCIA I/O port mappings, but OMAP1 has its static mappings
there as well.

Move the OMAP1 addresses a little higher to avoid crashing
at boot.
This has the same problem I reported in 2019, with earlyprintk the
system no longer boots:

        https://marc.info/?t=156530014200005&r=1&w=2

Tested on OSK and SX1/qemu.
Thanks a lot for testing!

I managed to get to the bottom of this after just a few hours, and
it turned out to be a simple math error on my end, as I got
the alignment wrong, the offset has to be 0x00f00000
instead of 0x00fb0000 be section aligned. I made sure the
kernel boots up (to the point of missing a rootfs) and uploaded
the fixed branch.

      Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help