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



On 30-12-07 16:28, Ingo Molnar wrote:

Reading from the 0x3cc port does not impact the cursor position update sequence IIRC - i think the vidport is even ignored for the input direction by most hardware, there's a separate input register. The 0x3cc port is a well-defined VGA register which should be unused on non-VGA hardware. (which makes it a perfect delay register in any case)

Hardly. Duron 1300 on AMD756:

rene@7ixe4:~/src/port80$ su -c ./port80
cycles: out 2400, in 2401
rene@7ixe4:~/src/port80$ su -c ./port3cc
cycles: out 459, in 394

As stated a few dozen times by now already, port 0x80 is _decidedly_ _non_ _random_

Rene.

--
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: OT: DOS programming EPP
    ... >>>one microsecond is not out of line. ... >> to port behaviour. ... >>>that means the hardware is totally useless for my purposes. ... The control register in a properly functioning mobo's LPT port should act like ...
    (sci.electronics.design)
  • Re: How to debug inside the BIOS and/or interrupt?
    ... I'm not sure I can help with your specific code problem but if the program works when you read only one chunk of data at a time from disk, but locks up after a while if you read multiple chunks, then probably one of two things is happening -- some memory is being corrupted or an interrupt is taking too long somewhere. ... one nice way to debug interrupt problems on such hardware is to modify your interrupt routine so that it toggles a pin that you can look at with a 'scope. ... That's usually not wise to attempt within an interrupt but you can simulate such a thing by doing something like writing to a fixed, preallocated error log in memory, or to a hardware register. ... Again you might find the printer port convenient for this, or if you have at least an EGA compatible display on your hardware, you can do things like change the background color of the screen by writing to the overcan register. ...
    (comp.lang.asm.x86)
  • Re: [PATCH 1/2] VMware detection support for x86 and x86-64
    ... wrong or what kinds of problems can this cause on native hardware. ... You accessed an unknown I/O port. ... Read access to port 3686 returns the status register and any ...
    (Linux-Kernel)
  • Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override
    ... direction by most hardware, there's a separate input register. ... cycles: out 2400, in 2401 ...
    (Linux-Kernel)
  • Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
    ... some OSes use port 0x80 as a hardware available scratch ... register. ...
    (Linux-Kernel)