|
Re: MTIME update frequency
I read them separately and I think the text carefully used "counter" and "clock" carefully for the first sentence and second sentence carefully. Placing the synchronization requirement on the clock
I read them separately and I think the text carefully used "counter" and "clock" carefully for the first sentence and second sentence carefully. Placing the synchronization requirement on the clock
|
By
Ved Shanbhogue
·
#1550
·
|
|
Re: MTIME update frequency
It seems that this comes down entirely to semantics of what a "tick" means in this context. If 1 tick = 1 count = 10ns then it violates the spec, whereas if 1 tick = 10 count = 100ns then it complies.
It seems that this comes down entirely to semantics of what a "tick" means in this context. If 1 tick = 1 count = 10ns then it violates the spec, whereas if 1 tick = 10 count = 100ns then it complies.
|
By
Jonathan Behrens <behrensj@...>
·
#1549
·
|
|
Re: MTIME update frequency
Please read what I said. I said it *effectively* forces an implementation
to have a 100 MHz clock.
With the current wording in the draft specification, multihart
implementations must do one of the
Please read what I said. I said it *effectively* forces an implementation
to have a 100 MHz clock.
With the current wording in the draft specification, multihart
implementations must do one of the
|
By
Darius Rad
·
#1548
·
|
|
Re: MTIME update frequency
The ISA specification also says:
The execution environment should provide a means of determining the
period of the real-time counter (seconds/tick).
If the period of the counter is in units of
The ISA specification also says:
The execution environment should provide a means of determining the
period of the real-time counter (seconds/tick).
If the period of the counter is in units of
|
By
Darius Rad
·
#1547
·
|
|
Re: MTIME update frequency
This states synchronized to one tick of the real-time clock. It does not state it has to not differ by 1 count.
regards
ved
This states synchronized to one tick of the real-time clock. It does not state it has to not differ by 1 count.
regards
ved
|
By
Ved Shanbhogue
·
#1546
·
|
|
Re: MTIME update frequency
The requirement seems to come from the Zicntr extension described in the base (unprivileged) spec. I'll let somebody else say whether incrementing mtime by +10 counts as 1 tick or 10 ticks.
The requirement seems to come from the Zicntr extension described in the base (unprivileged) spec. I'll let somebody else say whether incrementing mtime by +10 counts as 1 tick or 10 ticks.
|
By
Jonathan Behrens <behrensj@...>
·
#1545
·
|
|
SBI specification status update
Hi,
The RISC-V international has recently established a ratification policy[1] for non-ISA specification as well. All of the non-ISA specifications (e.g SBI, psABI, ACLINT) will have to go through the
Hi,
The RISC-V international has recently established a ratification policy[1] for non-ISA specification as well. All of the non-ISA specifications (e.g SBI, psABI, ACLINT) will have to go through the
|
By
atishp@...
·
#1544
·
|
|
Re: MTIME update frequency
Which section of the specication should I look at for that requirement? The only requirement I could find is from ACLINT spec: "On a RISC-V platform with multiple MTIMER devices residing on the same
Which section of the specication should I look at for that requirement? The only requirement I could find is from ACLINT spec: "On a RISC-V platform with multiple MTIMER devices residing on the same
|
By
Ved Shanbhogue
·
#1543
·
|
|
Re: MTIME update frequency
I think the argument is that you technically violate the ISA spec if you have two cores and you increment mtime on the first core by +10 then a fraction of a nanosecond later update the second core's
I think the argument is that you technically violate the ISA spec if you have two cores and you increment mtime on the first core by +10 then a fraction of a nanosecond later update the second core's
|
By
Jonathan Behrens <behrensj@...>
·
#1542
·
|
|
Re: MTIME update frequency
I largely agree. While the clock "tick" is one ulp, an update can increment time by, for example, 10 ticks. (The same is true in ARM SBSA/BSA/etc.)
Greg
I largely agree. While the clock "tick" is one ulp, an update can increment time by, for example, 10 ticks. (The same is true in ARM SBSA/BSA/etc.)
Greg
|
By
Greg Favor
·
#1541
·
|
|
Re: MTIME update frequency
The resolution requirement (whether =10ns or <=10ns) doesn't force a 100 or 100+ MHz clock. Only the >=10 MHz update rate forces a 10 MHz clock - which is a pretty modest requirement for OS-A-class
The resolution requirement (whether =10ns or <=10ns) doesn't force a 100 or 100+ MHz clock. Only the >=10 MHz update rate forces a 10 MHz clock - which is a pretty modest requirement for OS-A-class
|
By
Greg Favor
·
#1540
·
|
|
Re: MTIME update frequency
The current specification says that the MTIME values seen by two HARTs to be not apart by more than 1. It does say the MTIME must always increment in units of 1. I do not think the specification
The current specification says that the MTIME values seen by two HARTs to be not apart by more than 1. It does say the MTIME must always increment in units of 1. I do not think the specification
|
By
Ved Shanbhogue
·
#1539
·
|
|
Re: MTIME update frequency
No, it does not address my concern.
As you said, that requirement was already there, and my concern applies to
the requirement as is, although increasing the resolution will exacerbate
the
No, it does not address my concern.
As you said, that requirement was already there, and my concern applies to
the requirement as is, although increasing the resolution will exacerbate
the
|
By
Darius Rad
·
#1538
·
|
|
Re: MTIME update frequency
Did that address your concern? Should we update to supporting 1 ns resolution or not disallowing a 1 ns resolution?
Did that address your concern? Should we update to supporting 1 ns resolution or not disallowing a 1 ns resolution?
|
By
Ved Shanbhogue
·
#1537
·
|
|
Re: [PATCH 1/6] Remove the machine mode requirements
Still doesn't provide standardization of functionality in U and VU modes.
https://lists.riscv.org/g/tech-unixplatformspec/message/1479
Still doesn't provide standardization of functionality in U and VU modes.
https://lists.riscv.org/g/tech-unixplatformspec/message/1479
|
By
Darius Rad
·
#1536
·
|
|
Re: [PATCH 6/6] Update the ISA requirement section
Am 19. November 2021 01:09:34 MEZ schrieb atishp@...:
It seems irrelevant if a library call is made or the syscall is invoked directly.
A libc library may be used by some programs but will
Am 19. November 2021 01:09:34 MEZ schrieb atishp@...:
It seems irrelevant if a library call is made or the syscall is invoked directly.
A libc library may be used by some programs but will
|
By
Heinrich Schuchardt
·
#1535
·
|
|
Re: [PATCH 5/6] Add more clarity about privilege mode optionality.
Am 19. November 2021 01:09:33 MEZ schrieb atishp@...:
Please, remove one 'only'.
Best regards
Heinrich
Am 19. November 2021 01:09:33 MEZ schrieb atishp@...:
Please, remove one 'only'.
Best regards
Heinrich
|
By
Heinrich Schuchardt
·
#1534
·
|
|
Re: [PATCH 4/6] Reduce the number of mandatory PMU events.
Am 19. November 2021 01:09:32 MEZ schrieb atishp@...:
%s/Thue/The/
Best regards
Heinrich
Am 19. November 2021 01:09:32 MEZ schrieb atishp@...:
%s/Thue/The/
Best regards
Heinrich
|
By
Heinrich Schuchardt
·
#1533
·
|
|
[PATCH 6/6] Update the ISA requirement section
Some of the ISA requirement sections do not belong to a platform
specification and can move to the profile specification. The fence.i
recommendation belong to software section as it talks about a
Some of the ISA requirement sections do not belong to a platform
specification and can move to the profile specification. The fence.i
recommendation belong to software section as it talks about a
|
By
atishp@...
·
#1532
·
|
|
[PATCH 5/6] Add more clarity about privilege mode optionality.
The platform spec provides various choices for interrupt controller to
be implemented in the platform. As M-mode is not a mandatory requirement
any more and VS-mode is only required for platforms with
The platform spec provides various choices for interrupt controller to
be implemented in the platform. As M-mode is not a mandatory requirement
any more and VS-mode is only required for platforms with
|
By
atishp@...
·
#1531
·
|