]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Enable relocation on during exceptions at boot
authorIan Munsie <imunsie@au1.ibm.com>
Thu, 8 Nov 2012 05:03:14 +0000 (16:03 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 04:08:08 +0000 (15:08 +1100)
commitfc8effa4e46fb7bd8a3c5e293efc56b74a54b7a5
tree22a3c24c567c69939a72ed0e280ac040072a16c3
parentcca55d9ddf6d431114ab9f7cad3e761b74255c9c
powerpc: Enable relocation on during exceptions at boot

We currently do this synchronously at boot from setup_arch. On a large
system this could hypothetically take a little while to complete, so
currently we will give up if we are asked to wait for more than a second
in total.

If we actually start hitting that timeout in practice we can always move
this code into a kernel thread to take care of it in the background.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/setup.c