Re: [PATCH v9 04/22] powerpc/powernv: Increase PE# capacity

2016-05-06 Thread Gavin Shan
On Fri, May 06, 2016 at 05:17:25PM +1000, Alexey Kardashevskiy wrote: >On 05/03/2016 11:22 PM, Gavin Shan wrote: >>Each PHB maintains an array helping to translate 2-bytes Request >>ID (RID) to PE# with the assumption that PE# takes one byte, meaning >>that we can't have more than 256 PEs. However,

Re: [PATCH v9 04/22] powerpc/powernv: Increase PE# capacity

2016-05-06 Thread Alexey Kardashevskiy
On 05/03/2016 11:22 PM, Gavin Shan wrote: Each PHB maintains an array helping to translate 2-bytes Request ID (RID) to PE# with the assumption that PE# takes one byte, meaning that we can't have more than 256 PEs. However, pci_dn->pe_number already had 4-bytes for the PE#. Can you possibly have

[PATCH v9 04/22] powerpc/powernv: Increase PE# capacity

2016-05-03 Thread Gavin Shan
Each PHB maintains an array helping to translate 2-bytes Request ID (RID) to PE# with the assumption that PE# takes one byte, meaning that we can't have more than 256 PEs. However, pci_dn->pe_number already had 4-bytes for the PE#. This extends the PE# capacity for every PHB. After that, the PE nu