• Eric W. Biederman's avatar
    msi: mask the msix vector before we unmap it · 78b7611c
    Eric W. Biederman authored
    With these two lines in the reverse order the drives/block/ccis.c was
    oopsing in msi_free_irqs.  Silly us calling writel on an area after
    we unmap it.
    
    BUG: unable to handle kernel paging request at virtual address f8b2200c
     printing eip:
    c01e9cc7
    *pdpt = 0000000000003001
    *pde = 0000000037e48067
    *pte = 0000000000000000
    Oops: 0002 [#1]
    SMP
    Modules linked in: cciss ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core
    sunrpc loop dm_multipath button battery asus_acpi ac tg3 floppy sg dm_snapshot
    dm_zero dm_mirror ext3 jbd dm_mod ata_piix libata mptsas scsi_transport_sas
    mptspi scsi_transport_spi mptscsih mptbase sd_mod scsi_mod
    CPU:    1
    EIP:    0060:[<c01e9cc7>]    Not tainted VLI
    EFLAGS: 00010286   (2.6.22-rc2-gd2579053 #1)
    EIP is at msi_free_irqs+0x81/0xbe
    eax: f8b22000   ebx: f71f3180   ecx: f7fff280   edx: c1886eb8
    esi: f7c4e800   edi: f7c4ec48   ebp: 00000002   esp: f5a0dec8
    ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
    Process rmmod (pid: 5286, ti=f5a0d...
    78b7611c
msi.c 17.8 KB