Displaying 4 results from an estimated 4 matches for "io_mem".
Did you mean:
bo_mem
2012 Jan 03
2
[PATCH] qemu-xen: adjust MSI-X related log messages
...; addr %016"PRIx64"\n", addr);
return;
}
@@ -455,22 +453,30 @@ static void pci_msix_writel(void *opaque
entry = &msix->msix_entry[entry_nr];
offset = ((addr - msix->mmio_base_addr) % 16) / 4;
- /*
- * If Xen intercepts the mask bit access, io_mem[3] may not be
- * up-to-date. Read from hardware directly.
- */
- phys_off = dev->msix->phys_iomem_base + 16 * entry_nr + 12;
- vec_ctrl = *(uint32_t *)phys_off;
-
- if ( offset != 3 && msix->enabled && !(vec_ctrl & 0x1) )
+ if ( offset != 3 )
{...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
....wpeg_ctlr.wpegbbar);
+ debug("%s: i2c_addr: %x\n",
+ __func__, hpc_ptr->u.wpeg_ctlr.i2c_addr);
+ debug("%s: irq: %x\n", __func__, hpc_ptr->irq);
break;
}
}
@@ -258,7 +279,7 @@ int __init ibmphp_access_ebda (void)
return -ENOMEM;
ebda_seg = readw (io_mem);
iounmap (io_mem);
- debug ("returned ebda segment: %x\n", ebda_seg);
+ debug("returned ebda segment: %x\n", ebda_seg);
io_mem = ioremap(ebda_seg<<4, 1);
if (!io_mem)
@@ -295,14 +316,14 @@ int __init ibmphp_access_ebda (void)
continue;
/* found hs table */...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
....wpeg_ctlr.wpegbbar);
+ debug("%s: i2c_addr: %x\n",
+ __func__, hpc_ptr->u.wpeg_ctlr.i2c_addr);
+ debug("%s: irq: %x\n", __func__, hpc_ptr->irq);
break;
}
}
@@ -258,7 +279,7 @@ int __init ibmphp_access_ebda (void)
return -ENOMEM;
ebda_seg = readw (io_mem);
iounmap (io_mem);
- debug ("returned ebda segment: %x\n", ebda_seg);
+ debug("returned ebda segment: %x\n", ebda_seg);
io_mem = ioremap(ebda_seg<<4, 1);
if (!io_mem)
@@ -295,14 +316,14 @@ int __init ibmphp_access_ebda (void)
continue;
/* found hs table */...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
....wpeg_ctlr.wpegbbar);
+ debug("%s: i2c_addr: %x\n",
+ __func__, hpc_ptr->u.wpeg_ctlr.i2c_addr);
+ debug("%s: irq: %x\n", __func__, hpc_ptr->irq);
break;
}
}
@@ -258,7 +279,7 @@ int __init ibmphp_access_ebda (void)
return -ENOMEM;
ebda_seg = readw (io_mem);
iounmap (io_mem);
- debug ("returned ebda segment: %x\n", ebda_seg);
+ debug("returned ebda segment: %x\n", ebda_seg);
io_mem = ioremap(ebda_seg<<4, 1);
if (!io_mem)
@@ -295,14 +316,14 @@ int __init ibmphp_access_ebda (void)
continue;
/* found hs table */...