From: Sinan Kaya <okaya@codeaurora.org>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Linux PCI <linux-pci@vger.kernel.org>
Subject: Re: IO Space Allocation Question on ARM64
Date: Mon, 22 May 2017 17:20:02 -0400 [thread overview]
Message-ID: <112199ef-40fe-1c78-c2d8-bee0071f3ddf@codeaurora.org> (raw)
In-Reply-To: <20170522141416.4fdc09a3@w520.home>
Hi Alex,
On 5/22/2017 4:14 PM, Alex Williamson wrote:
>> UEFI seems to be assigning an IO resource to bridge only if finds an endpoint
>> behind it with an actual IO BAR space.
> If it's anything like we saw with similar issues on QEMU, it might be
> because the slots report themselves as hotplug capable and Linux tries
> to allocate minimum apertures for any hotplug slot. See hpiosize
> and hpmemsize options for pci=. Thanks,
That was it. I was suspicious of this but didn't realize that we were allocating
0x1000 as a minimum due to hotplug.
Thanks for the suggestion. I didn't know the hpmemsize and hpiosize arguments.
Sinan
--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
prev parent reply other threads:[~2017-05-22 21:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 17:50 IO Space Allocation Question on ARM64 Sinan Kaya
2017-05-22 20:14 ` Alex Williamson
2017-05-22 21:20 ` Sinan Kaya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=112199ef-40fe-1c78-c2d8-bee0071f3ddf@codeaurora.org \
--to=okaya@codeaurora.org \
--cc=alex.williamson@redhat.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).