Re: Possible LMB hot unplug bug in 4.13+ kernels

2017-10-06 Thread Daniel Henrique Barboza
Unless you (Daniel) think there's some reason lmb_is_removable() is incorrectly returning false. But most likely it's correct and there's just an unmovable allocation in that range. I am not educated enough to say that the current behavior is wrong. What I can say is that in 4.11 and older ker

Re: Possible LMB hot unplug bug in 4.13+ kernels

2017-10-05 Thread Michael Ellerman
Nathan Fontenot writes: > On 10/04/2017 03:21 PM, Daniel Henrique Barboza wrote: ... >> It appears that the hot unplug is failing because lmb_is_removable(lmb) is >> returning >> false inside dlpar_remove_lmb, triggering the hotplug of the LMBs again: ... >> >> I am not aware of anything that I

Re: Possible LMB hot unplug bug in 4.13+ kernels

2017-10-05 Thread Nathan Fontenot
On 10/04/2017 03:21 PM, Daniel Henrique Barboza wrote: > Hi, > > I've stumbled in a LMB hot unplug problem when running a guest with 4.13+ > kernel using QEMU 2.10. When trying to hot unplug a recently hotplugged LMB > this is what I got, using an upstream kernel: > > --- > QEMU cmd