Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446674

Re: [PATCH v8 7/7] Provide the interface to validate the proc_id which they give

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v8 7/7] Provide the interface to validate the proc_id which they give
Date 2016-07-19 21:00 +0200
Message-ID <rWIpk-7BQ-25@gated-at.bofh.it> (permalink)
References <rWxNg-18Q-5@gated-at.bofh.it> <rWxNg-18Q-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 19, 2016 at 03:28:08PM +0800, Dou Liyang wrote:
> When we want to identify whether the proc_id is unreasonable or not, we
> can call the "acpi_processor_validate_proc_id" function. It will search
> in the duplicate IDs. If we find the proc_id in the IDs, we return true
> to the call function. Conversely, false represents available.
> 
> When we establish all possible cpuid <-> nodeid mapping, we will use the
> proc_id from ACPI table.
> 
> We do validation when we get the proc_id. If the result is true, we will
> stop the mapping.

The patch title probably should include "acpi:" header.  I can't tell
much about the specifics of the acpi changes but I think this is the
right approach for handling cpu hotplugs.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/7] Make cpuid <-> nodeid mapping persistent Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 7/7] Provide the interface to validate the proc_id which they give Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
    Re: [PATCH v8 7/7] Provide the interface to validate the proc_id  which they give Tejun Heo <tj@kernel.org> - 2016-07-19 21:00 +0200
      Re: [PATCH v8 7/7] Provide the interface to validate the proc_id  which they give Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-20 03:00 +0200
  [PATCH v8 2/7] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at boot time. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
    Re: [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at  boot time. Tejun Heo <tj@kernel.org> - 2016-07-19 21:00 +0200
      Re: [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at boot  time. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-20 04:40 +0200
  [PATCH v8 6/7] Provide the mechanism to validate processors in the ACPI tables Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 4/7] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
    Re: [PATCH v8 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting. "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-19 22:10 +0200
      Re: [PATCH v8 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <->  nodeid mapping when booting. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-20 03:30 +0200

csiph-web