mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: linux-kernel@vger.kernel.org,
	the arch/x86 maintainers <x86@kernel.org>,
	Arjan van de Ven <arjan@infradead.org>,
	Yinghai Lu <yhlu.kernel@gmail.com>
Subject: [bug] PCI hotplug, ibmphp_access_ebda: WARNING: at arch/x86/mm/ioremap.c:182 __ioremap_caller+0x2d1/0x340()
Date: Sat, 26 Jul 2008 15:15:12 +0200	[thread overview]
Message-ID: <20080726131512.GA29472@elte.hu> (raw)


FYI, -tip testing triggered the new warning below on a testbox. I 
suspect it's related to recent commits in drivers/pci/hotplug/.
I'm wondering, why does a driver map the EBDA? That's a really lowlevel 
thing.

	Ingo

---------------->
calling  pci_hotplug_init+0x0/0x60
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
initcall pci_hotplug_init+0x0/0x60 returned 0 after 4 msecs
calling  ibmphp_init+0x0/0x6d0
ibmphpd: IBM Hot Plug PCI Controller Driver version: 0.6
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:182 __ioremap_caller+0x2d1/0x340()
Pid: 1, comm: swapper Not tainted 2.6.26-tip #6
 [<c1028acf>] warn_on_slowpath+0x4f/0x80
 [<c1048ae0>] ? mark_held_locks+0x40/0x80
 [<c100fa64>] ? xapic_wait_icr_idle+0x14/0x20
 [<c100f47e>] ? __send_IPI_shortcut+0x3e/0x50
 [<c1001723>] ? send_IPI_allbutself+0x33/0x70
 [<c1048d0b>] ? trace_hardirqs_on+0xb/0x10
 [<c100f26e>] ? native_send_call_func_ipi+0x4e/0x60
 [<c104d1d4>] ? smp_call_function_mask+0xd4/0x150
 [<c100f730>] ? do_flush_tlb_all+0x0/0x60
 [<c100f730>] ? do_flush_tlb_all+0x0/0x60
 [<c1048ae0>] ? mark_held_locks+0x40/0x80
 [<c1048d0b>] ? trace_hardirqs_on+0xb/0x10
 [<c100f730>] ? do_flush_tlb_all+0x0/0x60
 [<c10145b1>] __ioremap_caller+0x2d1/0x340
 [<c1048d0b>] ? trace_hardirqs_on+0xb/0x10
 [<c1048c7d>] ? trace_hardirqs_on_caller+0xbd/0x140
 [<c16fa84d>] ? _write_unlock+0x1d/0x20
 [<c1a9f016>] ? ibmphp_access_ebda+0x66/0xc70
 [<c101475a>] ioremap_nocache+0x1a/0x20
 [<c1a9f016>] ? ibmphp_access_ebda+0x66/0xc70
 [<c1a9f016>] ibmphp_access_ebda+0x66/0xc70
 [<c1044392>] ? debug_mutex_init+0x32/0x50
 [<c1047005>] ? lockdep_init_map+0x35/0x100
 [<c103d4f3>] ? __mutex_init+0x43/0x60
 [<c1aa0fe9>] ? ibmphp_hpc_initvars+0x139/0x1a0
 [<c1a9d4f9>] ibmphp_init+0x99/0x6d0
 [<c103df39>] ? ktime_get+0x19/0x40
 [<c1001190>] do_one_initcall+0x30/0x170
 [<c1a9d460>] ? ibmphp_init+0x0/0x6d0
 [<c1048d0b>] ? trace_hardirqs_on+0xb/0x10
 [<c1037ab1>] ? __queue_work+0x31/0x40
 [<c1037b28>] ? queue_work_on+0x38/0x50
 [<c1a82cd8>] kernel_init+0x138/0x210
 [<c1a82ba0>] ? kernel_init+0x0/0x210
 [<c100474f>] kernel_thread_helper+0x7/0x18
 =======================
---[ end trace a7919e7f17c0a725 ]---
initcall ibmphp_init+0x0/0x6d0 returned -12 after 179 msecs
initcall ibmphp_init+0x0/0x6d0 returned with error code -12 
calling  zt5550_init+0x0/0xa0
cpcihp_zt5550: ZT5550 CompactPCI Hot Plug Driver version: 0.2
initcall zt5550_init+0x0/0xa0 returned 0 after 32 msecs
calling  shpcd_init+0x0/0x60
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
initcall shpcd_init+0x0/0x60 returned 0 after 6 msecs
calling  dummyphp_init+0x0/0xb0
fakephp: Fake PCI Hot Plug Controller Driver
pci_create_slot: created pci_slot on 0000:00:00
pci_create_slot: created pci_slot on 0000:00:01
pci_create_slot: created pci_slot on 0000:00:02
pci_create_slot: created pci_slot on 0000:00:1e
pci_create_slot: created pci_slot on 0000:00:1f
pci_create_slot: created pci_slot on 0000:01:00
pci_create_slot: created pci_slot on 0000:02:1f
pci_create_slot: created pci_slot on 0000:03:00
pci_create_slot: created pci_slot on 0000:03:04
pci_create_slot: created pci_slot on 0000:04:03
pci_create_slot: created pci_slot on 0000:04:04
pci_create_slot: created pci_slot on 0000:04:07
initcall dummyphp_init+0x0/0xb0 returned 0 after 144 msecs
calling  platform_lcd_init+0x0/0x10
initcall platform_lcd_init+0x0/0x10 returned 0 after 2 msecs
calling  mbp_init+0x0/0x10
initcall mbp_init+0x0/0x10 returned -19 after 0 msecs
calling  cyber2000fb_init+0x0/0xc0
initcall cyber2000fb_init+0x0/0xc0 returned 0 after 2 msecs

             reply	other threads:[~2008-07-26 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-26 13:15 Ingo Molnar [this message]
2008-07-28 22:31 ` Jesse Barnes
2008-07-29  4:26   ` Greg KH
2008-07-31 11:29   ` Ingo Molnar

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=20080726131512.GA29472@elte.hu \
    --to=mingo@elte.hu \
    --cc=arjan@infradead.org \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    --cc=yhlu.kernel@gmail.com \
    /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

Powered by JetHome