From: Igor Mammedov <imammedo@redhat.com>
To: Ben Widawsky <ben@bwidawsk.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>,
mst@redhat.com, jusual@redhat.com, qemu-devel@nongnu.org,
Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [PATCH 2/2] acpi/crs: Support ranges > 32b for hosts
Date: Thu, 29 Oct 2020 14:57:59 +0100 [thread overview]
Message-ID: <20201029145759.33267164@redhat.com> (raw)
In-Reply-To: <20201027154505.346awd3dicockef7@mail.bwidawsk.net>
On Tue, 27 Oct 2020 08:45:05 -0700
Ben Widawsky <ben@bwidawsk.net> wrote:
> On 20-10-27 15:36:12, Igor Mammedov wrote:
> > On Mon, 26 Oct 2020 12:39:24 -0700
> > Ben Widawsky <ben.widawsky@intel.com> wrote:
> >
> > > According to PCIe spec 5.0 Type 1 header space Base Address Registers
> > > are defined by 7.5.1.2.1 Base Address Registers (same as Type 0). The
> > > _CRS region should allow for the same range (up to 64b). Prior to this
> > > change, any host bridge utilizing more than 32b for the BAR would have
> > > the address truncated and likely lead to conflicts when the operating
> > > systems reads the _CRS object.
> > >
> > > Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
> >
> > Looks good to me, so
> >
> > Reviewed-by: Igor Mammedov <imammedo@redhat.com>
> >
> >
> > CCing,
> > Michael to have a send pair of eyes on it
> >
> > but I wonder how/why ivshm (which might have quite large BAR) works.
>
> I think this will only hit things that subclass TYPE_PCI_HOST_BRIDGE. AFAICT,
> ivshm is a regular TYPE_PCI_DEVICE. Is there a _CRS created for ivshm?
no, but device uses _CRS provided by bus, so I'd expect it would fail
on guest side if its BAR is bigger than window provided by host bridge.
[...]
next prev parent reply other threads:[~2020-10-29 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 19:39 [PATCH 1/2] acpi/crs: Prevent bad ranges for host bridges Ben Widawsky
2020-10-26 19:39 ` [PATCH 2/2] acpi/crs: Support ranges > 32b for hosts Ben Widawsky
2020-10-27 14:36 ` Igor Mammedov
2020-10-27 15:45 ` Ben Widawsky
2020-10-29 13:57 ` Igor Mammedov [this message]
2020-10-29 13:59 ` [PATCH 1/2] acpi/crs: Prevent bad ranges for host bridges Igor Mammedov
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=20201029145759.33267164@redhat.com \
--to=imammedo@redhat.com \
--cc=ben@bwidawsk.net \
--cc=ehabkost@redhat.com \
--cc=jusual@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).