MTRR driver model support broken on SMP.

From: Nigel Cunningham
Date: Tue Aug 03 2004 - 21:31:56 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/