diff options
author | Thomas Klein <osstklei@de.ibm.com> | 2007-07-11 14:32:00 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-16 21:59:50 (GMT) |
commit | 44c821525778c5d2e81da293195d5d589e8ad845 (patch) | |
tree | 7996d9d180023c752b61e2fcfe96a42a00a1510f /drivers/net/ehea/ehea_phyp.h | |
parent | 5be808467347fc99bdd216883c5dbd123d6ad9d6 (diff) | |
download | linux-fsl-qoriq-44c821525778c5d2e81da293195d5d589e8ad845.tar.xz |
eHEA: Introducing support vor DLPAR memory add
This patch adds support for DLPAR memory add to the eHEA driver. To detect
whether memory was added the driver uses its own memory mapping table and
checks for kernel addresses whether they're located in already known memory
sections. If not the function ehea_rereg_mrs() is triggered which performs
a rebuild of the mapping table and a re-registration of the global memory
region.
Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea/ehea_phyp.h')
-rw-r--r-- | drivers/net/ehea/ehea_phyp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ehea/ehea_phyp.h b/drivers/net/ehea/ehea_phyp.h index d17a45a..89b6353 100644 --- a/drivers/net/ehea/ehea_phyp.h +++ b/drivers/net/ehea/ehea_phyp.h @@ -60,6 +60,9 @@ static inline u32 get_longbusy_msecs(int long_busy_ret_code) } } +/* Number of pages which can be registered at once by H_REGISTER_HEA_RPAGES */ +#define EHEA_MAX_RPAGE 512 + /* Notification Event Queue (NEQ) Entry bit masks */ #define NEQE_EVENT_CODE EHEA_BMASK_IBM(2, 7) #define NEQE_PORTNUM EHEA_BMASK_IBM(32, 47) |