io/iommu: Validate pci_addr input and update check_dmesg()#2945
Merged
narasimhan-v merged 3 commits intoavocado-framework-tests:masterfrom Mar 4, 2025
Merged
io/iommu: Validate pci_addr input and update check_dmesg()#2945narasimhan-v merged 3 commits intoavocado-framework-tests:masterfrom
narasimhan-v merged 3 commits intoavocado-framework-tests:masterfrom
Conversation
narasimhan-v
approved these changes
Mar 4, 2025
Currently test cancel with "Device passed is not bound to any driver" log for invalid pci device input which is incorrect. Check if the pci device input is valid and cancel test with proper log if invalid. Also update comments with proper description for "pci_addr" variable used. Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
While running iommu_tests.py test, dmesg is cleared for checking test specific kernel logs. This affects other tests that depends on dmesg. Update the process of capturing test specific 'warn,crit,alert,err' logs without clearing dmesg. Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
…c keywords Currently test fails for any test specific 'warn,alert,crit,err' dmesg logs. But user may be interested for logs specific to iommu kernel driver. This patch adds support to pass specific keywords for filtering the dmesg logs to conclude pass or fail for the test. Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch series
affecting subsequent tests that depends on dmesg.
Run