|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 10/10] xen/arm: Enable errata for secondary CPU on hotplug after the boot
On 11/05/18 13:20, Mirela Simonovic wrote: Hi, On Fri, May 11, 2018 at 2:07 PM, Mirela Simonovic <mirela.simonovic@xxxxxxxxxx> wrote:On Fri, May 11, 2018 at 12:54 PM, Julien Grall <julien.grall@xxxxxxx> wrote:On 11/05/18 11:41, Mirela Simonovic wrote:On Thu, May 10, 2018 at 6:24 PM, Dario Faggioli <dfaggioli@xxxxxxxx> wrote:On Thu, 2018-05-10 at 17:49 +0200, Mirela Simonovic wrote: My thoughts have evolved after Dario's discussion. He expressed concerned over your fix to make stop_cpu() working. As you said I will maintain that code and this solution looks very error prone. If Stefano is happy with it, then fine. If you believe my understanding is not correct, if I missed something or you have another proposal please let me know.Also, if you just want to convert panic from this patch into print I don't believe it's a good approach, but I can do that. I would prefer to see the notifier reporting the error with a warning and returning it. At the notifier level it does not make sense to take the decision to stop the CPU or kill the system. This is a decision that should be taken at higher level such as in notify_cpu_starting(). The whole idea here is we have only one place taking the decision and we don't spread BUG_ON()/panic/stop_cpu everywhere. The benefit is having only one place to fix over multiple one because very likely the decision is the same everywhere. I agree that today it will end up to crashing the system because of the BUG_ON. But that's a separate topic. Cheers, Thanks, MirelaCheers, -- Julien Grall -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |