<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/include/sbi/riscv_encoding.h, branch v1.5.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/include/sbi/riscv_encoding.h?h=v1.5.1</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/include/sbi/riscv_encoding.h?h=v1.5.1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2024-08-02T03:23:17Z</updated>
<entry>
<title>include: Adjust Sscofpmf mhpmevent mask for upper 8 bits</title>
<updated>2024-08-02T03:23:17Z</updated>
<author>
<name>Eric Lin</name>
<email>eric.lin@sifive.com</email>
</author>
<published>2024-07-30T09:30:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=778949eeb8f36e01c37cb3ae6d82b0660a1bf6f7'/>
<id>urn:sha1:778949eeb8f36e01c37cb3ae6d82b0660a1bf6f7</id>
<content type='text'>
Currently, OpenSBI reserves the upper 16 bits in mhpmevent for
the Sscofpmf extension.

However, according to the Sscofpmf extension specification[1],
it only defines the upper 8 bits in mhpmevent for privilege mode
inhibit and counter overflow disable. Other bits are defined by
the platform for event selection.

Since vendors might define raw event encoding exceeding 48 bits in
mhpmevent, we should adjust the MHPMEVENT_SSCOF_MASK to support it.

Link: https://github.com/riscvarchive/riscv-count-overflow [1]
Signed-off-by: Eric Lin &lt;eric.lin@sifive.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Add support for Svade and Svadu extensions</title>
<updated>2024-06-18T11:11:32Z</updated>
<author>
<name>Yong-Xuan Wang</name>
<email>yongxuan.wang@sifive.com</email>
</author>
<published>2024-06-05T12:11:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=53844c98d082cbba29a6e568196add6de95e858f'/>
<id>urn:sha1:53844c98d082cbba29a6e568196add6de95e858f</id>
<content type='text'>
Add support for Svade and Svadu extensions. When both are present in the
device tree, the M-mode firmware should select the Svade extension
to comply with the RVA23 profile, which mandates Svade and lists Svadu as
an optional extension.

Signed-off-by: Yong-Xuan Wang &lt;yongxuan.wang@sifive.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Remove regs parameter from trap irq handling functions</title>
<updated>2024-03-19T06:01:35Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2024-03-11T12:30:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=43d346c0c1d3817d863741c3c523ab6e0c87cc6f'/>
<id>urn:sha1:43d346c0c1d3817d863741c3c523ab6e0c87cc6f</id>
<content type='text'>
The trap irq handling functions no longer require regs parameter
so remove it.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Reviewed-by: Samuel Holland &lt;samuel.holland@sifive.com&gt;
Tested-by: Samuel Holland &lt;samuel.holland@sifive.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi_misaligned_ldst: Add handling of C.LHU/C.LH and C.SH</title>
<updated>2024-03-05T04:01:52Z</updated>
<author>
<name>Nylon Chen</name>
<email>nylon.chen@sifive.com</email>
</author>
<published>2024-02-26T05:56:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=748bef1f9d6c4da16d07a8152566f3f921b8702c'/>
<id>urn:sha1:748bef1f9d6c4da16d07a8152566f3f921b8702c</id>
<content type='text'>
Added exception handling for compressed instructions C.LHU, C.LH, and
C.SH from the zcb extension to the sbi_misaligned_ldst library.

Signed-off-by: Nylon Chen &lt;nylon.chen@sifive.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Add support for smcsrind and smcdeleg</title>
<updated>2024-03-04T04:50:41Z</updated>
<author>
<name>Atish Patra</name>
<email>atishp@rivosinc.com</email>
</author>
<published>2024-02-17T00:06:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=6bb6b61c27eb07da375213a7a1bb0f8e3fad663a'/>
<id>urn:sha1:6bb6b61c27eb07da375213a7a1bb0f8e3fad663a</id>
<content type='text'>
Smcsrind allows generic indirect CSR access mechanism while
Smcdeleg allows delegating hpmcounters in Supervisor mode.

Enable both extensions and set the appropriate bits in mstateen
and menvcfg.

Co-developed-by: Kaiwen Xue &lt;kaiwenxue1@gmail.com&gt;
Signed-off-by: Atish Patra &lt;atishp@rivosinc.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>include: sbi: Add TINFO debug trigger CSR</title>
<updated>2024-01-10T04:13:33Z</updated>
<author>
<name>Himanshu Chauhan</name>
<email>hchauhan@ventanamicro.com</email>
</author>
<published>2024-01-09T17:00:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=20ca19ab0323bb3b162a620008d192e2a56302a2'/>
<id>urn:sha1:20ca19ab0323bb3b162a620008d192e2a56302a2</id>
<content type='text'>
Add the missing TINFO debug trigger CSR.

Signed-off-by: Himanshu Chauhan &lt;hchauhan@ventanamicro.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Refactor the code for enable extensions in menvfg CSR</title>
<updated>2023-12-19T08:24:33Z</updated>
<author>
<name>Yong-Xuan Wang</name>
<email>yongxuan.wang@sifive.com</email>
</author>
<published>2023-12-12T08:58:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=056fe6f85dc6b68783f56cb6ea7394e857ab8cc3'/>
<id>urn:sha1:056fe6f85dc6b68783f56cb6ea7394e857ab8cc3</id>
<content type='text'>
Use 1 variable to store the value of menvcfg.

Signed-off-by: Yong-Xuan Wang &lt;yongxuan.wang@sifive.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>include: sbi: macros for mseccfg.sseed and .useed</title>
<updated>2023-11-17T06:33:59Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2023-10-28T22:49:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=280f7ae62724b184fdd61347e6f905bc39dec64b'/>
<id>urn:sha1:280f7ae62724b184fdd61347e6f905bc39dec64b</id>
<content type='text'>
Define macros to access the sseed and the useed bit in the machine
security configuration register (mseccfg).

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Add support for mconfigptr</title>
<updated>2023-10-06T12:28:42Z</updated>
<author>
<name>Yangjie Zhang</name>
<email>jay1273062855@outlook.com</email>
</author>
<published>2023-09-28T08:27:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3632f2b5c43e2a01bbfdcf4864d358845dcf281e'/>
<id>urn:sha1:3632f2b5c43e2a01bbfdcf4864d358845dcf281e</id>
<content type='text'>
RISC-V privileged specification v1.12 introduced the mconfigptr CSR
which will hold the physical address of a configuration data
structure.

Signed-off-by: Yangjie Zhang &lt;jay1273062855@outlook.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Add support for smcntrpmf</title>
<updated>2023-08-18T09:20:38Z</updated>
<author>
<name>Kaiwen Xue</name>
<email>kaiwenx@rivosinc.com</email>
</author>
<published>2023-07-20T21:07:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c104c60912a4ed26093f00a9675ad0286e8dcd29'/>
<id>urn:sha1:c104c60912a4ed26093f00a9675ad0286e8dcd29</id>
<content type='text'>
This adds the support for ISA extension smcntrpmf. When some inhibit flags
are set by a lower privilege mode for new CSRs added by smcntrpmf, OpenSBI
sets the appropriate values correspondingly.

Signed-off-by: Kaiwen Xue &lt;kaiwenx@andrew.cmu.edu&gt;
Signed-off-by: Kaiwen Xue &lt;kaiwenx@rivosinc.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Atish Patra &lt;atishp@rivosinc.com&gt;
</content>
</entry>
</feed>
