<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target/loongarch, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/target/loongarch?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target/loongarch?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-07T02:54:11+00:00</updated>
<entry>
<title>target/loongarch: Fix return value of CHECK_FPE</title>
<updated>2022-11-07T02:54:11+00:00</updated>
<author>
<name>Rui Wang</name>
</author>
<published>2022-11-07T02:45:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e913bace61c539a88feb489b424554ebb2d5d3a3'/>
<id>urn:sha1:e913bace61c539a88feb489b424554ebb2d5d3a3</id>
<content type='text'>
Regarding the patchset v3 has been merged into main line, and not
approved, this patch updates to patchset v4.

Fixes: 2419978c ("target/loongarch: Fix emulation of float-point disable exception")
Link: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg00808.html
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Rui Wang &lt;wangrui@loongson.cn&gt;
Message-Id: &lt;20221107024526.702297-3-wangrui@loongson.cn&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Separate the hardware flags into MMU index and PLV</title>
<updated>2022-11-07T02:54:08+00:00</updated>
<author>
<name>Rui Wang</name>
</author>
<published>2022-11-07T02:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c8885b8839dfe39ee7b02dedcbf79af9087c9079'/>
<id>urn:sha1:c8885b8839dfe39ee7b02dedcbf79af9087c9079</id>
<content type='text'>
Regarding the patchset v3 has been merged into main line, and not
approved, this patch updates to patchset v4.

Fixes: b4bda200 ("target/loongarch: Adjust the layout of hardware flags bit fields")
Link: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg00808.html
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Rui Wang &lt;wangrui@loongson.cn&gt;
Message-Id: &lt;20221107024526.702297-2-wangrui@loongson.cn&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Fix emulation of float-point disable exception</title>
<updated>2022-11-04T09:10:53+00:00</updated>
<author>
<name>Rui Wang</name>
</author>
<published>2022-11-04T04:05:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2419978cb09e11bc53a07d4de5621424d2a6a86d'/>
<id>urn:sha1:2419978cb09e11bc53a07d4de5621424d2a6a86d</id>
<content type='text'>
We need to emulate it to generate a floating point disable exception
when CSR.EUEN.FPE is zero.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Song Gao &lt;gaosong@loongson.cn&gt;
Signed-off-by: Rui Wang &lt;wangrui@loongson.cn&gt;
Message-Id: &lt;20221104040517.222059-3-wangrui@loongson.cn&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Adjust the layout of hardware flags bit fields</title>
<updated>2022-11-04T09:10:52+00:00</updated>
<author>
<name>Rui Wang</name>
</author>
<published>2022-11-04T04:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b4bda2006f482f778d9dbf86038ff115fe89db92'/>
<id>urn:sha1:b4bda2006f482f778d9dbf86038ff115fe89db92</id>
<content type='text'>
Suggested-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Song Gao &lt;gaosong@loongson.cn&gt;
Signed-off-by: Rui Wang &lt;wangrui@loongson.cn&gt;
Message-Id: &lt;20221104040517.222059-2-wangrui@loongson.cn&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Fix raise_mmu_exception() set wrong exception_index</title>
<updated>2022-11-04T09:09:50+00:00</updated>
<author>
<name>Song Gao</name>
</author>
<published>2022-11-01T06:53:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8752b1306002237c39b3f849ca564c9db55c8b1f'/>
<id>urn:sha1:8752b1306002237c39b3f849ca564c9db55c8b1f</id>
<content type='text'>
When the address is invalid address, We should set exception_index
according to MMUAccessType, and EXCCODE_ADEF need't update badinstr.
Otherwise, The system enters an infinite loop. e.g:
run test.c on system mode
test.c:
    #include&lt;stdio.h&gt;

    void (*func)(int *);

    int main()
    {
        int i = 8;
        void *ptr = (void *)0x4000000000000000;
        func = ptr;
        func(&amp;i);
        return 0;
    }

Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-ID: &lt;20221101073210.3934280-2-gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Add exception subcode</title>
<updated>2022-11-04T09:09:50+00:00</updated>
<author>
<name>Song Gao</name>
</author>
<published>2022-11-01T03:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a6b129c8102668717370ec27490523fb1290ae5d'/>
<id>urn:sha1:a6b129c8102668717370ec27490523fb1290ae5d</id>
<content type='text'>
We need subcodes to distinguish the same excode cs-&gt;exception_indexs,
such as EXCCODE_ADEF/EXCCODE_ADEM.

Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-ID: &lt;20221101073210.3934280-1-gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>hw/intc: Fix LoongArch extioi coreisr accessing</title>
<updated>2022-11-04T09:07:40+00:00</updated>
<author>
<name>Xiaojuan Yang</name>
</author>
<published>2022-10-21T01:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a649fffcc9589a88464474e9105798eb62023352'/>
<id>urn:sha1:a649fffcc9589a88464474e9105798eb62023352</id>
<content type='text'>
1. When cpu read or write extioi COREISR reg, it should access
the reg belonged to itself, so the cpu index of 's-&gt;coreisr'
is current cpu number. Using MemTxAttrs' requester_id to get
the cpu index.
2. it need not to mask 0x1f when calculate the coreisr array index.

Signed-off-by: Xiaojuan Yang &lt;yangxiaojuan@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20221021015307.2570844-3-yangxiaojuan@loongson.cn&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Convert to tcg_ops restore_state_to_opc</title>
<updated>2022-10-26T01:11:28+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-10-24T10:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ab27940f8e6a0e092c72b0602c5a8cc379f26d99'/>
<id>urn:sha1:ab27940f8e6a0e092c72b0602c5a8cc379f26d99</id>
<content type='text'>
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Fix fnm{sub/add}_{s/d} set wrong flags</title>
<updated>2022-10-17T02:28:35+00:00</updated>
<author>
<name>Song Gao</name>
</author>
<published>2022-09-30T02:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=153620126add5c4868308cc5831d400c7e7029ad'/>
<id>urn:sha1:153620126add5c4868308cc5831d400c7e7029ad</id>
<content type='text'>
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Message-Id: &lt;20220930024510.800005-3-gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: bstrins.w src register need EXT_NONE</title>
<updated>2022-10-17T02:28:35+00:00</updated>
<author>
<name>Song Gao</name>
</author>
<published>2022-09-30T02:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=68e35a2b75eaf1a55a83bb0b102aeb017ab44e06'/>
<id>urn:sha1:68e35a2b75eaf1a55a83bb0b102aeb017ab44e06</id>
<content type='text'>
use gen_bstrins/gen_bstrpic to replace gen_rr_ms_ls.

Suggested-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220930024510.800005-2-gaosong@loongson.cn&gt;
</content>
</entry>
</feed>
