Re: [PATCH 2/9] x86 idle: remove NOP cpuinfo_x86.hlt_works_ok flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > hlt_works_ok was X86_32 only, initialized to 1, and never cleared.
> > 
> > On 32-bit kernels, this deletes a line from /proc/cpuinfo: "hlt_bug : no"
> 
> I think you missed the valid usecase where an old CPU with broken halt is 
> booted with the no-hlt boot parameter and does not want to crash in the HLT 
> instruction.
> 
> That "no-hlt" boot parameter does:
> 
>   arch/x86/kernel/cpu/bugs.c:     boot_cpu_data.hlt_works_ok = 0;
> 
> We can restrict compatibility, but *please* lets do it *explicitly*, not under 
> some 'remove unused code' pretense ...
> 
> Could you please list all CPU models that are affected?

"no-hlt" existed only for 32-bit, and there were exactly zero
automatic invocations of it.

"idle=poll" does the same thing -- sans change a line
in /proc/cpuinfo.

Do we really need both?

thanks,
-Len



_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux