Re: 答复: 答复: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-09 Thread Dou Liyang
Hi Rongqing, At 04/09/2018 05:33 PM, Li,Rongqing wrote: [...] Thanks. How about the below modification: It is good to me. you need start a new v2 thread for this. so that maintainers can easy to get it. commit 96ba42cf87ce0e62d54c01bfa9a9479b2e87 Author: Li RongQing Date: Sun Apr 8 1

答复: 答复: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-09 Thread Li,Rongqing
x...@kernel.org; pet...@infradead.org > 主题: Re: 答复: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being > accounted > > RongQing, > > At 04/09/2018 02:38 PM, Li,Rongqing wrote: > > > > > >> -邮件原件- > >> 发件人: Dou Liyang [mailto:douly.f...@cn.fujit

Re: 答复: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-09 Thread Dou Liyang
...@infradead.org 主题: Re: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted Hi RongQing, Is there an local x2apic whose ID is in your machine? I think no [...] [0.00] ACPI: X2APIC (apic_id[0x] uid[0x00] disabled) [0.00] ACPI: X2APIC (apic_id[0x] uid[0x01

Re: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-08 Thread Dou Liyang
Hi RongQing, Is there an local x2apic whose ID is 0x in your machine? At 04/08/2018 07:38 PM, Li RongQing wrote: local_apic_id of acpi_madt_local_x2apic is u32, it is converted to int when checked by default_apic_id_valid() and return true if it is larger than 0x7fff, this is wrong

[RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-08 Thread Li RongQing
local_apic_id of acpi_madt_local_x2apic is u32, it is converted to int when checked by default_apic_id_valid() and return true if it is larger than 0x7fff, this is wrong and if local_apic_id is invalid, we should prevent it from being accounted This fixes a bug that Purley platform displays t