• B
    ACPI: stop complaints about interrupt link End Tags and blank IRQ descriptors · 4a5e3638
    Bjorn Helgaas 提交于
    Silently ignore _PRS End Tags.  We already ignore Start Dependent Functions in
    _PRS, and we already ignore End Tags in _CRS, so we might as well ignore End
    Tags in _PRS as well.
    
    Silently ignore _PRS IRQ descriptors that mention no interrupts.  The spec
    allows this (section 6.4.2.1 in ACPI 3.0b spec), and it probably means the
    interrupt link can't be configured at all.
    
    This patch doesn't change any functional behavior; it just removes confusing
    complaints like these:
    
        ACPI: Blank IRQ resource
        ACPI: Resource is not an IRQ entry
    
    when parsing _PRS data "23 00 00 18 79 00" from an IBM xSeries 335 dual
    Pentium IV Xeon 2.40 GHz machine.  For more details, see
        http://bugzilla.kernel.org/show_bug.cgi?id=11049
    
    The "23 00 00 18" part is a three-byte-long small IRQ resource with no bits set
    in the IRQ mask ("00 00"), and level-triggered, active low, shareable ("18").
    
    The "79 00" is an End Tag (type 0x7).  It is superfluous since there is no
    Start Dependent Function tag and there are no resources after it, but it is
    harmless.
    
    Thanks to Gabriele Trombetti <g.trombetti.lkrnl1213@logicschema.com>
    (aka Kurk) for reporting this and testing the patch.
    Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: NAndi Kleen <ak@linux.intel.com>
    4a5e3638
pci_link.c 24.0 KB