Received: by 10.223.164.202 with SMTP id h10csp3500800wrb; Tue, 28 Nov 2017 12:20:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ0vsxv/UX9SprwExngzykzThSSBGZilmYlH69pZYmcYLqM6VLOxorJhjb/0fquXU+HwlUR X-Received: by 10.159.196.141 with SMTP id c13mr402007plo.186.1511900404489; Tue, 28 Nov 2017 12:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511900404; cv=none; d=google.com; s=arc-20160816; b=0ahQz5VoQCNpOCTZPtdOHd3LRGdJFxGsopDkiZpTqbV8w0p0R112eALH7Hc1qDfRqr OfzcKwBjVOzM5PQoVDsCSBRQnFg49+5Qek/Z3l66KKkcVODyjS0+zwFrGlNo/rIV+3vr Nry7ve5XdoKrLtcj3A9isqQREM4DM3NsMOV8x1j06AhGDveLJcf9iKJH9zQqsvLLnuBe MzmCd4mC1+zuhzaEj1cVcInUPqF1hfvt6Kj71cftD5c0sW024gmRUvsz1mLnnOTAZbsf /EGbWlJKsPWZsOJyXWP/qNzrZQRUetYR8AqkD/3jWpwlWU4id/vKr491j0vym6ju6CtA izjQ== 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:arc-authentication-results; bh=CRX8odpGHIRdM2BpX+KmorbBttXyDow97XywWKpFaSo=; b=HywHJj33xwM2d+Kih8ncTNdbPI2TjB1VIMujEyEl1DQtA4vxLDTQh3kil1zgvh23A5 tVsGdzMbKdDg6AuOtKp8hwEOx1aG9D70HrfVsGpQHq+zffMapQ/CkA2N/mg+6+Jg1vOk EaQh75ksQTbzsIvld4NOPxMyjl7l0yWBIOwmD68XFIH4d3qGa/JQ4uzqMvaddJ2ZKMZb PGUiSv7KKpnuGsLcEOwhyU/vwU83gQ2DkS5/9FoDdEijIQHw/H7hwNgBe+vknzNBeato yVkns3FUeL0MDqYSsJ7bPt0TcHip9RFNT2Co0th3SsUzOGyDH7UYDYaIk9TOfTZUnrfY Uwgw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si8746pgz.208.2017.11.28.12.19.54; Tue, 28 Nov 2017 12:20:04 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754155AbdK1T53 (ORCPT + 70 others); Tue, 28 Nov 2017 14:57:29 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.150.224]:48383 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752613AbdK1T52 (ORCPT ); Tue, 28 Nov 2017 14:57:28 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx30.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Tue, 28 Nov 2017 19:57:22 +0000 Received: from localhost (10.20.1.18) by mips01.mipstec.com (10.20.43.31) with Microsoft SMTP Server id 14.3.361.1; Tue, 28 Nov 2017 11:49:22 -0800 Date: Tue, 28 Nov 2017 11:50:02 -0800 From: Paul Burton To: James Hogan , Alexandre Belloni CC: Ralf Baechle , , Subject: Re: [PATCH 09/13] MIPS: mscc: Add initial support for Microsemi MIPS SoCs Message-ID: <20171128195002.dcq7i2wqmstkn3rr@pburton-laptop> References: <20171128152643.20463-1-alexandre.belloni@free-electrons.com> <20171128152643.20463-10-alexandre.belloni@free-electrons.com> <20171128160137.GF27409@jhogan-linux.mipstec.com> <20171128165359.GJ21126@piout.net> <20171128173151.GD5027@jhogan-linux.mipstec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20171128173151.GD5027@jhogan-linux.mipstec.com> User-Agent: NeoMutt/20171013 X-BESS-ID: 1511898962-637140-23888-52588-8 X-BESS-VER: 2017.14-r1710272128 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.01 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.187390 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH META: Sender Domain Matches Recipient Domain X-BESS-Outbound-Spam-Status: SCORE=0.01 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, Alexandre, On Tue, Nov 28, 2017 at 05:31:51PM +0000, James Hogan wrote: > On Tue, Nov 28, 2017 at 05:53:59PM +0100, Alexandre Belloni wrote: > > On 28/11/2017 at 16:01:38 +0000, James Hogan wrote: > > > On Tue, Nov 28, 2017 at 04:26:39PM +0100, Alexandre Belloni wrote: > > > > Introduce support for the MIPS based Microsemi Ocelot SoCs. > > > > As the plan is to have all SoCs supported only using device tree, the > > > > mach directory is simply called mscc. > > > > > > Nice. Have you considered adding this to the existing multiplatform > > > "generic" platform? See for example commit b35565bb16a5 ("MIPS: generic: > > > Add support for MIPSfpga") for the latest platform to be converted. > > > > > > > I didn't because we are currently booting using an old redboot with its > > own boot protocol and at boot, the register read by the sead3 code is > > completely random (it actually matched once). > > > > Do you consider that mandatory to get the platform upstream? > > No, however if it is practical to do so I think it might be the best way > forward (even if generic+YAMON support is mutually exclusive of > generic+redboot, though hopefully there is some way to avoid that). > > Paul on Cc, he may have thoughts on this one. We could certainly look at tightening the checks in the SEAD-3 code to avoid the false positive. Could you share any details of the boot protocol you're using with redboot? One option might be for the SEAD-3 code to check that the arguments the bootloader provided look "YAMON-like", so long as the 2 protocols differ sufficiently. Thanks, Paul From 1585332284521155278@xxx Tue Nov 28 17:38:02 +0000 2017 X-GM-THRID: 1585324369184725302 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread