: x86: Honor IO_DELAY IO port settings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | : serial8250: Use native_io_delay on the x86drivers/ | +5 | 5 replies | |
| 2/2 | : x86 real mode: Set delay port according to kernel configarch/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2]: x86: Honor IO_DELAY IO port settings
Greetings!
The kernel can be configured to use IO port 0xed instead of port 0x80 for IO delay writes and some boards also require this to function properly. These two patches fix two places where port 0x80 is hardcoded.
* Patch 1: Use native_io_delay for the serial/8250 driver instead of always using 0x80.
* Patch 2: Honor CONFIG_IO_DELAY_0XED if set for real-mode boot code
The board we have works fine with using 0x80, but we're debugging a BIOS issue and are logging writes to port 0x80 (BIOS post codes). Avoiding the extra port 0x80 writes makes it easier to weed out the important information.
// Simon