• B
    powerpc/dart: Use a cachable DART · c40785ad
    Benjamin Herrenschmidt 提交于
    Instead of punching a hole in the linear mapping, just use normal
    cachable memory, and apply the flush sequence documented in the
    CPC625 (aka U3) user manual.
    
    This allows us to remove quite a bit of code related to the early
    allocation of the DART and the hole in the linear mapping. We can
    also get rid of the copy of the DART for suspend/resume as the
    original memory can just be saved/restored now, as long as we
    properly sync the caches.
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    [mpe: Integrate dart_init() fix to return ENODEV when DART disabled]
    Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
    c40785ad
hash_utils_64.c 44.9 KB