Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757434Ab0KAMkH (ORCPT ); Mon, 1 Nov 2010 08:40:07 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:57092 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755755Ab0KAMkE (ORCPT ); Mon, 1 Nov 2010 08:40:04 -0400 Message-ID: <4CCEB51C.7010901@web.de> Date: Mon, 01 Nov 2010 13:39:56 +0100 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Don Zickus CC: Ingo Molnar , Peter Zijlstra , Cyrill Gorcunov , Eric Paris , Randy Dunlap , Frederic Weisbecker , Linux Kernel Mailing List Subject: BUG: using smp_processor_id() in preemptible arch_trigger_all_cpu_backtrace_handler X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig530381DD8DB381088D0472C6" X-Provags-ID: V01U2FsdGVkX18veHIWvvSBi7+nlgdNbkINstZhqJ7rNhu0XhCe IYVxzcnuR3FzI7jzE194z6YAkQ7fEaOYg/W2+ChXzUCU1WJa+N bh2pJXYOU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2985 Lines: 72 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig530381DD8DB381088D0472C6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi, I was getting this BUG while running into a GPF: BUG: using smp_processor_id() in preemptible [00000000] code: qemu-system= -x86/2248 caller is arch_trigger_all_cpu_backtrace_handler+0x1d/0xf7 Pid: 2248, comm: qemu-system-x86 Not tainted 2.6.36+ #12 Call Trace: [] debug_smp_processor_id+0xd8/0xf4 [] arch_trigger_all_cpu_backtrace_handler+0x1d/0xf7 [] notifier_call_chain+0xa4/0xdb [] __atomic_notifier_call_chain+0x63/0x95 [] ? __atomic_notifier_call_chain+0x0/0x95 [] ? sub_preempt_count+0x97/0xaa [] ? pfn_to_dma_pte+0x73/0x190 [] atomic_notifier_call_chain+0x14/0x16 [] notify_die+0x2e/0x30 [] do_general_protection+0x121/0x142 [] ? irq_return+0x0/0xc [] general_protection+0x25/0x30 [] ? pfn_to_dma_pte+0x73/0x190 [] ? pfn_to_dma_pte+0x142/0x190 [] intel_iommu_iova_to_phys+0x15/0x2a [] iommu_iova_to_phys+0x13/0x15 [] kvm_iommu_map_pages+0x77/0x194 [kvm] [] ? __vmalloc_node+0x86/0x9b [] __kvm_set_memory_region+0x4e5/0x787 [kvm] [] ? mark_held_locks+0x50/0x72 [] ? mutex_lock_nested+0x325/0x34d [] kvm_set_memory_region+0x37/0x50 [kvm] [] kvm_vm_ioctl_set_memory_region+0x18/0x1a [kvm] [] kvm_vm_ioctl+0x22d/0x3b1 [kvm] [] ? fget_light+0x17b/0x31f [] do_vfs_ioctl+0x4c6/0x507 [] ? fget_light+0x303/0x31f [] ? fget_light+0x17b/0x31f [] ? retint_swapgs+0x13/0x1b [] sys_ioctl+0x56/0x7c [] system_call_fastpath+0x16/0x1b I guess this is not intended to trigger here, specifically as it showed up first and may be misinterpreted as the core of the issue. Jan --------------enig530381DD8DB381088D0472C6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkzOtSEACgkQitSsb3rl5xRf0QCgyRCabhCE513+t97hklkaLJ+T tcUAoJ0gTJScQu1yBlgRakBvlRnle+98 =LHz7 -----END PGP SIGNATURE----- --------------enig530381DD8DB381088D0472C6-- -- 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/