Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24715222rwd; Sun, 2 Jul 2023 03:30:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/jvv2bnBfMUTQfbo4c2twf5g3EM6oqRKhvYIQ3cYWWscsB+pJwtWNA29vQ2jF/pY8biw1 X-Received: by 2002:a17:90b:3a8d:b0:262:e6d2:2d6 with SMTP id om13-20020a17090b3a8d00b00262e6d202d6mr7893558pjb.47.1688293845448; Sun, 02 Jul 2023 03:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688293845; cv=none; d=google.com; s=arc-20160816; b=j0a8OMlxSYnoF3RDnzpP5rpo4/KBMUm7aPXV0ad7tXZlcZY58vs20pcyLh5SZfW6FJ P1gzbPv/wEuKrIjIl7ovBmeon7y/vzhcdpgWaF3Ou1clMo5ns2DvkAQZxVSrAQsqWQzU l91jB/9HtMrNP2yYnDIGBfUiOQ/uAB5gVFBgu2ui+86A1gpGuUJdb2NpnRol8E2wPZVc GwF9S0DXvpIz6VS03GonYAOZdZsuOqV72qa33FuMYV93lP0yI3o2hbUGMhhCEEuIofJs xU9w1mfweTokwvp4aWyH16Gx1TWxxokaALKzEwTtLcCXbwS7gcbiZ1dl/8LcBc/P8+QR J61w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=CgQxeEa8jqCYUVhkKmhV5tOhyTakZG82kmCOFjxpLGQ=; fh=hPFGIfN6/fyTZXTll+wccfliFMpqK7741G+6C1i/Cp0=; b=zOSokhjHBD1GjhJGkpEydPYYTmqEtdQnotTFlGCS1eIgxlLuHhm6+pHFR7YmHifZ5Z AOjCAuOioTGvWX6d6HH5PXcsAY/aIYstSgsYOz1hP+QrCxivL5u+f7dRomz/Kbhg4WDq vus6o4ryZ6R5NDFXflcz8XR+sNVLMWQwL3lLE/IEUnxhYRvFFJdYu7JsiADYbSbuy3Ve gxA4pxywz5TBD6q18YsxVbpu6S3A5SYki2lMPAE64espyA+9F5AFSFr193Pfw6Hr4+x9 bezoR0H3ACr3cbpHznbPuUMQP7A/LB+Xj+AJ6nifZFllOSaJk3fBYZz4AEcNK+AkWa4Y NjDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SkWg1D5d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gx18-20020a17090b125200b00263638bb354si6060504pjb.93.2023.07.02.03.30.31; Sun, 02 Jul 2023 03:30:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SkWg1D5d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229584AbjGBKUa (ORCPT + 99 others); Sun, 2 Jul 2023 06:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjGBKU3 (ORCPT ); Sun, 2 Jul 2023 06:20:29 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8320AE54 for ; Sun, 2 Jul 2023 03:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688293181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CgQxeEa8jqCYUVhkKmhV5tOhyTakZG82kmCOFjxpLGQ=; b=SkWg1D5dfiGEhAnSVwSZu09k94bf9idMiK0beh+uQPdvM2L+utnPsybmkZASYFfWUfrd9V cfJ2rKZS7+LOQ+h05706cfS3PrCVHc1cDuGfZbgFDTNJ8u3qC0xFDmaFUaoU5IFMzGQhRK H1gG9jvAVm18rIHJPtLZ++/RQMcKRN8= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-674-L48wZYvpNdOtfHFKDujn8g-1; Sun, 02 Jul 2023 06:19:40 -0400 X-MC-Unique: L48wZYvpNdOtfHFKDujn8g-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-313f3c115eeso1477930f8f.0 for ; Sun, 02 Jul 2023 03:19:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688293179; x=1690885179; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CgQxeEa8jqCYUVhkKmhV5tOhyTakZG82kmCOFjxpLGQ=; b=M7K73muJZneLXn4OQPqj29+dRv95gIJBNomLSbCj1KNv8nBozpCHubEup4XiUjXRrd vcRlCUymiDwxoXYCiobFrkOLJmfqzZI5F+ORuVtMDIEgP0AaH3lnjcBHAGPYipO58Hqd SbTZZSov4OLPCpaO0D+mp/lcBEa0bOhmKyDbC9TPp1OX4v9T+VlXtGVXlC3oewkt3PrU /JtBmodi40UTPABHUcPiwXjE4mavgC7t5yrL3cc9q8baQfafMQJYR6GTPfATltIvAFkk K0FONI0Zqri/Ff+7Ja1OmkohwY0BNzFYLNVyI25zNsj7Oa9S37iywPSoITmWApg7VQcU ixYA== X-Gm-Message-State: ABy/qLa2uz0QqPiEz0SU5N478QexY/tLPiSN2bwQxNLBmbr/kabUJBLd /Ktnynj3+gijqyC7x4h1iAL8Hz9LA0AeZ+qO7PU08Gd3K2IVzouDIoJJTjTGdIwrXD47qK3wkQE 7yY1cgW41PYXmgUvwWRXvaR20 X-Received: by 2002:a5d:6305:0:b0:314:c16:56a2 with SMTP id i5-20020a5d6305000000b003140c1656a2mr6649471wru.14.1688293178959; Sun, 02 Jul 2023 03:19:38 -0700 (PDT) X-Received: by 2002:a5d:6305:0:b0:314:c16:56a2 with SMTP id i5-20020a5d6305000000b003140c1656a2mr6649462wru.14.1688293178713; Sun, 02 Jul 2023 03:19:38 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id l17-20020a5d4111000000b003142eb75724sm2766867wrp.24.2023.07.02.03.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jul 2023 03:19:38 -0700 (PDT) From: Javier Martinez Canillas To: Geert Uytterhoeven , Arnd Bergmann Cc: linux-kernel@vger.kernel.org, Thomas Zimmermann , Andy Shevchenko , Borislav Petkov , Daniel Vetter , Dave Hansen , Greg Kroah-Hartman , "H. Peter Anvin" , Helge Deller , Ingo Molnar , Randy Dunlap , Sam Ravnborg , Thomas Gleixner , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v2 1/2] fbdev: Split frame buffer support in FB and FB_CORE symbols In-Reply-To: References: <20230701214503.550549-1-javierm@redhat.com> <20230701214503.550549-2-javierm@redhat.com> <393ca142-5226-4779-a963-c34fb0464c59@app.fastmail.com> Date: Sun, 02 Jul 2023 12:19:37 +0200 Message-ID: <87pm5aaa4m.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Geert Uytterhoeven writes: > Hi Arnd, > [...] >> >> That would leave CONFIG_FB_DEVICE as the only user visible option >> for DRM-only configs, which is slightly odd for the menuconfig, >> so I still wonder if that could be done differently. >> >> Is there actually a point in configurations for kernels with FB=y, >> DRM=n and FB_DEVICE=n? If we don't expect that to be a useful >> configuration, an easier way would be to have CONFIG_FB turn it >> on implicitly and instead have a user-visible Kconfig option >> below CONFIG_DRM_FBDEV_EMULATION that allows controlling the >> creation of /dev/fb*. > > Such a combination would allow the user to still have a text console > on a legacy fbdev, while not having to worry about possible security > ramifications of providing fbdev userspace access. > Exactly, it may be a possible combination. Not sure how useful what would be in practice but we shouldn't restrict that IMO. -- Best regards, Javier Martinez Canillas Core Platforms Red Hat