Add new XID API

Currently, the XID error API behavior is platform specific and doesn’t contain all the information that you would get via dmesg. Could a new API be added that fixes these issues?

@gupadhyaya ? Can this be added?

There are pending enhancements for XID reporting, but there are no updates at this time.