News for hackers. Stuff that matters.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wbl on Sunday June 25, 2017 @11:18AM (#14630376)
CPU manufacturers do do huge amounts of testing, and Intel does formal verification of some functional units. The reliability is far better than most software, in part because making a new release costs billions.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by davidmr on Sunday June 25, 2017 @12:23PM (#14630754)
In my limited experience, their root cause analyses are really impressive as well with lots of internal attention and resources. I'm not allowed to talk about any Intel issues, but we reported a very strange issue to Nvidia, sent a couple of dozen cards back and six months later got a truly fascinating report back we with hundreds of pages of compute test result tables and electron microscope images and chemistry lab reports. Anything that hints of a manufacturing problem is taken incredibly seriously.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by baruch on Sunday June 25, 2017 @02:23PM (#14631361)
I worked for a large company that used thousands of Intel CPUs every year and when we suspected a CPU bug we were mostly brushed off. We had a very persistent person on the team who kept tracking the issue to find correlations and some very good kernel developers that went on to nearly pin-point the issue and only then did Intel pay attention and it then took them still several months to acknowledge the issue give a brief report on the issue and acknowledge that our proposed workaround will indeed work.

I've never seen Intel do a very good job at failure analysis or following on with failures unless prodded very hard.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by magila on Sunday June 25, 2017 @03:16PM (#14631626)
Intel likely has very thorough data on the issue, but you'll never see it unless you are one of their tier 1 customers* and have an NDA with them. In my experience working for a large hardware manufacturer they are very skittish about releasing detailed failure analysis data to outside companies.

* For Intel that would be companies like Dell, Apple, HP, and maybe a couple of others.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by Sharlin on Sunday June 25, 2017 @03:05PM (#14631571)
To be fair, I don't even want to think about the amount of spurious bug reports they are probably receiving.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by efraim on Sunday June 25, 2017 @09:16PM (#14633291)
Here's a video of a tour of Nvidia's lab: https://www.youtube.com/watch?v=pRz_CG3DZb4
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by qb45 on Monday June 26, 2017 @10:37AM (#14637115)
That's a nice lab. You could try to submit this to the front page.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by dboreham on Sunday June 25, 2017 @03:09PM (#14631589)
This is because once upon a time people were put in jail for not doing that (when the customer was the DoD).
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by ploxiln on Sunday June 25, 2017 @12:32PM (#14630806)
That's absolutely true. When it comes to CPU/memory, skilled software engineers always think, "it must be my bug, it always is".

So in that super rare case of actually running into a CPU defect, it's a mindfuck, it'll drive you crazy. You'll be looking for the flaw in your algorithm which makes it fail once a week under production load. But you just can't find it, it makes no sense ...

(When it comes to drivers for network/storage/graphics etc devices, it's a whole different story. Those things are piles of bugs that need work-arounds in drivers.)

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by Cerium on Sunday June 25, 2017 @02:03PM (#14631273)
A little anecdote describing one such bug. I didn't find this, another one of my teammates did.

The symptom was that a board with a specific microcontroller on it would be working fine, then after a power cycle it might not keep working. A flash dump would show that the reset vector, the first byte of flash on that system, would be all zeroed out. Of course the system would not run anymore, but why did it happen? After months of intermittent debugging and trying to reproduce the cause was determined. At least under certain conditions the brownout detection level was lower than the voltage level that caused the CPU to make errors. If the board lost power slowly then the CPU would start executing corrupted / arbitrary instructions which generally included lots of zeros. It would occasionally write zeros to the zero address, bricking the board.

Since then we have external power monitoring and reset circuits on all the new boards, but existing ones needed a fix. Luckily the board had power failure interrupt connected, so when that triggers we reconfigure the CPU to execute on the slowest possible clock rate, which greatly reduced the occurrence.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by DamonHD on Sunday June 25, 2017 @02:59PM (#14631544)
Yes, we have seen similar in AVRs (328p) where the lowest voltage brownout threshold/trip is not enough to prevent the EEPROM and/or Flash from getting corrupted somehow...
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by justsid on Sunday June 25, 2017 @01:31PM (#14631118)
Similarly: Kernel bugs! Once upon a time I spend a good week trying to reproduce a rare crash one of our users saw ever so often (just enough to get our attention, but not enough to get a repro case). Stack traces made no sense and just in general the whole crash made no sense the more I looked at it. Turns out it was a bug in XNUs pthread subsystem, a part where I would have never looked if it weren‘t for desperation, because, well, it‘s the kernel, it works, right?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wbl on Sunday June 25, 2017 @04:14PM (#14631922)
Emacs would regularly panic the kernel on one OS X version when I opened preview to look at a pdf and had TeX recompile.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by inferiorhuman on Sunday June 25, 2017 @06:08PM (#14632481)
The DVD player on OSX with a MacBook (polycarbonate ones) would occasionally cause a kernel panic if you had 4GB of RAM installed.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by digi_owl on Sunday June 25, 2017 @01:44PM (#14631185)
Or at least should have been long since spotted thanks to use and abuse.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by digi_owl on Sunday June 25, 2017 @01:51PM (#14631219)
You have some lovely stories online about these things. Like the guy tracking down a stuck bit in RAM.

Or on the network level, a VPN that failed only when traversing one possible route between company offices.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by thoughtsimple on Sunday June 25, 2017 @02:05PM (#14631286)
I have a very old one. I was working on a embedded system using an Intel 80186. The ‘186 had a memory mapped IO system that was very unusual for Intel x86 CPUs. The code that I started with was originally written by a bunch of Motorola 68000 guys so they used this mode. I had to modify the interrupt structure so I rewrote the interrupt service routines. Since it was memory mapped and ANDs were documented to be atomic, I assumed that I could just AND bits into the interrupt mask register. Big mistake. It turned out that ANDs to the IO registers were not atomic. And could be interrupted in the middle of the write after read. I took me about a month to realize that this was a hardware “bug” and not in my interrupt code. Drove me nuts.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by chiph on Sunday June 25, 2017 @08:20PM (#14633028)
These problems have existed for years - I once tracked down a dead cell in core memory on a system I worked on in the Air Force. Because of the chance alignment, it caused incoming messages to never "end". Which was fun for the operators.

http://www.1882nd.com/images/DSTE.jpg

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by heisenbit on Sunday June 25, 2017 @11:35AM (#14630464)
It may be far better than average software quality but far more also relies on it. The question is whether the quality is adequate in light of what is at stake.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by lorenzhs on Sunday June 25, 2017 @11:38AM (#14630484)
Really? How is it different from a kernel bug that causes random behaviour? Both apparently can be fixed with a software update. They're both bad, but why should Intel be held to a higher standard if mitigation is similarly complex?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wav-part on Sunday June 25, 2017 @12:10PM (#14630677)
Because futher down the stack, more reliable a tech has to be. Otherwise good luck debugging. Also agree with heisenbit.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by justinclift on Sunday June 25, 2017 @12:32PM (#14630805)
Hmmm... on that note, if the universe is a simulation, then a bug in that could have some interesting ramifications.

"Don't use the bookshelf over there, physics is broken on that shiny spot." :D

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by krylon on Monday June 26, 2017 @08:07AM (#14636071)
// FIXME Trying to read both the position and the momentum of a particle reliably crashes the simulation.

// Workaround: Make the accessor method return fuzzy values for either of those values.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by roywiggins on Sunday June 25, 2017 @01:22PM (#14631070)
The problem with finding a physics bug is that it's liable to be amplifiable. Break conservation laws just a little bit and suddenly you have potential for exponential runaway leading to an unplanned reality excursion, and say goodbye to your light-cone.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by justinclift on Sunday June 25, 2017 @01:34PM (#14631129)
Well, by definition the behaviour would be undefined so could go any which way. ;)

Modern day VM software has various levels of exception checking, and code to catch/mitigate/etc when bugs crop up.

So, a universe-capable simulator might have any kind of behaviour if/when a bug occurs. It doesn't need to be an unbounded, runaway scenario. :)

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by rbanffy on Sunday June 25, 2017 @06:48PM (#14632663)
And, if a very bad reality excursion happens, you scrap that branch and restore the last checkpoint. Nobody inside the simulation will ever remember it. You only bother fixing it if halt/scrap/restore becomes a burden.

It probably happens more often than we imagine ;-)

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wolfgke on Monday June 26, 2017 @07:14AM (#14635819)
> Hmmm... on that note, if the universe is a simulation, then a bug in that could have some interesting ramifications.

> "Don't use the bookshelf over there, physics is broken on that shiny spot." :D

You know "The Animatrix - Beyond"?

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by justinclift on Monday June 26, 2017 @11:55AM (#14637741)
Nope, just looked it up though:

https://en.wikipedia.org/wiki/The_Animatrix#.22Beyond.22

Seems like the same kind of concept. :)

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by qubex on Sunday June 25, 2017 @02:01PM (#14631263)
I don't know why you were downvoted. I find this hilarious and thought-provoking.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by dmead on Sunday June 25, 2017 @01:09PM (#14630998)
IIRC wasn't there some blog posts about how intel has cut their verification/QA drastically since 2010? is this the result?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by userbinator on Sunday June 25, 2017 @01:20PM (#14631049)
Although it mentions 2015, I think that might be the one I linked in my original post above: http://danluu.com/cpu-bugs/
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by gcb0 on Sunday June 25, 2017 @01:35PM (#14631137)
releasing cpu micro code to work around bugs is very cheap.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by CountSessine on Sunday June 25, 2017 @01:47PM (#14631200)
But that doesn't mean you necessarily get to keep the affected feature - the only 'work-around' might be to disable it. Consider TSX on Haswell and Broadwell, where Intel had to disable the whole feature because of a bug. And of course there was the 486 FP bug which couldn't be fixed by any kind of microcode update.

If Intel had to completely disable hyperthreading in Skylake and Kabylake that would make the premium anyone paid for i5 vs i7 worthless.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by gcb0 on Sunday June 25, 2017 @01:52PM (#14631224)
you mean i3 and i7.

despite what cpuinfo tells you, no HT in i5.

and my previous comment was ironic :)

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by CountSessine on Sunday June 25, 2017 @03:02PM (#14631555)
But if you don't have HT in your i7, you basically have an i5 that you paid more than you needed for.

Or has that changed? At one point, i7 was full-featured, i5 was an i7 with HT disabled, and i3 was i7 with HT intact but smaller caches. Is that different with Skylake/Kabylake?

and my previous comment was ironic :)

Ack - sorry. I must be irony-impaired. That's why I don't post very often. :-)

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by theandrewbailey on Monday June 26, 2017 @03:54PM (#14639789)
i3 also has half the cores.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by happycube on Sunday June 25, 2017 @06:37PM (#14632616)
Mobile dual-core lie5's have hyperthreading too.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by autokad on Sunday June 25, 2017 @12:13PM (#14630690)
i am more willing to accept software having bugs / failing. i have 0 tolerance for hardware to have bugs
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by pshc on Sunday June 25, 2017 @12:17PM (#14630721)
I wonder if there's a CPU out there that doesn't have bugs.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by userbinator on Sunday June 25, 2017 @12:36PM (#14630822)
It depends on how exactly you define a bug, but something like a 6502 or Z80, which has essentially all the errata well-documented since it has existed for so long, might qualify.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by DamonHD on Sunday June 25, 2017 @03:06PM (#14631580)
Z80 implementations for one had a whole slew of undocumented instructions, allegedly because they were buggy in some way.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by protomyth on Monday June 26, 2017 @07:33AM (#14635913)
The VIPER was built to be fully proven, but there was come debate on methodology.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by autokad on Sunday June 25, 2017 @01:11PM (#14631011)
stop playing lawyer ball. i'm talking about the bugs that require turning off core functionality (such as hyperthreading) and/or that lead to system halts / corrupted data.

yes it happens, but software bugs happen every day where as if your system blue screened every day you know dang well you'd be on the phone with the hardware vendor for a refund / new system.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by coldtea on Sunday June 25, 2017 @01:31PM (#14631120)
>yes it happens, but software bugs happen every day where as if your system blue screened every day you know dang well you'd be on the phone with the hardware vendor for a refund / new system.

Well, since hundreds of millions of people use Skylake/Kaby Lake CPUs for 2 years now, and only now we learn about this, obviously this is not of the "system blue screens every day" variety but a very rare bug.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by sqldba on Monday June 26, 2017 @12:35AM (#14634121)
> obviously this is not of the "system blue screens every day" variety but a very rare bug

Not to be anal but we can't know this.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by CJefferson on Sunday June 25, 2017 @01:43PM (#14631181)
How much more would you pay, or how much of a speed penalty would you take, for bug-free CPUs?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by baq on Sunday June 25, 2017 @12:14PM (#14630698)
nobody has, but it ain't easy.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wyager on Sunday June 25, 2017 @11:30AM (#14630442)
This seems like precisely the sort of thing that a competent manufacturer should rule out formally. Formal verification of individual FUs isn't exactly ambitious...

I think we're getting to levels of complexity where the process Intel uses, with lots of different QA and testing teams doing their best to look for bugs, just isn't going to cut it. We need formally verified models transformed step-by-verified-step all the way down to the silicon. It's already feasible, with free tools, to formally verify your high-level model (using e.g. LiquidHaskell) and then transform this to RTL (using e.g. Clash). With Intel's QA/testing budget, it's well within reach to A) verify the transformation steps and B) figure out how to close the performance gap between machine-generated (but maybe slower) and hand-rolled (faster, but evidently wrong) silicon.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by laydn on Sunday June 25, 2017 @02:24PM (#14631371)
I've done formal verification on several units of a microprocessor, and I can assure you, formal verification on individual FUs is very, very ambitious (think impossible) for a modern microprocessor.

For example, you can not possibly formally verify the fetcher unit on its own, because the state space that you need to cover for several cycles for all the module inputs and outputs is beyond the capability of any formal verification tool.

Typically, you run formal verification on sub-blocks of sub-blocks of FUs.

For this particular bug, it looks like multiple functional units are involved, so it might have been missed by formal verification.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wyager on Monday June 26, 2017 @01:13AM (#14634259)
> because the state space that you need to cover for several cycles for all the module inputs and outputs is beyond the capability of any formal verification tool.

Then use a proof methodology that doesn't require exhaustive enumeration. This objection is actually fairly alarming to me; perhaps there is a larger disconnect between industrial formal techniques for hardware and software than I thought. Strings also occupy a "large state space", but this obviously doesn't prevent us from doing formal verification on functions over strings.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by Confusion on Monday June 26, 2017 @04:04AM (#14634923)

  Then use a proof methodology that doesn't require exhaustive enumeration.
You may as well have said "then you use a magical tool that doesn't exist".

  Strings also occupy a "large state space", but this 
  obviously doesn't prevent us from doing formal 
  verification on functions over strings.
What is your reason to think this is 'obviously' the case?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wyager on Monday June 26, 2017 @07:46AM (#14635965)
> You may as well have said "then you use a magical tool that doesn't exist".

Ok, so what this tells me is that you're not aware of what modern verification techniques look like.

There's not really any one resource I can point you to, but take a look at these links. I've used these or similar technologies personally, but there are others I haven't used.

https://en.m.wikipedia.org/wiki/Intuitionistic_type_theory

https://en.m.wikipedia.org/wiki/Homotopy_type_theory

https://leanprover.github.io/about/

http://goto.ucsd.edu/~rjhala/liquid/liquid_types.pdf

> What is your reason to think this is 'obviously' the case?

Because I've done this, and anyone who claims to be familiar with formal methods should be at least passingly familiar with all the things I mentioned.

Even if you aren't, if you've ever heard of SAT (a fairly universal CS concept) you should at least be familiar with the idea that non-exhaustive proofs are a thing.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by Confusion on Monday June 26, 2017 @10:10AM (#14636910)

  Ok, so what this tells me is that you're not aware of what 
  modern verification techniques look like.
Well, techniques are not tools. I am asserting that it is quite probable that no practically useful tool exists to non-exhaustively verify the state space laydn wants to cover.

Notwithstanding your example that it's possible to non-exhaustively verify some functions on strings. There is a quite some distance between that to verifying just any function.

  Because I've done this,
Sure, but how does that make it obvious to laydn that his state space is coverable? And what makes it so obvious to you that his state space is coverable? After all, the 'largeness' can have different sources, including those that make non-exhaustive methods infeasible.

I think this may be an example of the disconnect between research and the industry. Researchers say things are solved when they have shown something is possible and published about it. They feel it's then up to the industry to extrapolate, while research moves on to exciting new and greener pastures. Meanwhile the industry thinks the results are too meager, thinks the extrapolation involves a lot of technical difficulties and generally is not willing to spend enough money on what they cannot see as anything but a longshot.

If you do any model checking at all, with tools like SPIN or TLA+, you are already in the state-of-the-art minority in industry.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by jlouis on Monday June 26, 2017 @09:25AM (#14636582)
I've had great success (in software) with randomized/probability based testing. You don't walk the full state space but generate subsets randomly to walk.

If done naively, it doesn't work because you are unlikely to hit the problematic bug. So you have to be clever: do not generate inputs uniformly! Generate those inputs which are really really nasty all the time. If you find a problem, then gradually simplify the case until you have reduced the complexity to something which can be understood.

With some experience for where former bugs tend to live, I've been able to remove lots of bugs from my software in edge cases via this method. (See "QuickCheck").

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by lorenzhs on Sunday June 25, 2017 @11:36AM (#14630467)
So it's okay for software to have bugs that get fixed (I think everybody here acknowledges that software will always have bugs), but Intel isn't allowed to have issues in their processors, even if they can fix them with a software (microcode) update?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by userbinator on Sunday June 25, 2017 @11:48AM (#14630550)
In general, people expect hardware to be far more bug-free than all the software which depends on it. I'm disgusted enough at the current trend of continuously releasing half-baked software and "updating" it to fix some of the bugs (while introducing new bugs in the process); and yet it seems to be spreading to hardware too. From the perspective of formal verification, buggy hardware is like an incorrect axiom.

but Intel isn't allowed to have issues in their processors, even if they can fix them with a software (microcode) update?

They could've caught and fixed this one with some more testing, before actually releasing. Formal verification isn't necessarily going to help, if it's a statistical type of defect --- thus the concept of wafer yield, and why dies manufactured from the exact same masks can behave completely differently with respect to the clock speeds attainable and voltages required.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by Cyph0n on Sunday June 25, 2017 @12:15PM (#14630710)
Formal verification cannot be used to fully verify an entire Intel CPU, simply because the computational resources required to do so are astronomical. Heck, the cache coherence unit alone is basically impossible to verify.

Therefore, CPU designers verify the important units (e.g., the ALU) independently of each other, and then try to verify their interaction. But a system level design verification check is simply not possible.

Obviously, faults that result from fabrication can still take place, so they are tested for using BIST and JTAG. Test coverage can be pretty high, but obviously not 100%.

As you can see, there are still a ton of places where hardware errors can seep through.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by lorenzhs on Sunday June 25, 2017 @12:12PM (#14630683)
Expectations of hardware are indeed higher than for software, but isn't it a valid trade-off for Intel to make as long as most of the issues can be fixed with a microcode update? On Windows, it's updated via Windows Update, and on most Linux distributions, a package exists for CPU microcode. Most users have an easy—if not automatic—way to obtain the updates.

I believe the main issue with formally verifying everything is that reasoning about parallel code is extremely hard and might well make the entire endeavour unattainable. It would be great to have formally verified CPUs, though.

> They could've caught and fixed this one with some more testing, before actually releasing.

Isn't this true of any bug?

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by sqldba on Monday June 26, 2017 @12:31AM (#14634107)
Windows update applies CPU patches?!

I know they did AMT but that was a special case and different.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by lorenzhs on Monday June 26, 2017 @07:55AM (#14636007)
Seems like they do when it fixes serious bugs, a quick search yields e.g. https://support.microsoft.com/en-us/help/3064209/june-2015-i... ("This update fixes several issues with Intel CPUs that could cause computer crashes or functions incorrectly.")
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by ComputerGuru on Sunday June 25, 2017 @02:19PM (#14631350)
If this "fix" ends up disabling HT, how can I get a refund not just for the CPU but for the $3k laptop I spec'd around it? Without needing to sue?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by lorenzhs on Sunday June 25, 2017 @04:38PM (#14632039)
That's just the workaround until a fix is available for your CPU, if I understood correctly.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by ComputerGuru on Sunday June 25, 2017 @05:17PM (#14632238)
No, that's not what I meant. In the past, Intel's microcode updates have simply disabled the broken functionality as an official solution.

http://techreport.com/news/26911/errata-prompts-intel-to-dis...

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by lorenzhs on Monday June 26, 2017 @07:57AM (#14636018)
You specifically said the fix might be to permanently disable HT.

The TSX situation was indeed unfortunate, I have one of the affected CPUs. But it was a new feature that was broken, not something that used to work, so the bug's impact was less serious, and disabling the feature didn't have too much of an impact.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by brianwawok on Sunday June 25, 2017 @04:58PM (#14632143)
Contact your laptop OEM.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by voltagex_ on Sunday June 25, 2017 @07:56PM (#14632934)
Have you ever had to do this?

The Dell XPS 9350 (Skylake) has numerous issues with GPU noise, USB-C compatibility, wifi reliability - Dell don't care unless your consumer laws are strong enough to make them care.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by brianwawok on Sunday June 25, 2017 @09:50PM (#14633460)
No but dell had a 30 day full refund policy. Did those bugs not start until day 31?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by voltagex_ on Sunday June 25, 2017 @10:14PM (#14633558)
TBH, everything was covered by warranty other than the coil whine and wifi - by sticking to one particular driver version you can avoid many of the wifi issues. Not everyone has had the USB-C problems and it's gotten a little better with the most recent updates.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by kutkloon7 on Sunday June 25, 2017 @01:50PM (#14631215)
Well, if a software bug leads to data corruption it is not really "allowed" as well. It is quite amazing that there are not more bugs like this. Intel spends an insane amount of money on very large teams of very smart people to work on these insanely complicated systems.

I don't think this is sustainable, and I think that massive arrays of relatively simple processors. First, we will need a culture shift that learns programmers to program concurrent programs from the start, and this will take a lot of time (because technology moves a lot faster than culture).

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by sqldba on Monday June 26, 2017 @12:27AM (#14634094)
It would be nice if they allowed users to update rather than vendors. I have a mobile Xeon. I don't know if it's affected or not.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by throwaway2048 on Sunday June 25, 2017 @12:11PM (#14630678)
There are hardware bugs that are impossible to fix in microcode. What then?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by baq on Sunday June 25, 2017 @12:15PM (#14630706)
you make workarounds in software, obviously.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by userbinator on Sunday June 25, 2017 @12:26PM (#14630773)
...or recall all the hardware and replace it:

https://en.wikipedia.org/wiki/Pentium_FDIV_bug

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by coldtea on Sunday June 25, 2017 @01:29PM (#14631107)
There will always be. What then? We stop producing cpus and wait for some magical new technology that prevents all bugs?
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by throwaway2048 on Sunday June 25, 2017 @01:40PM (#14631168)
Its why you can't treat hardware bugs and dismiss them flippantly like software ones.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by AsyncAwait on Sunday June 25, 2017 @11:49AM (#14630553)
It's funny, since many of today's software bugs are due to the legacy of C, faults of which can often times be attributed to mimicking the behaviour CPU hardware too closely.

EDIT: My wording was poor, but what I meant was that it's not like hardware vendors do not make bugs happen due to deficiencies in their design, which are not only tolerated, but often reflected in software, which runs counter to OP saying that apparently hardware vendors are not allowed to have bugs, but the software ones are:

> So it's okay for software to have bugs that get fixed (I think everybody here acknowledges that software will always have bugs), but Intel isn't allowed to have issues in their processors

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by blahman2 on Sunday June 25, 2017 @12:13PM (#14630692)
Go back to rust-land now :D
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by AsyncAwait on Sunday June 25, 2017 @12:30PM (#14630793)
It was meant as a response to OP basically saying that hardware vendors make way fewer bugs that the software ones, which is true, but many bugs of software can arguably be attributed to hardware design, so it's not like they're without fault. Rust has nothing to do with it, not sure why even bring it up.
Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by blahman2 on Sunday June 25, 2017 @12:57PM (#14630936)
I get it - sorry, meant to playfully Sunday afternoon troll you.

Ever since I moved from C to Java (I like low level stuff but the company I joined is such) I have been having one of three major problems - logic bugs, too many frameworks, causing bugs due to lack of in depth understanding of each one of them, and GC bottlenecks. Of all of them, I hate the GC ones the most.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by bsder on Sunday June 25, 2017 @05:39PM (#14632344)
Formal verification of a decode unit simply will never happen. The complexity is far too high.

Formally verifying something like a multiplier block is difficult but doable if you care. Formally verifying an FPU is probably at about the limit.

If you want formal verification, you would have to simplify a modern microprocessor a lot.

Re:Intel Skylake/Kaby Lake processors: broken hyper-threading by wyager on Monday June 26, 2017 @01:33AM (#14634328)
That's the whole point of doing a provably correct transformation from a simpler model domain. Even complicated OOOE engines are fairly tractable if you don't try to implement them at an RTL level...

Perhaps we are imagining different formal verification methodologies. Can you tell me what kind of formal verification you're referring to?