Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1341187

Re: [PATCH] VMD: Attach vmd resources to parent domain's resource tree

From Jon Derrick <jonathan.derrick@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] VMD: Attach vmd resources to parent domain's resource tree
Date 2016-02-24 00:50 +0100
Message-ID <r5uSl-4mi-15@gated-at.bofh.it> (permalink)
References <r5t9V-2Zj-29@gated-at.bofh.it> <r5upk-47T-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 23, 2016 at 11:16:11PM +0000, Keith Busch wrote:
> On Tue, Feb 23, 2016 at 02:50:13PM -0700, Jon Derrick wrote:
> > This patch attaches the new VMD domain's resources to the VMD device's
> > resources. This allows /proc/iomem to display a more complete picture.
> > 
> > Before:
> >   c0000000-c1ffffff : 0000:5d:05.5
> >   c2000000-c3ffffff : 0000:5d:05.5
> >     c2010000-c2013fff : nvme
> >   c4000000-c40fffff : 0000:5d:05.5
> > 
> > After:
> >   c0000000-c1ffffff : 0000:5d:05.5
> >     c0000000-0000001f : VMD CFGBAR
> >   c2000000-c3ffffff : 0000:5d:05.5
> >     c2000000-c3ffffff : VMD MEMBAR1
> >       c2000000-c22fffff : PCI Bus 10000:01
> >         c2000000-c200ffff : 10000:01:00.0
> >         c2010000-c2013fff : 10000:01:00.0
> >           c2010000-c2013fff : nvme
> >       c2300000-c24fffff : PCI Bus 10000:01
> >   c4000000-c40fffff : 0000:5d:05.5
> >     c4002000-c40fffff : VMD MEMBAR2
> 
> I think we should drop the CFGBAR from here since that's a bus resource
> rather than IO memory. Otherwise, this looks good and useful.
Yes that entry doesn't make much sense for iomem does it. I'll drop that part.

> 
> I think in the near future we should come up with a better name than
> "VMD MEMBAR" to help distinguish multiple VMD's in a system.
Seconded. I'm fine with naming it by its PCI designator, eg 10000:01:00.0, and maybe a bar designator after that (or not).

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] VMD: Attach vmd resources to parent domain's resource tree Jon Derrick <jonathan.derrick@intel.com> - 2016-02-23 23:00 +0100
  Re: [PATCH] VMD: Attach vmd resources to parent domain's resource  tree Keith Busch <keith.busch@intel.com> - 2016-02-24 00:20 +0100
    Re: [PATCH] VMD: Attach vmd resources to parent domain's resource  tree Jon Derrick <jonathan.derrick@intel.com> - 2016-02-24 00:50 +0100

csiph-web