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: <1d9bd63f-7170-d64a-71bf-07401fde32d3@nxp.com>
Date:   Wed, 12 Sep 2018 09:41:31 +0000
From:   Laurentiu Tudor <laurentiu.tudor@....com>
To:     Horia Geanta <horia.geanta@....com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Stuart Yoder <stuyoder@...il.com>, Leo Li <leoyang.li@....com>,
        Roy Pledge <roy.pledge@....com>,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will.deacon@....com>
CC:     "David S . Miller" <davem@...emloft.net>,
        Aymen Sghaier <aymen.sghaier@....com>,
        "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 01/12] bus: fsl-mc: add support for dpseci device type



On 12.09.2018 11:59, Horia Geantă wrote:
> Signed-off-by: Horia Geantă <horia.geanta@....com>

Acked-by: Laurentiu Tudor <laurentiu.tudor@....com>

> ---
>   drivers/bus/fsl-mc/fsl-mc-bus.c | 5 +++++
>   include/linux/fsl/mc.h          | 6 ++++++
>   2 files changed, 11 insertions(+)
> 
> diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c
> index 5d8266c6571f..4552b06fe601 100644
> --- a/drivers/bus/fsl-mc/fsl-mc-bus.c
> +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c
> @@ -188,6 +188,10 @@ struct device_type fsl_mc_bus_dprtc_type = {
>   	.name = "fsl_mc_bus_dprtc"
>   };
>   
> +struct device_type fsl_mc_bus_dpseci_type = {
> +	.name = "fsl_mc_bus_dpseci"
> +};
> +
>   static struct device_type *fsl_mc_get_device_type(const char *type)
>   {
>   	static const struct {
> @@ -203,6 +207,7 @@ static struct device_type *fsl_mc_get_device_type(const char *type)
>   		{ &fsl_mc_bus_dpmcp_type, "dpmcp" },
>   		{ &fsl_mc_bus_dpmac_type, "dpmac" },
>   		{ &fsl_mc_bus_dprtc_type, "dprtc" },
> +		{ &fsl_mc_bus_dpseci_type, "dpseci" },
>   		{ NULL, NULL }
>   	};
>   	int i;
> diff --git a/include/linux/fsl/mc.h b/include/linux/fsl/mc.h
> index f27cb14088a4..5160f06ffbac 100644
> --- a/include/linux/fsl/mc.h
> +++ b/include/linux/fsl/mc.h
> @@ -405,6 +405,7 @@ extern struct device_type fsl_mc_bus_dpcon_type;
>   extern struct device_type fsl_mc_bus_dpmcp_type;
>   extern struct device_type fsl_mc_bus_dpmac_type;
>   extern struct device_type fsl_mc_bus_dprtc_type;
> +extern struct device_type fsl_mc_bus_dpseci_type;
>   
>   static inline bool is_fsl_mc_bus_dprc(const struct fsl_mc_device *mc_dev)
>   {
> @@ -451,6 +452,11 @@ static inline bool is_fsl_mc_bus_dprtc(const struct fsl_mc_device *mc_dev)
>   	return mc_dev->dev.type == &fsl_mc_bus_dprtc_type;
>   }
>   
> +static inline bool is_fsl_mc_bus_dpseci(const struct fsl_mc_device *mc_dev)
> +{
> +	return mc_dev->dev.type == &fsl_mc_bus_dpseci_type;
> +}
> +
>   /*
>    * Data Path Buffer Pool (DPBP) API
>    * Contains initialization APIs and runtime control APIs for DPBP
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ