<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/include/sbi/sbi_ecall_interface.h, branch v1.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/include/sbi/sbi_ecall_interface.h?h=v1.8</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/include/sbi/sbi_ecall_interface.h?h=v1.8'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2025-12-01T05:36:36Z</updated>
<entry>
<title>lib: sbi_pmu: Fix xINH bits configuring</title>
<updated>2025-12-01T05:36:36Z</updated>
<author>
<name>Shifrin Dmitry</name>
<email>dmitry.shifrin@syntacore.com</email>
</author>
<published>2025-11-10T11:31:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c9f856e23f61e7ccbd7d8414bb98c45a5f4f04f4'/>
<id>urn:sha1:c9f856e23f61e7ccbd7d8414bb98c45a5f4f04f4</id>
<content type='text'>
Before this patch sbi_pmu_ctr_start() ignores flags received in
sbi_pmu_ctr_cfg_match() including inhibit ones. To prevent it,
save flags together with event_data and use them both in
sbi_pmu_ctr_start().

Fixes: 1db95da2997b ("lib: sbi: sbi_pmu: fixed hw counters start for hart")
Signed-off-by: Shifrin Dmitry &lt;dmitry.shifrin@syntacore.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Link: https://lore.kernel.org/r/20251110113140.80561-1-dmitry.shifrin@syntacore.com
Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: sse: Add support for SSTATUS.SDT</title>
<updated>2025-03-27T12:46:44Z</updated>
<author>
<name>Clément Léger</name>
<email>cleger@rivosinc.com</email>
</author>
<published>2025-03-25T10:26:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3ac49712e3bcfd8d64cd17511e27b7836821e41c'/>
<id>urn:sha1:3ac49712e3bcfd8d64cd17511e27b7836821e41c</id>
<content type='text'>
Similarly to what is done for SPELP, handle SSTATUS.SDT upon event
injection. In order to mimick an interrupt, set SDT to 1 for injection and
save its previous value in interrupted_flags[5:5]. Restore it upon
completion.

Signed-off-by: Clément Léger &lt;cleger@rivosinc.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: sse: Add support for SSTATUS.SPELP</title>
<updated>2025-03-27T12:46:28Z</updated>
<author>
<name>Clément Léger</name>
<email>cleger@rivosinc.com</email>
</author>
<published>2025-03-25T10:26:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b4464b22e4d3780ad73318af6091cea1d72404d1'/>
<id>urn:sha1:b4464b22e4d3780ad73318af6091cea1d72404d1</id>
<content type='text'>
As raised during the ARC review, SPELP was not handled during the event
injection process. Save it as part of the interrupted flags, clear it
before injecting the event and restore it after completion.

Signed-off-by: Clément Léger &lt;cleger@rivosinc.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: sse: Rename STATUS* interrupted flags to SSTATUS*</title>
<updated>2025-03-27T12:45:44Z</updated>
<author>
<name>Clément Léger</name>
<email>cleger@rivosinc.com</email>
</author>
<published>2025-03-25T10:26:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=41fb89cb295e5b1c454c3e63cc382270b160c2b5'/>
<id>urn:sha1:41fb89cb295e5b1c454c3e63cc382270b160c2b5</id>
<content type='text'>
As raised by Andrew on the kvm-unit-test review, this flags are meant to
hold SSTATUS bits in the specification. Rename them to match that.

Signed-off-by: Clément Léger &lt;cleger@rivosinc.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: sse: Update SSE event ids</title>
<updated>2025-03-27T12:33:41Z</updated>
<author>
<name>Clément Léger</name>
<email>cleger@rivosinc.com</email>
</author>
<published>2025-03-25T10:26:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=601bea45c50664310aaf6470ff27935ca09fe987'/>
<id>urn:sha1:601bea45c50664310aaf6470ff27935ca09fe987</id>
<content type='text'>
The latest specification added new high priority RAS events and renamed
the PMU to PMU_OVERFLOW.

Signed-off-by: Clément Léger &lt;cleger@rivosinc.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>lib: add tests for sbi_ecall functionality</title>
<updated>2025-03-23T11:26:54Z</updated>
<author>
<name>Akshay Behl</name>
<email>akshaybehl231@gmail.com</email>
</author>
<published>2025-03-23T11:18:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=0b78665a6c51a7b8b6da31e05590e6fd810d07e2'/>
<id>urn:sha1:0b78665a6c51a7b8b6da31e05590e6fd810d07e2</id>
<content type='text'>
This patch adds unit tests for verifying the sbi_ecall version,
impid handling, and extension registration functions. The tests
ensure that the extension registration and unregistration work
as expected.

Signed-off-by: Akshay Behl &lt;akshaybehl231@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>include: sbi: Add SBI_ERR_DENIED_LOCKED</title>
<updated>2025-02-19T16:40:59Z</updated>
<author>
<name>Clément Léger</name>
<email>cleger@rivosinc.com</email>
</author>
<published>2025-01-24T16:51:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b91ab20cd2419892107e5a6a3d7df6088540d5df'/>
<id>urn:sha1:b91ab20cd2419892107e5a6a3d7df6088540d5df</id>
<content type='text'>
Add SBI_ERR_DENIED_LOCKED and set it as the SBI_LAST_ERR which was
wrongly set to SBI_ERR_BAD_RANGE.

Signed-off-by: Clément Léger &lt;cleger@rivosinc.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Update MPXY framework and SBI extension as per latest spec</title>
<updated>2025-02-13T05:40:03Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2025-01-21T12:06:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=ec09918426a5ccff5de09cd41c3f36d0ad5443f1'/>
<id>urn:sha1:ec09918426a5ccff5de09cd41c3f36d0ad5443f1</id>
<content type='text'>
The latest SBI 3.0 spec defines a new sbi_mpxy_get_shmem_size()
function and simplifies sbi_mpxy_set_shmem() function so update
the MPXY framework and SBI extension accordingly.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: fix GLOBAL_PLAT_DEFINE</title>
<updated>2024-12-15T06:22:57Z</updated>
<author>
<name>Clément Léger</name>
<email>cleger@rivosinc.com</email>
</author>
<published>2024-11-25T10:52:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=851e3010989254e67bf809aa5fc9e90dd7baa487'/>
<id>urn:sha1:851e3010989254e67bf809aa5fc9e90dd7baa487</id>
<content type='text'>
Fix GLOBAL_PLAT_0_START/END definitions. The specification states that
the beginning of the range is 0xc000 and the end is 0xffff.

Reported-by: Andrew Jones &lt;andrew.jones@linux.dev&gt;
Signed-off-by: Clément Léger &lt;cleger@rivosinc.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Implement SBI MPXY extension</title>
<updated>2024-12-06T03:56:52Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2024-08-08T05:34:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=e67d91cdcc1cba32b08d104821558d8211596e16'/>
<id>urn:sha1:e67d91cdcc1cba32b08d104821558d8211596e16</id>
<content type='text'>
Implement the SBI MPXY extension which provides an SBI interface to
the supervisor software for send messages via MPXY framework.

Signed-off-by: Rahul Pathak &lt;rpathak@ventanamicro.com&gt;
Co-developed-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
</content>
</entry>
</feed>
