[PATCH v6 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-23 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com --- v6: 1. rename epapr_para to epapr_paravirt 2. remove redundant warnings 3. remove unnecessary init arch/powerpc/include/asm/epapr_hcalls.h |2 + arch/powerpc/kernel/Makefile|1 + arch

[PATCH v6 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-02-23 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com --- v6: no change arch/powerpc/include/asm/Kbuild |1 + arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c

[PATCH v6 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-23 Thread Liu Yu
If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- v6: reuse the EV_IDLE definition arch/powerpc/include/asm/epapr_hcalls.h | 11 ++- arch/powerpc/kernel/epapr_hcalls.S | 27 +++ arch/powerpc/kernel

[PATCH v6 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-23 Thread Liu Yu
Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu yu@freescale.com --- v6: select epapr_paravirt when enable fsl_hv driver arch/powerpc/include/asm/epapr_hcalls.h | 22 +- arch/powerpc/include/asm/fsl_hcalls.h | 36

RE: [PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-21 Thread Liu Yu-B13201
-Original Message- From: tiejun.chen [mailto:tiejun.c...@windriver.com] Sent: Tuesday, February 21, 2012 6:54 PM To: Liu Yu-B13201 Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org; Wood Scott-B07421 Subject: Re: [PATCH v5 3/4] KVM: PPC

RE: [PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-21 Thread Liu Yu-B13201
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, February 22, 2012 5:56 AM To: Liu Yu-B13201 Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org; Wood Scott-B07421 Subject: Re: [PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr

RE: [PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-21 Thread Liu Yu-B13201
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, February 22, 2012 5:58 AM To: Liu Yu-B13201 Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org; Wood Scott-B07421 Subject: Re: [PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall

RE: [PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-21 Thread Liu Yu-B13201
-Original Message- From: tiejun.chen [mailto:tiejun.c...@windriver.com] Sent: Wednesday, February 22, 2012 10:52 AM To: Liu Yu-B13201 Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org; Wood Scott-B07421 Subject: Re: [PATCH v5 3/4] KVM: PPC

[PATCH v5 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-20 Thread Liu Yu
If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- v5: no change arch/powerpc/kernel/epapr_hcalls.S | 29 + arch/powerpc/kernel/epapr_paravirt.c | 11 ++- 2 files changed, 39 insertions(+), 1

[PATCH v5 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-02-20 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com --- v5: 1. remove the ifdef 2. add epapr_hcalls.h into headers install list arch/powerpc/include/asm/Kbuild |1 + arch/powerpc/include/asm

[PATCH v5 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-02-20 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com --- v5: 1. fix the if test 2. use patch_instruction() 3. code cleanup 4. rename the files 5. make epapr paravirt user-selectable arch/powerpc/include/asm/epapr_hcalls.h |2 + arch/powerpc/kernel/Makefile

[PATCH v5 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-02-20 Thread Liu Yu
Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu yu@freescale.com --- v5: new patch arch/powerpc/include/asm/epapr_hcalls.h | 22 +- arch/powerpc/include/asm/fsl_hcalls.h | 36 +++--- 2 files changed

RE: [PATCH v4 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-17 Thread Liu Yu-B13201
-Original Message- From: Wood Scott-B07421 Sent: Friday, February 17, 2012 1:13 AM To: Liu Yu-B13201 Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org; Wood Scott-B07421 Subject: Re: [PATCH v4 1/3] KVM: PPC: epapr: Factor out the epapr init

[PATCH v4 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-16 Thread Liu Yu
If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- v4: 1. discard the CONFIG_E500 to make code for all powerpc platform 2. code cleanup arch/powerpc/kernel/epapr.S | 29 + arch/powerpc/kernel/epapr_para.c

[PATCH v4 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-16 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com --- v4: 1. code cleanup 2. move kvm_hypercall_start() to epapr_hypercall_start() arch/powerpc/Kconfig|4 ++ arch/powerpc/include/asm/epapr_hcalls.h |2 + arch/powerpc/kernel/Makefile

[PATCH v4 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-16 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com --- v4: no change arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c |8 include/linux/kvm.h

RE: [PATCH v4 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-16 Thread Liu Yu-B13201
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, February 16, 2012 6:20 PM To: Liu Yu-B13201 Cc: kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc- d...@ozlabs.org; Wood Scott-B07421; Liu Yu-B13201 Subject: Re: [PATCH v4 2/3] KVM: PPC: epapr

RE: [PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-12 Thread Liu Yu-B13201
-Original Message- From: Wood Scott-B07421 Sent: Saturday, February 11, 2012 2:40 AM To: Liu Yu-B13201 Cc: ag...@suse.de; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org; Wood Scott-B07421 Subject: Re: [PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr

[PATCH v3 2/3] KVM: PPC: epapr: Add idle hcall support for host

2012-02-10 Thread Liu Yu
And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com --- v3: no change arch/powerpc/include/asm/kvm_para.h | 14 -- arch/powerpc/kvm/powerpc.c |8 include/linux/kvm.h

[PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-02-10 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com --- v3: apply the epapr init for all ppc platform arch/powerpc/Kconfig|4 +++ arch/powerpc/include/asm/epapr_hcalls.h |8 + arch/powerpc/kernel/Makefile|1 + arch

[PATCH v3 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-02-10 Thread Liu Yu
If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- v3: 1. apply the hcall idle for all ppc platform 2. add a loop to prevent spurious wakeups arch/powerpc/kernel/Makefile |2 +- arch/powerpc/kernel/epapr.S | 47

[PATCH 1/3] KVM: PPC: epapr: Factor out the epapr init

2012-01-05 Thread Liu Yu
from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com --- arch/powerpc/include/asm/epapr_hcalls.h |8 + arch/powerpc/kernel/Makefile|1 + arch/powerpc/kernel/epapr_para.c| 45 +++ arch/powerpc/kernel/kvm.c

[PATCH v2 3/3] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-01-05 Thread Liu Yu
If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- v2: 1. move the idle code into assembly. 2. move the part that check has-idle into epapr code. arch/powerpc/include/asm/epapr_hcalls.h |1 + arch/powerpc/include/asm/machdep.h |5

[PATCH 1/3] math_emu/efp: Code cleanup

2011-09-05 Thread Liu Yu
Use pr_debug instead of printk Signed-off-by: Liu Yu yu@freescale.com --- arch/powerpc/math-emu/math_efp.c | 83 +- 1 files changed, 37 insertions(+), 46 deletions(-) diff --git a/arch/powerpc/math-emu/math_efp.c b/arch/powerpc/math-emu/math_efp.c index

[PATCH 2/3] math_emu/efp: No need to round if the result is exact

2011-09-05 Thread Liu Yu
Signed-off-by: Liu Yu yu@freescale.com --- arch/powerpc/math-emu/math_efp.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/math-emu/math_efp.c b/arch/powerpc/math-emu/math_efp.c index 10fda0f..96dbbae 100644 --- a/arch/powerpc/math-emu

[PATCH 3/3] math_emu/efp: Look for errata handler when type mismatches

2011-09-05 Thread Liu Yu
We already have cpu a005 errata handler when instruction cannot be recgnized. Before we lookup the inst, there's type checking, and we also need to handle it in errata handler when the type checking failed. Signed-off-by: Liu Yu yu@freescale.com --- arch/powerpc/math-emu/math_efp.c |5

[PATCH 0/3] math_emu: fixup for efp

2011-09-05 Thread Liu Yu
These patches fix some issues in efp. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: [PATCH 2/4] KVM: PPC: booke: Wrap __kvmppc_vcpu_run()

2011-03-29 Thread Liu Yu-B13201
Subject: Re: [PATCH 2/4] KVM: PPC: booke: Wrap __kvmppc_vcpu_run() On 28.03.2011, at 21:25, Scott Wood wrote: From: yu liu yu@freescale.com We need to save/restore SPE environment on e500 core. Wrap __kvmppc_vcpu_run() so that we can put the SPE code in e500.c. Signed-off

RE: [PATCH] e500: Erratum cpu a005 workaround

2011-01-25 Thread Liu Yu-B13201
-Original Message- From: Gala Kumar-B11780 Sent: Tuesday, January 25, 2011 3:01 PM To: Liu Yu-B13201 Cc: linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780 Subject: Re: [PATCH] e500: Erratum cpu a005 workaround On Jan 25, 2011, at 12:02 AM, Liu Yu wrote: This errata can

RE: [PATCH 14/27] KVM: PPC: Magic Page BookE support

2010-07-12 Thread Liu Yu-B13201
-Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alexander Graf Sent: Thursday, July 01, 2010 6:43 PM To: kvm-...@vger.kernel.org Cc: KVM list; linuxppc-dev Subject: [PATCH 14/27] KVM: PPC: Magic Page BookE support As we now

RE: [PATCH] kvm/powerpc: fix a build error in e500_tlb.c

2010-06-06 Thread Liu Yu-B13201
-Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alexander Graf Sent: Friday, June 04, 2010 10:08 PM To: Kevin Hao Cc: Marcelo Tosatti; Kumar Gala; Avi Kivity; k...@vger.kernel.org list; linuxppc-...@ozlabs.org; Liu Yu-B13201

[PATCH 1/4] dts/mpc8569mds: Cleanup tbi phy to support rtbi

2010-01-14 Thread Liu Yu
After these change, when need to work in rtbi mode, just change phy-connection-type to rtbi. Also, this work can be done by u-boot. Signed-off-by: Liu Yu yu@freescale.com --- arch/powerpc/boot/dts/mpc8569mds.dts | 47 ++--- 1 files changed, 42 insertions(+), 5

[PATCH 2/4] mpc8569mds: Add bscr setting for rtbi mode

2010-01-14 Thread Liu Yu
Signed-off-by: Liu Yu yu@freescale.com --- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c index c5028a2..0872e4a

[PATCH 4/4] phy: add RTBI mode for m88e1111

2010-01-14 Thread Liu Yu
Signed-off-by: Liu Yu yu@freescale.com --- drivers/net/phy/marvell.c | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 6f69b9b..65ed385 100644 --- a/drivers/net/phy

[PATCH 3/4] ucc_geth: update the tbi-phy setting

2010-01-14 Thread Liu Yu
Old method only set tbi-phy for eth0. Signed-off-by: Liu Yu yu@freescale.com --- drivers/net/ucc_geth.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 750d86d..0e72013 100644 --- a/drivers

RE: [PATCH 4/4] phy: add RTBI mode for m88e1111

2010-01-14 Thread Liu Yu-B13201
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, January 15, 2010 12:20 AM To: Liu Yu-B13201 Cc: da...@davemloft.net; linuxppc-dev@lists.ozlabs.org; net...@vger.kernel.org Subject: Re: [PATCH 4/4] phy: add RTBI mode for m88e On Jan

[PATCH] qe: Update the SNUM table for MPC8569 Rev2.0

2010-01-12 Thread Liu Yu
. And u-boot will fixup FDT according to SPRN_SVR. Signed-off-by: Liu Yu yu@freescale.com Signed-off-by: Dave Liu dave...@freescale.com --- arch/powerpc/sysdev/qe_lib/qe.c | 22 -- drivers/net/ucc_geth.c |4 ++-- 2 files changed, 22 insertions(+), 4 deletions

RE: [PATCH 1/2] KVM/PPC: Fix PPC KVM e500_tlb.c build error

2009-07-02 Thread Liu Yu-B13201
-Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Thursday, July 02, 2009 7:20 PM To: Liu Yu-B13201 Cc: Yang Shi; holl...@us.ibm.com; kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org Subject: Re: [PATCH 1/2] KVM/PPC: Fix PPC KVM e500_tlb.c

RE: [PATCH 1/2] KVM/PPC: Fix PPC KVM e500_tlb.c build error

2009-07-01 Thread Liu Yu-B13201
This fix is already accepted in kvm.git -Original Message- From: Yang Shi [mailto:yang@windriver.com] Sent: Thursday, July 02, 2009 10:55 AM To: Liu Yu-B13201; holl...@us.ibm.com; a...@redhat.com Cc: kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc-...@ozlabs.org

RE: who know's what is TestFloat cases and how to test this feature onthe Freescale MPC8536DS board

2009-04-20 Thread Liu Yu-B13201
-Original Message- From: linuxppc-dev-bounces+b13201=freescale@ozlabs.org [mailto:linuxppc-dev-bounces+b13201=freescale@ozlabs.org] On Behalf Of derekzheng Sent: Sunday, April 19, 2009 5:25 PM To: 'linuxppc-dev'; microblaze-ucli...@itee.uq.edu.au;

[PATCH] efp: Fix efp dependence

2009-03-09 Thread Liu Yu
There is no dependece between efp and math-emu. But when disalbe math-emu, the efp code cannot be built. This patch fixes it. Signed-off-by: Liu Yu yu@freescale.com --- It would be nice to see this patch go along with 2.6.29 arch/powerpc/Makefile |4 ++-- arch/powerpc/math-emu

RE: [PATCH v2] powerpc/fsl-booke: declare tlbcam_index for use inc file

2009-01-05 Thread Liu Yu
-Original Message- From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Hollis Blanchard Sent: Tuesday, January 06, 2009 12:52 AM To: Gala Kumar-B11780 Cc: Liu Yu-B13201; kvm-...@vger.kernel.org; linuxppc-dev@ozlabs.org; Piepho Trent-B16872

[PATCH v2] powerpc/fsl-booke: declare tlbcam_index for use in c file

2008-12-18 Thread Liu Yu
KVM on E500 platform currently utilize TLB1 entries without bothering host, that is using unused TLB1 entries. So, KVM needs to read tlbcam_index to know exactly which TLB1 entry is unused by host. Signed-off-by: Liu Yu yu@freescale.com --- [v2] Remove num_tlbcam_entries declare and read

[PATCH] fsl-booke: declare tlbcam_index and num_tlbcam_entries for use in c file

2008-12-10 Thread Liu Yu
KVM on E500 platform currently utilize TLB1 entries without bothering host, that is using unused TLB1 entries. So, KVM needs to read tlbcam_index and num_tlbcam_entries to know exactly which TLB1 entry is unused. Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/include/asm/mmu-fsl

RE: [PATCH] fsl-booke: declare tlbcam_index and num_tlbcam_entries for use in c file

2008-12-10 Thread Liu Yu
-Original Message- From: Piepho Trent-B16872 Sent: Wednesday, December 10, 2008 10:04 PM To: Liu Yu-B13201 Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED]; Wood Scott-B07421; Gala Kumar-B11780 Subject: Re: [PATCH] fsl-booke: declare tlbcam_index and num_tlbcam_entries for use

[Patch 0/4] math-emu

2008-10-27 Thread Liu Yu
These patches are related to math-emu. [Patch 1/4] Fix a fdiv bug of FP math-emu [Patch 2/4] Update a macro to new version [Patch 3/4] Remove redundant code [Patch 4/4] Add SPE/EFP handlers for E500v1/v2 processors ___ Linuxppc-dev mailing list

[PATCH 2/4] math-emu: Adopt new version of _FP_CHOOSENAN

2008-10-27 Thread Liu Yu
Move to using the same macro definition for _FP_CHOOSENAN as s390, sh, sparc32/64. The original author didn't understand this and matched what sparc64 was doing and they have updated to this definition. Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/include/asm/sfp-machine.h

[PATCH 1/4] math-emu: Fix single float point division bug

2008-10-27 Thread Liu Yu
is normalized before udiv_qrnnd. Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/include/asm/sfp-machine.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/sfp-machine.h b/arch/powerpc/include/asm/sfp-machine.h index ced34f1..da12ea7

[PATCH 3/4] math-emu: Remove redundant 'ret'

2008-10-27 Thread Liu Yu
FP_DECL_EX is already used, so ret is redundant. And FP_SET_EXCEPTION will add status into return value. Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/math-emu/fadd.c|1 - arch/powerpc/math-emu/fcmpo.c |5 ++--- arch/powerpc/math-emu/fdiv.c|9 - arch

[PATCH 4/4] Add SPE/EFP math emulation for E500v1/v2 processors.

2008-10-27 Thread Liu Yu
the code doesn't support SPE/EFP instructions emulation (it won't be called when receive program interrupt), but it could be easily added. Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/include/asm/processor.h |6 + arch/powerpc/include/asm/sfp-machine.h | 36 ++- arch/powerpc/kernel

RE: [PATCH] powerpc/math-emu: Use kernel generic math-emu code

2008-09-23 Thread Liu Yu-B13201
diff --git a/arch/powerpc/include/asm/sfp-machine.h b/arch/powerpc/include/asm/sfp-machine.h new file mode 100644 index 000..ced34f1 --- /dev/null +++ b/arch/powerpc/include/asm/sfp-machine.h @@ -0,0 +1,353 @@ +/* Machine-dependent software floating-point definitions. PPC

[PATCH] math-emu: modify the sfp-machine.h to fit the new interface of common math-emu headers

2008-03-05 Thread Liu Yu
Signed-off-by: Liu Yu [EMAIL PROTECTED] --- include/asm-powerpc/sfp-machine.h | 217 + 1 files changed, 75 insertions(+), 142 deletions(-) diff --git a/include/asm-powerpc/sfp-machine.h b/include/asm-powerpc/sfp-machine.h index 4b17d83..5dac9cd 100644

[PATCH] math-emu: use new interface of common math-emu headers in PowerPC math-emu C file

2008-03-05 Thread Liu Yu
Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/math-emu/Makefile |2 +- arch/powerpc/math-emu/fadd.c | 16 +--- arch/powerpc/math-emu/fadds.c | 17 + arch/powerpc/math-emu/fcmpo.c | 22 +- arch/powerpc/math

RE: [PATCH] math-emu: delete PowerPC old math-emu headers

2008-03-05 Thread Liu Yu
Sorry. I forgot to add the serial number. The three math-emu patches are in the same serial. -Original Message- From: Liu Yu Sent: Wednesday, March 05, 2008 5:02 PM To: linuxppc-dev@ozlabs.org Cc: Liu Yu Subject: [PATCH] math-emu: delete PowerPC old math-emu headers Use common

RE: [PATCH] Fix remainder calculating bug in single floating pointdivision

2008-01-09 Thread Liu Yu
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kumar Gala Sent: Tuesday, January 08, 2008 2:20 PM To: Dan Malek Cc: Liu Yu; linuxppc-dev@ozlabs.org Subject: Re: [PATCH] Fix remainder calculating bug in single floating pointdivision

[PATCH] Fix carry bug in 128-bit unsigned integer adding

2008-01-06 Thread Liu Yu
not that pretty. Are there any better ideas? Comments are always welcomed! Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/math-emu/op-4.h | 22 ++ 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/math-emu/op-4.h b/arch/powerpc/math-emu

[PATCH] Fix remainder calculating bug in single floating point division

2008-01-06 Thread Liu Yu
1.174921e-38f in the original case. Comments are always welcomed! Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/math-emu/sfp-machine.h | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/math-emu/sfp-machine.h b/arch/powerpc/math-emu/sfp

RE: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-10 Thread Liu Yu
-Original Message- From: Kumar Gala [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 11:01 PM To: Liu Yu Cc: David Gibson; linuxppc-dev@ozlabs.org Subject: Re: [PATCH] Fix rounding bug in emulation for double floatoperating On Dec 9, 2007, at 11:25 PM, Liu Yu wrote

[PATCH] Fix rounding bug in emulation for double float operating

2007-12-09 Thread Liu Yu
bit '|' 1 in the improper case. This patch fixes this issue. Signed-off-by: Liu Yu [EMAIL PROTECTED] --- arch/powerpc/math-emu/op-2.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/math-emu/op-2.h b/arch/powerpc/math-emu/op-2.h index b9b06b4..7d6f17c

RE: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-09 Thread Liu Yu
-Original Message- From: David Gibson [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 12:56 PM To: Liu Yu Cc: linuxppc-dev@ozlabs.org Subject: Re: [PATCH] Fix rounding bug in emulation for double floatoperating On Mon, Dec 10, 2007 at 01:00:52PM +0800, Liu Yu