<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/utils/irqchip, branch v0.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/utils/irqchip?h=v0.7</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/utils/irqchip?h=v0.7'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2020-04-06T03:28:56Z</updated>
<entry>
<title>lib: irqchip/plic: Fix maximum priority threshold value</title>
<updated>2020-04-06T03:28:56Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2020-04-03T18:13:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=f281de885ec9417a6d3ae702d0ed5acab6396bee'/>
<id>urn:sha1:f281de885ec9417a6d3ae702d0ed5acab6396bee</id>
<content type='text'>
As per the PLIC specification, maximum priority threshold value is 0x7.
Even though, writing a higher value doesn't cause any error in qemu
hifive unleashed, there may be some implementation which checks the upper
and may result in an illegal access.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&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>lib: utils: Move PLIC DT fix up codes to fdt_helper.c</title>
<updated>2020-03-18T04:10:14Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2020-03-17T14:59:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=6af55769eb8cd5b9c7fdcd959586e0bc0fce3994'/>
<id>urn:sha1:6af55769eb8cd5b9c7fdcd959586e0bc0fce3994</id>
<content type='text'>
Now that we have a dedicated fdt_helper.c file for DT releated
helper routines, move plic_fdt_fixup() codes from plic.c to
fdt_helper.c and rename it to fdt_plic_fixup() at the same time,
to keep name consistency in the same file.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: irqchip/plic: Disable all contexts and IRQs</title>
<updated>2020-02-13T04:28:27Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2020-02-12T01:42:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c2bfa2bff30312679cfee986bbed9b974c6760bb'/>
<id>urn:sha1:c2bfa2bff30312679cfee986bbed9b974c6760bb</id>
<content type='text'>
To initialize PLIC in sane state, we should:
1. set maximum threshold value of M-mode PLIC contexts
2. set maximum threshold value of S-mode PLIC contexts
3. set irq priorities to miniumum

Fix the comment and initialize the threshold/priorities correctly.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Use correct type for return value</title>
<updated>2019-08-12T03:53:28Z</updated>
<author>
<name>Jacob Garber</name>
<email>jgarber1@ualberta.ca</email>
</author>
<published>2019-08-09T23:13:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=6ddf71e6e90878ee107b0d9f98492ad27d31c73a'/>
<id>urn:sha1:6ddf71e6e90878ee107b0d9f98492ad27d31c73a</id>
<content type='text'>
The error check 'plic_off &lt; 0' does nothing, since plic_off is stored as
a u32. Fix this by changing it to an int, which matches the return type of
fdt_node_offset_by_compatible().

Signed-off-by: Jacob Garber &lt;jgarber1@ualberta.ca&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>utils: Use cpu_to_fdt32() when writing to fdt</title>
<updated>2019-07-25T03:29:50Z</updated>
<author>
<name>Georg Kotheimer</name>
<email>georg.kotheimer@kernkonzept.com</email>
</author>
<published>2019-07-24T09:38:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=bf2ee7bcdc9b94aa4c62f197adeb71bab20bcfa3'/>
<id>urn:sha1:bf2ee7bcdc9b94aa4c62f197adeb71bab20bcfa3</id>
<content type='text'>
Although it does not make a functional difference, both cpu_to_fdt32()
and fdt32_to_cpu() pass on to CPU_TO_FDT32, we should use cpu_to_fdt32()
to be semantically correct.

Signed-off-by: Georg Kotheimer &lt;georg.kotheimer@kernkonzept.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>Changed plic_set_thresh() and plic_set_ie() to public</title>
<updated>2019-06-29T11:34:06Z</updated>
<author>
<name>Panagiotis Peristerakis</name>
<email>perister@ics.forth.gr</email>
</author>
<published>2019-06-21T08:47:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c6d06a94486479bf36f5325d83847d478907195a'/>
<id>urn:sha1:c6d06a94486479bf36f5325d83847d478907195a</id>
<content type='text'>
Signed-off-by: Panagiotis Peristerakis &lt;perister@ics.forth.gr&gt;
</content>
</entry>
<entry>
<title>utils: Remove tinyfdt.c</title>
<updated>2019-06-19T04:25:13Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5dd93e88fe3c9775107402bd32b91f8ccc2abe82'/>
<id>urn:sha1:5dd93e88fe3c9775107402bd32b91f8ccc2abe82</id>
<content type='text'>
tinyfdt.c was originally added to provide a minimal implementation of
fdt parsing. However, we have already included libfdt in OpenSBI for
more complicated operations.

Remove tinfdt and replace its functiolity using libfdt.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: Enable all drivers by default.</title>
<updated>2019-06-19T04:19:05Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b2d0caf86b633e4242bc320d03ba7d13ff99b7f1'/>
<id>urn:sha1:b2d0caf86b633e4242bc320d03ba7d13ff99b7f1</id>
<content type='text'>
The drivers and libfdt are built as libsbiutils.a
instead of libplatsbi.a.

libsbiutils.a are not built per platform specific. Thus,
enable all drivers by default.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: Rename string.x to sbi_string.x</title>
<updated>2019-06-19T04:18:59Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=200ed7c1bdb4d39caf9d0126e3741e72982852b0'/>
<id>urn:sha1:200ed7c1bdb4d39caf9d0126e3741e72982852b0</id>
<content type='text'>
All string functions are part of libsbi. It makes more sense
to rename them to sbi_string.x as the libsbi can be linked
with external libraries that can have similar implementation.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>platform: Move platform common to lib/utils.</title>
<updated>2019-06-19T04:18:56Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-06-18T21:54:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=793e5e1184f04012804914bd922e68536f3b68dd'/>
<id>urn:sha1:793e5e1184f04012804914bd922e68536f3b68dd</id>
<content type='text'>
Currently, platform/common contains platform/non-platform specific
common minimal drivers and libraries. This is helpful is all platforms
are built within opensbi framework.

Move them to lib/utils so that any external platform code also can
reuse the minimalistic drivers or other common libraries.

This patch doesn't introduce any functional changes.

Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
