lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANLsYkxkOnEne6zAmXrggiBSXkayicv+Gy7sFJR4mC1kN=at8A@mail.gmail.com>
Date:   Thu, 22 Dec 2016 09:30:12 -0700
From:   Mathieu Poirier <mathieu.poirier@...aro.org>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Sebastian Siewior <bigeasy@...utronix.de>,
        Ingo Molnar <mingo@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>
Subject: Re: [patch 08/10] coresight: etm3/4x: Consolidate hotplug state space

On 21 December 2016 at 12:19, Thomas Gleixner <tglx@...utronix.de> wrote:
> Even if both drivers are compiled in only one instance can run on a given
> system depending on the available tracer cell.

>From a HW point of view both ETM 3x and 4x can be found on the same
system but that wouldn't be practical.  As such,

Acked-by: Mathieu Poirier <mathieu.poirier@...aro.org>

>
> So having seperate hotplug states for them is pointless.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Mathieu Poirier <mathieu.poirier@...aro.org>
> ---
>  drivers/hwtracing/coresight/coresight-etm4x.c |    4 ++--
>  include/linux/cpuhotplug.h                    |    1 -
>  2 files changed, 2 insertions(+), 3 deletions(-)
>
> --- a/drivers/hwtracing/coresight/coresight-etm4x.c
> +++ b/drivers/hwtracing/coresight/coresight-etm4x.c
> @@ -986,7 +986,7 @@ static int etm4_probe(struct amba_device
>                 dev_err(dev, "ETM arch init failed\n");
>
>         if (!etm4_count++) {
> -               cpuhp_setup_state_nocalls(CPUHP_AP_ARM_CORESIGHT4_STARTING,
> +               cpuhp_setup_state_nocalls(CPUHP_AP_ARM_CORESIGHT_STARTING,
>                                           "arm/coresight4:starting",
>                                           etm4_starting_cpu, etm4_dying_cpu);
>                 ret = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN,
> @@ -1037,7 +1037,7 @@ static int etm4_probe(struct amba_device
>
>  err_arch_supported:
>         if (--etm4_count == 0) {
> -               cpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT4_STARTING);
> +               cpuhp_remove_state_nocalls(CPUHP_AP_ARM_CORESIGHT_STARTING);
>                 if (hp_online)
>                         cpuhp_remove_state_nocalls(hp_online);
>         }
> --- a/include/linux/cpuhotplug.h
> +++ b/include/linux/cpuhotplug.h
> @@ -119,7 +119,6 @@ enum cpuhp_state {
>         CPUHP_AP_DUMMY_TIMER_STARTING,
>         CPUHP_AP_ARM_XEN_STARTING,
>         CPUHP_AP_ARM_CORESIGHT_STARTING,
> -       CPUHP_AP_ARM_CORESIGHT4_STARTING,
>         CPUHP_AP_ARM64_ISNDEP_STARTING,
>         CPUHP_AP_SMPCFD_DYING,
>         CPUHP_AP_X86_TBOOT_DYING,
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ