Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3348851pxv; Sun, 18 Jul 2021 20:00:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW2LKvs8sQZjQDz4Xxb0j/OCLHIzURlaPY32SR3TwD+aaGXrCfrHnQnOOnlavwwxTp6zyl X-Received: by 2002:a17:906:c9cb:: with SMTP id hk11mr24636172ejb.544.1626663648350; Sun, 18 Jul 2021 20:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626663648; cv=none; d=google.com; s=arc-20160816; b=ZomO2RkOSQVE65xnG5zH27cHvA2Slce6MNmYi8RiJ+nenuI+sRzgbWgwuUzTfAw8v6 i853NDutiyOjxbuVRf7lNa3j6ZB1F2NbOY3+oEpxIGsltL48WNBUBxMwGSZcTCfhbMDu 5vdXywUjUQHt/htb5MrCYWts6O26fF8x05fDH/GO9NZoS366bDXbhvatCfT2bG22v/ct V4hea3y566WTQjbYjg6aUH8k0bpNTcBzBCEeG+nN3E1n0zDv2pDbh3Re3K62mSZVKQta yRJ4/wISdtfpPm9GRDV1Bq1uBoAg4C1JpAqZfhALWMDXiIqG5NrRuLLIhXNjsF7dC3uC hc8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pw/ymT7jTI4vbe9EaHsLlpbaG3qADekUdaOoeZi9DCI=; b=gppjYF3IT2jvX+waeCn3jYIVRnZPYFULRSGpvcugSMot5dP4BJbqyeHXXO0fRYworZ 8vQw4qBCcvdriE04vocY2DWJu4hIBpU8hilYHsC9Uny0AgNB1Q7jzf7/c8bOaGU5QKD1 ARfREnLt+rxHaLq6OnyRmG0jXaMkSLBLVfDUPoYyCF6M4i49MIdgjv+h9gG92SuRgueL jVJ5AIQM/G+DsYVEGsj+qcJN+WAcH1sQkBfkMxR5jkyY8gi9/myCXL8xPhFVDPSCgKu9 6vIePNwXjNK/jPmfeRku8sH7s8Vwm+fdwVAtBhug3Bop62oia9VGALl+Q8a1JafxDeLT yjBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N6dvNJGm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si20419339edy.327.2021.07.18.20.00.25; Sun, 18 Jul 2021 20:00:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N6dvNJGm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234293AbhGSDCU (ORCPT + 99 others); Sun, 18 Jul 2021 23:02:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233720AbhGSDCS (ORCPT ); Sun, 18 Jul 2021 23:02:18 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7C94C061762; Sun, 18 Jul 2021 19:59:18 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id l1so21762180edr.11; Sun, 18 Jul 2021 19:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pw/ymT7jTI4vbe9EaHsLlpbaG3qADekUdaOoeZi9DCI=; b=N6dvNJGmplWlVHUfqKxCiO2YRlq9xOWASWYoxMFmKqo8XQSvSmc/KzvxC5n5K3/qcC mXivOogsUDIFmfvM1VFQcoltPPbrVhryDHWYIzFjFxCpL1KwD+m88meKroRfJ98DeAO4 rYuKsPmdg4byYvJ7UNo3h9AWz8WOiGUbwRTuNuht/WjMsSDu2Tn1KS1+AzadNNr6kz2B Z0xBg3B8qB8mzBjxQS/subjiXw5ND9R8DH/+LN4g0hHJATcXWeqUjtCgAz0n3yAw7Mes AvMCR0txSFHoIfw+m9F3cbKHbZ8/zpprDfcBNywDMH+VQUf8VJcG137+oFoelGqFfHB6 PUNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pw/ymT7jTI4vbe9EaHsLlpbaG3qADekUdaOoeZi9DCI=; b=rsZEL9uGzMYq82e+I6CPC2RXqA1WHJ/kAT0MZFGh0A9PX4jpGHIyqrb1chcT68/kEi 2JjgcHQsOlx4Lj71aDd6zkS65r+gCnPR33gjg/YT5eax7JNscICm5Z5sXRRt/WgzeNx4 e0qIRha5rqKSXbS+2m4jwAYV+d9Y/0ySiTiLLXGN6GZ0arIY8MpLdDDOWouiaSB9c2dJ 3uQ2a3ULzM+MOL8iA808YDzSMb3Iv3IcncaLFAAq+9uDRhAWOin6VHSCbbMBDfOsQc9q awSSBZFBsavggRTbDWpZGQV3CXJmiidzbhHk/dVVJxdYFT0RFzyavKRbwEGsDXxB3ju4 7RvA== X-Gm-Message-State: AOAM533BbgU5io6rAYB7BLUuzY2z6NlD8drEGO7GVSail77rjtOpYDzm JYpqOL7IgM/ta/ywOECOVKQLZYhyFsjbUqjwC9k= X-Received: by 2002:a05:6402:291a:: with SMTP id ee26mr31661153edb.220.1626663557377; Sun, 18 Jul 2021 19:59:17 -0700 (PDT) MIME-Version: 1.0 References: <20210625130947.1803678-1-javierm@redhat.com> <8dd26141-a09c-39e2-5174-4cad8d21c49c@suse.de> In-Reply-To: <8dd26141-a09c-39e2-5174-4cad8d21c49c@suse.de> From: Dave Airlie Date: Mon, 19 Jul 2021 12:59:06 +1000 Message-ID: Subject: Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms To: Thomas Zimmermann Cc: Javier Martinez Canillas , LKML , linux-arm-kernel , linux-efi@vger.kernel.org, Hans de Goede , David Airlie , Catalin Marinas , "the arch/x86 maintainers" , Russell King , dri-devel , Atish Patra , Greg Kroah-Hartman , Ingo Molnar , Thomas Gleixner , Peter Robinson , Paul Walmsley , Palmer Dabbelt , linux-riscv@lists.infradead.org, Borislav Petkov , Will Deacon , Ard Biesheuvel , Albert Ou Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Jul 2021 at 18:11, Thomas Zimmermann wrote: > > Hi > > Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas: > > 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. > > Time to get this merged, I'd say. People are asking for these patches > already. Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any. Dave.