<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/utils, branch v1.5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/utils?h=v1.5</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/utils?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2024-06-13T16:24:09Z</updated>
<entry>
<title>lib: serial: fix RX path in litex-uart</title>
<updated>2024-06-13T16:24:09Z</updated>
<author>
<name>Gabriel Somlo</name>
<email>gsomlo@gmail.com</email>
</author>
<published>2024-06-07T18:23:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7830e987856eb1319c82664702892b6d50a93e7a'/>
<id>urn:sha1:7830e987856eb1319c82664702892b6d50a93e7a</id>
<content type='text'>
When used to read characters from the terminal (e.g., when the SBI
console is used via ecall from linux with `console=hvc0`), we must
acknowledge receipt of each character to "pop" it off the LiteUART
hardware queue, and allow the next character to be made available.

Fixes: 52af6e4b ("lib: utils: Add LiteX UART support")
Suggested-by: Dolu1990 &lt;charles.papon.90@gmail.com&gt;
Signed-off-by: Gabriel Somlo &lt;gsomlo@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Try initializing all reset devices in dt</title>
<updated>2024-06-13T16:18:03Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-13T15:03:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=62e178a0a7b989d7cab9b2d4e33b291bc9a58c65'/>
<id>urn:sha1:62e178a0a7b989d7cab9b2d4e33b291bc9a58c65</id>
<content type='text'>
In DT, multiple reset devices may use the same driver, and they
may have different priorities. If rc is returned after the first
initialization, the highest priority device may be lost.

Fixes: a73ff043e991 (lib: utils/reset: Fix fdt_reset to search for more dt nodes)
Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Fix fdt_reset to search for more dt nodes</title>
<updated>2024-06-13T13:19:51Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=a73ff043e99122be9f50215f04d0a8e93d69a978'/>
<id>urn:sha1:a73ff043e99122be9f50215f04d0a8e93d69a978</id>
<content type='text'>
If there are multiple dt nodes, the previous code only tries to match
the first one, which may lose initialization.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Skip initialize reset when dt is not enabled</title>
<updated>2024-06-13T13:10:38Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b5c984bd089510cc6c7ad7a5646ead1cf8ea676a'/>
<id>urn:sha1:b5c984bd089510cc6c7ad7a5646ead1cf8ea676a</id>
<content type='text'>
When the dt node has a status property and the value is not ok or
okay, skip initializing reset.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/serial: Fix fdt_serial to match more dt nodes</title>
<updated>2024-06-13T13:09:37Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=86bbe6c52faf48a5bcca2e3073d47d501408bee0'/>
<id>urn:sha1:86bbe6c52faf48a5bcca2e3073d47d501408bee0</id>
<content type='text'>
If there are multiple dt nodes, the previous code only tries to match
the first one, which may lose initialization.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/serial: Skip initialize serial when dt is not enabled</title>
<updated>2024-06-13T13:06:49Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=179e00a320df905f22cf2788880d5e1455795bf7'/>
<id>urn:sha1:179e00a320df905f22cf2788880d5e1455795bf7</id>
<content type='text'>
When the dt node has a status property and the value is not ok or
okay, skip initializing serial.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/irqchip: Skip initialize irqchip when dt is not enabled</title>
<updated>2024-06-13T13:03:52Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b1c7c750f75dc027602688e4cb192d7b883c71d3'/>
<id>urn:sha1:b1c7c750f75dc027602688e4cb192d7b883c71d3</id>
<content type='text'>
When the dt node has a status property and the value is not ok or
okay, skip initializing irqchip.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/timer: Skip initialize timer when dt is not enabled</title>
<updated>2024-06-13T13:01:40Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5e3ad7d577573e158bb2ca90ae647d64db3f4a32'/>
<id>urn:sha1:5e3ad7d577573e158bb2ca90ae647d64db3f4a32</id>
<content type='text'>
When the dt node has a status property and the value is not ok or
okay, skip initializing timer.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/ipi: Skip initialize ipi when dt is not enabled</title>
<updated>2024-06-13T13:00:27Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c5be0e1ed1fa17b9f9abb49e80db014e067523e4'/>
<id>urn:sha1:c5be0e1ed1fa17b9f9abb49e80db014e067523e4</id>
<content type='text'>
When the dt node has a status property and the value is not ok or
okay, skip initializing ipi.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/fdt: Fix DT property for APLIC delegation</title>
<updated>2024-06-05T05:24:59Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2024-06-05T05:18:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=df3db6a9012916c44bcab221e6d6a264d9621b30'/>
<id>urn:sha1:df3db6a9012916c44bcab221e6d6a264d9621b30</id>
<content type='text'>
During Linux AIA driver review, the APLIC DT property for interrupt
delegation was renamed to "riscv,delegation" so let's use the new DT
property name and fallback to old DT property name if the new DT
property name is not available.

Fixes: 34612193af92 ("lib: utils/irqchip: Add FDT based driver for APLIC")
Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
</content>
</entry>
</feed>
