Re: [PATCH v5 11/42] powerpc/powernv: Increase PE# capacity

2015-06-09 Thread Gavin Shan
On Wed, Jun 10, 2015 at 02:41:13PM +1000, Alexey Kardashevskiy wrote: >On 06/04/2015 04:41 PM, Gavin Shan wrote: >>Each PHB maintains an array helping to translate RID (Request >>ID) to PE# with the assumption that PE# takes 8 bits, indicating >>that we can't have more than 256 PEs. However, pci_dn

Re: [PATCH v5 11/42] powerpc/powernv: Increase PE# capacity

2015-06-09 Thread Alexey Kardashevskiy
On 06/04/2015 04:41 PM, Gavin Shan wrote: Each PHB maintains an array helping to translate RID (Request ID) to PE# with the assumption that PE# takes 8 bits, indicating that we can't have more than 256 PEs. However, pci_dn->pe_number already had 4-bytes for the PE#. The patch extends the PE# cap

[PATCH v5 11/42] powerpc/powernv: Increase PE# capacity

2015-06-04 Thread Gavin Shan
Each PHB maintains an array helping to translate RID (Request ID) to PE# with the assumption that PE# takes 8 bits, indicating that we can't have more than 256 PEs. However, pci_dn->pe_number already had 4-bytes for the PE#. The patch extends the PE# capacity so that each of them will be 4-bytes l