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=-8.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 5D57AC11F68 for ; Tue, 13 Jul 2021 17:00:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3CBB561249 for ; Tue, 13 Jul 2021 17:00:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232017AbhGMRCs (ORCPT ); Tue, 13 Jul 2021 13:02:48 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:41907 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbhGMRCq (ORCPT ); Tue, 13 Jul 2021 13:02:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626195596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XTHdlYNv/a9BuVPGjnPy+dQ/mQjufPe+yKG6ndLoXU8=; b=eX0vNDQetw4M4XvuzdRcpzZcTe4FtS5+xgrR+G5VXPhCmc0t0q/NkkDd+By1EFfppUZwyA j+0h4jpvRagFIp8303DxtzUj1YkYvw13WZsOOQGn4Jl4jrLAfIy0ZKR3eZwWWbnZr4HAVg wN0h7kqIAlJJ8TlEVQGTw3NU2rn9dCk= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-242-W1DvVrD-NYuRd1k0fQpl3w-1; Tue, 13 Jul 2021 12:59:55 -0400 X-MC-Unique: W1DvVrD-NYuRd1k0fQpl3w-1 Received: by mail-wr1-f72.google.com with SMTP id h11-20020adffa8b0000b029013a357d7bdcso8680444wrr.18 for ; Tue, 13 Jul 2021 09:59:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XTHdlYNv/a9BuVPGjnPy+dQ/mQjufPe+yKG6ndLoXU8=; b=qjJRh9iCw3eWlJcm1zUdMQ7sihvTV3dK5OKpITNLHt7QfNBscJGqXpO9FJ2djN8L0H /slbu6+IsPuDkIIntcUGJIPp2qIDYLOTxFvf/lUHKms7uf0gcUxxB6WhSKVFSZ/uPKmk 0kYKt3wlN+SKsw99G1SJuUcBl5YDmJ7u2X455/krpVJirjaTxy2T0/sJSs0OaOdK93cS 6VhSlFHbVAG7KGY7yflhvSJvprFKSL4motMzMfho4gtk4Zb9T+4w8C4DNWCYKPU1mMlp fz7FTeVBkAYm7bPHM36AzLmwMOrcQpOboy/gwyCOQPId9AO4wNUxfAN8baT9Q6Gpodk4 xLFA== X-Gm-Message-State: AOAM532Lqj9133ZaQufN4GtJmBDO4rfendU3S4WW2DjeAmTwEZo9hvaX 35uKyMHLlpNVadwqHArdpMCLlwkocd/WsZzJVEtBk3+IpIaZNSUoJTS5XhDrGEAQURhppuS/3Cs tlxTFFLl/bqnuHDrlwdc+UOWQ X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr1986038wml.18.1626195593925; Tue, 13 Jul 2021 09:59:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxumMUPdgM1d9aW8ug3rd8W69QVL7ebCKDjq/l4syiEd2xfO/CLyenHYKdqhxzMxt12Uge4rQ== X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr1986010wml.18.1626195593743; Tue, 13 Jul 2021 09:59:53 -0700 (PDT) Received: from [192.168.1.101] ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id o28sm19766410wra.71.2021.07.13.09.59.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jul 2021 09:59:53 -0700 (PDT) Subject: Re: [PATCH v3 0/2] allow simple{fb,drm} drivers to be used on non-x86 EFI platforms To: linux-kernel@vger.kernel.org Cc: Thomas Zimmermann , Palmer Dabbelt , Russell King , linux-efi@vger.kernel.org, Thomas Gleixner , Hans de Goede , x86@kernel.org, Ingo Molnar , Will Deacon , Paul Walmsley , linux-riscv@lists.infradead.org, Borislav Petkov , Albert Ou , Peter Robinson , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, David Airlie , Greg Kroah-Hartman , Daniel Vetter , Ard Biesheuvel , Catalin Marinas , Atish Patra References: <20210625130947.1803678-1-javierm@redhat.com> From: Javier Martinez Canillas Message-ID: Date: Tue, 13 Jul 2021 18:59:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210625130947.1803678-1-javierm@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/25/21 3:09 PM, Javier Martinez Canillas wrote: > The simplefb and simpledrm drivers match against a "simple-framebuffer" > device, but for aarch64 this is only registered when using Device Trees > and there's a node with a "simple-framebuffer" compatible string. > > There is no code to register a "simple-framebuffer" platform device when > using EFI instead. In fact, the only platform device that's registered in > this case is an "efi-framebuffer", which means that the efifb driver is > the only driver supported to have an early console with EFI on aarch64. > > The x86 architecture platform has a Generic System Framebuffers (sysfb) > support, that register a system frambuffer platform device. It either > registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy > VGA/EFI FB devices for the vgafb/efifb drivers. > > The sysfb is generic enough to be reused by other architectures and can be > moved out of the arch/x86 directory to drivers/firmware, allowing the EFI > logic used by non-x86 architectures to be folded into sysfb as well. > Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well. The patches have already been acked by x86 and DRM folks. Best regards, -- Javier Martinez Canillas Linux Engineering