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: <93997981fb20fd83f42b83853e258ea28575cbe1.camel@gmail.com>
Date:   Sat, 16 Sep 2023 17:38:57 +0200
From:   Alexander Sverdlin <alexander.sverdlin@...il.com>
To:     nikita.shubin@...uefel.me,
        Linus Walleij <linus.walleij@...aro.org>,
        Thierry Reding <thierry.reding@...il.com>,
        Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>,
        Sergey Shtylyov <s.shtylyov@....ru>
Cc:     Dmitry Torokhov <dmitry.torokhov@...il.com>,
        Damien Le Moal <dlemoal@...nel.org>,
        linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v4 02/42] ARM: ep93xx: add swlocked prototypes

Hi Nikita!

On Fri, 2023-09-15 at 11:10 +0300, Nikita Shubin via B4 Relay wrote:
> From: Nikita Shubin <nikita.shubin@...uefel.me>
> 
> Add ep93xx_regmap_write and ep93xx_regmap_update_bits to make drivers
> compilable before actual implementation is added.

It should be possible to re-arrange the patch series so that real
implementation comes before the drivers using it.

We must assure that bisecting the kernel tree is possible, that
means no matter which (initial) part of your series is applied, there is no
regression allowed.

> Signed-off-by: Nikita Shubin <nikita.shubin@...uefel.me>
> ---
>  include/linux/soc/cirrus/ep93xx.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/linux/soc/cirrus/ep93xx.h b/include/linux/soc/cirrus/ep93xx.h
> index 56fbe2dc59b1..8b4b8221ed4c 100644
> --- a/include/linux/soc/cirrus/ep93xx.h
> +++ b/include/linux/soc/cirrus/ep93xx.h
> @@ -3,6 +3,7 @@
>  #define _SOC_EP93XX_H
>  
>  struct platform_device;
> +struct regmap;
>  
>  #define EP93XX_CHIP_REV_D0     3
>  #define EP93XX_CHIP_REV_D1     4
> @@ -34,4 +35,9 @@ static inline unsigned int ep93xx_chip_revision(void) { return 0; }
>  
>  #endif
>  
> +static inline void ep93xx_regmap_write(struct regmap *map, unsigned int reg, unsigned int val) {}
> +static inline void ep93xx_regmap_update_bits(struct regmap *map, unsigned int reg,
> +                                            unsigned int mask, unsigned int val)
> +{ }
> +
>  #endif

-- 
Alexander Sverdlin.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ