From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 9D751B7BAA for ; Tue, 6 Oct 2009 08:04:32 +1100 (EST) Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id n95L4HQj007790 for ; Mon, 5 Oct 2009 14:04:18 -0700 (MST) Received: from az33exm25.fsl.freescale.net (az33exm25.am.freescale.net [10.64.32.16]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id n95L6pAv001364 for ; Mon, 5 Oct 2009 16:06:51 -0500 (CDT) Message-ID: <4ACA5F6B.6050400@freescale.com> Date: Mon, 05 Oct 2009 16:04:43 -0500 From: Scott Wood MIME-Version: 1.0 To: Benjamin Herrenschmidt Subject: Re: [PATCH] powerpc/8xx: fix regression introduced by cache coherency rewrite References: <20090929210331.GA25779@laura.chatsunix.int.mrv.com> <20090930090002.GA2928@compile2.chatsunix.int.mrv.com> <1254350159.5699.21.camel@pasglop> <20091002214949.GA20514@b07421-ec1.am.freescale.net> <1254521073.7122.5.camel@pasglop> <20091005192806.GC3576@loki.buserror.net> <1254774555.7122.38.camel@pasglop> In-Reply-To: <1254774555.7122.38.camel@pasglop> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: "linuxppc-dev@ozlabs.org" , Rex Feany List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Benjamin Herrenschmidt wrote: > On Mon, 2009-10-05 at 14:28 -0500, Scott Wood wrote: >> Yes, it hits ptep_set_access_flags() and adding _tlbil_va there helps (I >> didn't put it in the filter function, because that doesn't take address as a >> parameter). I'd misread your suggestion as referring to the various changes >> to set_pte_filter() that were posted. >> >> As for unconditionally invalidating in set_pte_filter(), that doesn't boot >> for me unless I check for kernel addresses -- I guess we populate page >> tables that overlap the pinned large page region? > > Good point. I think we do on 8xx. Does doing it in set_pte_filter() > (with the kernel check) makes any difference ? faster ? slower ? no > visible change ? ptep_set_access_flags() is enough to make the worst of it go away. I'm having another intermittent problem that seems to happen more often without the change in set_pte_filter(), but I've yet to narrow down what's actually going on there. -Scott