Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2078321yba; Wed, 3 Apr 2019 00:24:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7clG1EdiaFegAob/abMYhW1N1d8ekmsTtqHU/NhDDsxv6BOe0FQ/PYPIEYT20MasTLjp8 X-Received: by 2002:a63:6f0a:: with SMTP id k10mr48623176pgc.78.1554276245407; Wed, 03 Apr 2019 00:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554276245; cv=none; d=google.com; s=arc-20160816; b=oygUxSR4zN4NMNtoyRkj4JgLqqu30NpFQGJPuP1YPezInDLgXGljHKuRN9lQlSxmIW lM6VPqJ+EPdxBC6ubn+dKlTittRwZqflmYsfMUfASGvAFvd9XH8BhO8rHwnBxolhkdPg ix4r1r7+RrO7UzNTmp196GpjKr3iUUIAM5QjLvyLNifi+lNyLK/bhp+GUQM9n9qS1kBJ Pggg3EDgfav9B2jMCjythC+t2IjxHyFtwmi4KZXOQRxG7a2ozBGa3r1otlg9hoMmZ53+ VrhelwxXWZBUL3M3o9HWP/LxVPvs1RuuMmNV4696cw3jJeMcGamoVKyuS8PrXJnAt95t 03qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=m0llEoLMah60J1vfMm9Y6Ndky1EIf35/qurys8IYKj8=; b=uVbPUWMa9Np+STLNOu+CULqsVppolkEoCmXHifWSNrAVQGnTc80JRLGnV4TQop0B/0 DlTY9KSGvOHFAYLLwobnQAz8UsPZ0/i25rOgGOV6BSfmo8/2Mfw9A5UIkmmmthyU51sT 8K0AlEtgHWaQITWqb6rkO0z65hMgTfJFfArk2xCi7dbtlLCvWB3H/hjZhAiGNFeSfbFw 5oi6Rw0yDRvD4Vb1uk3LrScfcJcyFcX3lmeiSWjCmwN60rXzGowohB+0TLeJxFPWLCTw lcHrgpx/PFze9cWjFkZz7bqo8JPKKLa1oZwTRPs4qNsWXV3RJiDcSHg0N9Yz4t9ytesx 1snw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b74si13003338pfj.121.2019.04.03.00.23.45; Wed, 03 Apr 2019 00:24:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728674AbfDCHWl (ORCPT + 99 others); Wed, 3 Apr 2019 03:22:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48420 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbfDCHWl (ORCPT ); Wed, 3 Apr 2019 03:22:41 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 56CEB88AA2; Wed, 3 Apr 2019 07:22:41 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id B623760FE5; Wed, 3 Apr 2019 07:22:39 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 016B11750B; Wed, 3 Apr 2019 09:22:38 +0200 (CEST) Date: Wed, 3 Apr 2019 09:22:38 +0200 From: Gerd Hoffmann To: Daniel Vetter Cc: Bartlomiej Zolnierkiewicz , dri-devel , "open list:FRAMEBUFFER LAYER" , open list Subject: Re: [PATCH] fbdev: list all pci memory bars as conflicting apertures Message-ID: <20190403072238.76gwp6rfumgqiely@sirius.home.kraxel.org> References: <20190314114500.8336-1-kraxel@redhat.com> <33cf37dc-8456-0316-0b48-fca7c92caa28@samsung.com> <20190402204325.cqu7fobzekd3ccls@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 03 Apr 2019 07:22:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 03, 2019 at 08:48:16AM +0200, Daniel Vetter wrote: > On Tue, Apr 2, 2019 at 10:43 PM Gerd Hoffmann wrote: > > > > On Tue, Apr 02, 2019 at 02:09:45PM +0200, Daniel Vetter wrote: > > > On Mon, Apr 1, 2019 at 4:00 PM Bartlomiej Zolnierkiewicz > > > wrote: > > > > > > > > > > > > On 03/14/2019 12:45 PM, Gerd Hoffmann wrote: > > > > > Simply add all pci memory bars to struct apertures_struct in > > > > > remove_conflicting_pci_framebuffers(), without depending on the > > > > > res_id parameter. > > > > > > > > > > The plan is to drop the res_id parameter later on. For now keep the > > > > > parameter, use it for sanity-checking and warn on inconsistencies. > > > > > > > > > > Signed-off-by: Gerd Hoffmann > > > > > Reviewed-by: Daniel Vetter > > > > > > > > Patch queued for v5.2, thanks. > > > > > > Might be good to also stuff this into drm (double merge or topic > > > branch, whatever you prefer), since that's where all the users are. > > > Gerd also has some follow-up patches to apply on top of this one iirc. > > > > No follow-up patches yet. Plan is to wait a bit, see if the > > sanity-checks trigger, and if all goes well go drop the res_id > > parameter in 5.3 ... > > Hm I thought you had a patch to convert i915 over. Or did that land already? Ah, *that* one. Yep, that is still sitting in a branch here. Didn't rebase it yet. But I suspect it will be easier to first drop res_id and then rebase the i915 patch on top of *that*, so I don't have to figure which i915 revision needs which res_id ... cheers, Gerd