Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp776196imm; Wed, 13 Jun 2018 08:06:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLgwH6ATdFtzthnTV2fQvxRWiOsuZh2vkwfORdeSs4Rz1rLQfkqFrBwNk+JOGKIVxdI3IWE X-Received: by 2002:a63:bd51:: with SMTP id d17-v6mr759514pgp.42.1528902417919; Wed, 13 Jun 2018 08:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528902417; cv=none; d=google.com; s=arc-20160816; b=joLcQtdq1+z0m5scsnYFANirRoWU/nk/BT9gZ7a7+S3Mry7kFXQ1vIuAo+defOHe9C sT8ZJ113dO/8dYrcmenBk0gbMlrFdPRTUEJv+I7tifQltbqtQPU9XM3cEvZjveDcJTFB 4lbQYXd5IB5jbZDc8BPjMsFhuf7aLB3JQw/oNHSKms8k8ku0xPb9tsfRzaZhV2m381zx AR9ZTmNIf5tyjug2vb6R7UnhPL9KRoMLeQtkW+IqTY5j0o3hIhcrDD63IuJSUaH7nMr4 LP9QIgXVFjBTZVSXGRMQrLA3hn7nJI4WRw9autB+IFisChh9aVtkI919LVk4Fsj4qUyb jpkw== 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=tAH4nBuyOy+ok4Ji2N7q3zZe8kpF3Ed5BYpwYW8cQfs=; b=D/CROIKsDtNZtJHv6iOPj/x+hTq1VBC0qQ7PTs1qaaC93pAPuI1XZBtlFNdRZYR8ZS hyt/nWf99PmfptuW2YKU98ZMfkbXTZZRKPqj8XHWUVRf3ZBMLjZHn+MRcXUK2CC/FyOU flt7keNYryLeaEczerBC0+oeQLuNoewS3ywlmEUXuCdRo+tBLzFjYSp08ChbxEvI0QnJ pPCGpNneYFeDiuzMrRAWCLP+nIUbQb7KBGZkV3Gezzp7MTiuw9/Ga4zqFkj2CnVYU8Zs y0V1ZmTXEfOzXnRo15floxIhubJvw0hMG6ucWbg5xOaBAQLIAY4OZqqVjdGmYKyX/HXO RSLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bVNLu6OX; 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 v61-v6si2994037plb.499.2018.06.13.08.06.42; Wed, 13 Jun 2018 08:06:57 -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=bVNLu6OX; 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 S935761AbeFMPGL (ORCPT + 99 others); Wed, 13 Jun 2018 11:06:11 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:44925 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935662AbeFMPGJ (ORCPT ); Wed, 13 Jun 2018 11:06:09 -0400 Received: by mail-io0-f196.google.com with SMTP id g7-v6so3762730ioh.11 for ; Wed, 13 Jun 2018 08:06:09 -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=tAH4nBuyOy+ok4Ji2N7q3zZe8kpF3Ed5BYpwYW8cQfs=; b=bVNLu6OXtQ+2k4pxlORFwozijimHcuBH+v1MDVgVzkLdyZVD6gWaKn1/1L8QJLHial cFc5JD3wCwTbbmKWBjpL09U5rFGtAx8mI/3s38LSirm9+fdPyephEtRjKON3RUwdkRHo NGbXlodPFyZJGdgy7W0x9c3+Vb3aBAKPKuqXM= 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=tAH4nBuyOy+ok4Ji2N7q3zZe8kpF3Ed5BYpwYW8cQfs=; b=P48+McNLX5qk1Nc0Ov/2UOjGjjmFcX1p+57byOWHxBbYrjK9Hjdz7E3H3VHoDodkPS XIQ4EBamCIj6GZjfO9KCa8+1muD5WXfNsymSzYkjzNvwGAewLv/6DHsmSvtERnZRpUJo E7NWmKKWqIfdTJEGZdjI99wGKENOpSGemRLN8UFXyUDsB5HHwj9XNKcn+oONG2NeKf8/ k7Kfc6qntlg6D4c9M/j1QvP2H/awkzFZ1xS2MxIn2rha/jXxBSzy29VbYDn6/cyVzjh+ Bl9pXD233wx5mWDeo/SJ165STaDuOqDVs4Kuea7Id6NQIbXudyr0j9r8vvYasvvjBx8n l9/w== X-Gm-Message-State: APt69E14eEFAT25RZ4J/d71SkAp1uFWZBWFqGkK+7/sC4wqFDMlL+Mhf GkepC8b2RSuvqktVuD1TZ9EFx95MSludOXIlI34F3Q== X-Received: by 2002:a6b:6709:: with SMTP id b9-v6mr4911838ioc.170.1528902369342; Wed, 13 Jun 2018 08:06:09 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 08:06:08 -0700 (PDT) In-Reply-To: <26470c5c-55db-9dff-3794-4e4a96c8bcb6@codeaurora.org> References: <1526653072-7153-1-git-send-email-okaya@codeaurora.org> <1526653072-7153-2-git-send-email-okaya@codeaurora.org> <26470c5c-55db-9dff-3794-4e4a96c8bcb6@codeaurora.org> From: Ard Biesheuvel Date: Wed, 13 Jun 2018 17:06:08 +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: "open list:EFIFB FRAMEBUFFER DRIVER" , Timur Tabi , linux-arm-msm@vger.kernel.org, linux-arm-kernel , Peter Jones , Bartlomiej Zolnierkiewicz , "open list:FRAMEBUFFER LAYER" , open list 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 13 June 2018 at 16:22, Sinan Kaya wrote: > Hi Ard, > > On 5/18/2018 10:17 AM, Sinan Kaya wrote: >> A host bridge is allowed to remap BAR addresses using _TRA attribute in >> _CRS windows. >> >> pci_bus 0000:00: root bus resource [mem 0x80100100000-0x8011fffffff window] (bus address [0x00100000-0x1fffffff]) >> pci 0000:02:00.0: reg 0x10: [mem 0x8011e000000-0x8011effffff] >> >> When a VGA device is behind such a host bridge and the resource is >> translated efifb driver is trying to do ioremap against bus address >> rather than the resource address and is failing to probe. >> >> efifb: probing for efifb >> efifb: cannot reserve video memory at 0x1e000000 >> efifb: framebuffer at 0x1e000000, using 1920k, total 1875k >> efifb: mode is 800x600x32, linelength=3200, pages=1 >> efifb: scrolling: redraw >> efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 >> >> Use the host bridge offset information to convert bus address to >> resource address in the fixup. >> >> Signed-off-by: Sinan Kaya >> --- > > I didn't see any messages about these getting picked up for 4.18. > > Are they queued on your own branch? > No, you never cc'ed me on them until now.