powerpc: Use 64k io pages when we never see an HEA
authorAlexander Graf <agraf@suse.de>
Tue, 1 Apr 2014 13:46:05 +0000 (15:46 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Apr 2014 22:25:16 +0000 (08:25 +1000)
commit9048e648bc22d7b59093f8ca1978c5767893aaa5
tree7a1849a64a5d91111726fc66041852913ed3493c
parent00f554fadebb96877ad449758dc90303a9826afe
powerpc: Use 64k io pages when we never see an HEA

When we never get around to seeing an HEA ethernet adapter, there's
no point in restricting ourselves to 4k IO page size.

This speeds up IO maps when CONFIG_IBMEBUS is disabled.

[ Updated the test to also lift the restriction on arch 2.07
  (Power 8) which cannot have an HEA
 -- BenH ]

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
foo
arch/powerpc/mm/hash_utils_64.c