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 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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux