Re: [kvm-unit-tests PATCH v2 3/9] s390x: gs: move to new header file

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

 



On Fri, 25 Mar 2022 08:29:11 +0100
Janosch Frank <frankja@xxxxxxxxxxxxx> wrote:

> On 3/24/22 18:40, Heiko Carstens wrote:
> > On Wed, Mar 23, 2022 at 06:03:19PM +0100, Nico Boehr wrote:
> > ...  
> >> +static inline unsigned long load_guarded(unsigned long *p)
> >> +{
> >> +	unsigned long v;
> >> +
> >> +	asm(".insn rxy,0xe3000000004c, %0,%1"
> >> +	    : "=d" (v)
> >> +	    : "m" (*p)
> >> +	    : "r14", "memory");
> >> +	return v;
> >> +}  
> > 
> > It was like that before, but why is r14 within the clobber list?
> > That doesn't make sense.  
> 
> r14 is changed in the gs handler of the gs test which is executed if the 
> "guarded" part of the load takes place.

I will add a comment explaining that when picking the patch



[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