lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 30 Apr 2012 17:32:18 -0700
From:	Yinghai Lu <>
To:	Bjorn Helgaas <>
Cc:	Jesse Barnes <>,
	Benjamin Herrenschmidt <>,
	Tony Luck <>,
	David Miller <>, x86 <>,
	Dominik Brodowski <>,
	Andrew Morton <>,
	Linus Torvalds <>,
	Greg Kroah-Hartman <>,,,
Subject: Re: [PATCH -v11 04/30] PCI: Add busn_res into struct pci_bus.

On Mon, Apr 30, 2012 at 4:25 PM, Bjorn Helgaas <> wrote:
>> --- a/include/linux/pci.h
>> +++ b/include/linux/pci.h
>> @@ -419,6 +419,7 @@ struct pci_bus {
>>        struct list_head slots;         /* list of slots on this bus */
>>        struct resource *resource[PCI_BRIDGE_RESOURCE_NUM];
>>        struct list_head resources;     /* address space routed to this bus */
>> +       struct resource busn_res;       /* track registered bus num range */
>>        struct pci_ops  *ops;           /* configuration access functions */
>>        void            *sysdata;       /* hook for sys-specific extension */
> struct pci_bus already includes "secondary" and "subordinate".    This
> new "busn_res" looks like it will contain the same information.  Why
> do we need both?

In some case the could be different.
for root bus from _CRS, busn_res could bigger than subordinate,
because scan_childbus will update subordinate.

and also we have one resource to insert it into the resource tree, so
later could probe/allocate bus num range.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists