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

[PATCH for-4.14 0/3] Rework {read, write}_atomic()



From: Julien Grall <jgrall@xxxxxxxxxx>

Hi all,

This small series is:
    - Hardening write_atomic() to prevent writing to const pointer
    - Allow {read, write}_atomic() to be used in more cases on Arm.

While this was posted after the last posting date, patch #1 is
necessary to avoid the cast introduced by Juergen in [1]. The rest of
the patches would be good hardening to have in Xen 4.14. So I would like
to request the full series to be included in Xen 4.14.

Cheers,

[1] <20200430152848.20275-1-jgross@xxxxxxxx>

CC: paul@xxxxxxx

Julien Grall (3):
  xen/arm: atomic: Allow read_atomic() to be used in more cases
  xen/arm: atomic: Rewrite write_atomic()
  xen/x86: atomic: Don't allow to write atomically in a pointer to const

 xen/include/asm-arm/atomic.h | 77 ++++++++++++++++++++++++++----------
 xen/include/asm-x86/atomic.h |  2 +
 2 files changed, 59 insertions(+), 20 deletions(-)

-- 
2.17.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.