Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754827AbYJBOBd (ORCPT ); Thu, 2 Oct 2008 10:01:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753823AbYJBOBZ (ORCPT ); Thu, 2 Oct 2008 10:01:25 -0400 Received: from mail-gx0-f16.google.com ([209.85.217.16]:52374 "EHLO mail-gx0-f16.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbYJBOBY (ORCPT ); Thu, 2 Oct 2008 10:01:24 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=j7vvnLmNZ0ocyBby53uSwPxicuXV7kH8ZCaiI9bE0oOLLSkzp3GvsValV/Dulqo5s9 ZswxsG4IpkVbJp4k+NwZAZEYXgucV5K4eBrvymniXJmZJUk3OgF9wrIpzIR6z0zD2FaB IIKadlMEBJt6xQVbX+v/YbWExjlIIxcIocxfw= Message-ID: Date: Thu, 2 Oct 2008 17:01:22 +0300 From: "Dmitry Adamushko" To: "Ingo Molnar" Subject: Re: sleeping function called from invalid context at kernel/mutex.c Cc: "Peter Oruba" , "Sitsofe Wheeler" , "Rafael J. Wysocki" , "Andrew Morton" , linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4727_11034263.1222956082621" References: <48E25B25.10408@yahoo.com> <20081001071004.GA9366@elte.hu> <48E4882E.5000100@amd.com> <20081002085529.GB3550@elte.hu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3496 Lines: 80 ------=_Part_4727_11034263.1222956082621 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline err... I appologize for spamming. I've forgot to attach the fix. > > > On 02/10/2008, Dmitry Adamushko wrote: > > On 02/10/2008, Ingo Molnar wrote: > > > > > > * Peter Oruba wrote: > > > > > > > microcode_update_cpu() is still there, being called from > > > > microcode_init_cpu() and mc_sysdev_resume(). > > > > > > > > > ah, microcode_update_cpu, not update_microcode_cpu. So yes, the problem > > > is still there with the latest code. > > > > Right, I've been looking at the wrong tree. Please find the fix > enclosed. Compiles ok, shouldn't break anything else. > > > > > Ingo > > > > > > -- > Best regards, > Dmitry Adamushko > -- Best regards, Dmitry Adamushko ------=_Part_4727_11034263.1222956082621 Content-Type: application/octet-stream; name=ucode-fix.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fltgfscn Content-Disposition: attachment; filename=ucode-fix.patch ClN1YmplY3Q6IHg4Ni1taWNyb2NvZGU6IHVwZGF0ZSBsb2NraW5nIHNjaGVtZQoKRml4IHRoZSBm b2xsb3dpbmcgInNsZWVwaW5nIGZ1bmN0aW9uIGNhbGxlZCBmcm9tIGludmFsaWQgY29udGV4dCIg d2FybmluZzoKCi4uLgpfX21pZ2h0X3NsZWVwCm11dGV4X2xvY2tfbmVzdGVkCm1pY3JvY29kZV91 cGRhdGVfY3B1Cm1jX3N5c2Rldl9yZXN1bWUKX19zeXNkZXZfcmVzdW1lCnN5c2Rldl9yZXN1bWUK ZGV2aWNlX3Bvd2VyX3VwCi4uLgoKU2lnbmVkLW9mZi1ieTogRG1pdHJ5IEFkYW11c2hrbyA8ZG1p dHJ5LmFkYW11c2hrb0BnbWFpbC5jb20+CgpkaWZmIC0tZ2l0IGEvYXJjaC94ODYva2VybmVsL21p Y3JvY29kZV9jb3JlLmMgYi9hcmNoL3g4Ni9rZXJuZWwvbWljcm9jb2RlX2NvcmUuYwppbmRleCA4 ZGIyZWI1Li45MzZkOGQ1IDEwMDY0NAotLS0gYS9hcmNoL3g4Ni9rZXJuZWwvbWljcm9jb2RlX2Nv cmUuYworKysgYi9hcmNoL3g4Ni9rZXJuZWwvbWljcm9jb2RlX2NvcmUuYwpAQCAtMzI0LDEwICsz MjQsNiBAQCB2b2lkIG1pY3JvY29kZV91cGRhd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09OKHJhd19zbXBfcHJvY2Vzc29yX2lkKCkg IT0gY3B1KTsKKworCW11dGV4X2xvY2soJm1pY3JvY29kZV9tdXRleCk7CiAJbWljcm9jb2RlX3Vw ZGF0ZV9jcHUoY3B1KTsKKwltdXRleF91bmxvY2soJm1pY3JvY29kZV9tdXRleCk7CisKIAlzZXRf Y3B1c19hbGxvd2VkX3B0cihjdXJyZW50LCAmb2xkKTsKIH0KIAo= ------=_Part_4727_11034263.1222956082621-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/