Skip to contentSkip to conversation

Trivial branch for 5.1 patches

GIT PULL Applied Laurent Vivier 2 participants 9 messages Jul 7, 2020 – Jul 9, 2020 Networking

lore
Share & tools
lore
#0 lore raw

The following changes since commit eb6490f544388dd24c0d054a96dd304bc7284450:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-2020070=
3' into staging (2020-07-04 16:08:41 +0100)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-branch-for-5.1-pull-request

for you to fetch changes up to 89615cfef57e04da0e5a1bd212a62f8696468e79:

net/tap-solaris.c: Include qemu-common.h for TFR macro (2020-07-07 12:38:50=
+0200)

----------------------------------------------------------------
trivial branch patches 20200707

----------------------------------------------------------------

Christophe de Dinechin (1):
trivial: Respect alphabetical order of .o files in Makefile.objs

Lijun Pan (1):
fix the prototype of muls64/mulu64

Menno Lageman (1):
intel_iommu: "aw-bits" error message still refers to "x-aw-bits"

Peter Maydell (1):
net/tap-solaris.c: Include qemu-common.h for TFR macro

Philippe Mathieu-Daud=C3=A9 (2):
.mailmap: Update Alexander Graf email address util/qemu-option: Document the get_opt_value() function

Radoslaw Biernacki (1):
MAINTAINERS: Update Radoslaw Biernacki email address

 .mailmap                  |  2 ++
 MAINTAINERS               |  2 +-
 hw/i386/intel_iommu.c     |  2 +-
 include/qemu/host-utils.h |  4 ++--
 include/qemu/option.h     | 13 +++++++++++++
 net/tap-solaris.c         |  1 +
 stubs/Makefile.objs       |  2 +-
 7 files changed, 21 insertions(+), 5 deletions(-)

--=20
2.26.2

#1 lore raw

[PULL 1/7] fix the prototype of muls64/mulu64

From: Lijun Pan <[email protected]>

The prototypes of muls64/mulu64 in host-utils.h should match the definitions in host-utils.c

Message-Id: <[email protected]>

---
 include/qemu/host-utils.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/qemu/host-utils.h +2 -2
index 4cd170e6cd53..cdca2991d8a8 100644
@@ -77,8 +77,8 @@ static inline int divs128(int64_t *plow, int64_t *phigh, int64_t divisor)
     }
 }
 #else
-void muls64(uint64_t *phigh, uint64_t *plow, int64_t a, int64_t b);
-void mulu64(uint64_t *phigh, uint64_t *plow, uint64_t a, uint64_t b);
+void muls64(uint64_t *plow, uint64_t *phigh, int64_t a, int64_t b);
+void mulu64(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b);
 int divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor);
 int divs128(int64_t *plow, int64_t *phigh, int64_t divisor);
 
Signature · 1 line
2.26.2
#2 lore raw

[PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs

In reply to Laurent Vivier

From: Christophe de Dinechin <[email protected]>

The vmgenid.o is the only file that is not in alphabetical order.

Message-Id: <[email protected]>

---
 stubs/Makefile.objs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
stubs/Makefile.objs +1 -1
index f32b9e47a3d8..1df8bb3814fc 100644
@@ -19,10 +19,10 @@ stub-obj-y += replay.o
 stub-obj-y += runstate-check.o
 stub-obj-$(CONFIG_SOFTMMU) += semihost.o
 stub-obj-y += set-fd-handler.o
-stub-obj-y += vmgenid.o
 stub-obj-y += sysbus.o
 stub-obj-y += tpm.o
 stub-obj-y += trace-control.o
+stub-obj-y += vmgenid.o
 stub-obj-y += vmstate.o
 stub-obj-$(CONFIG_SOFTMMU) += win32-kbd-hook.o
 
Signature · 1 line
2.26.2
#3 lore raw

[PULL 3/7] .mailmap: Update Alexander Graf email address

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Update Alexander Graf email address to avoid emails bouncing.

Message-Id: <[email protected]>

---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)
.mailmap +1 -0
index 926cac6bb8b2..e46e6c73023c 100644
@@ -44,6 +44,7 @@ Aleksandar Markovic <[email protected]> <aleksandar.markovic@imgte
 Aleksandar Markovic <[email protected]> <[email protected]>
 Aleksandar Rikalo <[email protected]> <[email protected]>
 Aleksandar Rikalo <[email protected]> <[email protected]>
+Alexander Graf <[email protected]> <[email protected]>
 Anthony Liguori <[email protected]> Anthony Liguori <[email protected]>
 Filip Bozuta <[email protected]> <[email protected]>
 Frederic Konrad <[email protected]> <[email protected]>
Signature · 1 line
2.26.2
#4 lore raw

[PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki email address

In reply to Laurent Vivier

From: Radoslaw Biernacki <[email protected]>

My Linaro account is no longer active and stop forwarding emails to me. Changing it to my current employer domain.

Message-Id: <[email protected]>

---
 .mailmap    | 1 +
 MAINTAINERS | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
.mailmap +1 -0
index e46e6c73023c..81c2ce09370c 100644
@@ -50,6 +50,7 @@ Filip Bozuta <[email protected]> <[email protected]>
 Frederic Konrad <[email protected]> <[email protected]>
 James Hogan <[email protected]> <[email protected]>
 Leif Lindholm <[email protected]> <[email protected]>
+Radoslaw Biernacki <[email protected]> <[email protected]>
 Paul Burton <[email protected]> <[email protected]>
 Paul Burton <[email protected]> <[email protected]>
 Paul Burton <[email protected]> <[email protected]>
MAINTAINERS +1 -1
index c31c878c635c..36dce13bcc32 100644
@@ -809,7 +809,7 @@ F: include/hw/misc/imx6_*.h
 F: include/hw/ssi/imx_spi.h
 
 SBSA-REF
-M: Radoslaw Biernacki <[email protected]>
+M: Radoslaw Biernacki <[email protected]>
 M: Peter Maydell <[email protected]>
 R: Leif Lindholm <[email protected]>
 L: [email protected]
Signature · 1 line
2.26.2
#5 lore raw

[PULL 5/7] util/qemu-option: Document the get_opt_value() function

In reply to Laurent Vivier

From: Philippe Mathieu-Daudé <[email protected]>

Coverity noticed commit 950c4e6c94 introduced a dereference before null check in get_opt_value (CID1391003):

In get_opt_value: All paths that lead to this null pointer comparison already dereference the pointer earlier (CWE-476)

We fixed this in commit 6e3ad3f0e31, but relaxed the check in commit 0c2f6e7ee99 because "No callers of get_opt_value() pass in a NULL for the 'value' parameter".

Since this function is publicly exposed, it risks new users to do the same error again. Avoid that documenting the 'value' argument must not be NULL.

Message-Id: <[email protected]>

---
 include/qemu/option.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
include/qemu/option.h +13 -0
index eb4097889d52..ac50d257746a 100644
@@ -28,6 +28,19 @@
 
 #include "qemu/queue.h"
 
+/**
+ * get_opt_value
+ * @p: a pointer to the option name, delimited by commas
+ * @value: a non-NULL pointer that will received the delimited options
+ *
+ * The @value char pointer will be allocated and filled with
+ * the delimited options.
+ *
+ * Returns the position of the comma delimiter/zero byte after the
+ * option name in @p.
+ * The memory pointer in @value must be released with a call to g_free()
+ * when no longer required.
+ */
 const char *get_opt_value(const char *p, char **value);
 
 void parse_option_size(const char *name, const char *value,
Signature · 1 line
2.26.2
#6 lore raw

[PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits"

In reply to Laurent Vivier

From: Menno Lageman <[email protected]>

Commit 4b49b586c4 ('intel_iommu: remove "x-" prefix for "aw-bits"') removed the "x-" prefix but but didn't update the error message accordingly.

Message-Id: <[email protected]>

---
 hw/i386/intel_iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/intel_iommu.c +1 -1
index df7ad254ac15..c56398e99177 100644
@@ -3758,7 +3758,7 @@ static bool vtd_decide_config(IntelIOMMUState *s, Error **errp)
     /* Currently only address widths supported are 39 and 48 bits */
     if ((s->aw_bits != VTD_HOST_AW_39BIT) &&
         (s->aw_bits != VTD_HOST_AW_48BIT)) {
-        error_setg(errp, "Supported values for x-aw-bits are: %d, %d",
+        error_setg(errp, "Supported values for aw-bits are: %d, %d",
                    VTD_HOST_AW_39BIT, VTD_HOST_AW_48BIT);
         return false;
     }
Signature · 1 line
2.26.2
#7 lore raw

[PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro

In reply to Laurent Vivier

From: Peter Maydell <[email protected]>

In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header so that it was always included from .c files and never from other .h files. We missed adding it to net/tap-solaris.c (which previously was pulling it in via tap-int.h), which broke building on Solaris hosts.

Message-Id: <[email protected]>

---
 net/tap-solaris.c | 1 +
 1 file changed, 1 insertion(+)
net/tap-solaris.c +1 -0
index 4725d2314eef..d03165c57c9f 100644
@@ -27,6 +27,7 @@
 #include "tap_int.h"
 #include "qemu/ctype.h"
 #include "qemu/cutils.h"
+#include "qemu-common.h"
 
 #include <sys/ethernet.h>
 #include <sys/sockio.h>
Signature · 1 line
2.26.2
#8 lore raw
In reply to Laurent Vivier
Quoted 12 lines · Laurent Vivier

The following changes since commit eb6490f544388dd24c0d054a96dd304bc7284450:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-2020070=
3' into staging (2020-07-04 16:08:41 +0100)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-branch-for-5.1-pull-request

for you to fetch changes up to 89615cfef57e04da0e5a1bd212a62f8696468e79:

Quoted 7 lines

net/tap-solaris.c: Include qemu-common.h for TFR macro (2020-07-07 12:38:50=
+0200)

----------------------------------------------------------------
trivial branch patches 20200707

----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM