Thread (9 messages) flat view 9 messages, 3 authors, 2017-08-03

Re: [PATCH] powerpc/xive: fix the fuzz value in xive_pick_irq_target()

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-08-03 00:01:11

Benjamin Herrenschmidt [off-list ref] writes:
On Wed, 2017-08-02 at 18:43 +0200, C=C3=A9dric Le Goater wrote:
quoted
If xive_find_target_in_mask() fails to find a cpu, the fuzz value used
in xive_pick_irq_target() is decremented and reused in the last
returning call to xive_find_target_in_mask(). This can result in such
WARNINGs if the initial fuzz value is zero :
Ah indeed ... would have worked better if "fuzz" had been unsigned.
Is that an ack or a changes requested?

chers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help