Skip to content

Updated patches for x86_64

Ashok Raj lkml 1 version In review

Get series with b4
b4 am 20050801202017.043754000@araj-em64t

Versions newest first

  1. v1 Latest8 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86_64: Reintroduce clustered_apic_check() for x86_64.arch/x86_64/kernel/setup.c+1 -01 reply
2/8x86_64: create sysfs entries for cpu only for present cpusarch/i386/mach-default/topology.c+2 -21 reply
3/8x86_64:Dont call enforce_max_cpus when hotplug is enabledarch/x86_64/kernel/smpboot.c+23 -172 replies
4/8x86_64:Fix cluster mode send_IPI_allbutself to use get_cpu()/put_cpu()arch/x86_64/kernel/genapic_cluster.c+5 -12 replies
5/8x86_64:Dont do broadcast IPIs when hotplug is enabled in flat mode.arch/x86_64/kernel/genapic_flat.c+8 -03 replies
6/8x86_64:Dont use Lowest Priority when using physical mode.arch/x86_64/kernel/genapic_flat.c+2 -20 replies
7/8x86_64:Use common functions in cluster and physflat modearch/x86_64/kernel/genapic.c arch/x86_64/kernel/genapic_cluster.c arch/x86_64/kernel/genapic_flat.c +1 more+61 -1000 replies
8/8x86_64: Choose physflat for AMD systems only when >8 CPUS.arch/x86_64/kernel/genapic.c+1 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/8] Updated patches for x86_64

Hi Andrew,

This patch series contains some misc fixes related to CPU hotplug for X86_64.

Some are new, some are due to regressions from introduction of physflat mode genapic schemes. Please consider for -mm. These are on 2.6.13-rc4-mm1

do_clustered_apic_check
Needed for x86_64, removed recently from shared code.
create-sysfs-onlyfor-present-cpus
Create sysfs entries only for present cpus. New cpus will have them created by ACPI code when notification for the same is processed.
fix-enforce-max-cpu
Dont enforce this when CPU hotplug is enabled. This doesnt permit booting with maxcpus=1 and then testing logical hot-add of cpu.
fix-cluster-allbutself-ipi
Cluster mode also needs to prevent preempt when excluding self from online map. Propagating the fix i added for genapic_flat to cluster genapic code as well.
fix-flat-mode-nobroadcast-again
Recent physflat broke this for hotplug. Re-introducing it again.
fix-physflat-dmode
Removed un-necessary code from physflat settings.
use-common-physflat-cluster
Used common code for genapic-physflat and cluster since they share a lot of code was duplicated instead of sharing them.
choose-physflat-onlyfor-gt8cpus-amd
Choose physflat only when >8 cpus. We could still use flat mode without broadcast shortcut. The mask version of IPI is still effective and more performant than the unicast version thats required when we use physical mode.

Cheers,
ashok