From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 577D7C28CBC for ; Sat, 9 May 2020 09:12:28 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6981F2495C for ; Sat, 9 May 2020 09:12:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nMEKaFm5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6981F2495C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49K1gF1M40zDrBn for ; Sat, 9 May 2020 19:12:25 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::643; helo=mail-pl1-x643.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=nMEKaFm5; dkim-atps=neutral Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49K1dP5KPrzDqQj for ; Sat, 9 May 2020 19:10:46 +1000 (AEST) Received: by mail-pl1-x643.google.com with SMTP id b6so1781481plz.13 for ; Sat, 09 May 2020 02:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :message-id:content-transfer-encoding; bh=3aZQPfVWvX/Cz5y+To9kc7EjGlGudGJTepWhWgdPzfM=; b=nMEKaFm5QFtFvFT83hrZXFfe/JcPlWekxSRSdCWVTjeHUXJ6SjqOdZ9PkdqJnhsGW7 CRskhIp1dRqpmTxUjR2IrGlobcVwPdZ3vMMIRWDb8pv2dfdiTkeI4c+Mg5pUHpOrBEZb 4SrQv2Qt/lZte0gnmeIyhE1Bh9lfGZHyXidt4XYLPMvIz6+s3s3yka/3gV7fN9ZWOCKx douzzivfznHJS4u2kejQ/rMD+JWxsipcOA3vco+imBZ0kuUONb86+eiT5ZhVfGg37JHT k84+iI4otYXeyIpKv4vf6lT6Q2D4VESvH8dV/dWF/Rh9ln1LleN/zwV2M1RuYDOQXQPR yc/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:message-id:content-transfer-encoding; bh=3aZQPfVWvX/Cz5y+To9kc7EjGlGudGJTepWhWgdPzfM=; b=XJm+B3L+6cL3YXQTllyNxf+DP/SsUcjZFBt7thpiaJw5aktMy4obRqks98o5xUmZMa B2ldqJDSHO9fs89F/jAOwsG8+aqUBhA6NETqb+HVONpAAa1e9/W4GMl+/HbLi+nbUY8s YnZJ6dBOp/O3oF1M1OqlhYoiEJYw3kr9YrNWZji7c/enYu4cXbjfn2eBsrxSYCwqp6jx JyxiFDY6vbMfXYQQRJ0+oi8zYigJSZqIGcpfXRWy0HBCmm1ILE7APjWNwBazrR2AjBJS bnYiY4Gn+H+2Lq1knqD5cvPLwnX2yhztvqO7ec8c7ts1OjLTls890/DTsGHN/OZx/H58 56bA== X-Gm-Message-State: AGi0Pua/2QQ4AC6ftESBLyexT4nmYunZ5tYV3K+4m6JmmZ8Hsczsc1jo xddBeG9/Fb4hgkaZgP2M79w= X-Google-Smtp-Source: APiQypJam4gCw6uppv/XnVHP25QtCioUrt9qom4TTEVWg0Bb8JexFztfJccyVR0OVAaA9Bo+w8P4JA== X-Received: by 2002:a17:902:b202:: with SMTP id t2mr4256600plr.1.1589015444980; Sat, 09 May 2020 02:10:44 -0700 (PDT) Received: from localhost (61-68-214-199.tpgi.com.au. [61.68.214.199]) by smtp.gmail.com with ESMTPSA id d14sm2863420pgt.66.2020.05.09.02.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 May 2020 02:10:44 -0700 (PDT) Date: Sat, 09 May 2020 19:10:39 +1000 From: Nicholas Piggin Subject: Re: [PATCH RFC 2/4] powerpc: Add Microwatt platform To: Alistair Popple , linuxppc-dev@lists.ozlabs.org References: <20200509050103.GA1464954@thinks.paulus.ozlabs.org> <20200509050255.GC1464954@thinks.paulus.ozlabs.org> <1589010752.ygtog0nhjc.astroid@bobo.none> <2771261.oJVn4HZnso@townsend> In-Reply-To: <2771261.oJVn4HZnso@townsend> MIME-Version: 1.0 Message-Id: <1589015352.vol2thm3ae.astroid@bobo.none> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@ozlabs.org, Michael Neuling , Benjamin Herrenschmidt Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Excerpts from Alistair Popple's message of May 9, 2020 6:36 pm: > On Saturday, 9 May 2020 5:58:57 PM AEST Nicholas Piggin wrote: >> Excerpts from Paul Mackerras's message of May 9, 2020 3:02 pm: >> > Microwatt is a FPGA-based implementation of the Power ISA. It >> > currently only implements little-endian 64-bit mode, and does >> > not (yet) support SMP. >> >=20 >> > This adds a new machine type to support FPGA-based SoCs with a >> > Microwatt core. >>=20 >> Very cool! >>=20 >> Would there be any point sharing this with the "naked metal" platform >> Alistair has for booting POWER in L3 without OPAL? Or is it easy enough >> to have a several different simple 64s platforms? >=20 > It looks pretty similar at the moment, I've been meaning to clean those=20 > patches up and send them upstream but Paul has beaten me to it. The main=20 > difference so far is how the console is setup. For booting cache containe= d I=20 > was using a device tree pointing at a standard UART driver and enabling t= he=20 > standard OF platform device tree probing. Well I'd only merge them if you think it makes sense. If the platform is=20 a perfectly good abstraction for the differences and merging them would=20 just result in painful special cases it wouldn't be worthwhile. It's clearly not a lot of code. Thanks, Nick