Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4148054imm; Mon, 25 Jun 2018 10:30:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKLzc0TV6ZxyblfEMEFr7TDJZAl3OJv/EiD6c4+w00P/pYXqmD56bXtjA8E5ZN926UN9xVr X-Received: by 2002:a62:859c:: with SMTP id m28-v6mr14025196pfk.42.1529947825437; Mon, 25 Jun 2018 10:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529947825; cv=none; d=google.com; s=arc-20160816; b=IWry5xVWBIQXxjSqqiHsIN8TRrjfJAWwkUYtCCxbdOMoMuDIwkLoi1E8pSkHcJSn+L 5vHU4xZsgHKesgSa0VgHtzRb4IrL7JUNwrjWhLtn6lDVMtjA9p61VIzsJ3jZTup2erK/ lwtulSZ3xH7R5jm2/sDg16p90edAlvA0deMVRO0GfDEnS6WnwKJBy9M2Ce2o9cdBuinw Xwq6FfuqDU97QN5/lhqdtXbev5XFuHHp8dte8Jvxu+WxvdVTSC3+LcvaLU0D6Q33U7GF x3C+Oh1oQOFjBZxES+xBF53wBHuA7KaKiHTTKZ0eJrEqWiiQJxz+fbhm+lkkuGQ1mUx/ emQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=9avK4+xPNBc1sx1bpvRJuKet5B/HjXl1ECs8G/6Cdno=; b=RI8LJ5yKyPoMPTPNW2vD9ldEEVf1otLOS2fPCSsNcJLw8vmgYUXsnE4YPOcxFmBbqT Zc0FuQ8sTwqCh0UGa5KbZ1Yl8/tbhp62P0LFyzkeLA/ZG7fDUa9fU7VQZTENwg0+c5BV mzx/VKo2JDyBclUL/ujgKJMgrPA74dZ2dOuxrSEgFAo82j45zRcAPpa1k7gUHRDbtali 5X0fsrrdzy1OaGItkA1rLdi8cvMKRVQKFzxEqyesuBN08LwmdN/p9h+tT9sfjON0F/RG 3vYweRTXzWxOISo4xiVIroYRivTDqA9TYf/0v+p2TOhhWmBi0A+kejOExpIlUnRVrigh TaFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KHUpVjyx; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d41-v6si13826045pla.162.2018.06.25.10.30.10; Mon, 25 Jun 2018 10:30:25 -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=@linaro.org header.s=google header.b=KHUpVjyx; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755522AbeFYR3Y (ORCPT + 99 others); Mon, 25 Jun 2018 13:29:24 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:35843 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755135AbeFYR3W (ORCPT ); Mon, 25 Jun 2018 13:29:22 -0400 Received: by mail-it0-f65.google.com with SMTP id j135-v6so13512713itj.1 for ; Mon, 25 Jun 2018 10:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9avK4+xPNBc1sx1bpvRJuKet5B/HjXl1ECs8G/6Cdno=; b=KHUpVjyxsIOkHVU/l0+BwBuhfkfMuach+mcs9bA0dC7lJuIr3b4F/68k3bmWdcCpnE yUoWzJVwfsZpEI7oQmciQzk/LFU8vAqTtk5vhFK2GLpRdKT8PKriqbCEX0ZV+E5kRps6 g8nUR0OEBSmAzxfeoixnAYCoQt6cEd5YemMIQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9avK4+xPNBc1sx1bpvRJuKet5B/HjXl1ECs8G/6Cdno=; b=pB//MbFVrLOzO2WMxpUrsPDiet6JAi1pnDdj0+ZuNQqFOufYHwuY77jEEI9hw9P7dw vINaG8n7UDnYbyhbZQx64MDGnLk3O8qR1/hLVo1+yVRlU5HwIhFLJtto8rc60vPGiPkP OwAFwmOWnBw0u2eFfbf8q4W2Bk6Rm9nFXvlDjM8Yu8+MQS1rp1V2V+8pjPPRMJ+GkRug OUBRCsw1UZybkcgxq3hw3L15eMI0xwnUwxHwaKtw2Sh9WDNKY4zjpVr6sDlG7G3/Ow07 uH5OdHH7HRiL2T4qC7RjaamfivoUtFYGf/hbq/UINUxm4lT9AIep29A9HbpUzzV26yA8 ByLg== X-Gm-Message-State: APt69E2gd/gDYu5U8dqQ5aJoeDraaLQe/UpRk8kvJMSJqNCpXmovh0y1 5WClKafA7JzqcBRy75+tap5ciRHeXhAYLNjIEmkfqQ== X-Received: by 2002:a24:d7c5:: with SMTP id y188-v6mr1674416itg.50.1529947761766; Mon, 25 Jun 2018 10:29:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 10:29:21 -0700 (PDT) In-Reply-To: References: <1526653072-7153-1-git-send-email-okaya@codeaurora.org> <1526653072-7153-2-git-send-email-okaya@codeaurora.org> <20180619222921.GA90490@bhelgaas-glaptop.roam.corp.google.com> <2a805337-c0b5-e134-7695-5a543ecaa26a@codeaurora.org> <37289a27-eb99-6a73-4d32-4a75edd11dcd@codeaurora.org> <7777f7bfead902f2f5175d48907fccec@codeaurora.org> From: Ard Biesheuvel Date: Mon, 25 Jun 2018 19:29:21 +0200 Message-ID: Subject: Re: [PATCH V2 2/2] efi/fb: Convert PCI bus address to resource if translated by the bridge To: Sinan Kaya Cc: Bjorn Helgaas , "open list:EFIFB FRAMEBUFFER DRIVER" , Bartlomiej Zolnierkiewicz , linux-arm-msm@vger.kernel.org, Timur Tabi , open list , "open list:FRAMEBUFFER LAYER" , Peter Jones , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25 June 2018 at 19:28, Sinan Kaya wrote: > On 6/25/2018 11:52 AM, okaya@codeaurora.org wrote: >>> Note that this is not the only MMIO translation related change made by >>> Heyi Guo to the generic PCI host bridge and bus drivers, but given >>> that those did not support MMIO translation at all, I take it your >>> affected platforms will already have their own changes to accommodate >>> this. >> >> Platform has been doing mmio translation for quite a while. Because all accesses go through pci io protocol, the rest of the UEFI never needed to be aware of bar address or do direct access. >> >> This is the first time I hear of direct access. Maybe, GOP is a special case. >> >> I started copying your response to the bios vendor. >> >> They are probably missing that patch. I will pass it along. > > I was informed that they fixed the issue in BIOS by presenting CPU physical > address instead of PCI bus address in FrameBufferBase of the AST GOP UEFI driver. > > We can drop this patch now. > Excellent! Thanks for following up with the vendor ...