The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@linuxmail.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: MTRR driver model support broken on SMP.
Date: Wed, 04 Aug 2004 12:07:21 +1000	[thread overview]
Message-ID: <1091585241.3303.6.camel@laptop.cunninghams> (raw)

Hi all.

MTRR driver support is broken on SMP because it calls smp functions with
interrupts disabled, but interrupts should be disabled because it is
called via device_power_up.

Badness in smp_call_function at arch/i386/kernel/smp.c:565
 [<c0107f88>] dump_stack+0x1e/0x20
 [<c0116927>] smp_call_function+0x12b/0x137
 [<c011063f>] set_mtrr+0x67/0x121
 [<c0110c9b>] mtrr_restore+0x4f/0x73
 [<c0219c0f>] sysdev_resume+0x6f/0xf0
 [<c021d591>] device_power_up+0x8/0xf
 [<f882d6f9>] suspend_drivers_resume+0x1a/0x49 [suspend_core]
 [<f882e2ea>] do_suspend2_resume_2+0xf6/0x11d [suspend_core]
 [<c02577f6>] do_suspend2_lowlevel+0x716/0x71c
 [<f882dd6d>] save_image+0x1b8/0x252 [suspend_core]
 [<f882f357>] do_activate+0x934/0x973 [suspend_core]
 [<c013cf83>] software_suspend_pending+0x75/0x77
 [<c013cfdc>] proc_software_suspend_pending+0x8/0xd
 [<c0191fc9>] proc_file_write+0x3b/0x3d
 [<c015fe3a>] vfs_write+0xa2/0x10e
 [<c015ff42>] sys_write+0x3f/0x5d
 [<c01070e1>] sysenter_past_esp+0x52/0x71

Regards,

Nigel


             reply	other threads:[~2004-08-04  2:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04  2:07 Nigel Cunningham [this message]
2004-08-04  5:23 ` MTRR driver model support broken on SMP Zwane Mwaikambo
2004-08-04  5:22   ` Nigel Cunningham
2004-08-04  5:31     ` Zwane Mwaikambo
2004-08-04  5:31       ` Nigel Cunningham
2004-08-04 21:15         ` Zwane Mwaikambo
2004-08-04 22:24           ` Nigel Cunningham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1091585241.3303.6.camel@laptop.cunninghams \
    --to=ncunningham@linuxmail.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox