Re: [Qemu-devel] [PATCH v2 0/6] replace qemu_fls() with pow2ceil()/pow2floor()

2015-09-07 Thread Peter Maydell
On 7 September 2015 at 13:34, Paolo Bonzini wrote: > > > On 07/09/2015 13:04, Peter Maydell wrote: >> Ping? >> >> Paolo, do you want to take these, should I just apply them >> to master, or what? > > Sorry, I thought you were applying these or pulling them through your > trees. Let me know if you

Re: [Qemu-devel] [PATCH v2 0/6] replace qemu_fls() with pow2ceil()/pow2floor()

2015-09-07 Thread Paolo Bonzini
On 07/09/2015 13:04, Peter Maydell wrote: > Ping? > > Paolo, do you want to take these, should I just apply them > to master, or what? Sorry, I thought you were applying these or pulling them through your trees. Let me know if you still want me to take them. Paolo

Re: [Qemu-devel] [PATCH v2 0/6] replace qemu_fls() with pow2ceil()/pow2floor()

2015-09-07 Thread Peter Maydell
Ping? Paolo, do you want to take these, should I just apply them to master, or what? thanks -- PMM On 24 July 2015 at 13:33, Peter Maydell wrote: > We have a qemu_fls() function which is just a silly wrapper > around clz32() and which is used in only a handful of places > in the codebase. It tu

Re: [Qemu-devel] [PATCH v2 0/6] replace qemu_fls() with pow2ceil()/pow2floor()

2015-08-14 Thread Peter Maydell
Ping? (Patches 1 and 2 have been reviewed; thanks.) -- PMM On 24 July 2015 at 13:33, Peter Maydell wrote: > We have a qemu_fls() function which is just a silly wrapper > around clz32() and which is used in only a handful of places > in the codebase. It turns out that all of those are really > t

[Qemu-devel] [PATCH v2 0/6] replace qemu_fls() with pow2ceil()/pow2floor()

2015-07-24 Thread Peter Maydell
We have a qemu_fls() function which is just a silly wrapper around clz32() and which is used in only a handful of places in the codebase. It turns out that all of those are really trying to round up or down to a power of 2, which is something we have utility functions for. This series replaces all