• Andi Kleen's avatar
    Revert HPET resource reservation · 0f8dc2f0
    Andi Kleen authored
    Matthias Lenk reports that the PCI subsystem would move the HPET on
    SB400/SB600-based systems, where the HPET is in BAR1 of the SMbus
    controller.
    
    The reason? The ACPI layer registered the PCI MMIO range as being busy
    too early, before PCI enumeration had happened, causing the PCI layer to
    decide that it should relocate the resources somewhere else.
    
    Firmware resources should be marked busy _after_ the PCI enumeration and
    probing has happened, not before.
    
    Remove the too-early reservation, we'll fix it up to do it properly
    later.  In the meantime, this solves the regression.
    Tested-by: default avatarMatthias Lenk <matthias.lenk@amd.com>
    Cc: Aaron Durbin <adurbin@google.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    0f8dc2f0
boot.c 30.4 KB