-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test 822 feels weird #193
Comments
Hi @hrw, Two types of checks are conducted for register verification: data and attribute validation. Regarding the SLT (Secondary Latency Timer) register, the expected values align with the ACS specifications, registering as 0. However, a discrepancy arises in the register's attribute, intended to be set as Read-Only. Contrary to this intent, the bit field seems to function as Read-Write. Ordinarily, when attempting to write to the register by configuring all bits to 1, the anticipated behavior should involve rejecting the write operation, maintaining the value at 0 to uphold the register's designated Read-Only nature. However, in this scenario, the write action takes effect, leading to a transformation of the register's value to FFs. This anomaly could potentially stem from an issue within the emulator. To clarify, could you confirm whether these error behavior descriptions do not pertain to the PCIe-to-PCI-PCI-X Bridge? Regards, |
It was a bit of time since last time I was looking at BSA ACS code. Have to check which cards it ignores. Here is complete log from running BSA ACS: sbsa-ref-log-822.txt A few days old QEMU and EDK2 with ITS patches. |
|
Hi @hrw, Thank you for providing the logs. The analysis has confirmed that the BDFs belong to Rootport. In the context of Rootports, these bits should ideally be read-only. The error appears to be an emulator issue. Regards, |
Thank you @gowthamsiddarthd - will discuss it with QEMU developers. |
Test 822 reads value from PCIe and compares it with expected values:
Test fails here:
(and so on for each card in system)
But if I add lines to show value of
reg_value
variable it shows expected values:Where a problem is? My emulated system or bsa acs?
The text was updated successfully, but these errors were encountered: