2008-10-02 13:59:19

by Dmitry Adamushko

[permalink] [raw]
Subject: Re: sleeping function called from invalid context at kernel/mutex.c

[ cc'd: lkml ]

On 02/10/2008, Dmitry Adamushko <[email protected]> wrote:
> On 02/10/2008, Ingo Molnar <[email protected]> wrote:
> >
> > * Peter Oruba <[email protected]> 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


2008-10-02 14:01:33

by Dmitry Adamushko

[permalink] [raw]
Subject: Re: sleeping function called from invalid context at kernel/mutex.c

err... I appologize for spamming. I've forgot to attach the fix.

>
>
> On 02/10/2008, Dmitry Adamushko <[email protected]> wrote:
> > On 02/10/2008, Ingo Molnar <[email protected]> wrote:
> > >
> > > * Peter Oruba <[email protected]> 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


Attachments:
(No filename) (782.00 B)
ucode-fix.patch (1.48 kB)
Download all attachments

2008-10-02 15:53:20

by Ingo Molnar

[permalink] [raw]
Subject: Re: sleeping function called from invalid context at kernel/mutex.c


* Dmitry Adamushko <[email protected]> wrote:

> > Right, I've been looking at the wrong tree. Please find the fix
> > enclosed. Compiles ok, shouldn't break anything else.

applied to tip/x86/microcode, thanks Dmitry!

Ingo