diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2016-07-05 12:31:57 +1000 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-07-05 14:31:08 +1000 |
| commit | 949868633f0454715af1781c0f377413b6ab000e (patch) | |
| tree | 2d266d0c493ba7d6156f8dcb1fbc5ac942a19308 /hw/net/cadence_gem.c | |
| parent | 073de86aa934d46d596a2367e7501da5500e5b86 (diff) | |
| download | focaccia-qemu-949868633f0454715af1781c0f377413b6ab000e.tar.gz focaccia-qemu-949868633f0454715af1781c0f377413b6ab000e.zip | |
target-ppc: Return page shift from PTEG search
ppc_hash64_pteg_search() now decodes a PTEs page size encoding, which it didn't previously do. This means we're now double decoding the page size because we check it int he fault path after ppc64_hash64_htab_lookup() returns. To avoid this duplication have ppc_hash64_pteg_search() and ppc_hash64_htab_lookup() return the page size from the PTE and use that in the callers instead of decoding again. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions