Re: [PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:"Maciej W. Rozycki" <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > On Mon, 15 Jan 2001, H. Peter Anvin wrote: > > > Right, but I'd also like to see the global flags exported explicitly to > > /proc/cpuinfo. > > That's desirable, but how wo

Re: [PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread Maciej W. Rozycki
On Mon, 15 Jan 2001, H. Peter Anvin wrote: > Right, but I'd also like to see the global flags exported explicitly to > /proc/cpuinfo. That's desirable, but how would we fit it into the existing layout? Would it be feasible to put it into /proc/cpuflags, instead? Anyway, with all necessary cod

Re: [PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread H. Peter Anvin
"Maciej W. Rozycki" wrote: > > On Mon, 15 Jan 2001, H. Peter Anvin wrote: > > > I would personally prefer to export the global flags separately from the > > per-CPU flags. Not only is it more correct, it would help catch these > > kinds of bugs!!! > > That's what I am going to do. Basically

Re: [PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread Maciej W. Rozycki
On Mon, 15 Jan 2001, H. Peter Anvin wrote: > I would personally prefer to export the global flags separately from the > per-CPU flags. Not only is it more correct, it would help catch these > kinds of bugs!!! That's what I am going to do. Basically to recode cpu_has_* macros to use global fla

Re: [PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread Maciej W. Rozycki
On Mon, 15 Jan 2001, Hugh Dickins wrote: > That's how "notsc" used to behave, but since 2.4.0-test11 > "notsc" has left "tsc" in /proc/cpuinfo. setup.c has a bogus > "#ifdef CONFIG_TSC" which should be "#ifndef CONFIG_X86_TSC". Confirmed. > HPA, Maciej and I discussed that around 5 Dec 2000;

Re: [PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread H. Peter Anvin
Hugh Dickins wrote: > > That's how "notsc" used to behave, but since 2.4.0-test11 > "notsc" has left "tsc" in /proc/cpuinfo. setup.c has a bogus > "#ifdef CONFIG_TSC" which should be "#ifndef CONFIG_X86_TSC". > > HPA, Maciej and I discussed that around 5 Dec 2000; but HPA > was of Andrea's pers

[PATCH] i386/setup.c cpuinfo notsc

2001-01-15 Thread Hugh Dickins
On Thu, 11 Jan 2001, Linus Torvalds wrote (under Subject: Re: 2.4.1-pre1 breaks XFree 4.0.2 and "w"): > > We _want_ /proc/cpuinfo to reflect the fact that the kernel considers > FSXR/XMM to not exist. That is true information, and is in fact something > that install scripts etc can find extremely