i2c: i2c-elektor: Allow building on SMP kernels
Subsystems (2)
Magnus Lindholm
maintainerPATCH 1/1 i2c: i2c-elektor: Allow building on SMP kernels
It the past the i2c-elektor driver has been broken on SMP, as it seems there has since been some fixes/cleanup work to get rid of cli/sti and rely on spinlocks instead (as pointed out by Wolfram Sang). Tested this driver on SMP kernel on Alpha/UP2000+ for a few days without any problems.
--- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
@@ -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
Signature · 1 line
2.51.0
Hi Magnus,
Quoted 1 line · Magnus Lindholm
It the past the i2c-elektor driver has been broken on SMP, as it seems
Typo: s/It/In/ and I think there should be a full stop after "SMP".
Quoted 1 line
there has since been some fixes/cleanup work to get rid of cli/sti and
s/has/have/
Quoted 1 line
rely on spinlocks instead (as pointed out by Wolfram Sang). Tested this
The sentence just ends after "instead". I think you meant to say "instead, let's allow building the driver on SMP kernels again." or something like that.
Quoted 12 lines
driver on SMP kernel on Alpha/UP2000+ for a few days without any problems.
Signed-off-by Magnus Lindholm <[email protected]>--- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/i2c/busses/Kconfig +0
-0
drivers/i2c/busses/Kconfig config I2C_ACORN · line 1480
Quoted 8 lines
drivers/i2c/busses/Kconfig +1
-1@@ -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
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Magnus Lindholm
maintainerQuoted 10 lines · John Paul Adrian Glaubitz
Hi Magnus,
Quoted 1 line · Magnus Lindholm
It the past the i2c-elektor driver has been broken on SMP, as it seems
Typo: s/It/In/ and I think there should be a full stop after "SMP".
Quoted 1 line
there has since been some fixes/cleanup work to get rid of cli/sti and
Quoted 8 lines
s/has/have/
Quoted 1 line
rely on spinlocks instead (as pointed out by Wolfram Sang). Tested this
The sentence just ends after "instead". I think you meant to say "instead, let's allow building the driver on SMP kernels again." or something like that.
Thanks for quick response and feedback, I'll send out a v2 right away
/Magnus
Quoted 3 lines · John Paul Adrian Glaubitz
Quoted 1 line
there has since been some fixes/cleanup work to get rid of cli/sti and
s/has/have/
An ambiguity here comes from the mixture of plural and uncountable for
"fixes" vs "... work".
Quoted 5 lines
Quoted 1 line
rely on spinlocks instead (as pointed out by Wolfram Sang). Tested this
The sentence just ends after "instead". I think you meant to say "instead, let's allow building the driver on SMP kernels again." or something like that.
FWIW I can see nothing wrong with the sentence, "... get rid of cli/sti
and rely on spinlocks instead." seems like standard English usage to me.
Maciej
Quoted 9 lines · Maciej W. Rozycki
Quoted 3 lines · John Paul Adrian Glaubitz
Quoted 1 line
there has since been some fixes/cleanup work to get rid of cli/sti and
s/has/have/
An ambiguity here comes from the mixture of plural and uncountable for
"fixes" vs "... work".
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
rely on spinlocks instead (as pointed out by Wolfram Sang). Tested this
The sentence just ends after "instead". I think you meant to say "instead, let's allow building the driver on SMP kernels again." or something like that.
FWIW I can see nothing wrong with the sentence, "... get rid of cli/sti
and rely on spinlocks instead." seems like standard English usage to me.
Yes, I was probably misreading it. Either way, I think the v2 looks fine.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913