Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13048584ybl; Sun, 29 Dec 2019 03:31:06 -0800 (PST) X-Google-Smtp-Source: APXvYqwgLVjPBM4Y5C4TkeUaTOaVAVxUbC8hoxiHrTREMK6yk53YFXIhoHAroOQ/YDIHaunZg1By X-Received: by 2002:a9d:4f0a:: with SMTP id d10mr52604220otl.85.1577619066216; Sun, 29 Dec 2019 03:31:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577619066; cv=none; d=google.com; s=arc-20160816; b=K7IFzd4/zZ5401pHZx3e67TL3MkNAD3OdJQK0cfVAXpQNmcYoYgWIMndl/O9+oPuz7 LFnQuM/0byr6j/artEI2hdbYpBHrz6Ul4lsevzIfmUhoQELIXkxfZVdpQn9RY5V7V4fh Z4OGHyn5ZpXxv/nlHKjvLCLA3LAm0QOY31SeG8k8Z/x+Ltbn0tNT/3x81L88xAdJzEUu jb4mCA2GVxLDFAHFxsuduydjdwvP47XUsSvFrxv8+1HnMO088mGvtbKeJiJx07+WLW7o 0Eos+IIlXbAhTEP7ZVwIfHBq4rieuR1TSHvkCO45F62+6y26v/TtjRKfSJ8VktaDFlIS Dr7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version; bh=7SRTQi7UOzPkuRPk4jwVu4nL3dk050oInVuyLbITmn0=; b=j+bOHjdD4yE/2pCpV8FCBmbAv8o0Z83SZnty/n4iLKcjReBLLLTrVwljTmdtz3NkG5 VKO3kszO0k9UixhTp4dAwrU7Dqi75vKH/frG9mx1tMZ9uZ4YvqCMFKAGFtfJQ6YoZBE6 lcbKIxp/L/wTVXqTaHDQblSATalw1g/HnBfPKQh5wxZrmwVh17jBn00qTzCYo76S694j z5q8zeEkvUSBdCqAd+RP2trt9rsZzq0DlrmaU9wiUH+xtX/bSufnBD4tTOEePYbzQeyB wqC4Kssc/qvg+1zMxpEdC1negjbuiXuN4pi0Jm+caGiAatI6GgqXGWfoMlbN3NAF74uL AJ+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a20si21298154otf.271.2019.12.29.03.30.52; Sun, 29 Dec 2019 03:31:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbfL2L3V (ORCPT + 99 others); Sun, 29 Dec 2019 06:29:21 -0500 Received: from disco-boy.misterjones.org ([51.254.78.96]:34214 "EHLO disco-boy.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726151AbfL2L3U (ORCPT ); Sun, 29 Dec 2019 06:29:20 -0500 Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ilWl2-00061M-EV; Sun, 29 Dec 2019 11:29:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 29 Dec 2019 11:29:16 +0000 From: Marc Zyngier To: James Tai Cc: linux-realtek-soc@lists.infradead.org, mark.rutland@arm.com, devicetree@vger.kernel.org, Lorenzo Pieralisi , linux-kernel@vger.kernel.org, robh+dt@kernel.org, Robin Murphy , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/2] arm64: dts: realtek: Add RTD1319 SoC and Realtek PymParticle EVB In-Reply-To: <68b6541e1f4b447cb6845d16fdab28d9@realtek.com> References: <20191228150553.6210-1-james.tai@realtek.com> <20191228150553.6210-3-james.tai@realtek.com> <6750faa33ee059ec22cf1981e7483186@kernel.org> <68b6541e1f4b447cb6845d16fdab28d9@realtek.com> Message-ID: <718082aebcc3ab4d9169a4abbe968ec1@kernel.org> X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.8 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: james.tai@realtek.com, linux-realtek-soc@lists.infradead.org, mark.rutland@arm.com, devicetree@vger.kernel.org, lorenzo.pieralisi@arm.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-12-29 07:46, James Tai wrote: > Hi Marc, > > Thanks for review. > >> > + timer { >> > + compatible = "arm,armv8-timer"; >> > + interrupts = , >> > + , >> > + , >> > + ; >> >> Nit: At some point, it'd be good to be able to describe the EL2 >> virtual timer >> interrupt too. Not specially important, but since these ARMv8.2 CPUs >> have it... > > I will add the EL2 virtual timer interrupt to timer node. If you do this, please update the binding first, as this interrupt is not described there yet. > >> > + gic: interrupt-controller@ff100000 { >> > + compatible = "arm,gic-v3"; >> > + reg = <0xff100000 0x10000>, >> > + <0xff140000 0xc0000>; >> >> Are you sure about the size of the GICR region? For 4 CPUs, it should >> be >> 0x80000. Here, you have a range for 6 CPUs. > > The GICR region should be 0x80000 because the RTD1319 SoC have only 4 > CPUs. OK. Please verify that this is actually the case, and that the last redistributor (at offset 0x60000) has GICR_TYPER.Last set. I have recently seen GICs configured for a larger number of CPUs where some of them were disabled in HW, and the DT was wrongly describing some of the redistributors only, leading to SW crashes. Thanks, M. -- Jazz is not dead. It just smells funny...