<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/docs, branch v1.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/docs?h=v1.0</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/docs?h=v1.0'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2021-12-11T10:54:39Z</updated>
<entry>
<title>docs/platform: spike: Enhance Spike examples</title>
<updated>2021-12-11T10:54:39Z</updated>
<author>
<name>Tsukasa OI</name>
<email>research_trasio@irq.a4lg.com</email>
</author>
<published>2021-12-03T01:13:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=66fbcc03df0444bb6ce2286d3605cbc13b361cb1'/>
<id>urn:sha1:66fbcc03df0444bb6ce2286d3605cbc13b361cb1</id>
<content type='text'>
This commit makes Spike usable as QEMU (in fact, those are based on
QEMU examples).

Signed-off-by: Tsukasa OI &lt;research_trasio@irq.a4lg.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: pmu: support the event ID encoded by a bitmap.</title>
<updated>2021-12-03T04:07:03Z</updated>
<author>
<name>Vincent Chen</name>
<email>vincent.chen@sifive.com</email>
</author>
<published>2021-12-02T01:45:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=2428987cc06310f0e54abd4ce2efe3ed60f52245'/>
<id>urn:sha1:2428987cc06310f0e54abd4ce2efe3ed60f52245</id>
<content type='text'>
RISC-V privilege specification does not specify how to encode the event ID.
Therefore, each platform is allowed to customize its own encoding rule.
The common encoding methods are as follow, directly assigning a number to an
event, or every bit in the mphmevent CSR controls one specified event or
mixes the above two methods.

To enable OpenSBI to support the above three encoding methods simultaneously,
this patch repurpose the dt property "riscv,raw-event-to-mhpmcounters". The
"riscv,raw-event-to-mhpmcounters" will describes the one or multiple raw
events that could be counted by a set of counters. But, the column number
of "riscv,raw-event-to-mhpmcounters" is extended from 2 to 3. The 1st column
(64bit) is the ID of the raw events. The 2nd column (64bit) represents a
select_mask now to represent the bits used for event ID encoding.
If a platform directly encodes each raw PMU event as a unique ID,
the value of select_mask will be 0xffffffff_ffffffff.

Signed-off-by: Vincent Chen &lt;vincent.chen@sifive.com&gt;
Signed-off-by: Atish Patra&lt;atishp@rivosinc.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: Rename the prefix in PMU DT properties</title>
<updated>2021-11-11T12:24:46Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2021-11-08T18:53:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=15906a3984f7c22b81802bcadaa4e517f4f685c8'/>
<id>urn:sha1:15906a3984f7c22b81802bcadaa4e517f4f685c8</id>
<content type='text'>
As per the DT schema rules, the prefix should be vendor. As the PMU
properties are generic for all vendors, change the prefix to riscv
instead of pmu.

Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/irqchip: Automatically delegate T-HEAD PLIC access</title>
<updated>2021-10-21T04:36:00Z</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2021-10-18T05:33:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=78c2b19218bd62653b9fb31623a42ced45f38ea6'/>
<id>urn:sha1:78c2b19218bd62653b9fb31623a42ced45f38ea6</id>
<content type='text'>
The T-HEAD PLIC implementation requires setting a delegation bit
to allow access from S-mode. Now that the T-HEAD PLIC has its own
compatible string, set this bit automatically from the PLIC driver,
instead of reaching into the PLIC's MMIO space from another driver.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>docs: Document FW_PIC compile time option</title>
<updated>2021-07-17T12:13:37Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-07-12T00:48:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=2c74dc3c47f7e77b42735e383292de920273bf97'/>
<id>urn:sha1:2c74dc3c47f7e77b42735e383292de920273bf97</id>
<content type='text'>
FW_PIC=y is on by default, but the doc is missing when this was
introduced. Add some description for it.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>docs: Document parameters passed to firmware and alignment requirement</title>
<updated>2021-07-17T12:00:48Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-07-10T14:28:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=a4555e5698c1fbf5d89a849fbc8c01594401cf0a'/>
<id>urn:sha1:a4555e5698c1fbf5d89a849fbc8c01594401cf0a</id>
<content type='text'>
This updates documentation to describe parameters passed to firmware
from previous booting stage, and corresponding address alignment
requirement.

This also fixes a typo in fw_dynamic.md (it's =&gt; its).

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>docs: Make &lt;xyz&gt; visible in the rendered platform guide</title>
<updated>2021-07-11T06:28:31Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-07-08T11:07:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=abfce9b25c7ec12a214bf3e9f85b5a3c8fb91b67'/>
<id>urn:sha1:abfce9b25c7ec12a214bf3e9f85b5a3c8fb91b67</id>
<content type='text'>
At present in the rendered platform guide, all instances of &lt;xyz&gt;
are missing. Use &amp;lt; and &amp;gt; to replace &lt;&gt; to make them visible.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>docs: Correct a typo in platform_guide.md</title>
<updated>2021-07-11T06:25:55Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-07-08T11:07:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=dafaa0f54b8a2781f97150ecff5e087f208e788c'/>
<id>urn:sha1:dafaa0f54b8a2781f97150ecff5e087f208e788c</id>
<content type='text'>
It's riscv-pk, not riskv-pk.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>docs: Add device tree bindings for SBI PMU extension</title>
<updated>2021-07-11T04:40:16Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2021-07-10T16:18:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=3e8b31aca988955800d15329f1d4e48b4fbe7233'/>
<id>urn:sha1:3e8b31aca988955800d15329f1d4e48b4fbe7233</id>
<content type='text'>
SBI PMU extension requires a firmware to be aware of the event to
counter/mhpmevent mappings supported by the hardware. One approach
is to encode that information in the device tree.

Define a device tree binding that allows a hardware to describe
all the PMU mappings required in concise format.

Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>docs/platform: thead-c9xx: Remove FW_PIC=y</title>
<updated>2021-07-06T05:20:44Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-07-03T15:09:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=197e08941bd394b6b88ad07c5a3adfe67f5b3b10'/>
<id>urn:sha1:197e08941bd394b6b88ad07c5a3adfe67f5b3b10</id>
<content type='text'>
FW_PIC is on by default. Hence no need to explicitly require it.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
