[RFC PATCH V3 05/17] ppc/pnv: user macro to define the TCE size

2014-06-09 Thread Wei Yang
During the initialization of the TVT/TCE, it uses digits to specify the TCE IO Page Size, TCE Table Size, TCE Entry Size, etc. This patch replaces those digits with macros, which will be more meaningful and easy to read. Signed-off-by: Wei Yang --- arch/powerpc/include/asm/tce.h|

Re: [RFC PATCH V3 05/17] ppc/pnv: user macro to define the TCE size

2014-06-22 Thread Gavin Shan
On Tue, Jun 10, 2014 at 09:56:27AM +0800, Wei Yang wrote: >During the initialization of the TVT/TCE, it uses digits to specify the TCE IO >Page Size, TCE Table Size, TCE Entry Size, etc. > >This patch replaces those digits with macros, which will be more meaningful and >easy to read. > >Signed-off-

Re: [RFC PATCH V3 05/17] ppc/pnv: user macro to define the TCE size

2014-06-22 Thread Wei Yang
On Mon, Jun 23, 2014 at 03:12:33PM +1000, Gavin Shan wrote: >On Tue, Jun 10, 2014 at 09:56:27AM +0800, Wei Yang wrote: >>During the initialization of the TVT/TCE, it uses digits to specify the TCE IO >>Page Size, TCE Table Size, TCE Entry Size, etc. >> >>This patch replaces those digits with macros