Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363188

Question about PCI I/O space in ARM64

From Kefeng Wang <wangkefeng.wang@huawei.com>
Newsgroups linux.kernel
Subject Question about PCI I/O space in ARM64
Date 2016-03-23 04:20 +0100
Message-ID <rfHuV-5OI-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi all,

If no pci, the PCI I/O space(16M) is mapped into an irrelevant mem space(right ?), not a right IO space,
that is, no one call pci_remap_iospace() to remap the memory mapped I/O space, once driver
like f71805f loaded, write value to IO space(see f71805f_init->f71805f_find->superio_enter->outb),
we met following oops,
------------------------
Unable to handle kernel paging request at virtual address ffffffbffee0002e
pgd = ffffffc1d68d4000
[ffffffbffee0002e] *pgd=0000000000000000, *pud=0000000000000000
Internal error: Oops: 94000046 [#1] PREEMPT SMP
Modules linked in: f71805f(+) hwmon
CPU: 3 PID: 1659 Comm: insmod Not tainted 4.5.0+ #88
Hardware name: linux,dummy-virt (DT)
task: ffffffc1f6665400 ti: ffffffc1d6418000 task.ti: ffffffc1d6418000
PC is at f71805f_find+0x6c/0x358 [f71805f]
------------------------

I am not clear about PCI I/O, but if this is indeed a bug, how to solve this issue,
any advice will be appreciated.

Thanks
Kefeng

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Question about PCI I/O space in ARM64 Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-03-23 04:20 +0100
  Re: Question about PCI I/O space in ARM64 Catalin Marinas <catalin.marinas@arm.com> - 2016-03-23 11:20 +0100
    Re: Question about PCI I/O space in ARM64 Arnd Bergmann <arnd@arndb.de> - 2016-03-23 13:30 +0100
      Re: Question about PCI I/O space in ARM64 Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-03-24 04:20 +0100
        Re: Question about PCI I/O space in ARM64 Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-03-24 19:00 +0100
          Re: Question about PCI I/O space in ARM64 Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-03-25 08:00 +0100

csiph-web