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 71953C636C8 for ; Tue, 20 Jul 2021 13:01:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 579176101E for ; Tue, 20 Jul 2021 13:01:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235417AbhGTMU5 (ORCPT ); Tue, 20 Jul 2021 08:20:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231272AbhGTMUx (ORCPT ); Tue, 20 Jul 2021 08:20:53 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14511C061574 for ; Tue, 20 Jul 2021 06:01:32 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id p15-20020a05600c358fb0290245467f26a4so2033916wmq.0 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=NOra4tXK53XZc9iVzFeQaDOAT7ky3NbBI44iuZfLJFc2PE/5hZQjEuc8Yz0fBl8Or6 mnFxdolZHjBjU9fFk3P6jy/Suu06fN+RlS2Lv9TFoVVI+0AWvWsr/uq7s7YCKhVMlzma Cg9pgrmYY+r/Ik6NfbeHeOU620k/w1GQw/4aOOGheBCaNNqvrc4Jot0WeZaclPu5z2hM hG4pldcqPs/X/K5eei1zsJaCKwxFI0wRvGq4dK7uKmQrQ4YldoP+zCaLk++Lbv7ca/iI yOfVh3BsmjrKVoqdpS9bieEdq505JgKFsfFNYwBeENnyK1Z02SZYPjKN1uPZGpEAxMMR rRQA== X-Gm-Message-State: AOAM531JRJ6c/h9pBLq5Po79Xt9lpq97OI3E65U6zJm/ao7LwqPmrOGQ CKWnnXG6rgb6sztlNckdcUSLxA== 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-efi@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 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 6CB47C07E95 for ; Tue, 20 Jul 2021 13:02:41 +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 2AAD36113C for ; Tue, 20 Jul 2021 13:02:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AAD36113C 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-riscv-bounces+linux-riscv=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=6nIRO1BM9/oe13lOzljfwd1sXOmPnT9mkK1lhHW8zfI=; b=UywN3MXMM2PxKW 1w8v3AlBdzD5LBbP7/pbPxY7/A8sGgewLl+m9X662YAJfVnFxMh6MnpNYCYHjJEeeB3UqAvyyzMsn N5/75aRl8cw21Vcq3X+uC2acz5vJErqWMpspFqUJvu4FzFzjxoJVtnXEpQB9vHJ3JwrxWiIlXMTnk h/HXMOJf4rINY9SU4se8Dzmz66H7Uo/FSXcrIvlqzKfdxxwxPSOJzsX1VL4wAmhzo0Ir8mrV25FyO w6kyxKKTJY/Op0Yj/J6PTsJIfU5Arx7v3GrI04VmZ/OB5AIwDu6bP6VHWR4y1tu3WbHm2iRRDy5Oe CqLLVWK/fQexXYrw1juQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5pO5-00CscH-7c; Tue, 20 Jul 2021 13:02:17 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5pNN-00CsVT-5k for linux-riscv@lists.infradead.org; Tue, 20 Jul 2021 13:01:34 +0000 Received: by mail-wm1-x329.google.com with SMTP id y21-20020a7bc1950000b02902161fccabf1so1456284wmi.2 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=daDmxSawsVP0lxkMb1E1jmVu4saUguDPQJJ/iLLE/SsJvQpzzO6uv00Qij2nYpHp4U rh8kSyCeL+ic3+AY2VrJNxzDX3+a/QaqoWzTb1k1ctnEBwbdUDLDgpe3Li7tBAdJXAzf psvKSh95S5OAoj7gtVWF0zGJp7wn9clFhex13LKj/CSw8f+MOPQjb5zGVH+nGi+6j2Hi XVMFLnpjMxFkd92RX4VAqYKo2nVk3DZRVHcrr7+m3cx+eT7YVVt7ppzxk2rJSyWlm5Rq LVNSa52TNXvPwWEhbtKxuoVn10mD0w4lajnXaj4XiH5yz96w9E5teZwWkyytGoD5XbLF m4Nw== X-Gm-Message-State: AOAM530AHPxkIsYjG/d3rud/HQwMCYqlYXudFI+G+FLnnAP/vSD6um+z MUKwlYqG3oSRDg8mEuL5wD/s/A== 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_273033_14BBA434 X-CRM114-Status: GOOD ( 37.66 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=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-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 33FECC636C9 for ; Tue, 20 Jul 2021 13:01:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 ECE396113C for ; Tue, 20 Jul 2021 13:01:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ECE396113C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F5726E133; Tue, 20 Jul 2021 13:01:33 +0000 (UTC) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1FBAF6E133 for ; Tue, 20 Jul 2021 13:01:32 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id q18-20020a1ce9120000b02901f259f3a250so2007440wmc.2 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=NzUu8j8kuZ89gH/UhQstB5NqrNijJobeZmUvHipf5jTZ6IQa1l5TARv3FH6HmY7QzN OEQuSQvf2BErjOWwQkaz6SP1irVx8QcLJ2Vr8CQfTibsxYg0/nD+m78ah26IgkrUdWAm CUWmd+OKEfR3CcFzGamWcq+zPjHJ5L8LNdGSMf/DZH2wjHDsL37IxNeH6UZkJ/ujFUsR scwK8kVHB+Vl0yX7B1LO9cju4YIHheyi3+hpTIrcLtaFn3FAzEGu8bTt0dgrb9/KVrpJ kxueOWhoHeV+4DldMDTTSiQZBlqbtg6KjTARphk0OYUanRnKVAg1LQQhr/4SLeLKOluo 0JhQ== X-Gm-Message-State: AOAM5313/W4nBzlRbwFk8gY3Ptr7+T5EcgSg1AP4d+5qCxA51rkY88oY Brf0BtD/oYVkE4TQ5wmGOrqYeg== 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-efi , David Airlie , Catalin Marinas , dri-devel , Javier Martinez Canillas , Atish Patra , linux-riscv , Will Deacon , the arch/x86 maintainers , Russell King , 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 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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