tcg: remove softfloat from --disable-tcg builds
PATCH 1/1 tcg: remove softfloat from --disable-tcg builds
Even though the presence of softfloat does not cause --disable-tcg builds to fail, it is the single largest .o file in them. Remove it, since TCG is the only client.
--- Makefile.target | 2 +- hw/i386/x86-iommu-stub.c | 132 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 hw/i386/x86-iommu-stub.c
Makefile.target +1 -1
@@ -97,7 +97,7 @@ obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o obj-$(CONFIG_TCG) += tcg/tcg-common.o tcg/optimize.o obj-$(CONFIG_TCG_INTERPRETER) += tcg/tci.o obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o -obj-y += fpu/softfloat.o +obj-$(CONFIG_TCG) += fpu/softfloat.o obj-y += target/$(TARGET_BASE_ARCH)/ obj-y += disas.o obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
hw/i386/x86-iommu-stub.c new file +132 -0
132 lines not on this page · raw message
Signature · 1 line
2.17.0
This series seems to have some coding style problems. See output below for more information:
Hi,
This series seems to have some coding style problems. See output below for more information:
Type: series
Message-id: [email protected]
Subject: [Qemu-devel] [PATCH] tcg: remove softfloat from --disable-tcg builds
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do
echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
failed=1
echo
fi
n=$((n+1))done
exit $failed
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 From https://github.com/patchew-project/qemu
* [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'2b374b4a9d tcg: remove softfloat from --disable-tcg builds
=== OUTPUT BEGIN ===
Checking PATCH 1/1: tcg: remove softfloat from --disable-tcg builds...
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #26:
new file mode 100644
ERROR: do not initialise statics to 0 or NULL
#86: FILE: hw/i386/x86-iommu-stub.c:56:
+static X86IOMMUState *x86_iommu_default = NULL;
total: 1 errors, 1 warnings, 140 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]
Quoted 9 lines · Paolo Bonzini
Even though the presence of softfloat does not cause --disable-tcg builds to fail, it is the single largest .o file in them. Remove it, since TCG is the only client.
Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.target | 2 +- hw/i386/x86-iommu-stub.c | 132 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 hw/i386/x86-iommu-stub.c
Is this new x86-iommu-stub.c file intended to be in this patch?
thanks
-- PMM
Quoted 4 lines · Peter Maydell
Quoted 3 lines · Paolo Bonzini
Even though the presence of softfloat does not cause --disable-tcg builds to fail, it is the single largest .o file in them. Remove it, since TCG is the only client.
Quoted 8 lines
Quoted 6 lines
Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.target | 2 +- hw/i386/x86-iommu-stub.c | 132 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 hw/i386/x86-iommu-stub.cIs this new
x86-iommu-stub.cfile intended to be in this patch?
No, of course not. I probably fat fingered a "r" into "f" in git rebase -i...
Paolo
Quoted 7 lines · Paolo Bonzini
Even though the presence of softfloat does not cause --disable-tcg builds to fail, it is the single largest .o file in them. Remove it, since TCG is the only client.
Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.target | 2 +- hw/i386/x86-iommu-stub.c | 132 +++++++++++++++++++++++++++++++++++++++
Assuming this wasn't supposed to be here.
Makefile.target obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o · line 100
Quoted 13 lines
2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 hw/i386/x86-iommu-stub.cMakefile.target +1
-1@@ -97,7 +97,7 @@ obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o obj-$(CONFIG_TCG) += tcg/tcg-common.o tcg/optimize.o obj-$(CONFIG_TCG_INTERPRETER) += tcg/tci.o obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o -obj-y += fpu/softfloat.o +obj-$(CONFIG_TCG) += fpu/softfloat.o
But for this change alone,
r~
Quoted 10 lines · Richard Henderson
Quoted 7 lines · Paolo Bonzini
Even though the presence of softfloat does not cause --disable-tcg builds to fail, it is the single largest .o file in them. Remove it, since TCG is the only client.
Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.target | 2 +- hw/i386/x86-iommu-stub.c | 132 +++++++++++++++++++++++++++++++++++++++Assuming this wasn't supposed to be here.
Oops, no it wasn't. Thanks for the quick review!
Paolo
Quoted 19 lines
Makefile.target obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o · line 100
Quoted 13 lines
2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 hw/i386/x86-iommu-stub.cMakefile.target +1
-1@@ -97,7 +97,7 @@ obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o obj-$(CONFIG_TCG) += tcg/tcg-common.o tcg/optimize.o obj-$(CONFIG_TCG_INTERPRETER) += tcg/tci.o obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o -obj-y += fpu/softfloat.o +obj-$(CONFIG_TCG) += fpu/softfloat.oBut for this change alone,
r~
Quoted 15 lines · Paolo Bonzini
Even though the presence of softfloat does not cause --disable-tcg builds to fail, it is the single largest .o file in them. Remove it, since TCG is the only client.
Signed-off-by Paolo Bonzini <[email protected]>--- Makefile.target | 2 +- hw/i386/x86-iommu-stub.c | 132 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 hw/i386/x86-iommu-stub.cMakefile.target +0
-0
Makefile.target obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o · line 103
Quoted 8 lines
Makefile.target +1
-1@@ -97,7 +97,7 @@ obj-$(CONFIG_TCG) += tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o obj-$(CONFIG_TCG) += tcg/tcg-common.o tcg/optimize.o obj-$(CONFIG_TCG_INTERPRETER) += tcg/tci.o obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o -obj-y += fpu/softfloat.o +obj-$(CONFIG_TCG) += fpu/softfloat.o obj-y += target/$(TARGET_BASE_ARCH)/ obj-y += disas.o obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
Without that x86-iommu-stub.c file: