aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2008-02-14 13:41:29 +0200
committerRoland Dreier <rolandd@cisco.com>2008-02-14 10:43:48 -0800
commit11e75a7455a7bc73e752c0c985986c2b1f8c930a (patch)
tree6d3b43ccaeb1b6fc2c8e91f25874baa2ec224bdb /drivers/cpuidle
parente6028c0e004d334bb9ed75d4c918f4c763af1b9f (diff)
mlx4_core: Move table_find from fmr_alloc to fmr_enable
mlx4_table_find (for FMR MPTs) requires that ICM memory already be mapped. Before this fix, FMR allocation depended on ICM memory already being mapped for the MPT entry. If all currently mapped entries are taken, the find operation fails (even if the MPT ICM table still had more entries, which were just not mapped yet). This fix moves the mpt find operation to fmr_enable, to guarantee that any required ICM memory mapping has already occurred. Found by Oren Duer of Mellanox. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions