Re: What's the correct way to implement rfi and related instruction.

2021-01-13 Thread Cédric Le Goater
On 1/12/21 2:52 PM, 罗勇刚(Yonggang Luo) wrote: > > > On Tue, Jan 12, 2021 at 5:23 PM Cédric Le Goater > wrote: >> >> > QEMU 5.2.x, an e300 based machine ppc603 are impacted. >> > Here is my fix, narrowed down to  MSR_TGPR and  MSR_ILE >> > ``` >> > From 42ce41671f1e6c4dd44e6f

Re: What's the correct way to implement rfi and related instruction.

2021-01-13 Thread Yonggang Luo
On Tue, Jan 12, 2021 at 1:23 AM Cédric Le Goater wrote: > > > QEMU 5.2.x, an e300 based machine ppc603 are impacted. > > Here is my fix, narrowed down to MSR_TGPR and MSR_ILE > > ``` > > From 42ce41671f1e6c4dd44e6fb481bbda9df09320bd Mon Sep 17 00:00:00 2001 > > From: Yonggang Luo mailto:luoyongg

Re: What's the correct way to implement rfi and related instruction.

2021-01-12 Thread Yonggang Luo
On Tue, Jan 12, 2021 at 5:23 PM Cédric Le Goater wrote: > > > QEMU 5.2.x, an e300 based machine ppc603 are impacted. > > Here is my fix, narrowed down to MSR_TGPR and MSR_ILE > > ``` > > From 42ce41671f1e6c4dd44e6fb481bbda9df09320bd Mon Sep 17 00:00:00 2001 > > From: Yonggang Luo mailto:luoyongg

Re: What's the correct way to implement rfi and related instruction.

2021-01-12 Thread Cédric Le Goater
> QEMU 5.2.x, an e300 based machine ppc603 are impacted. > Here is my fix, narrowed down to  MSR_TGPR and  MSR_ILE > ``` > From 42ce41671f1e6c4dd44e6fb481bbda9df09320bd Mon Sep 17 00:00:00 2001 > From: Yonggang Luo mailto:luoyongg...@gmail.com>> > Date: Sun, 10 Jan 2021 00:08:00 -0800 > Subject: [P

Re: What's the correct way to implement rfi and related instruction.

2021-01-10 Thread Yonggang Luo
On Fri, Jan 8, 2021 at 2:02 AM Cédric Le Goater wrote: > > On 1/8/21 5:21 AM, 罗勇刚(Yonggang Luo) wrote: > > > > > > On Fri, Jan 8, 2021 at 5:54 AM Cédric Le Goater > wrote: > >> > >> On 1/7/21 8:14 PM, 罗勇刚(Yonggang Luo) wrote: > >> > This is the first patch,: > >> > It's store MSR bits differntly f

Re: What's the correct way to implement rfi and related instruction.

2021-01-08 Thread Cédric Le Goater
On 1/8/21 5:21 AM, 罗勇刚(Yonggang Luo) wrote: > > > On Fri, Jan 8, 2021 at 5:54 AM Cédric Le Goater > wrote: >> >> On 1/7/21 8:14 PM, 罗勇刚(Yonggang Luo) wrote: >> > This is the first patch,: >> > It's store MSR bits differntly for different rfi instructions: >> > [Qemu-devel]

Re: What's the correct way to implement rfi and related instruction.

2021-01-07 Thread Yonggang Luo
On Fri, Jan 8, 2021 at 5:54 AM Cédric Le Goater wrote: > > On 1/7/21 8:14 PM, 罗勇刚(Yonggang Luo) wrote: > > This is the first patch,: > > It's store MSR bits differntly for different rfi instructions: > > [Qemu-devel] [PATCH] target-ppc: fix RFI by clearing some bits of MSR > > https://lists.gnu.or

Re: What's the correct way to implement rfi and related instruction.

2021-01-07 Thread Cédric Le Goater
On 1/7/21 8:14 PM, 罗勇刚(Yonggang Luo) wrote: > This is the first patch,: > It's store MSR bits differntly for different rfi instructions: > [Qemu-devel] [PATCH] target-ppc: fix RFI by clearing some bits of MSR > https://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02999.html >