diff options
author | Stefan Roscher <ossrosch@linux.vnet.ibm.com> | 2008-10-22 15:54:38 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-10-22 15:54:38 -0700 |
commit | 263c24a2bbbaca75805ed231e8346d86410af9d0 (patch) | |
tree | a4de046c1f94f381d1ab241b4a719a25ea58ec66 /firmware | |
parent | 19f4282149147b4a3e8c670373dc73ddd5d5facc (diff) |
IB/ehca: Reject dynamic memory add/remove when ehca adapter is present
Since the ehca device driver does not support dynamic memory add and
remove operations, the driver must explicitly reject such requests in
order to prevent unpredictable behaviors related to existing memory
regions that cover all of memory being used by InfiniBand protocols in
the kernel.
The solution (for now at least) is to add a memory notifier to the
ehca device driver and if a request for dynamic memory add or remove
comes in, ehca will always reject it. The user can add or remove
memory by hot-removing the ehca adapter, performing the memory
operation, and then hot-adding the ehca adapter back.
Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions