<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/opensbi.git, branch StarFive_JH7100_generic</title>
<subtitle>StarFive Tech OpenSBI for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/opensbi.git/atom?h=StarFive_JH7100_generic</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/opensbi.git/atom?h=StarFive_JH7100_generic'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/'/>
<updated>2021-06-17T17:36:08+00:00</updated>
<entry>
<title>Clear 0x7c1 CSR</title>
<updated>2021-06-17T17:36:08+00:00</updated>
<author>
<name>David Abdurachmanov</name>
<email>david.abdurachmanov@gmail.com</email>
</author>
<published>2021-05-20T09:47:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=2acaad3729d20761480cd1f355f75fc1e5c18c8b'/>
<id>urn:sha1:2acaad3729d20761480cd1f355f75fc1e5c18c8b</id>
<content type='text'>
Signed-off-by: David Abdurachmanov &lt;david.abdurachmanov@gmail.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Fix GET_F64_REG inline assembly</title>
<updated>2021-06-12T04:23:33+00:00</updated>
<author>
<name>Charles Papon</name>
<email>charles.papon.90@gmail.com</email>
</author>
<published>2021-06-12T04:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=79f9b4220ffa7f74356054be25d450d7958bf16c'/>
<id>urn:sha1:79f9b4220ffa7f74356054be25d450d7958bf16c</id>
<content type='text'>
Current, GET_F64_REG() macro does not generate correct inline
assembly for the RV32 systems. This patch provides separate
definitions of GET_F64_REG() macro for RV32 and RV64 systems.

Signed-off-by: Charles Papon &lt;charles.papon.90@gmail.com&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: missing initialization in thead_reset_init</title>
<updated>2021-06-11T13:50:16+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-06-08T20:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=360ab88569201f8d282cf98546b86b8576b6f2ad'/>
<id>urn:sha1:360ab88569201f8d282cf98546b86b8576b6f2ad</id>
<content type='text'>
If property csr-copy does not exist, fdt_getprop() will return NULL and cnt
will have a random value from the stack.

Call clone_csrs() only if cnt is initialized to a non-zero value.

Fixes: 49e422c5ad7a ("lib: utils: reset: Add T-HEAD sample platform reset driver")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi_scratch: zero out scratch memory on all harts</title>
<updated>2021-06-11T08:29:48+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-06-05T12:22:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=1da3d80b5bc074fce077adc47c97f3179c0addd9'/>
<id>urn:sha1:1da3d80b5bc074fce077adc47c97f3179c0addd9</id>
<content type='text'>
In sbi_scratch_init() we determine the last hart. The index of the last
hart cannot exceed SBI_HARTMASK_MAX_BITS - 1. We should not initialize
last_hartid_having_scratch to a higher number to avoid buffer overflows
when using this value before calling sbi_scratch_init().

When allocating scratch memory in sbi_scratch_alloc_offset() we zero out
the allocated memory for all harts except for the last one. We should not
skip the last hart.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: andes/ae350: Drop plicsw_ipi_sync()</title>
<updated>2021-06-11T05:51:14+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-06-04T15:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=434198e3be65732d2a326b369377d4db732c1af8'/>
<id>urn:sha1:434198e3be65732d2a326b369377d4db732c1af8</id>
<content type='text'>
plicsw_ipi_sync() is a forward declaration but without the actual
implementation. Drop 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>platform: andes/ae350: Drop plicsw_get_pending()</title>
<updated>2021-06-11T05:50:18+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-06-04T15:35:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=de446ccf180575db3fe85d4bca468848faee359f'/>
<id>urn:sha1:de446ccf180575db3fe85d4bca468848faee359f</id>
<content type='text'>
This is not used anywhere. Drop 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/platform: andes-ae350: Fix missing spaces</title>
<updated>2021-06-11T05:48:07+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-06-04T15:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=b32fac4b65aabcd5fb555a87fcd94b4f2e297357'/>
<id>urn:sha1:b32fac4b65aabcd5fb555a87fcd94b4f2e297357</id>
<content type='text'>
Fix several places in the docmentation that are missing spaces.

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>platform: andes/ae350: Cosmetic fixes in plicsw.c</title>
<updated>2021-06-11T05:46:46+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-06-04T15:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=a03ea2e2b1e5e81c018c4ebcce34e241eb2c6b90'/>
<id>urn:sha1:a03ea2e2b1e5e81c018c4ebcce34e241eb2c6b90</id>
<content type='text'>
- %s/CLINT/PLICSW
- replace '.' with a space
- add a space around * in plicsw_cold_ipi_init()

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>lib: sbi_scratch: remove owner from sbi_scratch_alloc_offset</title>
<updated>2021-06-02T11:37:26+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-05-29T19:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=f30b18944e900174bfa9a372ed9d344256891e3a'/>
<id>urn:sha1:f30b18944e900174bfa9a372ed9d344256891e3a</id>
<content type='text'>
The parameter owner of function sbi_scratch_alloc_offset() is never used.
The scratch memory is small. We should not use it for debug information in
future. Hence eliminate the parameter.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: consider ':' in stdout-path</title>
<updated>2021-06-02T11:36:17+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-05-28T17:06:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=66c4fca532288c750681f33339016772b0ffbf2a'/>
<id>urn:sha1:66c4fca532288c750681f33339016772b0ffbf2a</id>
<content type='text'>
The value of the /chosen/stdout-path devicetree property is used to
determine the UART used by openSBI. According to the devicetree
specification the value may contain a hyphen, e.g.

	chosen {
                stdout-path = "/serial@f00:115200";
        };

If the character ':' is present, it terminates the path of the device.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
</feed>
