summaryrefslogtreecommitdiff
path: root/arch/m68k/coldfire/intc.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2018-04-11 06:39:44 +0300
committerGreg Ungerer <gerg@linux-m68k.org>2018-05-28 02:45:27 +0300
commit082f55c459845088c3fee99c3a88ee117c148218 (patch)
tree8c321b25d043797a12cef6ac7407c5b43c274947 /arch/m68k/coldfire/intc.c
parent48074d2615add385e6357fc1333959fc778557f9 (diff)
downloadlinux-082f55c459845088c3fee99c3a88ee117c148218.tar.xz
m68k: fix ColdFire PCI config reads and writes
The ColdFire PCI configuration space access functions swap addressing regions to do their work. Just letting the read/write cycles exit the CPU core (via the ColdFire "nop" instruction) is not enough to guarantee that the address region remapping has actually completed. Insert a read back of the mapping register to be absolutely sure that the remapping has completed. This fixes an occasional boot hang during the ColdFire PCI initialization phase. Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Reviewed-by: Angelo Dureghello <angelo@sysam.it> Tested-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/coldfire/intc.c')
0 files changed, 0 insertions, 0 deletions