lkml.org 
[lkml]   [2013]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [3.9-rc1 x86] Bug in ioremap code?
Just booted a qemu-kvm guest with this .config.  It didn't trip over
anything, so I'm looking for some more ACPI tables to feed in to it.

Looking through the code, it looks like this is the __pa() that's
hitting the BUG_ON():

static int __cpa_process_fault(struct cpa_data *cpa, unsigned long
...
if (within(vaddr, PAGE_OFFSET,
PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT))) {
cpa->numpages = 1;
cpa->pfn = __pa(vaddr) >> PAGE_SHIFT;
return 0;
} else {

The within() check should ensure that we're not doing __pa() on
vmalloc() addresses. So, either somebody managed to remap part of the
kernel identity mapping, or that within() check is failing us somehow.

What kind of hardware is this?



\
 
 \ /
  Last update: 2013-03-06 04:41    [W:0.122 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site