Skip to content
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

updates to address issue 66 #87

Merged
merged 4 commits into from
Oct 7, 2024
Merged

updates to address issue 66 #87

merged 4 commits into from
Oct 7, 2024

Conversation

ved-rivos
Copy link
Collaborator

@ved-rivos ved-rivos commented Oct 3, 2024

close #66

Copy link
Collaborator

@SiFiveHolland SiFiveHolland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is much clearer. LGTM with a few fixes.

One general editorial comment: this chapter isn't consistent between using "MTTCHK" and "IOMTTCHK".

chapter6.adoc Outdated Show resolved Hide resolved
chapter6.adoc Outdated Show resolved Hide resolved
chapter6.adoc Outdated Show resolved Hide resolved

If the aborted transaction is an IOMMU-initiated memory access then the IO bridge
signals such access faults to the IOMMU itself. The details of such signaling is
implementation defined.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a related note: is it expected that IOMMU-initiated transactions (i.e. page table walks) go through the MTTCHK? If so, we should specify this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's stated here:

The MTTCHK uses the SDID to determine the MTT associated with the supervisor domain and checks if the physical address may be accessed by the device or IOMMU associated with that supervisor domain.

chapter6.adoc Outdated Show resolved Hide resolved
chapter6.adoc Outdated Show resolved Hide resolved
chapter6.adoc Outdated Show resolved Hide resolved
chapter6.adoc Outdated Show resolved Hide resolved
chapter6.adoc Outdated Show resolved Hide resolved
Copy link
Collaborator

@rsahita rsahita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some minor changes proposed

@ved-rivos
Copy link
Collaborator Author

Thanks, this is much clearer. LGTM with a few fixes.

One general editorial comment: this chapter isn't consistent between using "MTTCHK" and "IOMTTCHK".

IOMTTCHK include SDCL and MTTCHK. The chapter refers broadly to IOMTTCHK when appropriate and to MTTCHK when MTT checking is discussed.

Copy link
Collaborator

@rsahita rsahita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rsahita rsahita merged commit c61e60c into riscv:main Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review comments/questions on IO-MTT v0.1
3 participants