All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [git pull] PCI fixes
Date: Tue, 16 Nov 2010 12:16:36 +0100	[thread overview]
Message-ID: <m28w0tzffv.fsf@whitebox.home> (raw)
In-Reply-To: <20101115094527.49464ed2@jbarnes-desktop> (Jesse Barnes's message of "Mon, 15 Nov 2010 09:45:27 -0800")

Jesse Barnes <jbarnes@virtuousgeek.org> writes:

> Martin Wilck (1):
>       PCI: fix size checks for mmap() on /proc/bus/pci files

That breaks X.

process "X" tried to map 0x00010000 bytes at page 0x00000000 on 0000:00:10.0 BAR 2 (start 0x        90000000, size 0x           10000)
------------[ cut here ]------------
WARNING: at drivers/pci/pci-sysfs.c:758
Modules linked in: usb_storage uas uinput cpufreq_conservative rfcomm cpufreq_userspace cpufreq_powersave sco bridge stp llc bnep l2cap crc16 snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device tun nf_conntrack_ipv6 nf_defrag_ipv6 ip6t_REJECT ip6t_LOG ip6table_filter ip6_tables xt_TCPMSS xt_recent ipt_MASQUERADE xt_state ipt_REJECT ipt_LOG xt_tcpudp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables loop dm_mod btusb bluetooth arc4 snd_aoa_codec_tas ecb snd_aoa_fabric_layout snd_aoa snd_aoa_i2sbus snd_pcm b43 joydev mac80211 snd_timer snd_page_alloc firewire_ohci appletouch snd soundcore cfg80211 sungem sungem_phy firewire_core rfkill sr_mod crc_itu_t sg snd_aoa_soundbus ssb cdrom sd_mod pata_macio libata scsi_mod
NIP: c0177b10 LR: c0177b10 CTR: 00000001
REGS: c2461d90 TRAP: 0700   Tainted: G        W    (2.6.37-rc2)
MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 20000824  XER: 20000000
TASK = c2568d00[2009] 'X' THREAD: c2460000
GPR00: c0177b10 c2461e40 c2568d00 0000008a 00006a86 ffffffff c055fb36 c055febc 
GPR08: 000069fe c0440000 c055febc c2461e00 ffffffff 1022e9e4 10226a14 00000000 
GPR16: 103eadc0 00000000 00000001 1022bf1c ef136688 00000000 ffffffea 00000001 
GPR24: 00000000 00000000 00000000 00010000 ef806d68 ef136688 00000002 ef806c38 
NIP [c0177b10] pci_mmap_resource+0xf0/0x174
LR [c0177b10] pci_mmap_resource+0xf0/0x174
Call Trace:
[c2461e40] [c0177b10] pci_mmap_resource+0xf0/0x174 (unreliable)
[c2461e80] [c00f7514] mmap+0x74/0xfc
[c2461eb0] [c008e3e4] mmap_region+0x1e4/0x3bc
[c2461f00] [c008e93c] sys_mmap_pgoff+0xa4/0xe0
[c2461f30] [c00060a0] sys_mmap+0x28/0x40
[c2461f40] [c0010bc4] ret_from_syscall+0x0/0x40
--- Exception: c01 at 0xfa95f24
    LR = 0xfd897c8
Instruction dump:
3b400000 7fff0214 813f0134 38090001 7f6a0050 3c60c03d 7fc8f378 93410008 
39200000 3863bd36 9361000c 4819c31d <0fe00000> 3800ffea 48000070 7fc4f378 
---[ end trace a096109c06ace62c ]---

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2010-11-16 11:16 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 17:45 [git pull] PCI fixes Jesse Barnes
2010-11-16 11:16 ` Andreas Schwab [this message]
2010-11-16 11:23   ` Wolfram Sang
2010-11-16 17:00   ` Jesse Barnes
  -- strict thread matches above, loose matches on Subject: below --
2012-03-05 21:49 Jesse Barnes
2012-02-17 17:24 Jesse Barnes
2011-12-17 17:29 Jesse Barnes
2011-12-18  2:33 ` Yinghai Lu
2011-12-18  5:52   ` Jesse Barnes
2011-12-18 22:14     ` Linus Torvalds
2012-01-06 20:46       ` Jesse Barnes
2012-01-07  1:14         ` Yinghai Lu
2011-11-23 22:44 Jesse Barnes
2011-11-23 23:02 ` Linus Torvalds
2011-12-05 19:22   ` Jesse Barnes
2011-12-06  8:08     ` Kenji Kaneshige
2011-12-06 16:14       ` Linus Torvalds
2011-12-06 22:36         ` Yinghai Lu
2011-12-07  8:18           ` Kenji Kaneshige
2011-12-07 19:20             ` Yinghai Lu
2011-12-07  7:58         ` Kenji Kaneshige
2011-08-19 16:17 Jesse Barnes
2011-08-19 16:46 ` Greg KH
2011-08-19 17:12   ` Jesse Barnes
2011-08-19 17:19     ` Jesse Barnes
2011-06-23 20:37 Jesse Barnes
2011-06-24 15:38 ` Linus Torvalds
2011-06-24 15:53   ` Jesse Barnes
2011-06-24 16:07     ` Linus Torvalds
2011-06-24 16:11       ` Jesse Barnes
2011-06-24 22:56         ` Linus Torvalds
2011-06-25  0:00           ` Jesse Barnes
2011-06-25  0:17             ` Yinghai Lu
2011-06-28 17:02           ` Jesse Barnes
2011-06-29  1:04             ` Ram Pai
2011-03-25 17:22 Jesse Barnes
2010-12-17 23:29 Jesse Barnes
2010-08-31 15:49 Jesse Barnes
2010-06-09 22:53 Jesse Barnes
2010-06-09 23:14 ` Linus Torvalds
2010-06-10  0:20   ` Jesse Barnes
2010-06-11 21:02   ` Jesse Barnes
2010-06-11 21:02     ` Jesse Barnes
2010-04-29  3:14 Jesse Barnes
2010-04-23 20:37 Jesse Barnes
2010-03-26 23:33 Jesse Barnes
2010-01-29  0:25 Jesse Barnes
2010-01-07 22:34 Jesse Barnes
2009-12-28 16:10 Jesse Barnes
2009-11-11  8:12 Jesse Barnes
2009-10-12 17:32 Jesse Barnes
2009-08-10 17:30 Jesse Barnes
2009-07-06 18:00 Jesse Barnes
2009-06-06 20:32 Jesse Barnes
2009-05-15 22:09 Jesse Barnes
2009-04-27 18:54 Jesse Barnes
2009-04-07 18:00 Jesse Barnes
2009-02-26 22:24 Jesse Barnes
2009-02-26 22:36 ` Matthew Wilcox
2009-02-26 22:39   ` Jesse Barnes
2009-02-27  0:45 ` Jesse Barnes
2009-02-13 22:07 Jesse Barnes
2009-02-03  2:19 Jesse Barnes
2009-01-21 22:00 Jesse Barnes
2008-12-19  1:30 Jesse Barnes
2008-11-13 20:50 Jesse Barnes
2008-11-07 17:00 Jesse Barnes
2008-09-23 19:14 Jesse Barnes
2008-09-13  0:02 Jesse Barnes
2008-08-25 17:07 Jesse Barnes
2008-08-19 17:03 Jesse Barnes
2008-08-11 17:27 Jesse Barnes
2008-07-07 22:34 Jesse Barnes
2008-06-14 20:23 Jesse Barnes
2008-06-14 20:29 ` Rafael J. Wysocki
2008-06-06 18:26 Jesse Barnes
2008-06-06 22:04 ` Jeff Garzik
2008-06-06 22:16   ` Jesse Barnes
2008-05-27 22:55 Jesse Barnes
2008-05-20 17:51 Jesse Barnes
2008-05-13 17:42 Jesse Barnes

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=m28w0tzffv.fsf@whitebox.home \
    --to=schwab@linux-m68k.org \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.