Re: [PATCH 1/2] powerpc/cpu: raise DEVICE_ADD/REMOVE msg to usrspace

2018-04-04 Thread Hari Bathini
On Friday 30 March 2018 06:47 AM, Pingfan Liu wrote: Some user space tools such as kexec-tools resort to the event add/remove to decide whether rebuilding dtb or not. So if a new core added and a crash happens on one of its thread, then kexec fails to bring up the 2nd kernel since lacking the i

[PATCH 1/2] powerpc/cpu: raise DEVICE_ADD/REMOVE msg to usrspace

2018-03-29 Thread Pingfan Liu
Some user space tools such as kexec-tools resort to the event add/remove to decide whether rebuilding dtb or not. So if a new core added and a crash happens on one of its thread, then kexec fails to bring up the 2nd kernel since lacking the info of boot-cpu-hwid in dtb. This patch uses the interfac