Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rw9z41tYKzDqYw for ; Thu, 21 Jul 2016 21:09:36 +1000 (AEST) In-Reply-To: <1467695057-12431-12-git-send-email-benh@kernel.crashing.org> To: Benjamin Herrenschmidt , linuxppc-dev@ozlabs.org From: Michael Ellerman Subject: Re: [11/41] powerpc/dart: Use a cachable DART Message-Id: <3rw9z36fnvz9snm@ozlabs.org> Date: Thu, 21 Jul 2016 21:09:35 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2016-05-07 at 05:03:47 UTC, Benjamin Herrenschmidt wrote: > 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: Benjamin Herrenschmidt Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/c40785ad305b32e9b0b5fbc888 cheers