[{"id":1778008,"web_url":"http://patchwork.ozlabs.org/comment/1778008/","msgid":"<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>","list_archive_url":null,"date":"2017-10-01T12:19:11","subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","submitter":{"id":66366,"url":"http://patchwork.ozlabs.org/api/people/66366/","name":"Martin Blumenstingl","email":"martin.blumenstingl@googlemail.com"},"content":"Hello Russel, Hi Kevin,\n\nOn Sun, Sep 17, 2017 at 6:45 PM, Martin Blumenstingl\n<martin.blumenstingl@googlemail.com> wrote:\n> This patchset adds support for booting the secondary CPU cores (and\n> taking them offline again) on Amlogic Meson8 and Meson8b SoCs.\n> It is based on an earlier version from Carlo Caione - this helped me\n> a lot to get a better understanding of how SMP/CPU hotplug works\n> (compared to the code found in Amlogic's GPL kernel sources from\n> year 2015).\n>\n> Changes since v6 from [6]:\n> - rebased on top of v4.14-rc1 (which only corrected some line\n>   numbers in the SCU patches)\nit's been two weeks since v6 and since then Linus Lüssing has\nconfirmed that this works fine on his Odroid-C1 as well (many thanks\nfor testing!): [7]\n\n> Changes since v5 from [5]:\n> - dropped dependency on another patch series (for the clock\n>   controller's embedded reset controller, which is needed to boot\n>   the secondary CPUs) from the cover-letter as that series is now\n>   merged\n> - fix incorrect documentation of scu_cpu_power_enable (thanks to\n>   Russell King for spotting these). removed the paragraph about\n>   preemption, cache coherency and interrupts as we're powering on\n>   a CPU core (the text was copied from the original scu_power_mode\n>   but simply not adjusted). also changed \"Set the executing CPUs\"\n>   to \"Set the given (logical) CPU's\" as we're not modifying the\n>   current CPU. this affects only patch #2\n> - extended the commit message of patch #3 with a short sentence\n>   about why SCU_CPU_STATUS_MASK was introduced\n>\n> Changes since v4 from [4]:\n> - use __pa_symbol(secondary_startup) instead of\n>   virt_to_phys(secondary_startup) as suggested by Florian Fainelli\n>   (affects patch #4)\n> - (cover-letter) removed dependency on my other patch\n>   \"ARM: dts: meson: add a node which describes the SRAM\" [2] as that\n>   was merged into Kevin's Amlogic repo today\n> - dropped patch #5 (\"clk: meson: meson8b: export the CPU soft reset\n>   lines\") again because the reset controller series exposes the\n>   preprocessor macros now directly, see [1]\n> - refreshed the .dts patches so they now include the new header for\n>   the reset line preprocessor macros\n>\n> Changes since v3 from [3]:\n> - added Rob's ACK to patch #1\n> - replaced a msleep(10) with usleep_range(10000, 15000) in patch #4\n> - removed all \"pen\" code from patch #4 as that code was not needed\n>   at all (it was left-over while trying to fix Meson8 secondary CPU\n>   boot - which turned out to have nothing to do with this \"pen\" code)\n> - removed all memory barrier operations as they were added based on\n>   the code in the Amlogic GPL kernel tree (while trying to fix the\n>   Meson8 secondary CPU boot - just like the \"pen\" code). Everything\n>   still works fine with these on my Meson8m2 and Meson8b boards.\n> - added PATCH #5 as we now have to export the reset identifiers\n>   (just like we do it with the clock identifiers / preprocessor\n>   macros) - this is the result of a change in the reset controller\n>   patch in version 2, see [1]\n> - use the reset line preprocessor macros (from patch #5) in patches\n>   #6 and #7\n>\n> Changes since v2 from [0]:\n> - added support for Meson8 (which requires a slightly different\n>   enable-method)\n> - implemented CPU hotplug support which allows taking a CPU core\n>   offline for both, Meson8 and Meson8b\n> - add a function to smp_scu.c which allows enabling a CPU core from\n>   a different CPU (previously only the power mode for the current CPU\n>   could be changed). Without this the CPU cores on Meson8 won't come\n>   up (Amlogic's vendor GPL kernel sources also enable power through\n>   SCU as very first step for Meson8b as well)\n> - add a function to smp_scu.c to get the power status of a CPU core\n>   (which is needed because the code in .cpu_kill needs to wait until\n>   the core is actually powered off)\n> - dropped patch \"ARM: DTS: meson8b: Extend L2 cache controller node\"\n>   as it is already applied (for both, Meson8 and Meson8b)\n> - dropped the patches which implement the reset controller which is\n>   built into the clock-controller, these are a separate series: [1]\n> - moved the enable-method property to each CPU node\n>\n>\n> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390355.html\n> [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004456.html\n> [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004282.html\n> [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004297.html\n> [4] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004354.html\n> [5] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004460.html\n> [6] http://lists.infradead.org/pipermail/linux-amlogic/2017-August/004588.html\n>\n> Carlo Caione (2):\n>   dt-bindings: Amlogic: Add Meson8 and Meson8b SMP related documentation\n>   ARM: dts: meson8b: add support for booting the secondary CPU cores\n>\n> Martin Blumenstingl (4):\n>   ARM: smp_scu: add a helper for powering on a specific CPU\n>   ARM: smp_scu: allow the platform code to read the SCU CPU status\n>   ARM: meson: Add SMP bringup code for Meson8 and Meson8b\n>   ARM: dts: meson8: add support for booting the secondary CPU cores\n@Russel: should Kevin take all patches including the two smp_scu ones?\nor do you want to take them through your own tree?\n\n>  .../devicetree/bindings/arm/amlogic/pmu.txt        |  18 +\n>  .../devicetree/bindings/arm/amlogic/smp-sram.txt   |  32 ++\n>  Documentation/devicetree/bindings/arm/cpus.txt     |   2 +\n>  arch/arm/Makefile                                  |   1 +\n>  arch/arm/boot/dts/meson8.dtsi                      |  21 +\n>  arch/arm/boot/dts/meson8b.dtsi                     |  21 +\n>  arch/arm/include/asm/smp_scu.h                     |  12 +\n>  arch/arm/kernel/smp_scu.c                          |  43 +-\n>  arch/arm/mach-meson/Kconfig                        |   1 +\n>  arch/arm/mach-meson/Makefile                       |   1 +\n>  arch/arm/mach-meson/platsmp.c                      | 440 +++++++++++++++++++++\n>  11 files changed, 586 insertions(+), 6 deletions(-)\n>  create mode 100644 Documentation/devicetree/bindings/arm/amlogic/pmu.txt\n>  create mode 100644 Documentation/devicetree/bindings/arm/amlogic/smp-sram.txt\n>  create mode 100644 arch/arm/mach-meson/platsmp.c\n>\n> --\n> 2.14.1\n>\n\nRegards,\nMartin\n\n\n[7] http://lists.infradead.org/pipermail/linux-amlogic/2017-September/004813.html","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"qLX1GGTu\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=googlemail.com header.i=@googlemail.com\n\theader.b=\"TcSaoFwG\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y4krf6HTYz9t2M\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSun,  1 Oct 2017 23:20:02 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dydDx-00080E-G3; Sun, 01 Oct 2017 12:19:57 +0000","from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dydDs-0007y7-Se; Sun, 01 Oct 2017 12:19:55 +0000","by mail-io0-x244.google.com with SMTP id d16so1871069ioj.2;\n\tSun, 01 Oct 2017 05:19:32 -0700 (PDT)","by 10.2.51.84 with HTTP; Sun, 1 Oct 2017 05:19:11 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:\n\tReferences:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=rLshf2aVY93rANN4XhzLzfv83KWcI5Fj13lv1wyFpnI=;\n\tb=qLX1GGTuyFA/yf\n\tbLJs7G+igfV8z5UIHVNb2r2FJrw0ArJ5twG2ZzQPVYyezO/7P06RvA23Zt4Sjx32Ei8fJhvVmG5dP\n\t5YtLXPPIjnMp37Ko/42QLPQOy8EE/5CB0U3HjHmco87uSjf4vRZ/ZA++cLVoz+IiNdQblRAwMbz2z\n\tsj+YJxJOrjrl9OOy1QJDDVlwR1DVITs61PYOVudvl7xBZHrXhnOwFXXRMRW2A4RyxpwZRUrwIa7oM\n\to6/wsRxNYXtPuviH45N+d1OfQTY2dHja2HLzZqqEOM4XuotCK/xHN/4fh7YIta12OR0QMcOnzLKXB\n\tFj+3CWtJMRogyJgiJoMg==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlemail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc:content-transfer-encoding;\n\tbh=B3ii01uvIAuFlXTtNElp0Rwllk75hKFWkiVLnTcSCys=;\n\tb=TcSaoFwGjahaAOJyM5IjvQVNJN6OgpMvY/GKmo2xGJLbdIzAy48etE6V7tMQcvPqc1\n\tReqU3rJkryyxkQGPRcAsVi64aA6kd1OiNcf5LKiFrLnnnjPxy6o2s0PuJnY128r7yZlP\n\tXHOgm8DupYa0WyufBzRQHCqs+3fqGkRyK6HXeN2NqYvSlBUysm658/vVJfOvzyubinZ+\n\t4ieLmNrNdw2y8USdSDP7l0IWpvxZWbBHg0nmdkTj3aFaCwLAXl98BCye+Q3WqkF/TDCz\n\tonWHSNP6yHkJZuEnd5LvR0bLCvTP8aPXA9ajM3PiHy9AmUy9Hw/0vk6GowbfyFePKYUU\n\t8dJg=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-transfer-encoding;\n\tbh=B3ii01uvIAuFlXTtNElp0Rwllk75hKFWkiVLnTcSCys=;\n\tb=KHkSl6UsFpuNfI8ZndDyFbfwtqGDSKMq1/CtRMsYgWZfOpv1OOaDU88hVn52w6jc42\n\t5sQjqGuNtwTKOqD30FzUbyOhESqdIB5Wtxy9Y0L5dUnSdv9OKKUUVvRPObyOHmp1WXxB\n\tGV79emGWxC/DPPDp6Gb5oaYBMutQ50v0fWDnfuWQiXMjASVJhgBjpsSKPbnEFbsmNVy6\n\teZ1Ifr9VNuOCklyZfEvuKBKq+G5k/sKQAjqwtHTVWdmh+poz+djq7njNhtyzb8yHKLAJ\n\twiNQVQBhWswMlpflI2XHVMLfxhnk5a8wUvy7FLInZnlYL1Y3DJeWdyXUKrGi4aaVSG0A\n\t78xA==","X-Gm-Message-State":"AMCzsaVNg9vR8fBROaLMuc33hCe6bm8BZhSd+r1/iELSQ6GTwy5bhF4P\n\tIoXq1af9Z6SU7mwz59kv8pfUqF9jI+uXwexInDg=","X-Google-Smtp-Source":"AOwi7QC+z4Jmi2rmuhp5zdmI4Gtjcs7KENDGIJeI/PgUWGf3ntiEmMlBWeASvWlAgPU4kgsD+AvT76rXiz80asbwoxc=","X-Received":"by 10.107.81.1 with SMTP id f1mr20038945iob.17.1506860371470;\n\tSun, 01 Oct 2017 05:19:31 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>","From":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Date":"Sun, 1 Oct 2017 14:19:11 +0200","Message-ID":"<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>","Subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","To":"khilman@baylibre.com, linux@armlinux.org.uk","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171001_051953_018238_591647FD ","X-CRM114-Status":"GOOD (  29.76  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:4001:c06:0:0:0:244 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (martin.blumenstingl[at]googlemail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, \n\trobh+dt@kernel.org, carlo@caione.org, linux-amlogic@lists.infradead.org, \n\tlinux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1781903,"web_url":"http://patchwork.ozlabs.org/comment/1781903/","msgid":"<7hpoa07yn6.fsf@baylibre.com>","list_archive_url":null,"date":"2017-10-06T21:30:05","subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","submitter":{"id":68189,"url":"http://patchwork.ozlabs.org/api/people/68189/","name":"Kevin Hilman","email":"khilman@baylibre.com"},"content":"Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:\n\n> Hello Russel, Hi Kevin,\n>\n> On Sun, Sep 17, 2017 at 6:45 PM, Martin Blumenstingl\n> <martin.blumenstingl@googlemail.com> wrote:\n>> This patchset adds support for booting the secondary CPU cores (and\n>> taking them offline again) on Amlogic Meson8 and Meson8b SoCs.\n>> It is based on an earlier version from Carlo Caione - this helped me\n>> a lot to get a better understanding of how SMP/CPU hotplug works\n>> (compared to the code found in Amlogic's GPL kernel sources from\n>> year 2015).\n>>\n>> Changes since v6 from [6]:\n>> - rebased on top of v4.14-rc1 (which only corrected some line\n>>   numbers in the SCU patches)\n> it's been two weeks since v6 and since then Linus Lüssing has\n> confirmed that this works fine on his Odroid-C1 as well (many thanks\n> for testing!): [7]\n>\n>> Changes since v5 from [5]:\n>> - dropped dependency on another patch series (for the clock\n>>   controller's embedded reset controller, which is needed to boot\n>>   the secondary CPUs) from the cover-letter as that series is now\n>>   merged\n>> - fix incorrect documentation of scu_cpu_power_enable (thanks to\n>>   Russell King for spotting these). removed the paragraph about\n>>   preemption, cache coherency and interrupts as we're powering on\n>>   a CPU core (the text was copied from the original scu_power_mode\n>>   but simply not adjusted). also changed \"Set the executing CPUs\"\n>>   to \"Set the given (logical) CPU's\" as we're not modifying the\n>>   current CPU. this affects only patch #2\n>> - extended the commit message of patch #3 with a short sentence\n>>   about why SCU_CPU_STATUS_MASK was introduced\n>>\n>> Changes since v4 from [4]:\n>> - use __pa_symbol(secondary_startup) instead of\n>>   virt_to_phys(secondary_startup) as suggested by Florian Fainelli\n>>   (affects patch #4)\n>> - (cover-letter) removed dependency on my other patch\n>>   \"ARM: dts: meson: add a node which describes the SRAM\" [2] as that\n>>   was merged into Kevin's Amlogic repo today\n>> - dropped patch #5 (\"clk: meson: meson8b: export the CPU soft reset\n>>   lines\") again because the reset controller series exposes the\n>>   preprocessor macros now directly, see [1]\n>> - refreshed the .dts patches so they now include the new header for\n>>   the reset line preprocessor macros\n>>\n>> Changes since v3 from [3]:\n>> - added Rob's ACK to patch #1\n>> - replaced a msleep(10) with usleep_range(10000, 15000) in patch #4\n>> - removed all \"pen\" code from patch #4 as that code was not needed\n>>   at all (it was left-over while trying to fix Meson8 secondary CPU\n>>   boot - which turned out to have nothing to do with this \"pen\" code)\n>> - removed all memory barrier operations as they were added based on\n>>   the code in the Amlogic GPL kernel tree (while trying to fix the\n>>   Meson8 secondary CPU boot - just like the \"pen\" code). Everything\n>>   still works fine with these on my Meson8m2 and Meson8b boards.\n>> - added PATCH #5 as we now have to export the reset identifiers\n>>   (just like we do it with the clock identifiers / preprocessor\n>>   macros) - this is the result of a change in the reset controller\n>>   patch in version 2, see [1]\n>> - use the reset line preprocessor macros (from patch #5) in patches\n>>   #6 and #7\n>>\n>> Changes since v2 from [0]:\n>> - added support for Meson8 (which requires a slightly different\n>>   enable-method)\n>> - implemented CPU hotplug support which allows taking a CPU core\n>>   offline for both, Meson8 and Meson8b\n>> - add a function to smp_scu.c which allows enabling a CPU core from\n>>   a different CPU (previously only the power mode for the current CPU\n>>   could be changed). Without this the CPU cores on Meson8 won't come\n>>   up (Amlogic's vendor GPL kernel sources also enable power through\n>>   SCU as very first step for Meson8b as well)\n>> - add a function to smp_scu.c to get the power status of a CPU core\n>>   (which is needed because the code in .cpu_kill needs to wait until\n>>   the core is actually powered off)\n>> - dropped patch \"ARM: DTS: meson8b: Extend L2 cache controller node\"\n>>   as it is already applied (for both, Meson8 and Meson8b)\n>> - dropped the patches which implement the reset controller which is\n>>   built into the clock-controller, these are a separate series: [1]\n>> - moved the enable-method property to each CPU node\n>>\n>>\n>> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390355.html\n>> [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004456.html\n>> [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004282.html\n>> [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004297.html\n>> [4] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004354.html\n>> [5] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004460.html\n>> [6] http://lists.infradead.org/pipermail/linux-amlogic/2017-August/004588.html\n>>\n>> Carlo Caione (2):\n>>   dt-bindings: Amlogic: Add Meson8 and Meson8b SMP related documentation\n>>   ARM: dts: meson8b: add support for booting the secondary CPU cores\n>>\n>> Martin Blumenstingl (4):\n>>   ARM: smp_scu: add a helper for powering on a specific CPU\n>>   ARM: smp_scu: allow the platform code to read the SCU CPU status\n>>   ARM: meson: Add SMP bringup code for Meson8 and Meson8b\n>>   ARM: dts: meson8: add support for booting the secondary CPU cores\n> @Russel: should Kevin take all patches including the two smp_scu ones?\n> or do you want to take them through your own tree?\n\nWith Russell's ack, I can take the series via the amlogic tree.  But I'm\nalso fine if Russell wants to take the arch/arm/* via his tree, and I\nwill just queue up the DT.\n\nKevin","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"NVpwM4ie\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=baylibre-com.20150623.gappssmtp.com\n\theader.i=@baylibre-com.20150623.gappssmtp.com header.b=\"UuG+uBLd\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y82rh5FQcz9t2Z\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSat,  7 Oct 2017 08:31:32 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e0aDP-0006Dp-62; Fri, 06 Oct 2017 21:31:27 +0000","from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e0aCe-0005UI-LS for linux-arm-kernel@lists.infradead.org;\n\tFri, 06 Oct 2017 21:30:44 +0000","by mail-pf0-x235.google.com with SMTP id 17so1791774pfn.12\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tFri, 06 Oct 2017 14:30:20 -0700 (PDT)","from localhost (c-98-203-232-209.hsd1.wa.comcast.net.\n\t[98.203.232.209]) by smtp.gmail.com with ESMTPSA id\n\tl12sm3999083pgr.10.2017.10.06.14.30.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 06 Oct 2017 14:30:17 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:\n\tDate:References:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=Zb3WKhKtBpcngeY5aRtAPogfVpYpKT2TDJpXAWUsf3g=;\n\tb=NVpwM4ievbxH/+\n\tP0c+kxdQKIvs1GoSsRaYPg5LOM5m7W+Stl5o6Pw4O648z0ivkLbX2a77mraT7K99K7eE6LuGCa4Rs\n\tdsi/yyxkSLeNqHCw5xFDoY8+snPgq3BCiucsPHMSWxSlSY3INn5bP2PBYdbtzrCU0U1ns7RsS/KuX\n\ttHndUPqcwFKwhdaASnfy0yXIun+pihMKyIHoNiPRAjdkAM3CffuuXeDLKE+f/28aC1uOttVLixRYf\n\tp27Gq6ni688yWLOPlyDAGH3hqgcL6ekTBrqhVjfgtg9Q9pb75d6KW2d2d3WVa9HhGjb5qpDYB7tJu\n\tGVmMxzslfRzYa+a3v0Sg==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=baylibre-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:organization:references:date:in-reply-to\n\t:message-id:user-agent:mime-version:content-transfer-encoding;\n\tbh=A3RwkwoUc6bylFRYuVgeGDHkvS1jEOnDdplcGiKdNII=;\n\tb=UuG+uBLdoQ5oDswHzSYFczvs+hfe/nI0U5eRt4EEoL19PWVy4HFFFkjMu6s1bkfIg4\n\tJYTHuJXjtf60kwuoeagNYeSXMG69nbwK/HpcKCyFYdyGWPlIEyq0X2E3BjSVxb1HZPTo\n\tvx94+yjwshZFqTpgBOn+nC8P48XH98LQ/RDETiPb1Jr72V3JgLoihnUkeKlLcQEvhEtX\n\tsrZUB4hEpTZ8fAyvs0NgbKyvkUTVpn8VhmkCqdPCHjFVu4W1Q3IWgUB2OFOgu8xZ3qB+\n\tD6BATgdxoyAc1F8g5Y7tw1q8jqHHZJ5hc10gYUx769D3n9RCCQlPOkm+BKhIl5PNwqkb\n\tMvNw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:organization:references:date\n\t:in-reply-to:message-id:user-agent:mime-version\n\t:content-transfer-encoding;\n\tbh=A3RwkwoUc6bylFRYuVgeGDHkvS1jEOnDdplcGiKdNII=;\n\tb=cDKgTCH3D6umfWh8hxktKJA6bHg0RHvxGW6gZOIMCPlzz9h5yF/Hzk7u9KTP68497a\n\tEeUqIwULVZJ49UmMTMsY7eX52hyUMK2hwq5jVVTBUvszP7mRiea0q5QVY+mKy/ceOjyS\n\tm1wDcSiko/O9ye6HMkys2cYFcnuyHNHo2a3IFcrB4r1rw1e3WgzPbGJ+huZGTIHC6RSY\n\tQWmEKrLliJ+A4KjyejgNgKXvFDaa28izJciyeJU7jePu23bxW8qQTx89mB35VKI6/hGp\n\tv9Os8rWxQb0Fz8TpiNL3LxwxdcAy1lwkfbDEde/BkD30DgTO/CSB5Xa9G5fsPNOv1qPX\n\tnVUQ==","X-Gm-Message-State":"AMCzsaWTyEcSAlbM5MYoeKWffoGNRc32VzRz9VHI/P7SpsfD3A3hc/PE\n\t3apNUzjxAFK7zYiybCLeptDyQw==","X-Google-Smtp-Source":"AOwi7QALLTEPNvr/58S8G/VT8LA61+gJxg902d0xcErlF0v6vs0KyMY2QDSlvs1R0KVBYbWLJeZl/g==","X-Received":"by 10.99.55.1 with SMTP id e1mr2990828pga.175.1507325419293;\n\tFri, 06 Oct 2017 14:30:19 -0700 (PDT)","From":"Kevin Hilman <khilman@baylibre.com>","To":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>,\n\tRussell King <rmk+kernel@arm.linux.org.uk> ","Subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","Organization":"BayLibre","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>","Date":"Fri, 06 Oct 2017 14:30:05 -0700","In-Reply-To":"<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>\n\t(Martin Blumenstingl's message of \"Sun, 1 Oct 2017 14:19:11 +0200\")","Message-ID":"<7hpoa07yn6.fsf@baylibre.com>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171006_143040_901827_532E5336 ","X-CRM114-Status":"GOOD (  24.79  )","X-Spam-Score":"-1.2 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c00:0:0:0:235 listed in] [list.dnswl.org]\n\t0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, linux@armlinux.org.uk, robh+dt@kernel.org,\n\tcarlo@caione.org, linux-amlogic@lists.infradead.org,\n\tlinux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1791781,"web_url":"http://patchwork.ozlabs.org/comment/1791781/","msgid":"<CAFBinCB0YkApefxJCVDmEc0cD3JWv7+ZHE3PY2BjD3tXD6gbEQ@mail.gmail.com>","list_archive_url":null,"date":"2017-10-20T22:14:28","subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","submitter":{"id":66366,"url":"http://patchwork.ozlabs.org/api/people/66366/","name":"Martin Blumenstingl","email":"martin.blumenstingl@googlemail.com"},"content":"Hi Russel,\n\nOn Fri, Oct 6, 2017 at 11:30 PM, Kevin Hilman <khilman@baylibre.com> wrote:\n> Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:\n>\n>> Hello Russel, Hi Kevin,\n>>\n>> On Sun, Sep 17, 2017 at 6:45 PM, Martin Blumenstingl\n>> <martin.blumenstingl@googlemail.com> wrote:\n>>> This patchset adds support for booting the secondary CPU cores (and\n>>> taking them offline again) on Amlogic Meson8 and Meson8b SoCs.\n>>> It is based on an earlier version from Carlo Caione - this helped me\n>>> a lot to get a better understanding of how SMP/CPU hotplug works\n>>> (compared to the code found in Amlogic's GPL kernel sources from\n>>> year 2015).\n>>>\n>>> Changes since v6 from [6]:\n>>> - rebased on top of v4.14-rc1 (which only corrected some line\n>>>   numbers in the SCU patches)\n>> it's been two weeks since v6 and since then Linus Lüssing has\n>> confirmed that this works fine on his Odroid-C1 as well (many thanks\n>> for testing!): [7]\n>>\n>>> Changes since v5 from [5]:\n>>> - dropped dependency on another patch series (for the clock\n>>>   controller's embedded reset controller, which is needed to boot\n>>>   the secondary CPUs) from the cover-letter as that series is now\n>>>   merged\n>>> - fix incorrect documentation of scu_cpu_power_enable (thanks to\n>>>   Russell King for spotting these). removed the paragraph about\n>>>   preemption, cache coherency and interrupts as we're powering on\n>>>   a CPU core (the text was copied from the original scu_power_mode\n>>>   but simply not adjusted). also changed \"Set the executing CPUs\"\n>>>   to \"Set the given (logical) CPU's\" as we're not modifying the\n>>>   current CPU. this affects only patch #2\n>>> - extended the commit message of patch #3 with a short sentence\n>>>   about why SCU_CPU_STATUS_MASK was introduced\n>>>\n>>> Changes since v4 from [4]:\n>>> - use __pa_symbol(secondary_startup) instead of\n>>>   virt_to_phys(secondary_startup) as suggested by Florian Fainelli\n>>>   (affects patch #4)\n>>> - (cover-letter) removed dependency on my other patch\n>>>   \"ARM: dts: meson: add a node which describes the SRAM\" [2] as that\n>>>   was merged into Kevin's Amlogic repo today\n>>> - dropped patch #5 (\"clk: meson: meson8b: export the CPU soft reset\n>>>   lines\") again because the reset controller series exposes the\n>>>   preprocessor macros now directly, see [1]\n>>> - refreshed the .dts patches so they now include the new header for\n>>>   the reset line preprocessor macros\n>>>\n>>> Changes since v3 from [3]:\n>>> - added Rob's ACK to patch #1\n>>> - replaced a msleep(10) with usleep_range(10000, 15000) in patch #4\n>>> - removed all \"pen\" code from patch #4 as that code was not needed\n>>>   at all (it was left-over while trying to fix Meson8 secondary CPU\n>>>   boot - which turned out to have nothing to do with this \"pen\" code)\n>>> - removed all memory barrier operations as they were added based on\n>>>   the code in the Amlogic GPL kernel tree (while trying to fix the\n>>>   Meson8 secondary CPU boot - just like the \"pen\" code). Everything\n>>>   still works fine with these on my Meson8m2 and Meson8b boards.\n>>> - added PATCH #5 as we now have to export the reset identifiers\n>>>   (just like we do it with the clock identifiers / preprocessor\n>>>   macros) - this is the result of a change in the reset controller\n>>>   patch in version 2, see [1]\n>>> - use the reset line preprocessor macros (from patch #5) in patches\n>>>   #6 and #7\n>>>\n>>> Changes since v2 from [0]:\n>>> - added support for Meson8 (which requires a slightly different\n>>>   enable-method)\n>>> - implemented CPU hotplug support which allows taking a CPU core\n>>>   offline for both, Meson8 and Meson8b\n>>> - add a function to smp_scu.c which allows enabling a CPU core from\n>>>   a different CPU (previously only the power mode for the current CPU\n>>>   could be changed). Without this the CPU cores on Meson8 won't come\n>>>   up (Amlogic's vendor GPL kernel sources also enable power through\n>>>   SCU as very first step for Meson8b as well)\n>>> - add a function to smp_scu.c to get the power status of a CPU core\n>>>   (which is needed because the code in .cpu_kill needs to wait until\n>>>   the core is actually powered off)\n>>> - dropped patch \"ARM: DTS: meson8b: Extend L2 cache controller node\"\n>>>   as it is already applied (for both, Meson8 and Meson8b)\n>>> - dropped the patches which implement the reset controller which is\n>>>   built into the clock-controller, these are a separate series: [1]\n>>> - moved the enable-method property to each CPU node\n>>>\n>>>\n>>> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390355.html\n>>> [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004456.html\n>>> [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004282.html\n>>> [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004297.html\n>>> [4] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004354.html\n>>> [5] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004460.html\n>>> [6] http://lists.infradead.org/pipermail/linux-amlogic/2017-August/004588.html\n>>>\n>>> Carlo Caione (2):\n>>>   dt-bindings: Amlogic: Add Meson8 and Meson8b SMP related documentation\n>>>   ARM: dts: meson8b: add support for booting the secondary CPU cores\n>>>\n>>> Martin Blumenstingl (4):\n>>>   ARM: smp_scu: add a helper for powering on a specific CPU\n>>>   ARM: smp_scu: allow the platform code to read the SCU CPU status\ncould you please have a look at these two patches? it would be great\nif you could give feedback on these, because they are needed for SMP\nsupport on the Amlogic Meson8 and Meson8b platforms\n\n>>>   ARM: meson: Add SMP bringup code for Meson8 and Meson8b\n>>>   ARM: dts: meson8: add support for booting the secondary CPU cores\n>> @Russel: should Kevin take all patches including the two smp_scu ones?\n>> or do you want to take them through your own tree?\n>\n> With Russell's ack, I can take the series via the amlogic tree.  But I'm\n> also fine if Russell wants to take the arch/arm/* via his tree, and I\n> will just queue up the DT.\nplease also let Kevin know if you would like him to take these patches\nthrough the amlogic tree\n\nthank you in advance!\n\n\nRegards\nMartin","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"QQfInDyi\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=googlemail.com header.i=@googlemail.com\n\theader.b=\"V4M/Xhe5\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yJg8l3f9pz9sNV\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSat, 21 Oct 2017 09:15:19 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e5fZS-00054E-Q7; Fri, 20 Oct 2017 22:15:14 +0000","from mail-io0-x241.google.com ([2607:f8b0:4001:c06::241])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e5fZN-00045M-Ql; Fri, 20 Oct 2017 22:15:13 +0000","by mail-io0-x241.google.com with SMTP id p186so14682102ioe.12;\n\tFri, 20 Oct 2017 15:14:49 -0700 (PDT)","by 10.2.151.236 with HTTP; Fri, 20 Oct 2017 15:14:28 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:\n\tReferences:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=HIu4S6tCU5AtDvISuXX9gHaiw2z2r6SpMcsw6fVBrO8=;\n\tb=QQfInDyiaiWSqw\n\tQ5lYNJvl/IkStFkqo4cioXcakvPZM045Fiv12+yKkI2B4dE2JSX/YEJO3iCCyKdMzF06WEWAKSOPY\n\tnrek5Xl1dJ2R415vj378X3aiuScqIq8/0xEiOoQdeYIf1Si5wPaupTy7/KOT9ORHeHbmFQzXhXVMm\n\tV+c9gfq4fKcWonJKu2gCXZtnrWNZM+hQfei53uGCF9+Mq9bVkpFMaYEmVWPg7IhiPmDwTs6CABEIU\n\tDydaN33ISzAk2zt5HWBFt720O14GtX97vXuoJhtOAnT/HqubYO3gcCIDMV85X9L4Qf2f8iDjgoPHr\n\tFJICe2QARHbhWo31J4kw==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlemail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc:content-transfer-encoding;\n\tbh=LCTSbx/hpv6KyjEd9D6ikgrUsHIkCQTHx8c4mmYNSk8=;\n\tb=V4M/Xhe5PPxNCZizSAl3yZN38fAzXDfryisYhWIK8XAPrmg0+jmcy7CHzMfcAEP4PF\n\tTu140ZDqrfYd9AUG2w7NeXM9YuFTkaSnGFp3UOzVwpXLUfFXvzwXtsn40ywN+cgwAPZW\n\tEBDrXDjp7UhTxOCsVo4z4IDcGNm4C96jBBKgIsrOxtwc/tYJlCUY1qH+GyURuDqVOz02\n\t0TJQEwOfM2KHbg+FL3fYOoGDuo6MfGhJXzuTRpKcCwQhXmM/y4oaDZfP6Ubnl/7QsLX/\n\tA4zEIYrS78Q7j9+JFmZp1lpVW95eQbt7Ec7m/N17IHEDdV5hgjg2Oij9Hw/50MJSEENt\n\tjwbQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-transfer-encoding;\n\tbh=LCTSbx/hpv6KyjEd9D6ikgrUsHIkCQTHx8c4mmYNSk8=;\n\tb=pQ6VEIxuW+kXAn9tJvHWcyJ6vM+TlIE4NYrEMqziT75HDgGsI6fQvds8F1fRAuZQeV\n\t/1d3yaCL5XyUJyHDMJJdlSMKmZE1+KHuZIIS0hEVulHI6LbT3ur00C0fZRPYjefmrl3Q\n\tdTC3BvyrkBP4FkUFjS0mvkZtnozLlfDJ2gZqyGDeRMbsP2WRR+HI7lhMeRhKB09Rk2v3\n\tVk43A3v2IQgMgW8mMSYTOaq8h0ahr9kL1rI5PaekKjTDHgUy2vecst/E898NeYdzUb22\n\t1Odb9zEAf36HOUkPZqq4XHEgjjAGqXNbpD4SEcBLSEnbbUSlmHEV2ARZbw02uWMp0ggP\n\t3W8A==","X-Gm-Message-State":"AMCzsaUWXed/MDZG7GvupKl86pzoLDu/8uUkAbpwYgDugyaTkDlKgU/Z\n\t6eICaFDfQw6iL1PqaE+HQLDy+dNixOukQDIMh2I=","X-Google-Smtp-Source":"ABhQp+RrxaU8QUTRakyhToadr1tABdkmo8LCV8Xz2m9hendZ6TC4ONeK2iIzQEXcFICwrfgkmUW+GQbjSs2CfUagjrA=","X-Received":"by 10.107.107.21 with SMTP id g21mr8060474ioc.101.1508537688476; \n\tFri, 20 Oct 2017 15:14:48 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<7hpoa07yn6.fsf@baylibre.com>","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>\n\t<7hpoa07yn6.fsf@baylibre.com>","From":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Date":"Sat, 21 Oct 2017 00:14:28 +0200","Message-ID":"<CAFBinCB0YkApefxJCVDmEc0cD3JWv7+ZHE3PY2BjD3tXD6gbEQ@mail.gmail.com>","Subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","To":"Russell King <rmk+kernel@arm.linux.org.uk>,\n\tlinux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171020_151510_018226_BFAA1D84 ","X-CRM114-Status":"GOOD (  23.65  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:4001:c06:0:0:0:241 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (martin.blumenstingl[at]googlemail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, Kevin Hilman <khilman@baylibre.com>, robh+dt@kernel.org, \n\tcarlo@caione.org, linux-amlogic@lists.infradead.org","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1792457,"web_url":"http://patchwork.ozlabs.org/comment/1792457/","msgid":"<20171023094921.GO20805@n2100.armlinux.org.uk>","list_archive_url":null,"date":"2017-10-23T09:49:21","subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","submitter":{"id":69080,"url":"http://patchwork.ozlabs.org/api/people/69080/","name":"Russell King (Oracle)","email":"linux@armlinux.org.uk"},"content":"On Sat, Oct 21, 2017 at 12:14:28AM +0200, Martin Blumenstingl wrote:\n> Hi Russel,\n> \n> On Fri, Oct 6, 2017 at 11:30 PM, Kevin Hilman <khilman@baylibre.com> wrote:\n> > Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:\n> >\n> >> Hello Russel, Hi Kevin,\n> >>\n> >> On Sun, Sep 17, 2017 at 6:45 PM, Martin Blumenstingl\n> >> <martin.blumenstingl@googlemail.com> wrote:\n> >>> This patchset adds support for booting the secondary CPU cores (and\n> >>> taking them offline again) on Amlogic Meson8 and Meson8b SoCs.\n> >>> It is based on an earlier version from Carlo Caione - this helped me\n> >>> a lot to get a better understanding of how SMP/CPU hotplug works\n> >>> (compared to the code found in Amlogic's GPL kernel sources from\n> >>> year 2015).\n> >>>\n> >>> Changes since v6 from [6]:\n> >>> - rebased on top of v4.14-rc1 (which only corrected some line\n> >>>   numbers in the SCU patches)\n> >> it's been two weeks since v6 and since then Linus Lüssing has\n> >> confirmed that this works fine on his Odroid-C1 as well (many thanks\n> >> for testing!): [7]\n> >>\n> >>> Changes since v5 from [5]:\n> >>> - dropped dependency on another patch series (for the clock\n> >>>   controller's embedded reset controller, which is needed to boot\n> >>>   the secondary CPUs) from the cover-letter as that series is now\n> >>>   merged\n> >>> - fix incorrect documentation of scu_cpu_power_enable (thanks to\n> >>>   Russell King for spotting these). removed the paragraph about\n> >>>   preemption, cache coherency and interrupts as we're powering on\n> >>>   a CPU core (the text was copied from the original scu_power_mode\n> >>>   but simply not adjusted). also changed \"Set the executing CPUs\"\n> >>>   to \"Set the given (logical) CPU's\" as we're not modifying the\n> >>>   current CPU. this affects only patch #2\n> >>> - extended the commit message of patch #3 with a short sentence\n> >>>   about why SCU_CPU_STATUS_MASK was introduced\n> >>>\n> >>> Changes since v4 from [4]:\n> >>> - use __pa_symbol(secondary_startup) instead of\n> >>>   virt_to_phys(secondary_startup) as suggested by Florian Fainelli\n> >>>   (affects patch #4)\n> >>> - (cover-letter) removed dependency on my other patch\n> >>>   \"ARM: dts: meson: add a node which describes the SRAM\" [2] as that\n> >>>   was merged into Kevin's Amlogic repo today\n> >>> - dropped patch #5 (\"clk: meson: meson8b: export the CPU soft reset\n> >>>   lines\") again because the reset controller series exposes the\n> >>>   preprocessor macros now directly, see [1]\n> >>> - refreshed the .dts patches so they now include the new header for\n> >>>   the reset line preprocessor macros\n> >>>\n> >>> Changes since v3 from [3]:\n> >>> - added Rob's ACK to patch #1\n> >>> - replaced a msleep(10) with usleep_range(10000, 15000) in patch #4\n> >>> - removed all \"pen\" code from patch #4 as that code was not needed\n> >>>   at all (it was left-over while trying to fix Meson8 secondary CPU\n> >>>   boot - which turned out to have nothing to do with this \"pen\" code)\n> >>> - removed all memory barrier operations as they were added based on\n> >>>   the code in the Amlogic GPL kernel tree (while trying to fix the\n> >>>   Meson8 secondary CPU boot - just like the \"pen\" code). Everything\n> >>>   still works fine with these on my Meson8m2 and Meson8b boards.\n> >>> - added PATCH #5 as we now have to export the reset identifiers\n> >>>   (just like we do it with the clock identifiers / preprocessor\n> >>>   macros) - this is the result of a change in the reset controller\n> >>>   patch in version 2, see [1]\n> >>> - use the reset line preprocessor macros (from patch #5) in patches\n> >>>   #6 and #7\n> >>>\n> >>> Changes since v2 from [0]:\n> >>> - added support for Meson8 (which requires a slightly different\n> >>>   enable-method)\n> >>> - implemented CPU hotplug support which allows taking a CPU core\n> >>>   offline for both, Meson8 and Meson8b\n> >>> - add a function to smp_scu.c which allows enabling a CPU core from\n> >>>   a different CPU (previously only the power mode for the current CPU\n> >>>   could be changed). Without this the CPU cores on Meson8 won't come\n> >>>   up (Amlogic's vendor GPL kernel sources also enable power through\n> >>>   SCU as very first step for Meson8b as well)\n> >>> - add a function to smp_scu.c to get the power status of a CPU core\n> >>>   (which is needed because the code in .cpu_kill needs to wait until\n> >>>   the core is actually powered off)\n> >>> - dropped patch \"ARM: DTS: meson8b: Extend L2 cache controller node\"\n> >>>   as it is already applied (for both, Meson8 and Meson8b)\n> >>> - dropped the patches which implement the reset controller which is\n> >>>   built into the clock-controller, these are a separate series: [1]\n> >>> - moved the enable-method property to each CPU node\n> >>>\n> >>>\n> >>> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390355.html\n> >>> [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004456.html\n> >>> [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004282.html\n> >>> [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004297.html\n> >>> [4] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004354.html\n> >>> [5] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004460.html\n> >>> [6] http://lists.infradead.org/pipermail/linux-amlogic/2017-August/004588.html\n> >>>\n> >>> Carlo Caione (2):\n> >>>   dt-bindings: Amlogic: Add Meson8 and Meson8b SMP related documentation\n> >>>   ARM: dts: meson8b: add support for booting the secondary CPU cores\n> >>>\n> >>> Martin Blumenstingl (4):\n> >>>   ARM: smp_scu: add a helper for powering on a specific CPU\n> >>>   ARM: smp_scu: allow the platform code to read the SCU CPU status\n> could you please have a look at these two patches? it would be great\n> if you could give feedback on these, because they are needed for SMP\n> support on the Amlogic Meson8 and Meson8b platforms\n> \n> >>>   ARM: meson: Add SMP bringup code for Meson8 and Meson8b\n> >>>   ARM: dts: meson8: add support for booting the secondary CPU cores\n> >> @Russel: should Kevin take all patches including the two smp_scu ones?\n> >> or do you want to take them through your own tree?\n> >\n> > With Russell's ack, I can take the series via the amlogic tree.  But I'm\n> > also fine if Russell wants to take the arch/arm/* via his tree, and I\n> > will just queue up the DT.\n> please also let Kevin know if you would like him to take these patches\n> through the amlogic tree\n\nStuff in this thread seems to be sent either over the weekend, or late\non Friday, which means it gets buried by Monday.  I'll look at it now.","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"g56i0ZLr\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=armlinux.org.uk header.i=@armlinux.org.uk\n\theader.b=\"ayp4sDEK\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yLBTW2hXmz9sPk\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 23 Oct 2017 20:50:07 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e6ZMv-0002uv-R9; Mon, 23 Oct 2017 09:50:01 +0000","from pandora.armlinux.org.uk\n\t([2001:4d48:ad52:3201:214:fdff:fe10:1be6])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e6ZMo-0002qV-Ia for linux-arm-kernel@lists.infradead.org;\n\tMon, 23 Oct 2017 09:49:58 +0000","from n2100.armlinux.org.uk\n\t([2002:4e20:1eda:1:214:fdff:fe10:4f86]:39188)\n\tby pandora.armlinux.org.uk with esmtpsa\n\t(TLSv1:DHE-RSA-AES256-SHA:256)\n\t(Exim 4.82_1-5b7a7c0-XX) (envelope-from <linux@armlinux.org.uk>)\n\tid 1e6ZML-0006Ys-T0; Mon, 23 Oct 2017 10:49:26 +0100","from linux by n2100.armlinux.org.uk with local (Exim 4.76)\n\t(envelope-from <linux@n2100.armlinux.org.uk>)\n\tid 1e6ZMI-0001Bf-Bl; Mon, 23 Oct 2017 10:49:22 +0100"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=zCdNxi7VhTgnWoSci6hSm/Ww6DQ8oU5+aG1dFTtdBDI=;\n\tb=g56i0ZLrJ0NnbI\n\tXs01vpGS6Z0DEeEnL3YIBcvvirTKY4ZyfRCFtjf00/7zPr5D27FCwW+aHuI/Qd7DonXDZfCtfn+gq\n\tlEZtwhO+KjwAsGG6/qbyH5S7T5XgFhvv5521QjGdsrLkiEsXKqm+x24mmKA8FQr11KZakJxXwVYEc\n\tHga0kTZkvOthoKpKi7iST9ZrAp3edN29Yy1UDp4q1BabE23iqEDhBIcVsW4YvXtyfRR62ild/z7jV\n\tHH841u9CjCeyvdhjzGqDenD96DcVd0kRWoZ0BC7Vikl9lfDdXGIY3L/Ovgq6vhjXTanQ/5iu2VqWK\n\tEFg+FQjWwbIv02/F/+Qg==;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=armlinux.org.uk; s=pandora-2014; \n\th=Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date;\n\tbh=K0NEHFuqOgVJiwlSislIsraa8MejZXyfUllN36c0QWs=; \n\tb=ayp4sDEKbEK7kI21uxE2fxanyEnLEKkZndBuoLDumj+t8WqX8oBYVmQJ0NKiEi+wcW1zL1xDG2hCSvG3SGVECOg0InimgtiC7EyB6KcUSebAcUobRLQ0yOqNscUdZKlkY9R7oVKKj6yTexCVquajkfbGFl5NtFI0ZGUbV8l4t90=;"],"Date":"Mon, 23 Oct 2017 10:49:21 +0100","From":"Russell King - ARM Linux <linux@armlinux.org.uk>","To":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","Message-ID":"<20171023094921.GO20805@n2100.armlinux.org.uk>","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>\n\t<7hpoa07yn6.fsf@baylibre.com>\n\t<CAFBinCB0YkApefxJCVDmEc0cD3JWv7+ZHE3PY2BjD3tXD6gbEQ@mail.gmail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<CAFBinCB0YkApefxJCVDmEc0cD3JWv7+ZHE3PY2BjD3tXD6gbEQ@mail.gmail.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171023_024955_056132_1989F84C ","X-CRM114-Status":"GOOD (  37.21  )","X-Spam-Score":"-4.3 (----)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.3 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium\n\ttrust [2001:4d48:ad52:3201:214:fdff:fe10:1be6 listed in]\n\t[list.dnswl.org]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, Kevin Hilman <khilman@baylibre.com>, robh+dt@kernel.org, \n\tcarlo@caione.org, linux-amlogic@lists.infradead.org,\n\tlinux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"iso-8859-1\"","Content-Transfer-Encoding":"quoted-printable","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1792461,"web_url":"http://patchwork.ozlabs.org/comment/1792461/","msgid":"<20171023095111.GP20805@n2100.armlinux.org.uk>","list_archive_url":null,"date":"2017-10-23T09:51:12","subject":"Re: [PATCH v7 2/6] ARM: smp_scu: add a helper for powering on a\n\tspecific CPU","submitter":{"id":69080,"url":"http://patchwork.ozlabs.org/api/people/69080/","name":"Russell King (Oracle)","email":"linux@armlinux.org.uk"},"content":"On Sun, Sep 17, 2017 at 06:45:19PM +0200, Martin Blumenstingl wrote:\n> To boot the secondary CPUs on the Amlogic Meson8/Meson8m2 (Cortex-A9)\n> and Meson8b (Cortex-A5) SoCs we have to enable SCU mode SCU_PM_NORMAL,\n> otherwise the secondary cores will not start.\n> This patch adds a scu_cpu_power_enable() function which can be used to\n> enable SCU_PM_NORMAL for a specific (logical) CPU. An internal helper\n> function is also created, to avoid code duplication with\n> scu_power_mode().\n> \n> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>\n\nAcked-by: Russell King <rmk+kernel@armlinux.org.uk>","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"b8jRK8Wm\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=armlinux.org.uk header.i=@armlinux.org.uk\n\theader.b=\"XXs4D7mc\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yLBWd0t3nz9sPk\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 23 Oct 2017 20:51:57 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e6ZOg-0004pE-It; Mon, 23 Oct 2017 09:51:50 +0000","from pandora.armlinux.org.uk\n\t([2001:4d48:ad52:3201:214:fdff:fe10:1be6])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e6ZOZ-0004j1-3a for linux-arm-kernel@lists.infradead.org;\n\tMon, 23 Oct 2017 09:51:45 +0000","from n2100.armlinux.org.uk\n\t([2001:4d48:ad52:3201:214:fdff:fe10:4f86]:52102)\n\tby pandora.armlinux.org.uk with esmtpsa\n\t(TLSv1:DHE-RSA-AES256-SHA:256)\n\t(Exim 4.82_1-5b7a7c0-XX) (envelope-from <linux@armlinux.org.uk>)\n\tid 1e6ZO8-0006Zh-6J; Mon, 23 Oct 2017 10:51:16 +0100","from linux by n2100.armlinux.org.uk with local (Exim 4.76)\n\t(envelope-from <linux@n2100.armlinux.org.uk>)\n\tid 1e6ZO4-0001D4-NO; Mon, 23 Oct 2017 10:51:12 +0100"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=usOrw8/vjuG1hkSroQnIQ79P4FeA5p/BI8Hamixe3OQ=;\n\tb=b8jRK8WmEFVicC\n\tBCHh6vK4sedovm6MoUGJLNFLdMf6qIPOseUJNMgFkKTYr0wenJxvfXKQaQraJ+bd2IvmCvEbq9/KR\n\ti4uta3cthR/olnwQcVJMQwnvGGu4Bw2KLFcv05kbNZpi590WWoLMOAQqjNY69o/QpcDbVgoItQ1dG\n\txzhaM7jlcDtz2k2Xd6f9lXnPtxQtIQiK4GwemIK8yoh7mFf4wCbNyfd2BjEtL6Hmz9ioTwlKXf4/L\n\trNDWlChulGpgOR97IzEjLRn/hILQPQoloRRTBhMjPW+RnoQIwn/4MWuM7gDTEg2KMPKe5fEEf1Z27\n\t6gKVGHPKyfiIRUKKD5CA==;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=armlinux.org.uk; s=pandora-2014; \n\th=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date;\n\tbh=oc/pjCqpy8onVXCm7yEUsgoDRzKfzeCxrsnv8ycwT6s=; \n\tb=XXs4D7mc25u540wPc346rwnlGJv1JbyggoOIMDLkyuwmb1LP8x7inac14FnCZRy3TbrZgjPlPrJ4a9qck1vrHHKx2kbencC9CKyuWHJmm/RzjtC6Um6Jt+864zxhZi6QAspkat5pDw1brZoRLL7hDBieTuDE5DVEI7a3erIMKxE=;"],"Date":"Mon, 23 Oct 2017 10:51:12 +0100","From":"Russell King - ARM Linux <linux@armlinux.org.uk>","To":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Subject":"Re: [PATCH v7 2/6] ARM: smp_scu: add a helper for powering on a\n\tspecific CPU","Message-ID":"<20171023095111.GP20805@n2100.armlinux.org.uk>","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t<20170917164523.6970-3-martin.blumenstingl@googlemail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170917164523.6970-3-martin.blumenstingl@googlemail.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171023_025143_497736_EADCBD95 ","X-CRM114-Status":"GOOD (  12.45  )","X-Spam-Score":"-4.3 (----)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.3 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium\n\ttrust [2001:4d48:ad52:3201:214:fdff:fe10:1be6 listed in]\n\t[list.dnswl.org]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, khilman@baylibre.com, robh+dt@kernel.org, carlo@caione.org,\n\tlinux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1792464,"web_url":"http://patchwork.ozlabs.org/comment/1792464/","msgid":"<20171023095450.GQ20805@n2100.armlinux.org.uk>","list_archive_url":null,"date":"2017-10-23T09:54:50","subject":"Re: [PATCH v7 3/6] ARM: smp_scu: allow the platform code to read the\n\tSCU CPU status","submitter":{"id":69080,"url":"http://patchwork.ozlabs.org/api/people/69080/","name":"Russell King (Oracle)","email":"linux@armlinux.org.uk"},"content":"On Sun, Sep 17, 2017 at 06:45:20PM +0200, Martin Blumenstingl wrote:\n> On Amlogic Meson8 / Meson8m2 (both Cortex-A9) and Meson8b (Cortex-A5)\n> the CPU hotplug code needs to wait until the SCU status of the CPU that\n> is being taken offline is SCU_PM_POWEROFF.\n> Provide a utility function (which can be invoked for example from\n> .cpu_kill()) which allows reading the SCU status of a CPU.\n> \n> While here, replace the magic number 0x3 with a preprocessor macro\n> (SCU_CPU_STATUS_MASK) so we don't have to duplicate this magic number in\n> the new function.\n> \n> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>\n\nAcked-by: Russell King <rmk+kernel@armlinux.org.uk>\n\n> ---\n>  arch/arm/include/asm/smp_scu.h |  6 ++++++\n>  arch/arm/kernel/smp_scu.c      | 18 +++++++++++++++++-\n>  2 files changed, 23 insertions(+), 1 deletion(-)\n> \n> diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h\n> index 4c47bdfd4f61..1529d1ae2f8d 100644\n> --- a/arch/arm/include/asm/smp_scu.h\n> +++ b/arch/arm/include/asm/smp_scu.h\n> @@ -28,6 +28,7 @@ static inline unsigned long scu_a9_get_base(void)\n>  unsigned int scu_get_core_count(void __iomem *);\n>  int scu_power_mode(void __iomem *, unsigned int);\n>  int scu_cpu_power_enable(void __iomem *, unsigned int);\n> +int scu_get_cpu_power_mode(void __iomem *scu_base, unsigned int logical_cpu);\n>  #else\n>  static inline unsigned int scu_get_core_count(void __iomem *scu_base)\n>  {\n> @@ -42,6 +43,11 @@ static inline int scu_cpu_power_enable(void __iomem *scu_base,\n>  {\n>  \treturn -EINVAL;\n>  }\n> +static inline int scu_get_cpu_power_mode(void __iomem *scu_base,\n> +\t\t\t\t\t unsigned int logical_cpu)\n> +{\n> +\treturn -EINVAL;\n> +}\n>  #endif\n>  \n>  #if defined(CONFIG_SMP) && defined(CONFIG_HAVE_ARM_SCU)\n> diff --git a/arch/arm/kernel/smp_scu.c b/arch/arm/kernel/smp_scu.c\n> index 1d549c16b5fc..c6b33074c393 100644\n> --- a/arch/arm/kernel/smp_scu.c\n> +++ b/arch/arm/kernel/smp_scu.c\n> @@ -21,6 +21,7 @@\n>  #define SCU_STANDBY_ENABLE\t(1 << 5)\n>  #define SCU_CONFIG\t\t0x04\n>  #define SCU_CPU_STATUS\t\t0x08\n> +#define SCU_CPU_STATUS_MASK\tGENMASK(1, 0)\n>  #define SCU_INVALIDATE\t\t0x0c\n>  #define SCU_FPGA_REVISION\t0x10\n>  \n> @@ -82,7 +83,8 @@ static int scu_set_power_mode_internal(void __iomem *scu_base,\n>  \tif (mode > 3 || mode == 1 || cpu > 3)\n>  \t\treturn -EINVAL;\n>  \n> -\tval = readb_relaxed(scu_base + SCU_CPU_STATUS + cpu) & ~0x03;\n> +\tval = readb_relaxed(scu_base + SCU_CPU_STATUS + cpu);\n> +\tval &= ~SCU_CPU_STATUS_MASK;\n>  \tval |= mode;\n>  \twriteb_relaxed(val, scu_base + SCU_CPU_STATUS + cpu);\n>  \n> @@ -109,3 +111,17 @@ int scu_cpu_power_enable(void __iomem *scu_base, unsigned int cpu)\n>  {\n>  \treturn scu_set_power_mode_internal(scu_base, cpu, SCU_PM_NORMAL);\n>  }\n> +\n> +int scu_get_cpu_power_mode(void __iomem *scu_base, unsigned int logical_cpu)\n> +{\n> +\tunsigned int val;\n> +\tint cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(logical_cpu), 0);\n> +\n> +\tif (cpu > 3)\n> +\t\treturn -EINVAL;\n> +\n> +\tval = readb_relaxed(scu_base + SCU_CPU_STATUS + cpu);\n> +\tval &= SCU_CPU_STATUS_MASK;\n> +\n> +\treturn val;\n> +}\n> -- \n> 2.14.1\n>","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"I3wn+Sj8\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=armlinux.org.uk header.i=@armlinux.org.uk\n\theader.b=\"quwP2dtM\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yLBbt0Jysz9sPk\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 23 Oct 2017 20:55:37 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e6ZSI-0006i4-5u; Mon, 23 Oct 2017 09:55:34 +0000","from pandora.armlinux.org.uk\n\t([2001:4d48:ad52:3201:214:fdff:fe10:1be6])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e6ZSA-0005Qg-9H for linux-arm-kernel@lists.infradead.org;\n\tMon, 23 Oct 2017 09:55:29 +0000","from n2100.armlinux.org.uk\n\t([2001:4d48:ad52:3201:214:fdff:fe10:4f86]:52141)\n\tby pandora.armlinux.org.uk with esmtpsa\n\t(TLSv1:DHE-RSA-AES256-SHA:256)\n\t(Exim 4.82_1-5b7a7c0-XX) (envelope-from <linux@armlinux.org.uk>)\n\tid 1e6ZRg-0006al-1s; Mon, 23 Oct 2017 10:54:56 +0100","from linux by n2100.armlinux.org.uk with local (Exim 4.76)\n\t(envelope-from <linux@n2100.armlinux.org.uk>)\n\tid 1e6ZRb-0001Fn-Kc; Mon, 23 Oct 2017 10:54:51 +0100"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=/XZaJFdkP767jPxX6re8e5kfcRFQ/hidSrDtv3eVQBc=;\n\tb=I3wn+Sj8IdWIfN\n\th8Tu5Qflj97NYZ7ljPHuIXXLRCxxu9h50uehVxM/7RpmlcWGi1wmtBKb2yGsp3MaJ7eyivF/zEdEW\n\tm2O0pkrtqgwUN2G39sN3vpF1aRgtMh0Oz1mohFGfEFaeLKclSSaPaagMkiuoJjNWvAih68M+1x8ys\n\tgV0T6A7k3yH2riEJrVae7IUqbi5R+jLv6TBM2mK3lZ9vMCJWtimdIoDqcEWuBKUQ97UHWGe6AmvGv\n\t24O3Q7gKjf7WRtuhC9YQPUFenNGi8Yx1psgqSjTVTTAbTtPCIuAepnZN1yhl2+x9akY79uA3IKMQu\n\tQ2KxtAlpgeInaQx6hBQw==;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=armlinux.org.uk; s=pandora-2014; \n\th=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date;\n\tbh=C4cjqh5CCgOXG5irOG2j8x2dLgtuoaLrKRZNL+W2GA0=; \n\tb=quwP2dtMu/T4ZRyVJNp2I9JqMPTYaSKAMO9YqDLGp4j9w1xfrrnw9ac/ewYQmGsOLoUifMypaC5jZYd2D6SH/XdVq5ZeUnt4Mc3EsS5RZwYy33cpmTllCfM76IcIRJ3f5KJ440HCvwCbqsGuFoPMnPSCCZky2kVZ1l1tPFGo9nM=;"],"Date":"Mon, 23 Oct 2017 10:54:50 +0100","From":"Russell King - ARM Linux <linux@armlinux.org.uk>","To":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Subject":"Re: [PATCH v7 3/6] ARM: smp_scu: allow the platform code to read the\n\tSCU CPU status","Message-ID":"<20171023095450.GQ20805@n2100.armlinux.org.uk>","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t<20170917164523.6970-4-martin.blumenstingl@googlemail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170917164523.6970-4-martin.blumenstingl@googlemail.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171023_025526_834137_3B56C60D ","X-CRM114-Status":"GOOD (  20.52  )","X-Spam-Score":"-4.3 (----)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.3 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium\n\ttrust [2001:4d48:ad52:3201:214:fdff:fe10:1be6 listed in]\n\t[list.dnswl.org]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, khilman@baylibre.com, robh+dt@kernel.org, carlo@caione.org,\n\tlinux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1793929,"web_url":"http://patchwork.ozlabs.org/comment/1793929/","msgid":"<CAFBinCCm_o-mMvPUw9JfSvWMpqFcmWUs2b7js-c5=8nEAu+c-Q@mail.gmail.com>","list_archive_url":null,"date":"2017-10-25T21:05:09","subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","submitter":{"id":66366,"url":"http://patchwork.ozlabs.org/api/people/66366/","name":"Martin Blumenstingl","email":"martin.blumenstingl@googlemail.com"},"content":"Hi Russel,\n\nOn Mon, Oct 23, 2017 at 11:49 AM, Russell King - ARM Linux\n<linux@armlinux.org.uk> wrote:\n> On Sat, Oct 21, 2017 at 12:14:28AM +0200, Martin Blumenstingl wrote:\n>> Hi Russel,\n>>\n>> On Fri, Oct 6, 2017 at 11:30 PM, Kevin Hilman <khilman@baylibre.com> wrote:\n>> > Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:\n>> >\n>> >> Hello Russel, Hi Kevin,\n>> >>\n>> >> On Sun, Sep 17, 2017 at 6:45 PM, Martin Blumenstingl\n>> >> <martin.blumenstingl@googlemail.com> wrote:\n>> >>> This patchset adds support for booting the secondary CPU cores (and\n>> >>> taking them offline again) on Amlogic Meson8 and Meson8b SoCs.\n>> >>> It is based on an earlier version from Carlo Caione - this helped me\n>> >>> a lot to get a better understanding of how SMP/CPU hotplug works\n>> >>> (compared to the code found in Amlogic's GPL kernel sources from\n>> >>> year 2015).\n>> >>>\n>> >>> Changes since v6 from [6]:\n>> >>> - rebased on top of v4.14-rc1 (which only corrected some line\n>> >>>   numbers in the SCU patches)\n>> >> it's been two weeks since v6 and since then Linus Lüssing has\n>> >> confirmed that this works fine on his Odroid-C1 as well (many thanks\n>> >> for testing!): [7]\n>> >>\n>> >>> Changes since v5 from [5]:\n>> >>> - dropped dependency on another patch series (for the clock\n>> >>>   controller's embedded reset controller, which is needed to boot\n>> >>>   the secondary CPUs) from the cover-letter as that series is now\n>> >>>   merged\n>> >>> - fix incorrect documentation of scu_cpu_power_enable (thanks to\n>> >>>   Russell King for spotting these). removed the paragraph about\n>> >>>   preemption, cache coherency and interrupts as we're powering on\n>> >>>   a CPU core (the text was copied from the original scu_power_mode\n>> >>>   but simply not adjusted). also changed \"Set the executing CPUs\"\n>> >>>   to \"Set the given (logical) CPU's\" as we're not modifying the\n>> >>>   current CPU. this affects only patch #2\n>> >>> - extended the commit message of patch #3 with a short sentence\n>> >>>   about why SCU_CPU_STATUS_MASK was introduced\n>> >>>\n>> >>> Changes since v4 from [4]:\n>> >>> - use __pa_symbol(secondary_startup) instead of\n>> >>>   virt_to_phys(secondary_startup) as suggested by Florian Fainelli\n>> >>>   (affects patch #4)\n>> >>> - (cover-letter) removed dependency on my other patch\n>> >>>   \"ARM: dts: meson: add a node which describes the SRAM\" [2] as that\n>> >>>   was merged into Kevin's Amlogic repo today\n>> >>> - dropped patch #5 (\"clk: meson: meson8b: export the CPU soft reset\n>> >>>   lines\") again because the reset controller series exposes the\n>> >>>   preprocessor macros now directly, see [1]\n>> >>> - refreshed the .dts patches so they now include the new header for\n>> >>>   the reset line preprocessor macros\n>> >>>\n>> >>> Changes since v3 from [3]:\n>> >>> - added Rob's ACK to patch #1\n>> >>> - replaced a msleep(10) with usleep_range(10000, 15000) in patch #4\n>> >>> - removed all \"pen\" code from patch #4 as that code was not needed\n>> >>>   at all (it was left-over while trying to fix Meson8 secondary CPU\n>> >>>   boot - which turned out to have nothing to do with this \"pen\" code)\n>> >>> - removed all memory barrier operations as they were added based on\n>> >>>   the code in the Amlogic GPL kernel tree (while trying to fix the\n>> >>>   Meson8 secondary CPU boot - just like the \"pen\" code). Everything\n>> >>>   still works fine with these on my Meson8m2 and Meson8b boards.\n>> >>> - added PATCH #5 as we now have to export the reset identifiers\n>> >>>   (just like we do it with the clock identifiers / preprocessor\n>> >>>   macros) - this is the result of a change in the reset controller\n>> >>>   patch in version 2, see [1]\n>> >>> - use the reset line preprocessor macros (from patch #5) in patches\n>> >>>   #6 and #7\n>> >>>\n>> >>> Changes since v2 from [0]:\n>> >>> - added support for Meson8 (which requires a slightly different\n>> >>>   enable-method)\n>> >>> - implemented CPU hotplug support which allows taking a CPU core\n>> >>>   offline for both, Meson8 and Meson8b\n>> >>> - add a function to smp_scu.c which allows enabling a CPU core from\n>> >>>   a different CPU (previously only the power mode for the current CPU\n>> >>>   could be changed). Without this the CPU cores on Meson8 won't come\n>> >>>   up (Amlogic's vendor GPL kernel sources also enable power through\n>> >>>   SCU as very first step for Meson8b as well)\n>> >>> - add a function to smp_scu.c to get the power status of a CPU core\n>> >>>   (which is needed because the code in .cpu_kill needs to wait until\n>> >>>   the core is actually powered off)\n>> >>> - dropped patch \"ARM: DTS: meson8b: Extend L2 cache controller node\"\n>> >>>   as it is already applied (for both, Meson8 and Meson8b)\n>> >>> - dropped the patches which implement the reset controller which is\n>> >>>   built into the clock-controller, these are a separate series: [1]\n>> >>> - moved the enable-method property to each CPU node\n>> >>>\n>> >>>\n>> >>> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/390355.html\n>> >>> [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004456.html\n>> >>> [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004282.html\n>> >>> [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004297.html\n>> >>> [4] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004354.html\n>> >>> [5] http://lists.infradead.org/pipermail/linux-amlogic/2017-July/004460.html\n>> >>> [6] http://lists.infradead.org/pipermail/linux-amlogic/2017-August/004588.html\n>> >>>\n>> >>> Carlo Caione (2):\n>> >>>   dt-bindings: Amlogic: Add Meson8 and Meson8b SMP related documentation\n>> >>>   ARM: dts: meson8b: add support for booting the secondary CPU cores\n>> >>>\n>> >>> Martin Blumenstingl (4):\n>> >>>   ARM: smp_scu: add a helper for powering on a specific CPU\n>> >>>   ARM: smp_scu: allow the platform code to read the SCU CPU status\n>> could you please have a look at these two patches? it would be great\n>> if you could give feedback on these, because they are needed for SMP\n>> support on the Amlogic Meson8 and Meson8b platforms\n>>\n>> >>>   ARM: meson: Add SMP bringup code for Meson8 and Meson8b\n>> >>>   ARM: dts: meson8: add support for booting the secondary CPU cores\n>> >> @Russel: should Kevin take all patches including the two smp_scu ones?\n>> >> or do you want to take them through your own tree?\n>> >\n>> > With Russell's ack, I can take the series via the amlogic tree.  But I'm\n>> > also fine if Russell wants to take the arch/arm/* via his tree, and I\n>> > will just queue up the DT.\n>> please also let Kevin know if you would like him to take these patches\n>> through the amlogic tree\n>\n> Stuff in this thread seems to be sent either over the weekend, or late\n> on Friday, which means it gets buried by Monday.  I'll look at it now.\nthank you for reviewing my patches!\n\nI do this in my spare time - so I typically end up having all bugs\nfixed at some point during the weekend\nhowever, you still found my patches - problem solved. :)\n\n\nThank you!\nRegards\nMartin","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"njcYz2q+\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=googlemail.com header.i=@googlemail.com\n\theader.b=\"V4IEl7+q\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yMjNS0ZhJz9t3n\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tThu, 26 Oct 2017 08:06:00 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e7Ss7-0000EB-MR; Wed, 25 Oct 2017 21:05:55 +0000","from mail-it0-x241.google.com ([2607:f8b0:4001:c0b::241])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e7Ss3-0000By-Uq; Wed, 25 Oct 2017 21:05:54 +0000","by mail-it0-x241.google.com with SMTP id n195so2773094itg.0;\n\tWed, 25 Oct 2017 14:05:30 -0700 (PDT)","by 10.2.151.236 with HTTP; Wed, 25 Oct 2017 14:05:09 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:\n\tReferences:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=Yd2eJ0u//wdBZwpYW8fHIHRPcW/xkYLnBb0OrAy0YII=;\n\tb=njcYz2q+KIJaN5\n\tXc7KRUXhjQKM5+Dwq+ouuqAntD5tf1DTdbTUHHnl7vmZSfZeKNHeIDgr3zWvnBk0xwIjeClhB8ob6\n\txd3JqMiYL2VK7pQVNKHvfIuViTUt766N8G2jO/TSmijvutUZfeOiUYPrjYiHRSqeCihZiwF6xEoeq\n\t++k7+7nuT0ajeV0VKNoc8IOqrZjDb/NUDRjFhlvABjxXNcReVV7w6z3GHDTsZC8I/ft5x/99sWM9/\n\tXlpGUtIBG5IBWHpFSFp6nYWnElpBsyPwoES74Qy6uY7Op/tMWp4GIGFZLQS9JF6QQsjiKEjRGhWX0\n\t8AJhzOd292E+nye6/HvQ==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlemail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc:content-transfer-encoding;\n\tbh=TDQkYTcyx6N25GWQm/I/6m2rM87FoCCZPTfvvcBq3WI=;\n\tb=V4IEl7+qLnEQSmIBJs1rgu5yq/gZfKiVd/wYuBW4/mCvfoQ2zwulnLV7rYQ7JRNC1Y\n\tIJBUISVvJtYjVQ2MO3cj0H2EbBaCEbTiNPjjzoL5uXIUta8c248nPPGhdDqlhsx28bnW\n\tYMkULgmvDySA54CJY/J3orCAIPRuKEkIVkUq9/or87ZRoZMtqu9Z+Vw0p971f5PcqaMh\n\t6/pnJmmWUanyYTf/xxSZAETPLu8w1t6cdoipfUPALdm0PeAE/IpaVhecDBcEr+W1OJJD\n\tXHxt6OVyNgO9z3gVzE2l4lcgF5M5UzIHBDkgLaFURY9S50xEJIEFRA1/10rH1lGxSbxN\n\t5J5w=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-transfer-encoding;\n\tbh=TDQkYTcyx6N25GWQm/I/6m2rM87FoCCZPTfvvcBq3WI=;\n\tb=hy6LZEo5VXLl/dIBWadHTOLFk4o3rXSk3jr10eT7Iqhy/6lnOEfhx12szCEBLuI58V\n\tXpXECbi3b5OxsRd0n2yJj4Bmb+O0doi6U6rOqSYtGgLEkOTOafISbGSv5IevtuG39Eww\n\tt5A9Up+a0OqDFUe00PEY50Nu7gIva7GrgElVQVXYYmnG3wnHwNyfqqv/bfki3BY7J8na\n\t15zGkXIFlvInXmWOZO8V29qBXyczIQOrD3zpXiKPp9K/goGxQw4sWG/OuWtNQE4rynwV\n\tzYF/kPJURtWLcu4UvPTsk+Arsa4b/jVtsexDROZD3XxOAgWUJbgJEHVBKPpSwpXrg0ym\n\trY6w==","X-Gm-Message-State":"AMCzsaViUb1u8+DSJCK5MJ9TOeuEYyewblF5LcBjaXdEtfPZ+7lK+xLf\n\tImMFgZVhj81MDjknsy81i5hIThjDoQ4GYVTW/0w=","X-Google-Smtp-Source":"ABhQp+ToY0rTi9ReH+kdDSsKfPi5VKKILEO7f07vAt6ObG2WZFRznZZPQVQrM6VRxoAyt0qovrHVmUpes89rAVjAjBQ=","X-Received":"by 10.36.76.1 with SMTP id a1mr4005146itb.94.1508965529483; Wed,\n\t25 Oct 2017 14:05:29 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20171023094921.GO20805@n2100.armlinux.org.uk>","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t<CAFBinCCdj8LwXvUSoCPeVfPUTaLVFFyvKZcNceLGvj26Z740DQ@mail.gmail.com>\n\t<7hpoa07yn6.fsf@baylibre.com>\n\t<CAFBinCB0YkApefxJCVDmEc0cD3JWv7+ZHE3PY2BjD3tXD6gbEQ@mail.gmail.com>\n\t<20171023094921.GO20805@n2100.armlinux.org.uk>","From":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Date":"Wed, 25 Oct 2017 23:05:09 +0200","Message-ID":"<CAFBinCCm_o-mMvPUw9JfSvWMpqFcmWUs2b7js-c5=8nEAu+c-Q@mail.gmail.com>","Subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","To":"Russell King - ARM Linux <linux@armlinux.org.uk>","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171025_140552_038876_BB0AE103 ","X-CRM114-Status":"GOOD (  28.70  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:4001:c0b:0:0:0:241 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (martin.blumenstingl[at]googlemail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, Kevin Hilman <khilman@baylibre.com>, robh+dt@kernel.org, \n\tcarlo@caione.org, linux-amlogic@lists.infradead.org,\n\tlinux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1795474,"web_url":"http://patchwork.ozlabs.org/comment/1795474/","msgid":"<7hwp3eug0k.fsf@baylibre.com>","list_archive_url":null,"date":"2017-10-29T15:31:55","subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","submitter":{"id":68189,"url":"http://patchwork.ozlabs.org/api/people/68189/","name":"Kevin Hilman","email":"khilman@baylibre.com"},"content":"Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:\n\n> This patchset adds support for booting the secondary CPU cores (and\n> taking them offline again) on Amlogic Meson8 and Meson8b SoCs.\n> It is based on an earlier version from Carlo Caione - this helped me\n> a lot to get a better understanding of how SMP/CPU hotplug works\n> (compared to the code found in Amlogic's GPL kernel sources from\n> year 2015).\n\n[...]\n\n> Carlo Caione (2):\n>   dt-bindings: Amlogic: Add Meson8 and Meson8b SMP related documentation\n>   ARM: dts: meson8b: add support for booting the secondary CPU cores\n\nApplied to v4.15/dt...\n\n> Martin Blumenstingl (4):\n>   ARM: smp_scu: add a helper for powering on a specific CPU\n>   ARM: smp_scu: allow the platform code to read the SCU CPU status\n>   ARM: meson: Add SMP bringup code for Meson8 and Meson8b\n>   ARM: dts: meson8: add support for booting the secondary CPU cores\n\nApplied to v4.15/soc with Russell's ack.\n\nThanks,\n\nKevin","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"PYJty7ZT\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=baylibre-com.20150623.gappssmtp.com\n\theader.i=@baylibre-com.20150623.gappssmtp.com header.b=\"LrjTQ7VS\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yQ1np0Zxzz9t2v\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 30 Oct 2017 02:32:30 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e8pZc-00081d-0y; Sun, 29 Oct 2017 15:32:28 +0000","from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e8pZW-0007xk-0x for linux-arm-kernel@lists.infradead.org;\n\tSun, 29 Oct 2017 15:32:24 +0000","by mail-wm0-x242.google.com with SMTP id y83so11662839wmc.4\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tSun, 29 Oct 2017 08:32:01 -0700 (PDT)","from localhost (248.8.23.109.rev.sfr.net. [109.23.8.248])\n\tby smtp.googlemail.com with ESMTPSA id\n\ty29sm8278968wrd.3.2017.10.29.08.31.58\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 29 Oct 2017 08:31:58 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:\n\tDate:References:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=Dz3NDo2kavZc+oOfN85pC8zRboTaLAsu48/k/fW+Bcs=;\n\tb=PYJty7ZT/Pm8DT\n\tAia1E2elNDC5YMKjQpMm2Pd5S5JkDd2i4/+uFx4r9pzYxnCrc7nS9aFQ3gHiDpUXOwi4bNrgS70EM\n\tV9FcCQxzVRP7/OzkN6YSbVFFVpkEIfaR8CGXDJGGu8kgjNGONt+DIZ13ZKR7r+pbuX3iOKIhqErAE\n\tZ3H0FPB86SNYjLfJ71gf6sE4K63t/CEcJB5IMzhWatUNAY2+3tVxd0THOseMquZbPq8F3H+8wvNt/\n\t7hOO0mowMpWobRgHCdp1vsuJLEHl3JYaK5CfTRfnRqPmUof6qAVUsD97NZpgkGz5iZ7Y57xapt64i\n\tyi8geXX9C95WtfL1Acrg==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=baylibre-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:organization:references:date:in-reply-to\n\t:message-id:user-agent:mime-version;\n\tbh=yngtca9DFPWiDD3TKy+CshUmvlZ0JVjJfKpQc6Pvawo=;\n\tb=LrjTQ7VSDwbw0YwsYeDgQUBlIsey9pihx9Rp9YWh9K/vReDPBNaXLlSLbdFtI+2/N1\n\tKug1Z2ULcJiUO9oVGS/qsk23hmCG2m46jX+0iD9FkiBqvMgvsSq8eHbtL82M22I/tBbr\n\tvleLn9rr6C+nShvvk2qIwIqWsXwn2vl3c+AzDI/qAnlIdfq6Fg2U0N3TaBLS1/SEv+zJ\n\tqrxGWlbV5jRPUPK9KclkhP84OmWtrM8TD0xYlNaGVCgouBKDuOHF2xasZbNGaJDwNhpF\n\tKnZPxSRl2VyYM+bvKB2QOhT3CKJccJttMl4qsJYRgsPV/mBn5aUBl0WynLll2wn7c7rW\n\thfYA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:organization:references:date\n\t:in-reply-to:message-id:user-agent:mime-version;\n\tbh=yngtca9DFPWiDD3TKy+CshUmvlZ0JVjJfKpQc6Pvawo=;\n\tb=kXB0IOF66qLsFWC8/Myx19nUVaNGsCjJcB55vG3Du1dUtjGyja1rBb1keA5K4HAmX3\n\tdE6RyIrge8CUgzNpQINOpsqnB4fwrjYunDGyU0NdfSswEumWWGHkOc3rUXrCdeFyhPe0\n\tR2+WaLdB3+K8ldaNtAbjE3AkXzmsT++mwQvV3wGfzslQ4mZ9LRAz0KvmhP1/fCCapLbl\n\t+l8LcmVvM6faGwnmxwVrW8wSltQb8hh/PkVsjOB4xbQTHAIpR4gbNrnI1E7S6uhfgnB0\n\tb7nWG+pyxEH0b51OfXYC67ml8mx5Z5XJSQDjrmuNTf+/DOm2/0qZZD38rrm6PZFXowBm\n\tU27w==","X-Gm-Message-State":"AMCzsaVZpGCp7Rm5qNXe6qb+FE8riX4b4Ra9eiBJNHbOXin0zoXd4HhD\n\tlt0hcIVyTb+y8aJZRI9rXalt9Q==","X-Google-Smtp-Source":"ABhQp+TpJm9hjwmeg/Wd4If1wpKfGm2WAwvzRPCiVASS6q8vfQQ3MFe1GO+PFivj4aWSufUXDTfAlg==","X-Received":"by 10.28.144.140 with SMTP id s134mr1812856wmd.82.1509291119776; \n\tSun, 29 Oct 2017 08:31:59 -0700 (PDT)","From":"Kevin Hilman <khilman@baylibre.com>","To":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","Subject":"Re: [PATCH v7 0/6] SMP and CPU hotplug support for Meson8/Meson8b","Organization":"BayLibre","References":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>","Date":"Sun, 29 Oct 2017 16:31:55 +0100","In-Reply-To":"<20170917164523.6970-1-martin.blumenstingl@googlemail.com>\n\t(Martin Blumenstingl's message of \"Sun, 17 Sep 2017 18:45:17 +0200\")","Message-ID":"<7hwp3eug0k.fsf@baylibre.com>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171029_083222_302416_CA6173BF ","X-CRM114-Status":"GOOD (  12.26  )","X-Spam-Score":"-1.2 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:400c:c09:0:0:0:242 listed in] [list.dnswl.org]\n\t0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com, devicetree@vger.kernel.org, f.fainelli@gmail.com, \n\tarnd@arndb.de, linux@armlinux.org.uk, robh+dt@kernel.org,\n\tcarlo@caione.org, linux-amlogic@lists.infradead.org,\n\tlinux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}}]