Thread (4 messages) 4 messages, 2 authors, 2011-10-07
DORMANTno replies

[PATCH v3 2/3] ARM: OMAP: TI814X: Add cpu type macros and detection support

From: Pedanekar, Hemant <hidden>
Date: 2011-10-07 13:15:29
Also in: linux-omap

Hi Paul,

linux-arm-kernel-bounces at lists.infradead.org wrote on :
macros and detection support

Hi Paul,

Paul Walmsley wrote on Friday, September 30, 2011 2:17 AM:
quoted
Hello Hemant,

a few comments:

On Thu, 29 Sep 2011, Hemant Pedanekar wrote:
[...]
quoted
quoted
Note that following update to common OMAP data structures is made:

cpu_mask and RATE_IN_XXX flags have crossed 8 bit hence struct
clksel_rate.flags, struct prcm_config.flags and cpu_mask are changed to
u16 from u8. 

Signed-off-by: Hemant Pedanekar <redacted>
Also, the opp2xxx.h change looks spurious, is that really needed?
I will be removing the above mentioned code changes from v4 since the same
were added in "arm:omap:am33xx: Update common omap platform files" patch and
as per Tony's reply today ([1]) the am33xx patch will be added to SoC branch.  

Thanks.
   Hemant

[1] http://www.spinics.net/lists/linux-omap/msg58853.html
 
I changed prcm_config.flags to accommodate cpu_mask change,
as cpu_mask
is used with prcm_config.flags (mostly) in clkt2xxx_virt_prcm_set.c as
below: 

prcm->flags & cpu_mask

And flags is assigned in opp2420_data.c (e.g., RATE_IN_242X)

But yes, these are already defined RATE_INs and do not cross 8-bits,
so no warnings even if flags is 8-bit and cpu_mask changed to 16-bit.

What is your suggestion?

I see you mentioned "Also" in the above comment, but didn't see any comment
preceeding. 
quoted
Could you please split the clock-related changes into a
separate patch?
Then this patch would just be the id.c and cpu.h changes.

Other than that, the patch looks okay to me.


- Paul
Will do that.

Thanks.
   Hemant
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help