Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3462579pxv; Mon, 19 Jul 2021 00:11:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo6bs+zvODTsNHJ9j+SXbb6JIr90+r4nvqKtBeTUpj7qapxYGArj8t4w+mY/vMy+LqQSoc X-Received: by 2002:a05:6638:14d6:: with SMTP id l22mr20165528jak.99.1626678708263; Mon, 19 Jul 2021 00:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626678708; cv=none; d=google.com; s=arc-20160816; b=VSg8ockuquyzshy5nLPjHlg8QvPmvBuNntNIvZfgh8ld6hjG0bKwnwvI2SzrPEq46j yB7W9IgeIc4152rHmG/mNnUUeuqYW7wM83zYNS7GIiY9hg+qqQeN+32/eSk3qKCyLJ6t htMDmcQu8yP9pzOQishlrZiVmbXI/H8/ZaqlWMy9/LrV4HdwvlK+4XGDQyCwsNCdf84/ jKVdvXsI7dOLJe9Pas58OWBmIarLDu9is6ZVbR8IZk4GLFcROMbEDaTg1vr1MtqWfL/j voJOE/7RSG6X+uT4bRysu6o7cQFtuWnCCTlwr08tG6Oo5C8u4+zAWv6rFQxh97Cb6KNk NnOg== 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=Pn/1Cj/0aZG99zqoi3ZzrECnvCBXU+18iWFv6gPyfSM=; b=a2N9PT1DJLmw3zuv08YyusF5hu+rgDNqFl1Tni7nmyi05RhyIYtx2YM4mVDU7BD0UB +RnhjLKTmT/3m9TGtrh2hiPshO3NZ+fKDmqt55UOJ+Q7Ons3i91OauemPpaw1fayu6Gh AeQcDXbZ2tW4JpuHiId+kEB5smZxb28IBr4swemKYj9f5TwfbQBIUkG9br0D1Gxks/Pp CYfKQdVU5vujSNHiCHKdtwrWgcwphIW9uHqdkJB9Jq+Rba6+HqhIpqFKftJgKwZNalz0 ryKWXq0Hd4xggJfEUgU3aG0RE0IFZKQT1szScmBonDLyAVv3vCYCDNXtNw64v2KgqSLA fReA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bCW39FLN; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b12si18983530jal.75.2021.07.19.00.11.36; Mon, 19 Jul 2021 00:11: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=@kernel.org header.s=k20201202 header.b=bCW39FLN; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234798AbhGSHOF (ORCPT + 99 others); Mon, 19 Jul 2021 03:14:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:59020 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234730AbhGSHOD (ORCPT ); Mon, 19 Jul 2021 03:14:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 802B3611BE; Mon, 19 Jul 2021 07:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626678664; bh=Pn/1Cj/0aZG99zqoi3ZzrECnvCBXU+18iWFv6gPyfSM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bCW39FLNMP4SZgn5kgvw/weq+kRv4VAQe9Yl0X9IvGIET79Sv111ytlAfkeuQCy4+ 0auxQNNbNpcDAZM+M+AmJAooC2j7JGbdI3GtyMeTbXItwsz/o3MvlXVKYKvsrfzlAe 7jHJ2Y7UFFpuEjHACQP7iXhobcygebdszESwk7tiR9tZGSToYXOe/f2ZQKwNNJfA4T +WCaVuZ0r1K+eAHklgZ9MhZRHNmWZ65VuHQGHPiQOXyTpeXTvB+DriDAI2568NkFB7 ZTzq+bOFDk5gzVRiYpdiUuhKiM1fPVCQmHVYae8dSOnQ9xq1yNQaNcSvPR2uHEf6hh XHmrehB38snjQ== Received: by mail-ot1-f51.google.com with SMTP id b18-20020a0568303112b02904cf73f54f4bso3719905ots.2; Mon, 19 Jul 2021 00:11:04 -0700 (PDT) X-Gm-Message-State: AOAM530EV1Tw4cezUdRpEDUjuz0Dw/388gXnTiowc4knwt9TvQHHHcAi fUTiIIBWb62KeT1jMlUpfhn8So5to4UN6I//aFI= X-Received: by 2002:a05:6830:34a6:: with SMTP id c38mr5088922otu.108.1626678663841; Mon, 19 Jul 2021 00:11:03 -0700 (PDT) MIME-Version: 1.0 References: <20210625130947.1803678-1-javierm@redhat.com> <8dd26141-a09c-39e2-5174-4cad8d21c49c@suse.de> In-Reply-To: From: Ard Biesheuvel Date: Mon, 19 Jul 2021 09:10:52 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms To: Dave Airlie Cc: Thomas Zimmermann , Javier Martinez Canillas , LKML , linux-arm-kernel , linux-efi , 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 , Borislav Petkov , Will Deacon , Albert Ou Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks, Ard.