linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the edac-amd tree with the rr tree
@ 2009-07-30  5:41 Stephen Rothwell
  2009-07-30  6:23 ` Borislav Petkov
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2009-07-30  5:41 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-next, linux-kernel, Rusty Russell, Andreas Herrmann

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

Hi Borislav,

Today's linux-next merge of the edac-amd tree got a conflict in
include/linux/topology.h between commit
11c0109a8c24b27fd6eff8c2c0ddca598675212d
("cpumask:remove-topology_core_siblings-and-topology_thread_siblings-core")
from the rr tree and commit 86aebc88b40884510c914ad71e81c8536a15052e
("topology: introduce cpu_node information for multi-node processors")
from the edac-amd tree.

The latter adds topology_cpu_node_siblings() which is not needed (the
former makes it clear that the _cpumask versions of these should be used
instead).  I fixed it up and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: manual merge of the edac-amd tree with the rr tree
@ 2009-08-06  7:51 Stephen Rothwell
  2009-08-06  8:07 ` Borislav Petkov
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2009-08-06  7:51 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: linux-next, linux-kernel, Li Zefan, Rusty Russell,
	Andreas Herrmann

Hi Borislav,

Today's linux-next merge of the edac-amd tree got a conflict in
arch/x86/kernel/smpboot.c between commit
d39044d21e1a2d3713f1329ad22d23df5d20140b ("cpumask: use zalloc_cpumask_var
() where possible") from the rr tree and commit
a763af6587fbead6cee75ad3ae14709fa67e7dbb ("x86: provide CPU topology
information for multi-node processors") from the edac-amd tree.

I fixed it up (see below) and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc arch/x86/kernel/smpboot.c
index 70bd79b,5428337..0000000
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@@ -1057,9 -1068,14 +1068,10 @@@ void __init native_smp_prepare_cpus(uns
  #endif
  	current_thread_info()->cpu = 0;  /* needed? */
  	for_each_possible_cpu(i) {
 -		alloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL);
 -		alloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL);
 -		alloc_cpumask_var(&per_cpu(cpu_node_map, i), GFP_KERNEL);
 -		alloc_cpumask_var(&cpu_data(i).llc_shared_map, GFP_KERNEL);
 -		cpumask_clear(per_cpu(cpu_core_map, i));
 -		cpumask_clear(per_cpu(cpu_node_map, i));
 -		cpumask_clear(per_cpu(cpu_sibling_map, i));
 -		cpumask_clear(cpu_data(i).llc_shared_map);
 +		zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL);
 +		zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL);
++		zalloc_cpumask_var(&per_cpu(cpu_node_map, i), GFP_KERNEL);
 +		zalloc_cpumask_var(&cpu_data(i).llc_shared_map, GFP_KERNEL);
  	}
  	set_cpu_sibling_map(0);
  

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: manual merge of the edac-amd tree with the rr tree
@ 2009-11-19  5:23 Stephen Rothwell
  2009-11-19  6:06 ` Borislav Petkov
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2009-11-19  5:23 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-next, linux-kernel, Rusty Russell

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

Hi Borislav,

Today's linux-next merge of the edac-amd tree got a conflict in
drivers/edac/amd64_edac.c because commit
4de1ce0c99ff838090d3b57cab8bc6eeb303dda5
("cpumask:amd64_edac-cpumask_t-remove") from the rr tree and commit
2fd9af91b92c10e58993f9eb70300fdff32698fb ("cpumask: use modern cpumask
style in drivers/edac/amd64_edac.c") from the edac-amd tree are the same
patch but there are further changes in the edac-amd tree.  So, Rusty, I
guess you can drop that patch (unless something later in the rr tree
depends on it).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-11-19  6:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-30  5:41 linux-next: manual merge of the edac-amd tree with the rr tree Stephen Rothwell
2009-07-30  6:23 ` Borislav Petkov
2009-07-30  7:08   ` Stephen Rothwell
2009-07-30 11:09     ` Borislav Petkov
2009-07-31  2:01       ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2009-08-06  7:51 Stephen Rothwell
2009-08-06  8:07 ` Borislav Petkov
2009-11-19  5:23 Stephen Rothwell
2009-11-19  6:06 ` Borislav Petkov
2009-11-19  6:56   ` Rusty Russell

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).