Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2646613iof; Wed, 8 Jun 2022 09:07:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCBbgg1M6dDR4/3cwV9I+jUU5okQxOa6iSCmMcGn991dC/sW55Ud/KdFje3jOfz82Cv0zh X-Received: by 2002:a17:902:ba88:b0:168:8dc5:75a1 with SMTP id k8-20020a170902ba8800b001688dc575a1mr6443806pls.27.1654704478911; Wed, 08 Jun 2022 09:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654704478; cv=none; d=google.com; s=arc-20160816; b=DwiUk8T5myVSNB3BKPreeZLpahHJYpHnf3k1nCwSHvau0k4L0Y9uwSayi1WwVa7q6Q euOdYbsYF7n/j2+Dv7YOcMjWveG3xd0FnVSADezIS4TzvOyHIjebSIEkuCXiAI6WFprY d7tQ7g0T7oIZetXQb8sYbDvabOxAlOBD1FK/66hvKbNpsPh7hutHCzHxVBJ5jIEJtZMZ gQ5ymSHRNLPmbuCGczn4ZsZ88NWwDh5qlE5yBpGG0dRAiqdob8LZZBRS3HjyqcSuL4Pd cHrmf9tDTnDuDix5iMR1S38l3h1e58KEST9JXBJkVlsFvaY0EjEFRg7gcTUxoHuvTaPv ErQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jxVgCrklswpT7+9OTco4k57y0oY6Ie2TEna3/n27Pv0=; b=0uLWd1G2zGrF68KDi2kNdbtPiy9LD/jcvxIlOCfrOcpPoOhj8Ihui2VmQ9xbJUQrs3 4YKvqJs7IreBDkl4K1dcXmTFkNIPZkixv2oCQcUm+NaEW8UlVEfpaZ3YaHwJJdHFDASq AOFS9mo1N6WOvwViG7z5RvnK0MpFGKxwbB7Nj16DVJ6E9gtdBYSGgm6iHQ5EUTmO7e1N I38d31E7uR34Hu/nIRsnlVKKjY6vb1n6eGH4POPU4fYIc+RPxa6pb6YBO3gwyBPZn3oz uf7t8k6WIHeL/cszH9XVA1OfejM23NqX7I6ttI4cOvm0pPDQoidYmOrlbOz9+Kvdbwki WSUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aIGGIjYZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id mu2-20020a17090b388200b001e860feaeb5si18291044pjb.181.2022.06.08.09.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:07:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aIGGIjYZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D72FEAE472; Wed, 8 Jun 2022 08:39:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244140AbiFHPiD (ORCPT + 99 others); Wed, 8 Jun 2022 11:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244236AbiFHPh6 (ORCPT ); Wed, 8 Jun 2022 11:37:58 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5E6271ABA60 for ; Wed, 8 Jun 2022 08:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654702676; 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=jxVgCrklswpT7+9OTco4k57y0oY6Ie2TEna3/n27Pv0=; b=aIGGIjYZkN9kR5RuoYuWJNDnkvxRX4jFLBhMLTIyKjvaCN++REJtSqUiNWEbx52bKZBqfP /x/WQUvfQmNXRls/GANZQR23AqMO0Pfy73PnsipgjNeGDEH+73/HpxrUPLy6OFU/x/mwvb zNclVr4AhJIyLbzbEdRwtif+9nhalV0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-1N_yXshMOpCapjyVnQXy2A-1; Wed, 08 Jun 2022 11:37:51 -0400 X-MC-Unique: 1N_yXshMOpCapjyVnQXy2A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A7D3A801755; Wed, 8 Jun 2022 15:37:49 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.40]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F2111121314; Wed, 8 Jun 2022 15:37:49 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 6FB4818003AA; Wed, 8 Jun 2022 17:37:47 +0200 (CEST) Date: Wed, 8 Jun 2022 17:37:47 +0200 From: Gerd Hoffmann To: Thomas Zimmermann Cc: Alex Williamson , maarten.lankhorst@linux.intel.com, mripard@kernel.org, airlied@linux.ie, daniel@ffwll.ch, kvm@vger.kernel.org, Laszlo Ersek , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] vfio/pci: Remove console drivers Message-ID: <20220608153747.5d5h446vzbteqzwb@sirius.home.kraxel.org> References: <165453797543.3592816.6381793341352595461.stgit@omen> <165453800875.3592816.12944011921352366695.stgit@omen> <0c45183c-cdb8-4578-e346-bc4855be038f@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c45183c-cdb8-4578-e346-bc4855be038f@suse.de> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi, > You shouldn't have to copy any of the implementation of the aperture > helpers. That comes from the aperture helpers being part of drm ... > For patch 2, the most trivial workaround is to instanciate struct drm_driver > here and set the name field to 'vdev->vdev.ops->name'. In the longer term, > the aperture helpers will be moved out of DRM and into a more prominent > location. That workaround will be cleaned up then. ... but if the long-term plan is to clean that up properly anyway I don't see the point in bike shedding too much on the details of some temporary solution. > Alternatively, drm_aperture_remove_conflicting_pci_framebuffers() could be > changed to accept the name string as second argument, but that's quite a bit > of churn within the DRM code. Also pointless churn because you'll have the very same churn again when moving the aperture helpers out of drm. take care, Gerd