Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1497126
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping |
| Date | 2016-10-07 13:10 +0200 |
| Message-ID | <spBcl-7XV-15@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> <spooO-6tZ-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 6 Oct 2016, Yinghai Lu wrote:
> On Thu, Oct 6, 2016 at 1:06 AM, Dou Liyang <douly.fnst@cn.fujitsu.com> wrote:
> Yes, that should work. but should do the same thing for x2apic
>
> in acpi_parse_x2apic should have
>
> > + if (processor->local_apic_id == -1) {
> > + ++disabled_cpus;
> > + return -EINVAL;
> > + }
>
> that is the reason why i want to extend acpi_register_lapic()
> to take extra disabled_id (one is 0xff and another is 0xffffffff)
> so could save some lines.
That just makes the code harder to follow and is not really worth the
trouble.
Thanks,
tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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