Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3748560imc; Thu, 14 Mar 2019 04:32:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFmVqhSTU/BlJY9ITsbjKYSe/eoUN+gYMGetiUI+KZHI+hjlK7ZA9UZM1tx/O2IKygFyXj X-Received: by 2002:a17:902:15a8:: with SMTP id m37mr16722757pla.178.1552563123174; Thu, 14 Mar 2019 04:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552563123; cv=none; d=google.com; s=arc-20160816; b=HOKWy1XXXY31JFuNZwla2+cHFrFYoEzYKHFQ9SHTdM12561dh9uanIN28YXVibk7l0 Ol68o9z1fbJx14CJE4GaiYEzxZ9dWfGe4SaXU9e3hBV1m0qrAg5vZ4EgUlUYt5JDDvGe 8BxWs2vobjK9dfyzqm0gVY0A0ZFEJbN93Z9Z2hmQdDjQxe4MOHxOQUeCabHebXJbTcFQ 6thcvAxVJY41K1E/zYg/I5qeOCncRtF2jjrAaw/1uk2yuRAh0BfHs6lJsXwVxUka8W74 9XfPBopVOEIs5/8I6uYPakWSsjenMbjfBz+ZVoRxbkHELV5k6Ot7Y26lJkml7qxQ03jJ w/2w== 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:to :from:date; bh=jSf71g9gSPNdtjxbc8M3ZD8mHW4kiEs9/Tr5BTZIfGE=; b=BdNjxRiGWSq2bCrU60QrbcXcWfVNNGAKIIczce4Pm/5jDeXbme6oxDU3hUaxeUYeoK Aqyt4H1uphIw2XcmpzjWtLbBohj+7S+zIL6fG2Fw0I02HPouA915h3D0DX84Ah3+rl3S J5CDY8zH0t6Vx+7rtygJ58lfgvsIbpye/PvX6JKZmX40yQr/szGuwh7VaoXK1PE+jLtZ yTzwGthNw4gE/M/8HBkLNLsDGReE0HLV7FAQklYdeerTofOqObkcENd7hki7EX7yzYUc U9vhJ5Krh0mnLnpTVbek5xq5JvvOWhPuIWo8ONwxoKyAezmj+Bga+gPbDzzq9KHLKuyu rg8A== 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 bj1si1922393plb.15.2019.03.14.04.31.48; Thu, 14 Mar 2019 04:32:03 -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 S1727508AbfCNLbC (ORCPT + 99 others); Thu, 14 Mar 2019 07:31:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50952 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727473AbfCNLa6 (ORCPT ); Thu, 14 Mar 2019 07:30:58 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 35FE98B95B; Thu, 14 Mar 2019 11:30:58 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-24.ams2.redhat.com [10.36.116.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id BF8F75D706; Thu, 14 Mar 2019 11:30:57 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id D5DC21750C; Thu, 14 Mar 2019 12:30:56 +0100 (CET) Date: Thu, 14 Mar 2019 12:30:56 +0100 From: Gerd Hoffmann To: dri-devel@lists.freedesktop.org, Bartlomiej Zolnierkiewicz , "open list:FRAMEBUFFER LAYER" , open list Subject: Re: [RfC PATCH] fbdev: list all memory bars as conflicting apertures Message-ID: <20190314113056.sa4zkunxgyxef3t5@sirius.home.kraxel.org> References: <20190313110741.6541-1-kraxel@redhat.com> <20190314103713.GQ2665@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190314103713.GQ2665@phenom.ffwll.local> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 14 Mar 2019 11:30:58 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 14, 2019 at 11:37:13AM +0100, Daniel Vetter wrote: > On Wed, Mar 13, 2019 at 12:07:41PM +0100, Gerd Hoffmann wrote: > > Simply add all pci memory bars to struct apertures_struct in > > remove_conflicting_pci_framebuffers(). That allows to drop > > the res_id parameter. > > > > TODO: actually remove the res_id parameter. > > I think best to do that in a cleanup patch afterwards. I was just lazy and didn't want update all callers for the first patch draft. But doing a test run ... > Maybe if you want to be paranoid in the conversion add a check that we're > not skipping the pci bar requested in res_id. Then we could test this for > a kernel and remove the parameter later on. ... that way before actually dropping the parameter surely makes sense. New version on the way, Gerd