[PATCH 4/6 v2] powerpc/qe: update QE Serial Number

Kumar Gala galak at kernel.crashing.org
Sat May 2 08:03:49 EST 2009


On May 1, 2009, at 2:40 PM, Haiying Wang wrote:

> The latest QE chip may have more Serial Number(SNUM)s of thread to  
> use. We will
> get the number of SNUMs from device tree by reading the new property
> "fsl,qe-num-snums", and set 28 as the default number of SNUMs so  
> that it is
> compatible with the old QE chips' device trees which don't have this  
> new
> property. The macro QE_NUM_OF_SNUM is defined as the maximum number  
> in QE snum
> table which is 256.
> Also we update the snum_init[] array with 18 more new SNUMs which are
> confirmed to be useful on new chip.
>
> Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>
> ---
> v2 change: rename the new property as "fsl,qe-num-snums" and move it  
> to Required
> section in qe.txt
> .../powerpc/dts-bindings/fsl/cpm_qe/qe.txt         |    2 +
> arch/powerpc/include/asm/qe.h                      |    3 +-
> arch/powerpc/sysdev/qe_lib/qe.c                    |   47 +++++++++++ 
> +++++++--
> 3 files changed, 47 insertions(+), 5 deletions(-)

applied

- k



More information about the Linuxppc-dev mailing list