Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756038AbaLHPR4 (ORCPT ); Mon, 8 Dec 2014 10:17:56 -0500 Received: from gw-1.arm.linux.org.uk ([78.32.30.217]:45377 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755976AbaLHPRy (ORCPT ); Mon, 8 Dec 2014 10:17:54 -0500 Date: Mon, 8 Dec 2014 15:17:33 +0000 From: Russell King - ARM Linux To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Hante Meuleman , linux-wireless , brcm80211-dev-list , Will Deacon , "linux-kernel@vger.kernel.org" , Arend Van Spriel , David Miller , Marek Szyprowski , hauke@hauke-m.de Subject: Re: using DMA-API on ARM Message-ID: <20141208151733.GF11285@n2100.arm.linux.org.uk> References: <5481794E.4050406@broadcom.com> <2863746.4sUSEYqahB@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2863746.4sUSEYqahB@wuerfel> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 08, 2014 at 04:01:32PM +0100, Arnd Bergmann wrote: > In your log, I see this message: > > [ 0.000000] PL310 OF: cache setting yield illegal associativity > [ 0.000000] PL310 OF: -1069781724 calculated, only 8 and 16 legal > [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 > [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 > [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled > [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB > [ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x4e130001 > > Evidently the cache controller information in DT is incorrect and > the setup may be wrong as a consequence, which may explain cache > coherency problems. No. See d0b92845e54 (ARM: 8182/1: l2c: Make l2x0_cache_size_of_parse() return 'int') which was merged in rc3, post-dating this kernel. The original commit was buggy, and produces those harmless "illegal associativity" messages. They occur if DT *doesn't* specify the cache parameters, in which case we use the hardware-set value (which /should/ be correct.) We made these optional in DT as hardware really should set these correctly in the first place. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/