Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp797336imm; Wed, 13 Jun 2018 08:25:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLCag/gYPRGg1i0ygW28Dtyd/5PQuC6LDxSlfxY/WDOuFLaAqScxexJl2XrMK3HAGFkut6/ X-Received: by 2002:a17:902:6bc1:: with SMTP id m1-v6mr5634084plt.91.1528903511163; Wed, 13 Jun 2018 08:25:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528903511; cv=none; d=google.com; s=arc-20160816; b=dQkLggxJh5/1DiO7cb575cl0/3xua2+z4X475ZYnKhIHjTGtwzyeos26bYDWQFyJuM dwo7LyFkLcr0FbqmZhqYxl0LLMBWSXTPZ77OJwhpSQLUw0FFqFPdaSFzxL8ZLyPIZJyP Bxp961A20tRwJ6JnpqiVXJ6Nyma/EDbgpwOCr2iSk1MLuMAnzkdcUCL9H2erIYXye1o+ /ZyN+Ag7Nk6FAtjXWAeGc5W+W4rOYb1vlPrMrsNShduV1p436jAqk8r5BaWX5IKimbap gPC+m6zpJZBnZBOSJrOTRVBjFElZypRItUlsRDvi833CtCpRg8wusJ2WfdxHWkhB12UI IheA== 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=fyEXvMhLkO9SZrUqxqlvv8Rm1hSheVFC9tfQ3aTcN/4=; b=vB5eAeWTTgBIH0yNYL4sn2c4oZjF81HtxKzQ399d1A5tlpnXdwn5V2Qex7Ce9shF/u WO5I19z5AcGBlL/fkHXAAifTyciigfnvsQigwwjIQfLBB98eP/Y7oNCEoh3AJ5RUnz/H 3iQRTK5M6/4NkFh7SHiIl9rnssk0S1wnoIycAV1XSY32XjJ8kk7Jhznu2m7tPpmtlMuk 4coSoMppI1a4ZX0ier4BBslZWbXzM2rdIh2AVVrr/T3IqfE2ibq2xMRWfaXcSV1RB1X8 zOJ7lzOhwIEwnjPLUr6EFen1I36EvIXEj9ip+c2Rhn/o8F9nTbPBaWGL7miH8O57AsSs r4wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ixKUeoTh; 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 y7-v6si2884901pfn.16.2018.06.13.08.24.55; Wed, 13 Jun 2018 08:25:11 -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=ixKUeoTh; 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 S935976AbeFMPW3 (ORCPT + 99 others); Wed, 13 Jun 2018 11:22:29 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:46266 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935691AbeFMPW1 (ORCPT ); Wed, 13 Jun 2018 11:22:27 -0400 Received: by mail-io0-f193.google.com with SMTP id d22-v6so3816968iof.13 for ; Wed, 13 Jun 2018 08:22:27 -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=fyEXvMhLkO9SZrUqxqlvv8Rm1hSheVFC9tfQ3aTcN/4=; b=ixKUeoThG5kb+DUx+RKTVQXHNkkBT6Wnk/rAgztZljxJ+NUPKRVuRG1G4S2+hXQQ30 f7pPf/S+RFGJ7A3KJ1tcM3B8CRAEw7hWXiuDp/5tTN0g2CmGFJ24cik5hs79nIDt1kYl 1KfnBG/62I2nE5h8ZkPXD9t5iw9WjmNMHTWN8= 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=fyEXvMhLkO9SZrUqxqlvv8Rm1hSheVFC9tfQ3aTcN/4=; b=IRH4RTidmibICZnZGCtgO0daXtk8Ah0kLBhfXP3AnndYkrIm8VeJS7MFq7epo+Trp5 Smr5+M0y+FpeInOLg0AJh0MYTu8PxRVcPWx8ZVQ+w5UYR9N/xc4G1gYzIOuY/WZ2fdW1 6KzUh9zS2J6ErBf4PX6Qyb4ukfBbu+j+0ug0cpZEHyVS3QMZdR9YfIjNvvUpRWTFah2U PzU02Jo6yy017slNjKKJKXcX65qwcseZBxriGRgyRwOP0R5Swa/WnRIibHMNLo1JkGba /fODNQBROrtYjMsx7AxmbwRJaOLiSovo9M3oMCSPeZFjaGO4aN9uvboqMfSB/jgFEuO0 LNiQ== X-Gm-Message-State: APt69E3NdPNxsLCEu0LTtnd+xZN4REUOjs02+77iXiMxo8dLef2Y/Y6Z pphMPlOK7ZK9OJNRr51kUMKuQLmKu6FbPBL+in0sug== X-Received: by 2002:a6b:6709:: with SMTP id b9-v6mr4971898ioc.170.1528903346831; Wed, 13 Jun 2018 08:22:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 08:22:25 -0700 (PDT) In-Reply-To: <442896963833043f84dd9d0c14d88351@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> <442896963833043f84dd9d0c14d88351@codeaurora.org> From: Ard Biesheuvel Date: Wed, 13 Jun 2018 17:22:25 +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 , Bartlomiej Zolnierkiewicz Cc: "open list:EFIFB FRAMEBUFFER DRIVER" , Timur Tabi , linux-arm-msm@vger.kernel.org, linux-arm-kernel , Peter Jones , "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 17:17, wrote: > On 2018-06-13 11:06, Ard Biesheuvel wrote: >> >> 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. > > > Ouch, I hoped that you would get it via get_maintainer script. Sorry for > that. Actually, get_maintainer is right: this should go through the fbdev tree not the EFI tree Were you going to resend them? If not, I can find them in my archive and ack them, and we will ask Bartlomiej to take them for v4.19