Re: [PATCH 3/3] ACPI: Enable Windows ioport access compatibility on Windows-compatible systems

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

 



On Wed, May 19, 2010 at 10:25:58AM -0600, Bjorn Helgaas wrote:

> What's the basis for the Win 2000 check?  Is the intent that we
> do this for all Windows versions?  Wikipedia claims Windows 98 had
> ACPI support, but there's no ACPI_OSI_WIN_98 definition.

The aim is to do this for all Windows versions, but Windows < 2000 
didn't provide an _OSI method - instead there's a _OS string that the 
firmware can strcmp. It's not really practical to figure out what the 
firmware's looking for in that case, and given that nobody else has 
complained about this with luck we'll be fine.

> Is there a reason why we wouldn't just set ignore_high_ioport_bits = TRUE
> always?

My only concern is that there may be a machine that was never intended 
for use with Windows and which has an incorrect io port declared. In 
that case we'd /potentially/ break an otherwise working machine. I think 
the probability of this being the case is astronomically small, but it 
probably makes sense to check. If x86 gains more ioports in future and 
Windows supports that, we can limit the check to systems that don't 
claim support for that newer version of Windows.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux