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


Groups > linux.kernel > #1497657

Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping

From Dou Liyang <douly.fnst@cn.fujitsu.com>
Newsgroups linux.kernel
Subject Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping
Date 2016-10-08 06:20 +0200
Message-ID <spRh7-28C-7@gated-at.bofh.it> (permalink)
References (2 earlier) <sor5o-70H-17@gated-at.bofh.it> <soV3s-209-9@gated-at.bofh.it> <sp8WJ-3H5-7@gated-at.bofh.it> <spbUB-5Qv-25@gated-at.bofh.it> <spDea-V4-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi tglx,

At 10/07/2016 09:07 PM, Thomas Gleixner wrote:
> On Thu, 6 Oct 2016, Dou Liyang wrote:
>>
>> +       if (processor->id >= 255) {
>> +               ++disabled_cpus;
>
> Incrementing disabled_cpus here is simply wrong because 0xff is an invalid
> local APIC id. So we can simply return -EINVAL and be done with it.
>

Yes, It is.

>> +               return -EINVAL;
>
> Thanks,
>
> 	tglx
>
>

Thanks,

	Dou

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


Thread

Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Yinghai Lu <yinghai@kernel.org> - 2016-10-04 08:10 +0200
  Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Thomas Gleixner <tglx@linutronix.de> - 2016-10-05 16:10 +0200
    Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Yinghai Lu <yinghai@kernel.org> - 2016-10-06 07:00 +0200
      Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-10-06 10:10 +0200
        Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Yinghai Lu <yinghai@kernel.org> - 2016-10-06 23:30 +0200
          Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-10-07 06:40 +0200
            Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Thomas Gleixner <tglx@linutronix.de> - 2016-10-07 15:00 +0200
              Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Thomas Gleixner <tglx@linutronix.de> - 2016-10-07 15:10 +0200
                Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Yinghai Lu <yinghai@kernel.org> - 2016-10-07 21:00 +0200
                Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-10-08 07:30 +0200
          Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Thomas Gleixner <tglx@linutronix.de> - 2016-10-07 13:10 +0200
          Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Thomas Gleixner <tglx@linutronix.de> - 2016-10-07 13:10 +0200
        Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Thomas Gleixner <tglx@linutronix.de> - 2016-10-07 15:20 +0200
          Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid  <-> apicid mapping Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-10-08 06:20 +0200

csiph-web