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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4051C433F5 for ; Mon, 18 Oct 2021 10:32:21 +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 3D67360F36 for ; Mon, 18 Oct 2021 10:32:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3D67360F36 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:33110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcPwI-0007CD-8g for qemu-devel@archiver.kernel.org; Mon, 18 Oct 2021 06:32:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcPv7-0006AF-OT; Mon, 18 Oct 2021 06:31:05 -0400 Received: from gate.crashing.org ([63.228.1.57]:47645) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcPv3-0006Ry-SW; Mon, 18 Oct 2021 06:31:05 -0400 Received: from ip6-localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 19IARoht018201; Mon, 18 Oct 2021 05:27:51 -0500 Message-ID: Subject: Re: [PATCH 1/2] hw/misc/bcm2835_property: Fix framebuffer with recent RPi kernels From: Benjamin Herrenschmidt To: Philippe =?ISO-8859-1?Q?Mathieu-Daud=E9?= , qemu-devel@nongnu.org, Alex =?ISO-8859-1?Q?Benn=E9e?= Date: Mon, 18 Oct 2021 21:27:50 +1100 In-Reply-To: <353c1b30-7621-54c5-5294-ebf1d8b3f8b8@amsat.org> References: <5283e2811498034cc2de77f10eb16b9cd67a0698.camel@kernel.crashing.org> <0615f4a3-fba0-bb59-2405-4e1a080f8166@amsat.org> <4bab811367b2c1e813061d6f1048bbf9b4a2a606.camel@kernel.crashing.org> <353c1b30-7621-54c5-5294-ebf1d8b3f8b8@amsat.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=63.228.1.57; envelope-from=benh@kernel.crashing.org; helo=gate.crashing.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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-arm@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, 2021-10-18 at 11:47 +0200, Philippe Mathieu-Daudé wrote: > > > I've just checked the rpi-5.15.y branch and it's the same. > > Indeed. I stopped testing recent kernels because they use too many > features QEMU don't implement. > > Our model should generate the DTB blob of devices implemented, instead > of giving false expectations to the guest by passing an unmodified dtb. > > This is on my TODO, I might give it a try next WE. Indeed. That said, we do implement the fb, so we probably want that fix. The fix for the virtual gpios is probably unnecessary however if we do what you want. That being said, with those two fixes, I can boot the latest 5.10 I get from raspbian. Cheers, Ben.