From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030378AbbCLQN2 (ORCPT ); Thu, 12 Mar 2015 12:13:28 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:54363 "EHLO mx08-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932456AbbCLQN0 (ORCPT ); Thu, 12 Mar 2015 12:13:26 -0400 Message-ID: <5501BAF5.5050306@st.com> Date: Thu, 12 Mar 2015 17:12:37 +0100 From: Fabrice Gasnier User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Russell King - ARM Linux CC: Tony Lindgren , Marek Szyprowski , Linus Walleij , Thomas Petazzoni , Tomasz Figa , Arnd Bergmann , , , Subject: Re: [PATCH v2] ARM: l2c: Fix prefetch settings dt parsing References: <1425977941-31278-1-git-send-email-fabrice.gasnier@st.com> <20150312145712.GT8656@n2100.arm.linux.org.uk> In-Reply-To: <20150312145712.GT8656@n2100.arm.linux.org.uk> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.254.206] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-12_06:2015-03-12,2015-03-12,1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Russel, I just sent a V3 to follow your remark. If this is ok, l'll add it to your patch system. Thanks for your review. BR, Fabrice On 03/12/2015 03:57 PM, Russell King - ARM Linux wrote: > On Tue, Mar 10, 2015 at 09:59:01AM +0100, Fabrice GASNIER wrote: >> Allow prefetch settings overriding by device tree, in case >> l2x0_cache_size_of_parse() returns value, prefetch tuning >> properties are silently ignored. E.g. arm,double-linefill* and >> arm,prefetch*. >> This happens for example, when "cache-size" or "cache-sets" >> properties haven't been filled in l2c dt node. >> >> Signed-off-by: Fabrice Gasnier >> Reviewed-by: Tomasz Figa > Patch is okay, but I think the commit message needs to be better :) > > "Allow device tree to override the L2C prefetch settings, even when > l2x0_cache_size_of_parse() fails to parse the cache geometry due to (eg) > missing "cache-size" or "cache-sets" properties." > > I think with something along those lines, the patch can be put in my > patch system for when I next get around to applying some kernel patches > instead of reading email. :) > > Thanks. >