qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v2 4/9] linux-headers: update against 5.9-rc7


From: Matthew Rosato
Subject: Re: [PATCH v2 4/9] linux-headers: update against 5.9-rc7
Date: Tue, 6 Oct 2020 11:46:35 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

On 10/6/20 11:39 AM, Cornelia Huck wrote:
On Fri,  2 Oct 2020 16:06:26 -0400
Matthew Rosato <mjrosato@linux.ibm.com> wrote:

PLACEHOLDER as the kernel patch driving the need for this ("vfio-pci/zdev:
define the vfio_zdev header") isn't merged yet.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
---
  .../drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h         | 14 +++++++-------
  linux-headers/linux/kvm.h                                  |  6 ++++--
  linux-headers/linux/vfio.h                                 |  5 +++++
  3 files changed, 16 insertions(+), 9 deletions(-)

diff --git 
a/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h 
b/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h
index 7b4062a..acd4c83 100644
--- a/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h
+++ b/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h
@@ -68,7 +68,7 @@ static inline int pvrdma_idx_valid(uint32_t idx, uint32_t 
max_elems)
static inline int32_t pvrdma_idx(int *var, uint32_t max_elems)
  {
-       const unsigned int idx = qatomic_read(var);
+       const unsigned int idx = atomic_read(var);

Hm... either this shouldn't have been renamed to qatomic_read() in the
first place, or we need to add some post-processing to the update
script.

Before I posted this set, I mentioned this in a reply to Stefan's atomic->qatomic patchset that introduced the change... Paolo replied and said the code shouldn't be getting imported during header updates at all:

https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg00734.html

Copying the maintainers of the pvrdma stuff for their awareness in case they missed the first exchange.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]