[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6af2603-7f72-47d7-98b9-6dc2761dfb74@web.de>
Date: Sat, 14 Sep 2024 19:15:08 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Arturs Artamonovs <Arturs.Artamonovs@...log.com>,
Greg Malysa <greg.malysa@...esys.com>,
Nathan Barrett-Morrison <nathan.morrison@...esys.com>,
Utsav Agarwal <Utsav.Agarwal@...log.com>,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-serial@...r.kernel.org, devicetree@...r.kernel.org, soc@...nel.org,
Andi Shyti <andi.shyti@...nel.org>, Arnd Bergmann <arnd@...db.de>,
Bartosz Golaszewski <brgl@...ev.pl>,
Catalin Marinas <catalin.marinas@....com>, Conor Dooley
<conor+dt@...nel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Michael Turquette <mturquette@...libre.com>, Olof Johansson
<olof@...om.net>, Philipp Zabel <p.zabel@...gutronix.de>,
Rob Herring <robh@...nel.org>, Stephen Boyd <sboyd@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, Will Deacon <will@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, adsp-linux@...log.com
Subject: Re: [PATCH 01/21] arm64: Add ADI ADSP-SC598 SoC
…
> +++ b/drivers/soc/adi/system.c
> @@ -0,0 +1,257 @@
…
> +static void adi_system_config_remove(struct platform_device *pdev)
+{
> + struct adi_system_config *config = platform_get_drvdata(pdev);
> + unsigned long flags;
> +
> + spin_lock_irqsave(&adi_system_config_lock, flags);
> + list_del(&config->list);
> + spin_unlock_irqrestore(&adi_system_config_lock, flags);
> +}
…
Under which circumstances would you become interested to apply a statement
like “guard(spinlock_irqsave)(&adi_system_config_lock);”?
https://elixir.bootlin.com/linux/v6.11-rc7/source/include/linux/spinlock.h#L572
Regards,
Markus
Powered by blists - more mailing lists