[PATCH 1/2] ARM64: kernel: make cpu_ops hooks DT agnostic

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Tue May 12 03:45:29 PDT 2015


On Mon, May 11, 2015 at 05:04:02PM +0100, Mark Rutland wrote:
> Hi Lorenzo,
> 
> >  /**
> >   * struct cpu_operations - Callback operations for hotplugging CPUs.
> >   *
> > - * @name:	Name of the property as appears in a devicetree cpu node's
> > - *		enable-method property.
> > - * @cpu_init:	Reads any data necessary for a specific enable-method from the
> > - *		devicetree, for a given cpu node and proposed logical id.
> > + * @name:	Name of the enable-method.
> 
> I'm not keen on dropping the DT portion from the name documentation,
> given the name must be the DT enable-method string. I'd prefer to leave
> the original comment, or something at least mentioning that the name is
> a DT enable-method string.

Ok, I will reword the comment so that that string makes sense in ACPI
too, leaving DT wording unchanged.

> Other than that, this patch looks fine to me, and I don't see issues
> booting on a (DT) system, so:
> 
> Acked-by: Mark Rutland <mark.rutland at arm.com>
> Tested-by: Mark Rutland <mark.rutland at arm.com> [DT]
> 
> Has this has been tested on an ACPI system?

Yes I tested ACPI SMP boot on Juno with it applied.

Thank you !
Lorenzo



More information about the linux-arm-kernel mailing list