Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.



On Tue, 2008-01-08 at 14:15 -0500, David P. Reed wrote:
Alan Cox wrote:
The natsemi docs here say otherwise. I trust them not you.

As well you should. I am honestly curious (for my own satisfaction) as
to what the natsemi docs say the delay code should do (can't imagine
they say "use io port 80 because it is unused"). I don't have any

What is the outcome of this thread? Are we going to use timing based
port delays, or can we finally drop these things entirely on 64-bit
architectures?

I a have a doubly vested interest in this, both as the owner of an
affected HP dv9210us laptop and as a maintainer of paravirt code - and
would like 64-bit Linux code to stop using I/O to port 0x80 in both
cases (as I suspect would every other person involved with
virtualization).

BTW, it isn't ever safe to pass port 0x80 through to hardware from a
virtual machine; some OSes use port 0x80 as a hardware available scratch
register (I believe Darwin/x86 did/does this during boot). This means
simultaneous execution of two virtual machines can interleave port 0x80
values or share data with a hardware provided covert channel. This
means KVM should be trapping port 0x80 access, which is really
expensive, or alternatively, Linux should not be using port 0x80 for
timing bus access on modern (64-bit) hardware.

I've tried to follow this thread, but with all the jabs, 1-ups, and
obscure legacy hardware pageantry going on, it isn't clear what we're
really doing.

Thanks,

Zach

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • RE: [Full-Disclosure] Microsoft urging users to buy Harware Firewalls
    ... connections between multiple computers. ... A Linksys NAT router box is selling for only $40 at Amazon ... Besides protecting against the MSBlaster worm, a hardware ... Then the user finds about port forwarding, and as soon as the user ...
    (Full-Disclosure)
  • RE: Hardware/Software Solution for Standalone DSL User
    ... A cable/DSL router is not a real "hardware security solution". ... Port filtering only works if used, if set up properly, and then only if ... the connection is using ports you don't allow through. ... A hardware solution such as a Cisco PIX 501 does more than NAT. ...
    (Security-Basics)
  • Re: System hangs up every day
    ... I would suggest examining the hardware components, ... The server works as: ... <ACPI PCI bus> on pcib0 ... port may not be enabled ...
    (freebsd-stable)
  • RE: System hangs up every day
    ... I would suggest examining the hardware components, ... There is one FreeBSD server in our company. ... <ACPI PCI bus> on pcib0 ... port may not be enabled ...
    (freebsd-stable)
  • Boot loop & ACPI BSODs with SP3 with ASUS mobo
    ... CMOS and then go in Bios and disable APM and serial port. ... If you try to install Win XP SP3 a USB drive or a USB stick on a USB ... I still have ACPI compliant computer, ... One of three types of problems occurred in kernel-mode: Hardware ...
    (microsoft.public.windowsxp.help_and_support)