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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 9549EC07E95 for ; Tue, 20 Jul 2021 13:01:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 770CF6113C for ; Tue, 20 Jul 2021 13:01:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237255AbhGTMVN (ORCPT ); Tue, 20 Jul 2021 08:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234417AbhGTMUz (ORCPT ); Tue, 20 Jul 2021 08:20:55 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 306D3C061762 for ; Tue, 20 Jul 2021 06:01:32 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id b14-20020a1c1b0e0000b02901fc3a62af78so1446308wmb.3 for ; Tue, 20 Jul 2021 06:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=aT7B7aLtrHA38WRCCkcWibI+OBLuTfXFqvYRJ204kL8=; b=WQOOu9EUP4QZrBDWS9EctGVO+GmPjrxym15Qbs5R69qSSEdvCHmpIY1/pk31fA69bp 3bhC+HD4e8CKzboAfJ+pob2QA2TRhC1Np5OjjzICbqkxEwpGsaSp5RJW4pQU+z0OC23I 0sG4uqigJR5y1K6AdXcTXz1r+jHYxj5pVPrh8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=aT7B7aLtrHA38WRCCkcWibI+OBLuTfXFqvYRJ204kL8=; b=f+o71pg2p4IyTXO+2DUggZIJBHmKUFooH5Pu/A3gaXCzopj3gAcEGbIYFxbK8u/GjI yWXx+tAoOmMOvG06L3tHEYy4BdRuL2BI5n8GGcn07ksFzzj3zwtvKd93fo0LhSMTf3LK q+7nHw/GA79gVGLBCGScm4JpdRGZgCCm7yO2jIlzUBsaqrGtvEOmEOhrPqrMW11Xe16j Afd+X039erpiVSaU6p3g4iAc37wwFHLsP8vCm6KcGsCIoqieMfKoO6uiyxTMDL/9R3lh 7722r/F/RHkfKPWza23/TNb+KOjqxaqJbietfqtuDP/UsjzzM8z1b15gQYBSPiJKRy1n 9mAQ== X-Gm-Message-State: AOAM532Vb/lCeeraS9x4YYUX7w05428WLAdBteHT8cAFo86Ub6HPaiNl t6kWr+M/xWx2BRAv75lVRF9Y3A== X-Google-Smtp-Source: ABdhPJwyy66JJKeYq0Mz7cYqrI/HK2CM9a/YOzkD7Z06g/Y6R4UrwQlWLQ5wT2w19Z/rHR9fxuhTcg== X-Received: by 2002:a05:600c:2948:: with SMTP id n8mr32984505wmd.11.1626786090699; Tue, 20 Jul 2021 06:01:30 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id g18sm19422048wmk.37.2021.07.20.06.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 06:01:30 -0700 (PDT) Date: Tue, 20 Jul 2021 15:01:27 +0200 From: Daniel Vetter To: Ard Biesheuvel Cc: Dave Airlie , linux-efi , David Airlie , Catalin Marinas , dri-devel , Russell King , Atish Patra , linux-riscv , Will Deacon , the arch/x86 maintainers , Javier Martinez Canillas , Ingo Molnar , Peter Robinson , Borislav Petkov , Albert Ou , Hans de Goede , Paul Walmsley , Thomas Gleixner , linux-arm-kernel , Greg Kroah-Hartman , LKML , Palmer Dabbelt , Thomas Zimmermann Subject: Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms Message-ID: Mail-Followup-To: Ard Biesheuvel , Dave Airlie , linux-efi , David Airlie , Catalin Marinas , dri-devel , Russell King , Atish Patra , linux-riscv , Will Deacon , the arch/x86 maintainers , Javier Martinez Canillas , Ingo Molnar , Peter Robinson , Borislav Petkov , Albert Ou , Hans de Goede , Paul Walmsley , Thomas Gleixner , linux-arm-kernel , Greg Kroah-Hartman , LKML , Palmer Dabbelt , Thomas Zimmermann References: <20210625130947.1803678-1-javierm@redhat.com> <8dd26141-a09c-39e2-5174-4cad8d21c49c@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.10.0-7-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 19, 2021 at 09:10:52AM +0200, Ard Biesheuvel wrote: > On Mon, 19 Jul 2021 at 04:59, Dave Airlie wrote: > > > > 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. > > > > Fine with me. Could you stick it on a separate branch so I can double > check whether there are any issues wrt the EFI tree? It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want. And since Dave has given a blanket cheque for handling fallout he'll deal with the need for fixups too if there's any. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch