Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1470698iol; Fri, 10 Jun 2022 08:08:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpW0fWxPJSZgqr+/7UMUVMKwBekbWbhYSdW/zAJ4VgJgJpfHyi+np+oS7q0GgX0HpZTcA/ X-Received: by 2002:a17:90b:1a88:b0:1e8:a0e2:fa15 with SMTP id ng8-20020a17090b1a8800b001e8a0e2fa15mr196311pjb.83.1654873732982; Fri, 10 Jun 2022 08:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654873732; cv=none; d=google.com; s=arc-20160816; b=ao7Pc11nymGjgrZ+riKK5Dx5p+B/1a0MHzV5CxfE0pwoQBvmrB9Bc1xtFDDcWWLQRT iTKYJpFGIwJZZ6we/IW8JT8IFEjEJafssUfTfu/zPoLsfezdtq1MjGTIvf1oVXRiy1eK E0ZCtTid/X37Gix+Fm6Cxo+yRyH+jIl+BDXRLu4yCv1237wGHzxjbJEUeowiGTjjabvG mPFo8RcwDLJR4rXqakpvWSdGVTsKyciK5LLZpFUC2Jey89GwNum2yAgHLOF6tYAcPl/x JCvvkZEayD9DK4nQW0O6fCK6iD9NZRHzjuLqp5vAP6bpKuIpOogIFANopgX44Jk6BzK5 +p5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=g/ATkA29NC2oD/Jp54XfWVa6EbDzgeGcRbqECMdYNQQ=; b=Xy8nTBmxE602R4Hrqgndned/6fOgPQNXBJsghgmC8v/p3yHahy867W7OYzhIu4zgHn uGJuC0xkJ38zLitbBpLmlvkP5tZNScJb5qvEq8Ving8FhM0nRL/lsJUUOCpKKbn+O7Gz pRvWH8GSLdW8wa8yfGWDmTdKpyq7j7/aJwSrVBoM1SA4yAnt7TwQ3AjrBYZt/k99RWjP PhqPxKS9PWvcVVQ1V9kATHq7X6xN5jq0UUcWNeVmDD2NWxCnT59PS+gwDpAqr4vUbMS/ gxqHdf6wDfbaZBi2oYw+O0h0TCJH4NpX4RVCCT4jmnOAnUKTZVWgl10LiGlmwYp8uwrT rzhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jJawV6V1; 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 bg5-20020a1709028e8500b00163e9849d54si32766991plb.214.2022.06.10.08.08.36; Fri, 10 Jun 2022 08:08:52 -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=jJawV6V1; 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 S242187AbiFJOax (ORCPT + 99 others); Fri, 10 Jun 2022 10:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243981AbiFJOau (ORCPT ); Fri, 10 Jun 2022 10:30:50 -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 2AA7BAB0EB for ; Fri, 10 Jun 2022 07:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654871440; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g/ATkA29NC2oD/Jp54XfWVa6EbDzgeGcRbqECMdYNQQ=; b=jJawV6V17jN+4Baj+0GOF0VlCJiumcDu95kndkYiX/rrkws39ublNHXrES7oj+wQrNZWwc 7QYYBf7sFL+Zmws62SAUte1YtebfyVhEevZJVsJRhnFgvyGoTz7MNILK6b1KvbeaVqUXTz ozZTKUQitij0aaysMrva7JH3Mq9IE3Q= Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-79-ENfPYMbxOqCPOKQzviavtQ-1; Fri, 10 Jun 2022 10:30:38 -0400 X-MC-Unique: ENfPYMbxOqCPOKQzviavtQ-1 Received: by mail-io1-f69.google.com with SMTP id l7-20020a6b7007000000b00669b2a0d497so2518972ioc.0 for ; Fri, 10 Jun 2022 07:30:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=g/ATkA29NC2oD/Jp54XfWVa6EbDzgeGcRbqECMdYNQQ=; b=6lWCqWhJlGrOjTUnbjyNGhvyeTTLQRQgshvCr3aJCQAvyIq3IpGufLFZB9yHVPV2PB eff8FGCPzn+j0V3+aM6pZKV+PpC4xlx7f04VyAKZ+sWM6sn2FAJdROSjCZGcTBzPqzIE xM5epBaDHBIH7+d4wB6hrIfkdEFFlckvHnDIHCCchogwW9kk/1krvj6kT67E6hYKG39g RS+Cvs/UrETbZ0/fQ2ARXg3YFu0MqbfW3dr3ngEyc5tYlpqf5iNEVCGjtxeB9uKAjJhd lw++tTMaPMSwf6ytPsJnBitriLezZmLc1foUvhe9w9Uv7PG0HDM6tFUacWnpu4q8lPuA yi4Q== X-Gm-Message-State: AOAM533J3vgn7QZmtXl1QHiMs/8vKG4+0Ywok+zIyTOOxLb6Mhvkz+sW +oa5hUoRdx78oKOvG4jyZ+mb6x0b+RltYMIhKuoAWr62alp7VLde6RTYxxP3+/TJBGYu/29Khai t4vRLIC7evZlYOzHNROK5TBF1 X-Received: by 2002:a02:9f14:0:b0:331:9195:dd3e with SMTP id z20-20020a029f14000000b003319195dd3emr16642781jal.0.1654871438187; Fri, 10 Jun 2022 07:30:38 -0700 (PDT) X-Received: by 2002:a02:9f14:0:b0:331:9195:dd3e with SMTP id z20-20020a029f14000000b003319195dd3emr16642758jal.0.1654871437955; Fri, 10 Jun 2022 07:30:37 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id w15-20020a056e0213ef00b002d65eedd403sm4127189ilj.71.2022.06.10.07.30.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 07:30:37 -0700 (PDT) Date: Fri, 10 Jun 2022 08:30:33 -0600 From: Alex Williamson To: Thomas Zimmermann Cc: kvm@vger.kernel.org, airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Gerd Hoffmann , Laszlo Ersek Subject: Re: [PATCH 2/2] vfio/pci: Remove console drivers Message-ID: <20220610083033.3f98beae.alex.williamson@redhat.com> In-Reply-To: References: <165453797543.3592816.6381793341352595461.stgit@omen> <165453800875.3592816.12944011921352366695.stgit@omen> <0c45183c-cdb8-4578-e346-bc4855be038f@suse.de> <20220608080432.45282f0b.alex.williamson@redhat.com> <01c74525-38b7-1e00-51ba-7cd793439f03@suse.de> <20220609154102.5cb1d3ca.alex.williamson@redhat.com> <20220609154416.676b1068.alex.williamson@redhat.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Fri, 10 Jun 2022 09:03:15 +0200 Thomas Zimmermann wrote: > Hi > > Am 09.06.22 um 23:44 schrieb Alex Williamson: > > On Thu, 9 Jun 2022 15:41:02 -0600 > > Alex Williamson wrote: > > > >> On Thu, 9 Jun 2022 11:13:22 +0200 > >> Thomas Zimmermann wrote: > >>> > >>> Please have a look at the attached patch. It moves the aperture helpers > >>> to a location common to the various possible users (DRM, fbdev, vfio). > >>> The DRM interfaces remain untouched for now. The patch should provide > >>> what you need in vfio and also serve our future use cases for graphics > >>> drivers. If possible, please create your patch on top of it. > >> > >> Looks good to me, this of course makes the vfio change quite trivial. > >> One change I'd request: > >> > >> diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig > >> index 40c50fa2dd70..7f3c44e1538b 100644 > >> --- a/drivers/video/console/Kconfig > >> +++ b/drivers/video/console/Kconfig > >> @@ -10,6 +10,7 @@ config VGA_CONSOLE > >> depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC && !SUPERH && \ > >> (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \ > >> !ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !S390 && !UML > >> + select APERTURE_HELPERS if (DRM || FB || VFIO_PCI) > >> default y > >> help > >> Saying Y here will allow you to use Linux in text mode through a > >> > >> This should be VFIO_PCI_CORE. Thanks, > > I attached an updated patch to this email. > > > > > Also, whatever tree this lands in, I'd appreciate a topic branch being > > made available so I can more easily get the vfio change in on the same > > release. Thanks, > > You can add my patch to your series and merge it through vfio. You'd > only have to cc dri-devel for the patch's review. I guess it's more > important for vfio than DRM. We have no hurry on the DRM side, but v5.20 > would be nice. Ok, I didn't realize you were offering the patch for me to post and merge. I'll do that. Thanks! Alex