lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140311101129.GA10383@gmail.com>
Date:	Tue, 11 Mar 2014 11:11:29 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	"H. Peter Anvin" <hpa@...ux.intel.com>,
	Stefani Seibold <stefani@...bold.net>,
	Andy Lutomirski <luto@...capital.net>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Andreas Brief <Andreas.Brief@...de-schwarz.com>,
	Martin Runge <Martin.Runge@...de-schwarz.com>
Subject: Re: [x86, vdso] BUG: unable to handle kernel paging request at
 d34bd000


* Linus Torvalds <torvalds@...ux-foundation.org> wrote:

> On Mon, Mar 10, 2014 at 1:19 PM, Linus Torvalds
> <torvalds@...ux-foundation.org> wrote:
> >
> > If the only immediate problem is the code generation size, then Andy
> > already had a (simpler) hack-around:
> >
> >   #undef CONFIG_OPTIMIZE_INLINING
> >   #undef CONFIG_X86_PPRO_FENCE
> >
> > in vclock_gettime.c
> 
> Btw, we should seriously consider getting rid of CONFIG_X86_PPRO_FENCE.
> 
> It was of questionable value to begin with, and I think that the
> actual PPro bug is about one of
> 
>  - Errata 66, "Delayed line invalidation".
>  - Errata 92, "Potential loss of data coherency"
> 
> both of which affect all PPro versions afaik (there is also a UP 
> errata 51 wrt ordering of cached and uncached accesses that was 
> fixed in the sB1 stepping).
>
> And as far as I know, we have never actually seen the bug in real 
> life, EVEN WHEN PPRO WAS COMMON. The workaround was always based on 
> knowledge of the errata afaik.

I'm not aware of any active PPro testers either. Even P4 feedback has 
become very rare. New systems have become so cheap and so fast, and 
energy use an issue, that there's very little upside left to using old 
CPUs, other than the vintage thrill factor.

But ... when PPro was common our parallelization sucked, so I'd not be 
surprised if it triggered more frequently with a modern kernel.

Still I agree that it most likely does not matter:

> So I do think we might want to consider retiring that config option 
> entirely as a "historical oddity".

Ack.

> And very much so for the vdso case. Do we even do the asm 
> alternative fixups for the vdso?
> 
> I also suspect we should get rid of CONFIG_X86_OOSTORE, or at least 
> limit it to !SMP - I don't think anybody ever made SMP systems with 
> those IDT/Centaur Winchip chips in them.

Yeah.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ