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=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 A7F2EC433DB for ; Mon, 21 Dec 2020 12:28:52 +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 D356C216FD for ; Mon, 21 Dec 2020 12:28:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D356C216FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krKJ0-0006zU-Ks for qemu-devel@archiver.kernel.org; Mon, 21 Dec 2020 07:28:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krKHv-00060H-Gy for qemu-devel@nongnu.org; Mon, 21 Dec 2020 07:27:43 -0500 Received: from 9.mo51.mail-out.ovh.net ([46.105.48.137]:54591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krKHr-0001BH-Da for qemu-devel@nongnu.org; Mon, 21 Dec 2020 07:27:43 -0500 Received: from mxplan5.mail.ovh.net (unknown [10.109.143.128]) by mo51.mail-out.ovh.net (Postfix) with ESMTPS id 13C4C246905; Mon, 21 Dec 2020 13:27:35 +0100 (CET) Received: from kaod.org (37.59.142.100) by DAG8EX1.mxp5.local (172.16.2.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Mon, 21 Dec 2020 13:27:35 +0100 Authentication-Results: garm.ovh; auth=pass (GARM-100R003d622ae1a-13f8-4068-bf50-cc4b02c6614b, 0B619508FA83EFFE02DCDB9DB2C04BF8DACB1B13) smtp.auth=groug@kaod.org X-OVh-ClientIp: 82.253.208.248 Date: Mon, 21 Dec 2020 13:27:34 +0100 From: Greg Kurz To: Alexey Kardashevskiy Subject: Re: [PATCH qemu v12] spapr: Implement Open Firmware client interface Message-ID: <20201221132734.084df0e8@bahia.lan> In-Reply-To: References: <20201218025040.98132-1-aik@ozlabs.ru> <20201218150413.44da862d@bahia.lan> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [37.59.142.100] X-ClientProxiedBy: DAG1EX2.mxp5.local (172.16.2.2) To DAG8EX1.mxp5.local (172.16.2.71) X-Ovh-Tracer-GUID: 71ce656d-cf78-4d50-9ba4-831153b6dc73 X-Ovh-Tracer-Id: 10716033838928468448 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrvddtvddggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfgjfhfogggtgfhisehtjeertdertddvnecuhfhrohhmpefirhgvghcumfhurhiiuceoghhrohhugheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeefuddtieejjeevheekieeltefgleetkeetheettdeifeffvefhffelffdtfeeljeenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddruddttdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehmgihplhgrnhehrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepghhrohhugheskhgrohgurdhorhhgpdhrtghpthhtohepsggrlhgrthhonhesvghikhdrsghmvgdrhhhu Received-SPF: pass client-ip=46.105.48.137; envelope-from=groug@kaod.org; helo=9.mo51.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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: qemu-ppc@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, 21 Dec 2020 23:06:40 +1100 Alexey Kardashevskiy wrote: [...] > > Thanks for the split. The VOF paths are now clearly identified in > > the sPAPR code, and well guarded by a check on x-vof. Rest of the > > patch looks good to me. I gave it a try with a stock fedora 33 > > kernel and initramfs and it booted really fast ! > > > > With the checkpatch complaints addressed, > > > They all are about the firmware, not QEMU ifself, do we enforce it for > such things as firmwares too? > Well, apparently checkpatch does :) More seriously, this code is being added to the QEMU source tree, not like it is some foreign code imported as a git submodule, so I don't see why regular QEMU coding style guidelines wouldn't apply ? > > > > > Acked-by: Greg Kurz > > > > and > > > > Tested-by: Greg Kurz > > > Thanks! Now I am thinking whether someone may want to use it for > something else, like... dunno... ARM? :) > > Well, Zoltan seemed to have some interest in using VOF for presumably other PowerPC based boards IIUC. Another future work could be to add enough support to be able to start grub and boot from a virtio device. :) Cheers, -- Greg