arm: bcm2835: Fix FIQ early ioremap
authorPhil Elwell <phil@raspberrypi.org>
Wed, 20 Feb 2019 08:49:39 +0000 (08:49 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:12:59 +0000 (19:12 +0000)
commitb6e3802808b033520f9c404bee217115ba94e6e6
tree8f27480982316f9d7a31e7bcc1fedaea4ba8e36b
parent25382bc44d1d3e5a46cd240b1a1b7cd4075fae48
arm: bcm2835: Fix FIQ early ioremap

The ioremapping creates mappings within the vmalloc area. The
equivalent early function, create_mapping, now checks that the
requested explicit virtual address is between VMALLOC_START and
VMALLOC_END. As there is no reason to have any correlation between
the physical and virtual addresses, put the required mappings at
VMALLOC_START and above.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/mach-bcm/board_bcm2835.c