xive: Properly reserve built-in VPs in non-group mode
This is not normally used but if the #define is changed to
disable block group mode we would incorrectly clear the
buddy completely without marking the built-in VPs reserved.
@@ -4546,6 +4546,8 @@ static void xive_reset_one(struct xive *x)
#ifndef USE_BLOCK_GROUP_MODE
/* If block group mode isn't enabled, reset VP alloc buddy */
buddy_reset(x->vp_buddy);
+ if (x->block_id == 0)
+ assert(buddy_reserve(x->vp_buddy, 0x800, 11));
#endif
#ifdef USE_INDIRECT
