All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 0/7] Trivial branch for 5.1 patches
@ 2020-07-07 10:52 Laurent Vivier
  2020-07-07 10:52 ` [PULL 1/7] fix the prototype of muls64/mulu64 Laurent Vivier
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Michael Tokarev, 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:

  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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PULL 1/7] fix the prototype of muls64/mulu64
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-07 10:52 ` [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs Laurent Vivier
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Lijun Pan, Richard Henderson, Michael Tokarev,
	Laurent Vivier

From: Lijun Pan <ljp@linux.ibm.com>

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

Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Message-Id: <20200701234344.91843-10-ljp@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/qemu/host-utils.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
index 4cd170e6cd53..cdca2991d8a8 100644
--- a/include/qemu/host-utils.h
+++ b/include/qemu/host-utils.h
@@ -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);
 
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
  2020-07-07 10:52 ` [PULL 1/7] fix the prototype of muls64/mulu64 Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-07 10:52 ` [PULL 3/7] .mailmap: Update Alexander Graf email address Laurent Vivier
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Alex Bennée, Michael Tokarev, Laurent Vivier,
	Christophe de Dinechin, Philippe Mathieu-Daudé

From: Christophe de Dinechin <dinechin@redhat.com>

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

Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200629094934.2081180-1-dinechin@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 stubs/Makefile.objs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index f32b9e47a3d8..1df8bb3814fc 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -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
 
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PULL 3/7] .mailmap: Update Alexander Graf email address
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
  2020-07-07 10:52 ` [PULL 1/7] fix the prototype of muls64/mulu64 Laurent Vivier
  2020-07-07 10:52 ` [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-07 10:52 ` [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki " Laurent Vivier
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Alexander Graf, Michael Tokarev, Laurent Vivier,
	Philippe Mathieu-Daudé

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Update Alexander Graf email address to avoid emails bouncing.

Suggested-by: Alexander Graf <agraf@csgraf.de>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alexander Graf <agraf@csgraf.de>
Message-Id: <20200702173818.14651-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.mailmap b/.mailmap
index 926cac6bb8b2..e46e6c73023c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -44,6 +44,7 @@ Aleksandar Markovic <aleksandar.qemu.devel@gmail.com> <aleksandar.markovic@imgte
 Aleksandar Markovic <aleksandar.qemu.devel@gmail.com> <amarkovic@wavecomp.com>
 Aleksandar Rikalo <aleksandar.rikalo@syrmia.com> <arikalo@wavecomp.com>
 Aleksandar Rikalo <aleksandar.rikalo@syrmia.com> <aleksandar.rikalo@rt-rk.com>
+Alexander Graf <agraf@csgraf.de> <agraf@suse.de>
 Anthony Liguori <anthony@codemonkey.ws> Anthony Liguori <aliguori@us.ibm.com>
 Filip Bozuta <filip.bozuta@syrmia.com> <filip.bozuta@rt-rk.com.com>
 Frederic Konrad <konrad@adacore.com> <fred.konrad@greensocs.com>
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki email address
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
                   ` (2 preceding siblings ...)
  2020-07-07 10:52 ` [PULL 3/7] .mailmap: Update Alexander Graf email address Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-07 10:52 ` [PULL 5/7] util/qemu-option: Document the get_opt_value() function Laurent Vivier
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Radoslaw Biernacki, Michael Tokarev,
	Laurent Vivier, Leif Lindholm, Philippe Mathieu-Daudé

From: Radoslaw Biernacki <rad@semihalf.com>

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

Signed-off-by: Radoslaw Biernacki <rad@semihalf.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Leif Lindholm <leif@nuviainc.com>
Message-Id: <20200512170704.9290-1-rad@semihalf.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 .mailmap    | 1 +
 MAINTAINERS | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.mailmap b/.mailmap
index e46e6c73023c..81c2ce09370c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -50,6 +50,7 @@ Filip Bozuta <filip.bozuta@syrmia.com> <filip.bozuta@rt-rk.com.com>
 Frederic Konrad <konrad@adacore.com> <fred.konrad@greensocs.com>
 James Hogan <jhogan@kernel.org> <james.hogan@imgtec.com>
 Leif Lindholm <leif@nuviainc.com> <leif.lindholm@linaro.org>
+Radoslaw Biernacki <rad@semihalf.com> <radoslaw.biernacki@linaro.org>
 Paul Burton <pburton@wavecomp.com> <paul.burton@mips.com>
 Paul Burton <pburton@wavecomp.com> <paul.burton@imgtec.com>
 Paul Burton <pburton@wavecomp.com> <paul@archlinuxmips.org>
diff --git a/MAINTAINERS b/MAINTAINERS
index c31c878c635c..36dce13bcc32 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -809,7 +809,7 @@ F: include/hw/misc/imx6_*.h
 F: include/hw/ssi/imx_spi.h
 
 SBSA-REF
-M: Radoslaw Biernacki <radoslaw.biernacki@linaro.org>
+M: Radoslaw Biernacki <rad@semihalf.com>
 M: Peter Maydell <peter.maydell@linaro.org>
 R: Leif Lindholm <leif@nuviainc.com>
 L: qemu-arm@nongnu.org
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PULL 5/7] util/qemu-option: Document the get_opt_value() function
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
                   ` (3 preceding siblings ...)
  2020-07-07 10:52 ` [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki " Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-07 10:52 ` [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits" Laurent Vivier
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Philippe Mathieu-Daudé,
	Daniel P . Berrangé,
	Michael Tokarev, Laurent Vivier

From: Philippe Mathieu-Daudé <philmd@redhat.com>

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.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200629070858.19850-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/qemu/option.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/qemu/option.h b/include/qemu/option.h
index eb4097889d52..ac50d257746a 100644
--- a/include/qemu/option.h
+++ b/include/qemu/option.h
@@ -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,
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits"
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
                   ` (4 preceding siblings ...)
  2020-07-07 10:52 ` [PULL 5/7] util/qemu-option: Document the get_opt_value() function Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-07 10:52 ` [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro Laurent Vivier
  2020-07-09 15:49 ` [PULL 0/7] Trivial branch for 5.1 patches Peter Maydell
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Menno Lageman, Michael Tokarev, Laurent Vivier

From: Menno Lageman <menno.lageman@oracle.com>

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

Signed-off-by: Menno Lageman <menno.lageman@oracle.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200625155258.1452425-1-menno.lageman@oracle.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/i386/intel_iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c
index df7ad254ac15..c56398e99177 100644
--- a/hw/i386/intel_iommu.c
+++ b/hw/i386/intel_iommu.c
@@ -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;
     }
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
                   ` (5 preceding siblings ...)
  2020-07-07 10:52 ` [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits" Laurent Vivier
@ 2020-07-07 10:52 ` Laurent Vivier
  2020-07-09 15:49 ` [PULL 0/7] Trivial branch for 5.1 patches Peter Maydell
  7 siblings, 0 replies; 9+ messages in thread
From: Laurent Vivier @ 2020-07-07 10:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Thomas Huth, qemu-trivial, Michael Tokarev,
	Philippe Mathieu-Daudé,
	Laurent Vivier, Michele Denber

From: Peter Maydell <peter.maydell@linaro.org>

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.

Fixes: a8d2532645cf5ce4
Reported-by: Michele Denber <denber@mindspring.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Michele Denber <denber@mindspring.com>
Message-Id: <20200704092317.12943-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 net/tap-solaris.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 4725d2314eef..d03165c57c9f 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -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>
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PULL 0/7] Trivial branch for 5.1 patches
  2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
                   ` (6 preceding siblings ...)
  2020-07-07 10:52 ` [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro Laurent Vivier
@ 2020-07-09 15:49 ` Peter Maydell
  7 siblings, 0 replies; 9+ messages in thread
From: Peter Maydell @ 2020-07-09 15:49 UTC (permalink / raw)
  To: Laurent Vivier; +Cc: QEMU Trivial, Michael Tokarev, QEMU Developers

On Tue, 7 Jul 2020 at 11:54, Laurent Vivier <laurent@vivier.eu> wrote:
>
> 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
>
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-09 15:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 10:52 [PULL 0/7] Trivial branch for 5.1 patches Laurent Vivier
2020-07-07 10:52 ` [PULL 1/7] fix the prototype of muls64/mulu64 Laurent Vivier
2020-07-07 10:52 ` [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs Laurent Vivier
2020-07-07 10:52 ` [PULL 3/7] .mailmap: Update Alexander Graf email address Laurent Vivier
2020-07-07 10:52 ` [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki " Laurent Vivier
2020-07-07 10:52 ` [PULL 5/7] util/qemu-option: Document the get_opt_value() function Laurent Vivier
2020-07-07 10:52 ` [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits" Laurent Vivier
2020-07-07 10:52 ` [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro Laurent Vivier
2020-07-09 15:49 ` [PULL 0/7] Trivial branch for 5.1 patches Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.