Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2205557imc; Tue, 12 Mar 2019 09:02:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyF3at1SVmX0cMtpvERsfkEegAP90P9S+qyb4DDCxPEkiDPgeq3sQRu0hR5Gyefo6hs/Bun X-Received: by 2002:a17:902:a40d:: with SMTP id p13mr39382490plq.144.1552406523020; Tue, 12 Mar 2019 09:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552406523; cv=none; d=google.com; s=arc-20160816; b=ytEaTbXS8OKefhQT34VYg6BaUifD3BmLXT+eMQFMqXGXM5xZscNKyAurq7Y7/V50h4 xNcD9aeSAGgd9fF6YO91WTrOG3rfI+VZNRUHPeXpsdFPs20G8kH/XsKTVMJKuP4eHQDV b5HfSCV92JrwkkCKcwURRkAyusDYsAJ83LQK7jqv9Tap2Kkv/3sJa2CCkbmwaN5++q52 /n00axOf0mXHoOLMwKCLd+znWM+/zYntUUBDlSw68geJsV4uo+5WIUY8VucTbg5Weh7q H2qmPmq0IHCcWEz29VhjOcMHd1Nd2yGXqRdyl5A0lAU/VrNsp/jbgTkxaUnx9ChkH/Cp TPJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WWfZSCPlNb0cDt1470GW9Ucs5VWxAtv3nEi3YLnM5RQ=; b=g/zLmaB2+cmIYH0NCS1IRN0MFQJ6BXFETUqyyUWT5d9pWo8OBbpwMih+usG38Timfe T+LqWt2xljbnLxobSXqd1oUmdGEtgxdHA2Ej/+0tYJ0DpqX+dFU3O9lbgX3WAVmcqsoV hiAjTgn3/qDEdiPizsbxwIAZoedtgqJGhMGjVfpj1HO0dzT9aiL3RBuxX6gIzkgSBvU5 pywVABN6IQMRiWNgHEDTvMhTxRdYqi3hgDN6ijP/yLCRb4AqmZhT+hkaHK1Jw+kcVHwy H2aWh67RP1r718U/wFjXcwkrfHoFnH2NSd58rjuI6OrZT1uHj8tLLwwlebD85TV5GPtC moZg== 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 w8si4784523ply.303.2019.03.12.09.01.46; Tue, 12 Mar 2019 09:02:03 -0700 (PDT) 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 S1726643AbfCLQBE (ORCPT + 99 others); Tue, 12 Mar 2019 12:01:04 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:33898 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbfCLQBD (ORCPT ); Tue, 12 Mar 2019 12:01:03 -0400 Received: by mail-oi1-f193.google.com with SMTP id g16so2531751oib.1; Tue, 12 Mar 2019 09:01:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WWfZSCPlNb0cDt1470GW9Ucs5VWxAtv3nEi3YLnM5RQ=; b=e+GAQcX6mwRcVdVs6yj8spn5fIZE1kfjmANRLZDJ78mjKUiPZl/7vL6xDQDZLTQeLJ M4uVZY+J2UnuQwdcnIB7yqoc9AjMAJnmcSohAieswA9iGeilRrpO83AOXCKMkgVdafip sjfe5+fC171NU/CHFyTmEnmcDnGeVvGdSGL5lxBPgvMw9ujkj4oYOp8b/+yrQcea/HyO 2X24f6kE/htpYERZ5RMzzv1Vbmj/lfG1ZJbPvdOX1SmCfwZqMGztZUgq2O9hFi06YLjr t/A3n1653lGWnv9SvTf21tPKeIP43DIJjTIuOuWNREqAZ2G6jz7E+QwrD0RHNjZCWD0U K1lg== X-Gm-Message-State: APjAAAV9dVDWBo+cVsDo0KsBTXnvR7Cs1yPrq1C9T1GvjDL8kLY6Ypeo 0uX/xlVTrJ8Up/evrw7DKg== X-Received: by 2002:aca:c78f:: with SMTP id x137mr1980360oif.124.1552406462545; Tue, 12 Mar 2019 09:01:02 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id j15sm3667328oih.23.2019.03.12.09.00.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 09:01:00 -0700 (PDT) Date: Tue, 12 Mar 2019 11:00:57 -0500 From: Rob Herring To: thor.thayer@linux.intel.com Cc: bp@alien8.de, dinguyen@kernel.org, mark.rutland@arm.com, mchehab@kernel.org, devicetree@vger.kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 1/5] Documentation: dt: edac: Fix Stratix10 IRQ bindings Message-ID: <20190312160057.GA31306@bogus> References: <1551288445-22335-1-git-send-email-thor.thayer@linux.intel.com> <1551288445-22335-2-git-send-email-thor.thayer@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1551288445-22335-2-git-send-email-thor.thayer@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 27, 2019 at 11:27:21AM -0600, thor.thayer@linux.intel.com wrote: > From: Thor Thayer > > Fix Stratix10 ECC bindings to specify only the single > bit error. On Stratix10 double bit errors are handled > as SErrors instead of interrupts. > Indicate the differences between the ARM64 and ARM32 > EDAC architecture in the bindings. > > Signed-off-by: Thor Thayer > --- > v2 No change > --- > .../devicetree/bindings/edac/socfpga-eccmgr.txt | 23 +++++++++++++++------- > 1 file changed, 16 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/edac/socfpga-eccmgr.txt b/Documentation/devicetree/bindings/edac/socfpga-eccmgr.txt > index 5626560a6cfd..a0ac50e15912 100644 > --- a/Documentation/devicetree/bindings/edac/socfpga-eccmgr.txt > +++ b/Documentation/devicetree/bindings/edac/socfpga-eccmgr.txt > @@ -236,33 +236,42 @@ Stratix10 SoCFPGA ECC Manager > The Stratix10 SoC ECC Manager handles the IRQs for each peripheral > in a shared register similar to the Arria10. However, ECC requires > access to registers that can only be read from Secure Monitor with > -SMC calls. Therefore the device tree is slightly different. > +SMC calls. Therefore the device tree is slightly different. Note that > +only 1 interrupt is sent because the double bit errors are treated as > +SErrors instead of IRQ. > > Required Properties: > - compatible : Should be "altr,socfpga-s10-ecc-manager" > -- interrupts : Should be single bit error interrupt, then double bit error > - interrupt. > +- altr,sysgr-syscon : phandle to Stratix10 System Manager Block > + containing the ECC manager registers. Seems this was already in use, but why not just make this node a child of the System Manager Block and remove this phandle? > +- interrupts : Should be single bit error interrupt. > - interrupt-controller : boolean indicator that ECC Manager is an interrupt controller > - #interrupt-cells : must be set to 2. > +- #address-cells: must be 1 > +- #size-cells: must be 1 > +- ranges : standard definition, should translate from local addresses > > Subcomponents: > > SDRAM ECC > Required Properties: > - compatible : Should be "altr,sdram-edac-s10" > -- interrupts : Should be single bit error interrupt, then double bit error > - interrupt, in this order. > +- interrupts : Should be single bit error interrupt. > > Example: > > eccmgr { > compatible = "altr,socfpga-s10-ecc-manager"; > - interrupts = <0 15 4>, <0 95 4>; > + altr,sysmgr-syscon = <&sysmgr>; > + #address-cells = <1>; > + #size-cells = <1>; > + interrupts = <0 15 4>; > interrupt-controller; > #interrupt-cells = <2>; > + ranges; > > sdramedac { > compatible = "altr,sdram-edac-s10"; > - interrupts = <16 4>, <48 4>; > + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>; > }; > }; > -- > 2.7.4 >