NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/48960: ichlpcib maps I/O space from ACPI BAR which ichsmb wants



>Number:         48960
>Category:       kern
>Synopsis:       ichlpcib maps I/O space from ACPI BAR which ichsmb wants
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 02 19:50:00 +0000 2014
>Originator:     Taylor R Campbell <campbell+netbsd%mumble.net@localhost>
>Release:        NetBSD-current as of 2014-07-02
>Organization:
>Environment:
Architecture: x86_64
Machine: amd64
>Description:

        ichlpcib(4) maps the space in PCI register 0x40, ACPI PMBASE,
        for acpipmtimer, tcotimer, and speedstep support.  ichsmb(4)
        tries to map space which is sometimes in the middle of this
        region.

>How-To-Repeat:

        Boot a system with ichlpcib and ichsmb.  Observe that ichsmb0
        fails to map its I/O space because ichlpcib0 already mapped
        it.

>Fix:

        matt@ and jakllsch@ say it is wrong for ichlpcib(4) to map the
        ACPI PMBASE region, which it does for acpipmtimer, tcotimer,
        and speedstep support.

        I imagine the Right Thing is to attach these only if ACPI is
        disabled, and to write proper ACPI drivers under sys/dev/acpi
        for them.  Disabling the ad hoc drivers until proper ACPI
        drivers are written is probably not a good idea, however, and I
        don't have time or the datasheets or hardware necessary to port
        the ad hoc drivers to the ACPI subsystem.



Home | Main Index | Thread Index | Old Index