* [Qemu-devel] [PATCH] target-ppc: Fix compilation error with --enable-debug
@ 2011-05-26 18:05 Peter Maydell
2011-05-26 18:28 ` Stefan Weil
0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2011-05-26 18:05 UTC (permalink / raw)
To: qemu-devel; +Cc: Alexander Graf, patches
The PPC helper functions booke206_tlbflush and booke_setpid both
take an i32 argument, so we need to use TCGv_i32 rather than TCGv,
to avoid a compilation failure when compiling in debug mode.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target-ppc/translate_init.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index b511afa..d11532c 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -1367,16 +1367,16 @@ static void spr_write_e500_l1csr0 (void *opaque, int sprn, int gprn)
static void spr_write_booke206_mmucsr0 (void *opaque, int sprn, int gprn)
{
- TCGv t0 = tcg_const_i32(sprn);
+ TCGv_i32 t0 = tcg_const_i32(sprn);
gen_helper_booke206_tlbflush(t0);
- tcg_temp_free(t0);
+ tcg_temp_free_i32(t0);
}
static void spr_write_booke_pid (void *opaque, int sprn, int gprn)
{
- TCGv t0 = tcg_const_i32(sprn);
+ TCGv_i32 t0 = tcg_const_i32(sprn);
gen_helper_booke_setpid(t0, cpu_gpr[gprn]);
- tcg_temp_free(t0);
+ tcg_temp_free_i32(t0);
}
#endif
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-ppc: Fix compilation error with --enable-debug
2011-05-26 18:05 [Qemu-devel] [PATCH] target-ppc: Fix compilation error with --enable-debug Peter Maydell
@ 2011-05-26 18:28 ` Stefan Weil
2011-05-26 18:31 ` Peter Maydell
2011-05-26 21:32 ` Alexander Graf
0 siblings, 2 replies; 4+ messages in thread
From: Stefan Weil @ 2011-05-26 18:28 UTC (permalink / raw)
To: Peter Maydell
Cc: Anthony Liguori, patches, qemu-devel, Alexander Graf, Blue Swirl,
Paul Brook
Am 26.05.2011 20:05, schrieb Peter Maydell:
> The PPC helper functions booke206_tlbflush and booke_setpid both
> take an i32 argument, so we need to use TCGv_i32 rather than TCGv,
> to avoid a compilation failure when compiling in debug mode.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> target-ppc/translate_init.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
See http://patchwork.ozlabs.org/patch/96665/
It's a waste of time if build fixes take more than 3 days to get committed.
The typical process - several days until the maintainer accepts it, more
days until there is a pull request, even more days until it is pulled -
is good enough for new features, but too slow for bug fixes, especially
when they fix broken builds.
Cheers,
Stefan W.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-ppc: Fix compilation error with --enable-debug
2011-05-26 18:28 ` Stefan Weil
@ 2011-05-26 18:31 ` Peter Maydell
2011-05-26 21:32 ` Alexander Graf
1 sibling, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2011-05-26 18:31 UTC (permalink / raw)
To: Stefan Weil
Cc: Anthony Liguori, patches, qemu-devel, Alexander Graf, Blue Swirl,
Paul Brook
On 26 May 2011 19:28, Stefan Weil <weil@mail.berlios.de> wrote:
> Am 26.05.2011 20:05, schrieb Peter Maydell:
>> The PPC helper functions booke206_tlbflush and booke_setpid both
>> take an i32 argument, so we need to use TCGv_i32 rather than TCGv,
>> to avoid a compilation failure when compiling in debug mode.
> See http://patchwork.ozlabs.org/patch/96665/
Oops; I did try searching my mail for a fix, but obviously failed
to use the right search term.
-- PMM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] target-ppc: Fix compilation error with --enable-debug
2011-05-26 18:28 ` Stefan Weil
2011-05-26 18:31 ` Peter Maydell
@ 2011-05-26 21:32 ` Alexander Graf
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Graf @ 2011-05-26 21:32 UTC (permalink / raw)
To: Stefan Weil
Cc: Peter Maydell, Anthony Liguori, patches@linaro.org,
qemu-devel@nongnu.org, Blue Swirl, Paul Brook
Am 26.05.2011 um 20:28 schrieb Stefan Weil <weil@mail.berlios.de>:
> Am 26.05.2011 20:05, schrieb Peter Maydell:
>> The PPC helper functions booke206_tlbflush and booke_setpid both
>> take an i32 argument, so we need to use TCGv_i32 rather than TCGv,
>> to avoid a compilation failure when compiling in debug mode.
>>
>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>> ---
>> target-ppc/translate_init.c | 8 ++++----
>> 1 files changed, 4 insertions(+), 4 deletions(-)
>>
>
> See http://patchwork.ozlabs.org/patch/96665/
>
> It's a waste of time if build fixes take more than 3 days to get committed.
>
> The typical process - several days until the maintainer accepts it, more
> days until there is a pull request, even more days until it is pulled -
> is good enough for new features, but too slow for bug fixes, especially
> when they fix broken builds.
I agree, but I think the solution to the problem is to not break builds. I'm currently spending all day setting up kvm-autotest for automated regression testing and am eagerly waiting on Stefan to get the buildbot stuff rolling on submaintainer trees.
With those two things in place, we should be a lot safer.
Alex
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-26 21:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 18:05 [Qemu-devel] [PATCH] target-ppc: Fix compilation error with --enable-debug Peter Maydell
2011-05-26 18:28 ` Stefan Weil
2011-05-26 18:31 ` Peter Maydell
2011-05-26 21:32 ` Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).