Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2652764ybk; Mon, 18 May 2020 04:46:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuo7Y/+OOpRBJWZj0n5uxNvkkfl/r0VBIgI4sTn4qRHrQHCVhRvYQzk1qK4BIrXTXhgydg X-Received: by 2002:a17:906:938a:: with SMTP id l10mr13852889ejx.186.1589802380316; Mon, 18 May 2020 04:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589802380; cv=none; d=google.com; s=arc-20160816; b=qck0WgC6O+dXe0Nq8ubbMcOej2Xpy14IZY50s9oJtW9KRwGu1iaBfM5JK7pmAgwWy6 vptF2yWJXhEqRylZLDe8pexjKwVyMEG5tJuVCCkGLcTG9gPcE31XySq6aNn9Cxo0Rm9I Hof82n17XbWFENMoV+wQRywuDq27QLSvHPfYbSxVwEFwbOmn2Wzfvzpr6v1gaCvU/Qbi U5BftCLnqjkG2YjVGETdw7VHbcaYWGZHOkizh0L1Wd17kPcLjK1vxgFMiKCj+lJSZk4s P8cc765+VGIhlXkOVsNgTiO3w44yjHB5Nb+C4uR5+oz4ui4gUaegqtYGnM/pWc5Y+qZD FThg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=QqReWwa+eOXbiTkJ7H5L2JLijrqxGjQZXWkiXBXsjxo=; b=BrTZZEUGI35V21K1CJPrCCj40jgccbArhdgwLOYWkbrpZHUnqUnEmZx+8V96xM54CA Aup41x4fwmoNJPlOXY7YezUgLAN5lqpvrSsmSz2zW+22yNS0QbunZQXmkFY3SUYmfRQS 3lrjBBab9TbDcRsGlsvH/Ubwaz7iOyy1NdcfpZoEQkCJlpuCIl/Sm5EVqnb3MzAwBey1 cy2uNJg57CjB5I99V/2m5h6B9TdCUK0qn+8p2U7x4UxZPNxksMbVwaDsSPSRXvr20eHZ tlRJk5+Yk6N76aKLR5IEOA5bk/AP51847gBZI4x44ABEV472+qZf7Bodiy2igA0pEbSN P1BQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 96si3793271edq.298.2020.05.18.04.45.57; Mon, 18 May 2020 04:46:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbgERLls (ORCPT + 99 others); Mon, 18 May 2020 07:41:48 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:35366 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbgERLls (ORCPT ); Mon, 18 May 2020 07:41:48 -0400 Received: by mail-oi1-f194.google.com with SMTP id o7so8701533oif.2; Mon, 18 May 2020 04:41:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QqReWwa+eOXbiTkJ7H5L2JLijrqxGjQZXWkiXBXsjxo=; b=B0F3R1LI/yrCOe/ZwNVRl0o5oKIgF0vCcKsz2yX/nl4BdEzu0ra6ia1ABvS1bpYvFA bOrHXSKHItmTw1sKCMQKQUqbgY+1FxgkFiFCEBRP81eSsRAI/92RgM6LHwwSZs7KS+oi SFaehDsVMeaEZBfEuTqVqD48eVllQZoMs+hif2uio7JrkQicyjKvloV0BJ4NNJaQFIUF BYppnro0gz7141Avv8rbnmK4hZPRqajFrZXXobFJJpkanBJx/knmdJtykXUoNUIIpQrQ Wy3EY2CqaXzwE9tFhsmS91ka/tosZytiUqKnj9yoyb+rkGpRkb78dtQQ/gqys793LGUE Kt/A== X-Gm-Message-State: AOAM533FC8GOk7mgpI0i80CSCsWMv4CT+l4Zez3fG+OiAbYbX6rLAbIp C4HErAtcRBMy91ZvLuFfPdUrYnEgl7Q4+4Z4AvQ= X-Received: by 2002:a05:6808:1:: with SMTP id u1mr6233663oic.54.1589802107215; Mon, 18 May 2020 04:41:47 -0700 (PDT) MIME-Version: 1.0 References: <1589555337-5498-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> <1589555337-5498-16-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <1589555337-5498-16-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Mon, 18 May 2020 13:41:35 +0200 Message-ID: Subject: Re: [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes To: Lad Prabhakar Cc: Rob Herring , Wolfram Sang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux-Renesas , Prabhakar , "Rafael J. Wysocki" , Daniel Lezcano , Linux PM list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, reduced CC list added CPUidle people On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar wrote: > Add DT nodes for the Advanced Power Management Units (APMU), and use the > enable-method to point out that the APMU should be used for SMP support. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu Thanks for your patch! > --- a/arch/arm/boot/dts/r8a7742.dtsi > +++ b/arch/arm/boot/dts/r8a7742.dtsi > @@ -18,6 +18,7 @@ > cpus { > #address-cells = <1>; > #size-cells = <0>; > + enable-method = "renesas,apmu"; According to Documentation/devicetree/bindings/arm/cpus.yaml, "enable-method" should be a property of the individual CPU nodes, and not of the parent "cpus" container node. However, so far we always put it in the parents "cpus" node, which works from secondary CPU bringup, but may cause issues with CPUidle? See also "[PATCH/RFC v2] ARM: dts: r8a7791: Move enable-method to CPU nodes" https://lore.kernel.org/linux-arm-kernel/20190514085837.18325-1-geert+renesas@glider.be/ which so far has received no feedback from the DT or CPUidle people. Thanks! > cpu0: cpu@0 { > device_type = "cpu"; > @@ -305,6 +306,18 @@ > #reset-cells = <1>; > }; > > + apmu@e6151000 { > + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; > + reg = <0 0xe6151000 0 0x188>; > + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; > + }; > + > + apmu@e6152000 { > + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; > + reg = <0 0xe6152000 0 0x188>; > + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; > + }; > + > rst: reset-controller@e6160000 { > compatible = "renesas,r8a7742-rst"; > reg = <0 0xe6160000 0 0x0100>; Regardless: Reviewed-by: Geert Uytterhoeven and I'll see what I will queue in renesas-devel for v5.9 ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds