linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] i2c: i2c-elektor: Allow building on SMP kernels
@ 2025-11-22 13:45 Magnus Lindholm
  2025-11-29 12:36 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Lindholm @ 2025-11-22 13:45 UTC (permalink / raw)
  To: linux-i2c, linux-kernel, linux-alpha
  Cc: andi.shyti, wsa+renesas, Magnus Lindholm

In the past, the i2c-elektor driver was broken on SMP. Since then, there
appear to have been some fixes and cleanup work (as pointed out by Wolfram
Sang) to get rid of cli/sti usage and rely on spinlocks instead. Therefore,
let's allow building the driver on SMP kernels again.

I've tested this driver on an SMP kernel on an Alpha UP2000+ for a few days
without any problems.

Signed-off-by: Magnus Lindholm <linmag7@gmail.com>

Changes since v1:
- Rephrased commit message
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index fd81e49638aa..9b1473d720a0 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -1474,7 +1474,7 @@ config I2C_ACORN
 
 config I2C_ELEKTOR
 	tristate "Elektor ISA card"
-	depends on ISA && HAS_IOPORT_MAP && BROKEN_ON_SMP
+	depends on ISA && HAS_IOPORT_MAP
 	select I2C_ALGOPCF
 	help
 	  This supports the PCF8584 ISA bus I2C adapter.  Say Y if you own
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] i2c: i2c-elektor: Allow building on SMP kernels
  2025-11-22 13:45 [PATCH v2] i2c: i2c-elektor: Allow building on SMP kernels Magnus Lindholm
@ 2025-11-29 12:36 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2025-11-29 12:36 UTC (permalink / raw)
  To: Magnus Lindholm; +Cc: linux-i2c, linux-kernel, linux-alpha, andi.shyti

[-- Attachment #1: Type: text/plain, Size: 611 bytes --]

On Sat, Nov 22, 2025 at 02:45:01PM +0100, Magnus Lindholm wrote:
> In the past, the i2c-elektor driver was broken on SMP. Since then, there
> appear to have been some fixes and cleanup work (as pointed out by Wolfram
> Sang) to get rid of cli/sti usage and rely on spinlocks instead. Therefore,
> let's allow building the driver on SMP kernels again.
> 
> I've tested this driver on an SMP kernel on an Alpha UP2000+ for a few days
> without any problems.
> 
> Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
> 
> Changes since v1:
> - Rephrased commit message

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-29 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-22 13:45 [PATCH v2] i2c: i2c-elektor: Allow building on SMP kernels Magnus Lindholm
2025-11-29 12:36 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).