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: <CAL1qeaEp2rSAsh=p-s6XwmwjAJee9z3WwRNrghN_u3bEAqCuAQ@mail.gmail.com>
Date:	Fri, 22 May 2015 10:07:43 -0700
From:	Andrew Bresticker <abrestic@...omium.org>
To:	Ezequiel Garcia <ezequiel.garcia@...tec.com>
Cc:	Linux-MIPS <linux-mips@...ux-mips.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Mike Turquette <mturquette@...aro.org>,
	Stephen Boyd <sboyd@...eaurora.org>,
	James Hartley <james.hartley@...tec.com>,
	Govindraj Raja <Govindraj.Raja@...tec.com>,
	Damien Horsley <Damien.Horsley@...tec.com>,
	Kevin Cernekee <cernekee@...omium.org>,
	James Hogan <james.hogan@...tec.com>
Subject: Re: [PATCH 5/9] clk: pistachio: Add a MUX_F macro to pass clk_flags

On Thu, May 21, 2015 at 4:57 PM, Ezequiel Garcia
<ezequiel.garcia@...tec.com> wrote:
> As preparation work to support MIPS PLL rate change propagation, this
> commit adds a MUX_F macro to pass clk_flags.
>
> Signed-off-by: Govindraj Raja <Govindraj.Raja@...tec.com>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@...tec.com>

> --- a/drivers/clk/pistachio/clk.h
> +++ b/drivers/clk/pistachio/clk.h

> @@ -44,11 +45,22 @@ struct pistachio_mux {
>                 .id             = _id,                          \
>                 .reg            = _reg,                         \
>                 .shift          = _shift,                       \
> +               .clk_flags      = CLK_SET_RATE_NO_REPARENT,     \
>                 .name           = _name,                        \
>                 .parents        = _pnames,                      \
>                 .num_parents    = ARRAY_SIZE(_pnames)           \
>         }
>
> +#define MUX_F(_id, _name, _pnames, _reg, _shift, _clkf)                \
> +{                                                               \
> +       .id             = _id,                                  \
> +       .reg            = _reg,                                 \
> +       .shift          = _shift,                               \
> +       .name           = _name,                                \
> +       .parents        = _pnames,                              \
> +       .num_parents    = ARRAY_SIZE(_pnames),                  \
> +       .clk_flags      = _clkf,                                \
> +}

nit: the indentation here is inconsistent with the other macros in this file.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ