Messages in this thread |  | | | Date | Fri, 13 Jan 2012 21:15:29 -0800 | | Subject | Re: x86/mce: machine check warning during poweroff | | From | Tony Luck <> |
| |
On Fri, Jan 13, 2012 at 7:10 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > Fair enough. The many layers of clever indirection are really really > nasty to follow, I agree.
You could cheat and bisect (not git bisect, numerical bisect). We know that:
memset(&dev->kobj, 0, sizeof(struct kobject));
is not enough. And that:
memset(dev, 0, sizeof(struct device));
works. The kobject is near the beginning of struct device. So try clearing all the other bits from start of struct device up to "kobj" ... if that doesn't help, then play with clearing various sized chunks after. Should be able to zoom in on the culprit field ... then go look at the code.
-Tony
|  |