* linux-next: manual merge of the arm-soc tree with the s5p tree
@ 2012-03-16 6:45 Stephen Rothwell
2012-03-16 8:26 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2012-03-16 6:45 UTC (permalink / raw)
To: Olof Johansson, Arnd Bergmann, linux-arm-kernel
Cc: linux-next, linux-kernel, Kukjin Kim
[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]
Hi all,
Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/mach-exynos/common.c between commit 1d7233ac478a ("Merge branch
'next/soc-exynos5250-arch-gpio' into for-next") from the s5p tree and
commit 853a0231e057 ("Merge branch 'samsung/soc' into next/soc2") from
the arm-soc tree.
These merge commits both looks suspect, but I fixed it up as best I could
(see below).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc arch/arm/mach-exynos/common.c
index 4e1d0b7,e6cc50e..0000000
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@@ -593,6 -586,14 +593,13 @@@ static int __init exynos4_l2x0_cache_in
if (soc_is_exynos5250())
return 0;
- int ret;
+ ret = l2x0_of_init(L2_AUX_VAL, L2_AUX_MASK);
+ if (!ret) {
+ l2x0_regs_phys = virt_to_phys(&l2x0_saved_regs);
+ clean_dcache_area(&l2x0_regs_phys, sizeof(unsigned long));
+ return 0;
+ }
+
if (!(__raw_readl(S5P_VA_L2CC + L2X0_CTRL) & 0x1)) {
l2x0_saved_regs.phy_base = EXYNOS4_PA_L2CC;
/* TAG, Data Latency Control: 2 cycles */
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: manual merge of the arm-soc tree with the s5p tree
2012-03-16 6:45 linux-next: manual merge of the arm-soc tree with the s5p tree Stephen Rothwell
@ 2012-03-16 8:26 ` Arnd Bergmann
2012-03-16 10:00 ` Kukjin Kim
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2012-03-16 8:26 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Olof Johansson, linux-arm-kernel, linux-next, linux-kernel,
Kukjin Kim
On Friday 16 March 2012, Stephen Rothwell wrote:
> Today's linux-next merge of the arm-soc tree got a conflict in
> arch/arm/mach-exynos/common.c between commit 1d7233ac478a ("Merge branch
> 'next/soc-exynos5250-arch-gpio' into for-next") from the s5p tree and
> commit 853a0231e057 ("Merge branch 'samsung/soc' into next/soc2") from
> the arm-soc tree.
>
> These merge commits both looks suspect, but I fixed it up as best I could
> (see below).
Right, both the arm-soc and the s5p tree merge the same commits and
come to different results. Kgene, please have a look and let me know
which of the three solutions is correct.
Arnd
> Cheers,
> Stephen Rothwell sfr@canb.auug.org.au
>
> diff --cc arch/arm/mach-exynos/common.c
> index 4e1d0b7,e6cc50e..0000000
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@@ -593,6 -586,14 +593,13 @@@ static int __init exynos4_l2x0_cache_in
> if (soc_is_exynos5250())
> return 0;
>
> - int ret;
> + ret = l2x0_of_init(L2_AUX_VAL, L2_AUX_MASK);
> + if (!ret) {
> + l2x0_regs_phys = virt_to_phys(&l2x0_saved_regs);
> + clean_dcache_area(&l2x0_regs_phys, sizeof(unsigned long));
> + return 0;
> + }
> +
> if (!(__raw_readl(S5P_VA_L2CC + L2X0_CTRL) & 0x1)) {
> l2x0_saved_regs.phy_base = EXYNOS4_PA_L2CC;
> /* TAG, Data Latency Control: 2 cycles */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: manual merge of the arm-soc tree with the s5p tree
2012-03-16 8:26 ` Arnd Bergmann
@ 2012-03-16 10:00 ` Kukjin Kim
0 siblings, 0 replies; 3+ messages in thread
From: Kukjin Kim @ 2012-03-16 10:00 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Stephen Rothwell, Olof Johansson, Kukjin Kim, linux-next,
linux-kernel, linux-arm-kernel
On 03/16/12 01:26, Arnd Bergmann wrote:
> On Friday 16 March 2012, Stephen Rothwell wrote:
>> Today's linux-next merge of the arm-soc tree got a conflict in
>> arch/arm/mach-exynos/common.c between commit 1d7233ac478a ("Merge branch
>> 'next/soc-exynos5250-arch-gpio' into for-next") from the s5p tree and
>> commit 853a0231e057 ("Merge branch 'samsung/soc' into next/soc2") from
>> the arm-soc tree.
>>
>> These merge commits both looks suspect, but I fixed it up as best I could
>> (see below).
>
Thank you, Stehpen.
> Right, both the arm-soc and the s5p tree merge the same commits and
> come to different results. Kgene, please have a look and let me know
> which of the three solutions is correct.
>
Yeah, my resolution is missing and both looks OK to me, actually it's
just different the position of declaration for 'int ret' and I'm not
sure which one is better even though I fixed with Arnd's resolution.
Arnd, Stephen, thanks :)
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-16 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 6:45 linux-next: manual merge of the arm-soc tree with the s5p tree Stephen Rothwell
2012-03-16 8:26 ` Arnd Bergmann
2012-03-16 10:00 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).