Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp16185imm; Tue, 19 Jun 2018 15:01:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlnY/GXtvuQmthSyYGCSncDi8jvlV+GQSWnf4yNwI6lmY8CVAe2aVS8hpep17CM21x6osV X-Received: by 2002:a17:902:24e:: with SMTP id 72-v6mr20554085plc.87.1529445679936; Tue, 19 Jun 2018 15:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529445679; cv=none; d=google.com; s=arc-20160816; b=FqCNIEgFmhlp9XNgCOkvspy6e5m4F91WBpfTdnlklUKjqmuB9EpPiuBQQIp1Wxx1IC kkhpKV5Mh4OODQkjkzfloY7dumk5rPLXUEQQheYXaI5YfbGSt4SalIsq0WZuAdp1HNEq W+fKqt9ZNDnLChMZHYW1nLD7y73ogizPd4q08F1vFuOU08KEkGeEQz/w0H9hHUMfaoL0 CSqRKtuRtbkbAQAuIw389vQM6y9fPhMX5D48hDcEe9H48kwWZrXHTC9KjxVXliwwyWxz LDWS7V5e43H/d5zqhdxocIDkbQX7cbWkNeVwSj9WtNqM99h2TUKNAYi6XREJz/q1VmiR 24ZQ== 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:dkim-signature:arc-authentication-results; bh=Z2/Rp7qdPUNLfM1wGyo00QCEO/QCglGNfsqgPajd6jU=; b=mL+C6AsRnBwWxWc4SsCmspFVB8kef63OkE04ncSD4GGuAlIEiESqciOUMR9MP6RjEw yfS5qd1egZREOuDhpbUxCsL10ZoIeRAbZhR4uY2R1fsenpiNPWraJv7efTqQ0Mq/JY88 yrEfv2jodL++GP7bZ76e82FuJn50Dz1CoCIgmls4HoOwNp40NBhAiZzvgBE7KY5J461L qg04czc6Mq1PIjb5xait2h2he79ejNJ85rhUO25pqSpMPfdxWLkVxpimUlspoKpAVd5w 0GrCsyIpJMbcVKiLnkZpqiRFWbQPT3xoaiIplfZVFnXaGsPl5V2E2ylW14TYwVdC4uy4 DwxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZBSBAHM4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4-v6si692059pfg.329.2018.06.19.15.01.01; Tue, 19 Jun 2018 15:01:19 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ZBSBAHM4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936097AbeFSWAG (ORCPT + 99 others); Tue, 19 Jun 2018 18:00:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:37580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755392AbeFSV75 (ORCPT ); Tue, 19 Jun 2018 17:59:57 -0400 Received: from localhost (unknown [146.7.4.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F392F20652; Tue, 19 Jun 2018 21:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529445597; bh=1+bolKhm1p/CW1/gpoEfu4nfWe7o51U0FQ/PqcXvuoc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZBSBAHM413pIznAMsJACi9mmfHHxyGIJnxiZGQsVedFOjmEDq1WJB0tjOcAhYza9W oMQevf1gzgs9QrZCkIiPlUTGv7TA1eDF/Jdwtr4EwtXSHoGMzV7IOgbBVIml7s7DK+ j+SGjNgh1riAC0PfH84pEv5zF9LFDo1sVlgAhSLo= Date: Tue, 19 Jun 2018 16:59:55 -0500 From: Bjorn Helgaas To: Sinan Kaya Cc: Robin Murphy , linux-pci@vger.kernel.org, timur@codeaurora.org, ard.biesheuvel@linaro.org, "open list:EFIFB FRAMEBUFFER DRIVER" , Bartlomiej Zolnierkiewicz , linux-arm-msm@vger.kernel.org, open list , "open list:FRAMEBUFFER LAYER" , Peter Jones , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] efi/fb: Convert PCI bus address to resource if translated by the bridge Message-ID: <20180619215955.GF33049@bhelgaas-glaptop.roam.corp.google.com> References: <1526563343-28721-1-git-send-email-okaya@codeaurora.org> <36cf3f12-bfe8-1c38-4d2c-b785fc64a3f6@arm.com> <733101d0-9051-a5a6-ef64-162d8d1e10a1@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <733101d0-9051-a5a6-ef64-162d8d1e10a1@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 18, 2018 at 10:20:29AM -0400, Sinan Kaya wrote: > On 5/18/2018 6:42 AM, Robin Murphy wrote: > > > > FWIW, now that I've actually gone and looked, it appears you could simplify the whole function quite a bit by getting rid of these and just using the new local resource directly, especially since the only actual use of size is an open-coded resource_contains(). > > Posted V2 a minute ago. I did the simplification on a prior patch in order not to > mix the issues. I don't see the V2 on linux-pci, but it sounds like Ard would merge this anyway. So I'll drop this and you can let me know if there's anything you need from me.