From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailhost.anl.gov (mailhost.anl.gov [130.202.113.50]) by ozlabs.org (Postfix) with ESMTP id C1C7BB71CC for ; Fri, 20 May 2011 13:21:30 +1000 (EST) Message-ID: <4DD5D9C9.3020000@mcs.anl.gov> Date: Thu, 19 May 2011 22:02:33 -0500 From: Kazutomo Yoshii MIME-Version: 1.0 To: Benjamin Herrenschmidt Subject: Re: [bg-linux] [PATCH 5/7] [RFC] force 32-byte aligned kmallocs References: <1305753895-24845-1-git-send-email-ericvh@gmail.com> <1305753895-24845-5-git-send-email-ericvh@gmail.com> <1305851769.7481.90.camel@pasglop> <4DD5C49E.4050103@gmail.com> <1305857301.7481.121.camel@pasglop> <1305857610.7481.124.camel@pasglop> In-Reply-To: <1305857610.7481.124.camel@pasglop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Kazutomo Yoshii , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, bg-linux@lists.anl-external.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 05/19/2011 09:13 PM, Benjamin Herrenschmidt wrote: > On Fri, 2011-05-20 at 12:08 +1000, Benjamin Herrenschmidt wrote: > >> On Thu, 2011-05-19 at 20:32 -0500, Kazutomo Yoshii wrote: >> >>> Actually DMA sends invalidate requests to the snoop unit(L2 level). >>> BGP SoC is a bit different from other 4xx base. >>> >> Well, some other 44x also have a snooping L2 (more or less), but L1 is >> usually the problem. >> > Hrm... looking at the doco you pointed me to, it looks like the L1 -is- > coherent, it gets snoop kills from the L2. > Right, L1D is coherent if write throug is set. L1I(virtually tagged) is not coherent, btw. > Ok so we do need to make this non-coherent cache stuff a runtime option > (well, we need that for 440+476 too anyways so may as well do it now). > What sort of runtime option do you mean? - kaz > As for the alignment of kmalloc, it looks like a hack that should be > done in the torus code itself. > > Cheers, > Ben. > > _______________________________________________ > bg-linux mailing list > bg-linux@lists.anl-external.org > https://lists.anl-external.org/mailman/listinfo/bg-linux > http://bg-linux.anl-external.org/wiki >