Current 16550 test code assumes 8 bit accesses and one byte stride on register addresses. Add support for using the access width to compute the size of accesses as well as the register stride. Similar support added to Linux by the following commit in 2017.
Note that the Generic Address Structure also contains a separate description of the "register bit width" in addition to access size which could be used to derive the register addressing stride independently of the access width.
Current 16550 test code assumes 8 bit accesses and one byte stride on register addresses. Add support for using the access width to compute the size of accesses as well as the register stride. Similar support added to Linux by the following commit in 2017.
https://github.com/torvalds/linux/commit/2bece49394872d36bbc5767fd643deac05920c55
Note that the Generic Address Structure also contains a separate description of the "register bit width" in addition to access size which could be used to derive the register addressing stride independently of the access width.