mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch:000/004]Unify pxm_to_node id ver.4.
@ 2006-03-30 11:49 Yasunori Goto
  2006-03-30 11:55 ` [Patch:001/004]Unify pxm_to_node id ver.4. (generic part) Yasunori Goto
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Yasunori Goto @ 2006-03-30 11:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel ML, Yasunori Goto

Hi.

This patch set is to unify mapping from pxm to node id ver.4.
I posted patches for config of NODES_SHIFT.
So, MAX_PXM_DOMAIN is just defined by MAX_NUMNODES.
(But, old pxm's spec was 8 bit. So, if MAX_NUMNODES is 256 or smaller,
 then I use 256 for it.)

This patches are for 2.6.16-git16.
I tested them on ia64(Tiger4) with node emulation.

Please apply.

------------------------
Change log from ver.3
  - The patch for configuration of NODES_SHIFT is divided to other post.
    MAX_PXM_DOMAIN is defined by MAX_NUMNODES.

Change log from ver.2
  - update for 2.6.16-git14.
  - definition of pxm was changed from u8 to int. Pxm can be over 256.
  - CONFIG_NR_NODES is defined to configure MAX_PXM_DOMAINS.
  - redundant call of pxm_bit_set() is removed at acpi_numa_arch_fixup()
    of ia64 like followings.
	if (pxm_bit_test(i)) {
		:
		pxm_bit_set(i);  <---------------------- !!!
		:
	}

Change log from ver.1 
  - Fix old map from HP and SGI's code by Bob Picco-san.
  - Remove MAX_PXM_DOMAINS from asm-ia64/acpi.h. It is already defined at
    include/acpi/acpi_numa.h.
  - Fix return code of setup_node() at arch/x86_64/mm/srat.c
  - Fix ACPI_NUMA config for i386 by Andy Witcroft-san.
  - Define dummy functions for i386's compile error.
  - Remove garbage nid_to_pxm_map from acpi20_parse_srat() 
    at arch/i386/kernel/srat.c

----------------------------------
Description.

This patch is to unify mapping from pxm to node id.
In current code, i386, x86-64, and ia64 have its mapping by each own code.
But PXM is defined by ACPI and node id is used generically. So,
I think there is no reason to define it on each arch's code.
This mapping should be written at drivers/acpi/numa.c as a common code.



-- 
Yasunori Goto 



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

end of thread, other threads:[~2006-03-30 11:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30 11:49 [Patch:000/004]Unify pxm_to_node id ver.4 Yasunori Goto
2006-03-30 11:55 ` [Patch:001/004]Unify pxm_to_node id ver.4. (generic part) Yasunori Goto
2006-03-30 11:55 ` [Patch:002/004]Unify pxm_to_node id ver.4. (for ia64) Yasunori Goto
2006-03-30 11:55 ` [Patch:003/004]Unify pxm_to_node id ver.4. (for x86-64) Yasunori Goto
2006-03-30 11:55 ` [Patch:004/004]Unify pxm_to_node id ver.4. (for i386) Yasunori Goto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®