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=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 A4F83C2D0A3 for ; Fri, 6 Nov 2020 10:21:50 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 D421D20691 for ; Fri, 6 Nov 2020 10:21:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H/zpi1pZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D421D20691 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaysO-00069e-Fx for qemu-devel@archiver.kernel.org; Fri, 06 Nov 2020 05:21:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kayrn-0005fd-5v for qemu-devel@nongnu.org; Fri, 06 Nov 2020 05:21:11 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:45168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kayrh-0006TW-DI for qemu-devel@nongnu.org; Fri, 06 Nov 2020 05:21:10 -0500 Received: by mail-wr1-x442.google.com with SMTP id p1so716306wrf.12 for ; Fri, 06 Nov 2020 02:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=gkXQFk8ElP3mY5vL8CWxpeOrMjtUAz9W9g+C9WztUcY=; b=H/zpi1pZbfY+MH6JsPEyMHxrAtmypG3/TMi31iiD6zKUl5+CFSb2oNNacKvl9lKazQ Eni2r+WyYxImOSujcNgNCoIRRvYOYetUu4E77lEQryNFVggqDD8BhVxGeZ7Tb9kIe+2i QYOPF9M8NQ9CoKL5saneHI/iEwoldhO5kqvMSLKpTSaINH6XbzqdtM0SZg0X1C960bwz C1AMTum7Vptx6ktP/3MvySMQCbLdGjsfO1UmOLnn44fy1xxoNJRqMDEryEvVWC4RR1fA xcv50K5OWZ5cQbT6eRcMiDa3d6Ef0XkxBecg0br4005D+PyxlNGvArmRn8rdpaQSeugw 64DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=gkXQFk8ElP3mY5vL8CWxpeOrMjtUAz9W9g+C9WztUcY=; b=t72LFVtVIsdtuUI7dfA1z3LCeVQW2na/WRIAj19Wk8f0ravRLuVWCoTvn6jTkM4pVS 9q1isYhADfDP6w5fEXT6LC4+HrLZGttlXGZ6KBwTVx02ylTeLFi7Vy/6j+Jxt7g2rHZv T6arvkYGChand7SrIGdSPdTTd9GdKRgK8L5A7fvBJ0SkAp55LVsv4ETb0IE/453fNPpZ tJLyM7mN5ZTIgKEOSjYZazrFUxRITXmiYY+1yDQAszKmwcEb2ovbpGqxItz0loW6zR7w MSs1RK18TFVl4awkKvFwFejsfZNiZ5I+25HwwGUOkZWBti5EA9alVpmJCyQ30KCB+AJ0 68Vw== X-Gm-Message-State: AOAM531Urwl+0Ddv0qm8bdPn6P0j+dic6Gg0jYsN38FabGSnZQgGb74I AvC6JIh7SXFLrodcUK91KDokkw== X-Google-Smtp-Source: ABdhPJxgSTmYpdWOvsph0hgCq/i8mqqgRyzZ+fAurXnb87RxoSX0EJX+xw4MEuizGItm9NNGFLQoCg== X-Received: by 2002:adf:f482:: with SMTP id l2mr1828457wro.26.1604658063160; Fri, 06 Nov 2020 02:21:03 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d3sm1341346wre.91.2020.11.06.02.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 02:21:01 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 47E7E1FF7E; Fri, 6 Nov 2020 10:21:01 +0000 (GMT) References: <20201105175153.30489-1-alex.bennee@linaro.org> <20201105175153.30489-3-alex.bennee@linaro.org> User-agent: mu4e 1.5.6; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Bin Meng Subject: Re: [RFC PATCH 02/15] hw/riscv: migrate fdt field to generic MachineState In-reply-to: Date: Fri, 06 Nov 2020 10:21:01 +0000 Message-ID: <874km2bxbm.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: julien@xen.org, Sagar Karandikar , masami.hiramatsu@linaro.org, Andre Przywara , stefano.stabellini@linaro.org, "qemu-devel@nongnu.org Developers" , AKASHI Takahiro , Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , stefano.stabellini@xilinx.com, "open list:RISC-V TCG CPUs" , stratos-dev@op-lists.linaro.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Bin Meng writes: > On Fri, Nov 6, 2020 at 1:57 AM Alex Benn=C3=A9e = wrote: >> >> This is a mechanical change to make the fdt available through >> MachineState. >> >> Signed-off-by: Alex Benn=C3=A9e >> Reviewed-by: Alistair Francis >> Message-Id: <20201021170842.25762-3-alex.bennee@linaro.org> >> Signed-off-by: Alex Benn=C3=A9e >> --- >> include/hw/riscv/virt.h | 1 - >> hw/riscv/virt.c | 20 ++++++++++---------- >> 2 files changed, 10 insertions(+), 11 deletions(-) > > What about the 'sifive_u' and 'spike' machines? If they support direct -kernel loading then we could certainly do the same for them. > > Regards, > Bin --=20 Alex Benn=C3=A9e