]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36c960de5e717fc512309663923ebb621f327822
tree7a1849a64a5d91111726fc66041852913ed3493c
parentddb78a88338eb293a62929aa32230919a7500ea7
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