Re: [PATCH 2/2] Force 4K IOPages when eHEA is present in the machine.

2008-03-20 Thread Nathan Lynch
Tony Breeds wrote: +#if defined(CONFIG_PPC_PSERIES) defined(CONFIG_PPC_64K_PAGES) +static int __init scan_dt_for_ehea(unsigned long node, const char *uname, + int depth, void *data) +{ + if (depth != 0) + return 0; + + if

Re: [PATCH 2/2] Force 4K IOPages when eHEA is present in the machine.

2008-03-20 Thread Paul Mackerras
Nathan Lynch writes: Searching ibm,drc-names is necessary, but is it sufficient? That is, can there be a system that has an HEA adapter without that property being present? Thinking in particular about single-partition systems that run without an HMC attached. PAPR doesn't seem to say

[PATCH 2/2] Force 4K IOPages when eHEA is present in the machine.

2008-03-19 Thread Tony Breeds
eHEA doesn't work with 64k iopages, If an eHEA /can/ be present in the system limit iopages to 4k. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- arch/powerpc/mm/hash_utils_64.c | 30 +++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git