From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4F765B6FB3 for ; Tue, 24 May 2011 01:39:15 +1000 (EST) In-Reply-To: <1306059295-25806-1-git-send-email-dbaryshkov@gmail.com> References: <1306059295-25806-1-git-send-email-dbaryshkov@gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <41281836ef63fbd23f9f01cee34078bc@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH V2 1/2] Maple: register CPC925 EDAC device on all boards with CPC925 Date: Mon, 23 May 2011 17:40:40 +0200 To: Dmitry Eremin-Solenikov Cc: Harry Ciao , Paul Mackerras , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Currently Maple setup code creates cpc925_edac device only on > Motorola ATCA-6101 blade. Make setup code check bridge revision > and enable EDAC on all U3H bridges. > > Verified on Momentum MapleD (ppc970fx kit) board. > > Signed-off-by: Dmitry Eremin-Solenikov Acked-by: Segher Boessenkool One tiny thing: > + if (rev >= 0x34 && rev <= 0x3f) { /* U3H */ > + printk(KERN_ERR "%s: Non-CPC925(U3H) bridge revision: %02x\n", > + __func__, rev); > + return -ENODEV; > + } That's not really an error, is it? Segher