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.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 9740FC07E95 for ; Tue, 20 Jul 2021 13:03:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4B62E6101E for ; Tue, 20 Jul 2021 13:03:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B62E6101E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SaZfcFQmtWFIuzu+Zps9+G0Pe9dUaVoNTyanLIpDoOE=; b=xv83+Tx765AO4r /krWv2VwKjwrAuhIXzyopDVxBbCy6ih8/UUlj1qM5TJIfjOMNLY3nT41+5ihFkxiSseENeSvLO82j 4Go+Ywlnd7UbICK9/Ma5jVMySBBZAvaCljmZoIHFuTAM3RWH5irCwo23TP+G3L8mDtqihr/PJ9J8X Va8gv7SxX7CA7yCbFw5Ux2QpjRospFt/Er43DTO2Jhk9TIaFxWHTDoGPZqkJt+G0iKlTP46DE0gdq FyoNbM1GNOGYUnJbLSaxs6M8deDk+lnznEq3dtZUD9EYzZ76j9ZGPtsbJaCIGVhjAIoraqmnmMtKy W5/Dn/g1yrpqPIiJkocg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5pNR-00CsXz-Vu; Tue, 20 Jul 2021 13:01:38 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5pNN-00CsVU-1m for linux-arm-kernel@lists.infradead.org; Tue, 20 Jul 2021 13:01:34 +0000 Received: by mail-wm1-x32d.google.com with SMTP id m11-20020a05600c3b0bb0290228f19cb433so1480935wms.0 for ; Tue, 20 Jul 2021 06:01:31 -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=Dn4B0zPmWoCdm2oFa9iDFVbFh0bzE9V23xZ4IKSTXg1Wb0mJhic5p1c8g4Pd9xH66x ZW48W0XOH/2FiM8DLiMoDTDOi+vabqSJLoDRTQ4E9NWFUowlVF3YAV41OPtJRlfi+ydU J/R8deiCRhMnB8TD4vY8bhN2WDevfOTTJIlX8pZzWeeRl3jq464XPgTzPKempnvdf7Nx 74vTcHtncjz6MUMnT3nWy9/nRlI4PzCzu1hZ9cmzBjoPZ9cy43qWV9xe9GDfg/uXlDzh rVvU0Iy3FWXxgveqRUrb3aDvsoZPqSu3RnTeU5iddQkFxJxMtcNSwrf2NY65VPo+q3Zn U8Ew== X-Gm-Message-State: AOAM5332FXw/XMdpN06UWR8jLu2rKBEBCTfIoTIYJGeJU7ju20O0TEwC r0F45fuzbM1E4G8fcj+pLnZD2Q== 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-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.10.0-7-amd64 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210720_060133_141654_BD5C9118 X-CRM114-Status: GOOD ( 39.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel