Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753302AbbGNJYZ (ORCPT ); Tue, 14 Jul 2015 05:24:25 -0400 Received: from foss.arm.com ([217.140.101.70]:32926 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751694AbbGNJYX (ORCPT ); Tue, 14 Jul 2015 05:24:23 -0400 Date: Tue, 14 Jul 2015 10:23:53 +0100 From: Mark Rutland To: Ray Jui Cc: Catalin Marinas , Will Deacon , Arnd Bergmann , Bjorn Helgaas , Hauke Mehrtens , Jon Mason , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bcm-kernel-feedback-list@broadcom.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 4/4] arm64: dts: Add Broadcom North Star 2 support Message-ID: <20150714092353.GA12675@leverpostej> References: <1436837955-26279-1-git-send-email-rjui@broadcom.com> <1436837955-26279-5-git-send-email-rjui@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436837955-26279-5-git-send-email-rjui@broadcom.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2330 Lines: 70 Hi, > +/dts-v1/; > + > +#include "ns2.dtsi" > + > +/ { > + model = "Broadcom NS2 SVK"; > + compatible = "brcm,ns2-svk", "brcm,ns2"; > + > + chosen { > + bootargs = "console=ttyS0,115200n8 earlycon=uart8250,mmio32,0x66130000"; > + }; Please use stdout-path instead (you can use /aliases to make it simpler). It'll save a redundant description of the UART and will remove the dependency on Linux-specific naming of the UART. [...] > +/ { > + compatible = "brcm,ns2"; > + interrupt-parent = <&gic>; > + #address-cells = <2>; > + #size-cells = <2>; > + > + cpus { > + #address-cells = <2>; > + #size-cells = <0>; > + > + cpu@0 { > + device_type = "cpu"; > + compatible = "arm,cortex-a57", "arm,armv8"; > + reg = <0 0>; > + enable-method = "spin-table"; > + cpu-release-addr = <0 0x84b00000>; > + }; > + }; Shouldn't the other CPUs be described? Using spin-table for SMP is somewhat unfortunate, as it comes with a number of problems (e.g. unwoken secondaries spinning in the kernel). I would strongly advise using PSCI instead. > + > + timer { > + compatible = "arm,armv8-timer"; > + interrupts = + IRQ_TYPE_EDGE_RISING)>, > + + IRQ_TYPE_EDGE_RISING)>, > + + IRQ_TYPE_EDGE_RISING)>, > + + IRQ_TYPE_EDGE_RISING)>; > + clock-frequency = <25000000>; > + }; Please fix your firmware to configure CNTFRQ_EL0, it is simply a bug not to, and using clock-frequency does not fix all the problems that not configuring it causes. Thanks, Mark. -- 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/