RE: [PATCH 3/3] KVM: PPC: booke: Added debug handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Wednesday, August 08, 2012 2:15 AM
> To: Alexander Graf
> Cc: Bhushan Bharat-R65777; kvm-ppc@xxxxxxxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; Bhushan
> Bharat-R65777
> Subject: Re: [PATCH 3/3] KVM: PPC: booke: Added debug handler
> 
> On 08/07/2012 05:47 AM, Alexander Graf wrote:
> >> diff --git a/arch/powerpc/kvm/booke_interrupts.S
> >> b/arch/powerpc/kvm/booke_interrupts.S
> >> index 3539805..890673c 100644
> >> --- a/arch/powerpc/kvm/booke_interrupts.S
> >> +++ b/arch/powerpc/kvm/booke_interrupts.S
> >> @@ -73,6 +73,51 @@ _GLOBAL(kvmppc_handler_\ivor_nr)
> >> 	bctr
> >> .endm
> >>
> >> +.macro KVM_DBG_HANDLER ivor_nr scratch srr0
> >
> > This is a lot of asm code. Any chance to share a good share of it with the
> generic handler?
> 
> That entire file could use an update to lok more like bookehv_interrupts.S and
> its use of asm macros.

In booke there is assumption that size of KVM IVORs will not me more than host IVORs size so that only IVPR is changed. 

I tried to give it that shape of bookehv_interrupts.S  and found that size of some IVORs become more than host IVORs.

Thanks
-Bharat
��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux