[Pdbg] [PATCH v4 08/19] dts: Rename ibm, processor -> ibm, power-proc
Alistair Popple
alistair at popple.id.au
Thu Apr 30 10:11:05 AEST 2020
Reviewed-by: Alistair Popple <alistair at popple.id.au>
On Tuesday, 21 April 2020 2:16:44 PM AEST Amitay Isaacs wrote:
> When using multiple compatible strings, use the generic compatible
> string first and specific later.
>
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
> ---
> libpdbg/chip.c | 2 +-
> p8.dts.m4 | 2 +-
> p9.dts | 4 ++--
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/libpdbg/chip.c b/libpdbg/chip.c
> index b961e87..848a831 100644
> --- a/libpdbg/chip.c
> +++ b/libpdbg/chip.c
> @@ -670,7 +670,7 @@ int thread_getregs(struct pdbg_target *thread, struct
> thread_regs *regs) static struct proc proc = {
> .target = {
> .name = "Processor Module",
> - .compatible = "ibm,processor",
> + .compatible = "ibm,power-proc",
> .class = "proc",
> },
> };
> diff --git a/p8.dts.m4 b/p8.dts.m4
> index a508e02..754987a 100644
> --- a/p8.dts.m4
> +++ b/p8.dts.m4
> @@ -1,7 +1,7 @@
> define(`PROC',`
> define(`PROC_ID',`$1')dnl
> proc$1 {
> - compatible = "ibm,power8-proc", "ibm,processor";
> + compatible = "ibm,power-proc", "ibm,power8-proc";
> index = <$1>;
>
> fsi {
> diff --git a/p9.dts b/p9.dts
> index 2d3fed2..6620b54 100644
> --- a/p9.dts
> +++ b/p9.dts
> @@ -7,7 +7,7 @@
> };
>
> proc0 {
> - compatible = "ibm,power9-proc", "ibm,processor";
> + compatible = "ibm,power-proc", "ibm,power9-proc";
> index = < 0x00 >;
>
> fsi {
> @@ -1723,7 +1723,7 @@
> };
>
> proc1 {
> - compatible = "ibm,power9-proc", "ibm,processor";
> + compatible = "ibm,power-proc", "ibm,power9-proc";
> index = < 0x01 >;
>
> fsi {
More information about the Pdbg
mailing list