[PATCH v4 11/15] drivers/firmware/sdei: Introduce sdei_do_local_call()

James Morse james.morse at arm.com
Fri Sep 18 12:13:44 EDT 2020


Hi Gavin,

On 30/07/2020 02:45, Gavin Shan wrote:
> During the CPU hotplug, the private events are registered, enabled
> or unregistered on the specific CPU. It repeats the same steps:
> initializing cross call argument, make function call on local CPU,
> check the returned error.
> 
> This introduces sdei_do_local_call() to cover the first steps. The
> other benefit is to make CROSSCALL_INIT and struct sdei_crosscall_args
> are only visible to sddi_do_{cross, local}_call().

(sdei)

These things are abusing the IPI call, I agree it makes sense to wrap this weird boiler
plate up in a helper.

Reviewed-by: James Morse <james.morse at arm.com>


Thanks,

James



More information about the linux-arm-kernel mailing list