powerpc/g5: Enable all windfarms by default
PATCH v3 1/1 powerpc/g5: Enable all windfarms by default
The G5 defconfig is clearly intended for the G5 Powermac series, and that should enable all the available windfarm drivers, or the machine will overheat a short while after booting and shut itself down, which is annoying.
---
I wonder why this never gets applied. Am I doing something wrong?
Is the patch stupid? No-one cares?
---
Changes in v3:
- Rebased on v7.1-rc1
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Rebased on v6.19-rc1
- Link to v1: https://lore.kernel.org/r/[email protected]
To: Madhavan Srinivasan <[email protected]>
To: Michael Ellerman <[email protected]>
To: Nicholas Piggin <[email protected]>
To: "Christophe Leroy (CS GROUP)" <[email protected]>
Cc: [email protected]
Cc: [email protected]
--- arch/powerpc/configs/g5_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/powerpc/configs/g5_defconfig +2 -0
@@ -85,6 +85,8 @@ CONFIG_PMAC_SMU=y CONFIG_MAC_EMUMOUSEBTN=y CONFIG_WINDFARM=y CONFIG_WINDFARM_PM81=y +CONFIG_WINDFARM_PM72=y +CONFIG_WINDFARM_RM31=y CONFIG_WINDFARM_PM91=y CONFIG_WINDFARM_PM112=y CONFIG_WINDFARM_PM121=y
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20251205-powermac-g5-config-69128e93d584
Best regards,
Signature · 1 line
Linus Walleij <[email protected]>
Quoted 10 lines · Linus Walleij
The G5 defconfig is clearly intended for the G5 Powermac series, and that should enable all the available windfarm drivers, or the machine will overheat a short while after booting and shut itself down, which is annoying.
Signed-off-by Linus Walleij <[email protected]>---
I wonder why this never gets applied. Am I doing something wrong? Is the patch stupid? No-one cares?
Sorry it didn't get picked up.
I don't have any G5s anymore, but the ones I did have used the other windfarm drivers so I never hit this.
You might be the last person on earth booting Linux on those :)
Quoted 25 lines
---
Changes in v3:
- Rebased on v7.1-rc1
- Link to v2: https://lore.kernel.org/r/[email protected]Changes in v2:
- Rebased on v6.19-rc1
- Link to v1: https://lore.kernel.org/r/[email protected]To: Madhavan Srinivasan <[email protected]>
To: Michael Ellerman <[email protected]>
To: Nicholas Piggin <[email protected]>
To: "Christophe Leroy (CS GROUP)" <[email protected]>
Cc: [email protected]
Cc: [email protected]--- arch/powerpc/configs/g5_defconfig | 2 ++ 1 file changed, 2 insertions(+)arch/powerpc/configs/g5_defconfig +0
-0
arch/powerpc/configs/g5_defconfig CONFIG_PMAC_SMU=y · line 92
Quoted 8 lines
arch/powerpc/configs/g5_defconfig +2
-0@@ -85,6 +85,8 @@ CONFIG_PMAC_SMU=y CONFIG_MAC_EMUMOUSEBTN=y CONFIG_WINDFARM=y CONFIG_WINDFARM_PM81=y +CONFIG_WINDFARM_PM72=y +CONFIG_WINDFARM_RM31=y CONFIG_WINDFARM_PM91=y CONFIG_WINDFARM_PM112=y CONFIG_WINDFARM_PM121=y
Ack, LGTM.
Maddy can you pick this one up for next?
cheers
Quoted 4 lines · Michael Ellerman
I don't have any G5s anymore, but the ones I did have used the other windfarm drivers so I never hit this.
You might be the last person on earth booting Linux on those :)
Not really, Sean (Action Retro) did this thing and follow-ups on YouTube:
https://www.youtube.com/watch?v=g-Ugfqj1ank
Including installing a contemporary graphics card:
https://www.youtube.com/watch?v=WPDd1Y0flSg
This likely means he inspired a whole bunch of geeks to go and do the same. :)
Yours,
Linus Walleij
Madhavan Srinivasan
maintainerQuoted 10 lines · Linus Walleij
Quoted 4 lines · Michael Ellerman
I don't have any G5s anymore, but the ones I did have used the other windfarm drivers so I never hit this.
You might be the last person on earth booting Linux on those :)
Not really, Sean (Action Retro) did this thing and follow-ups on YouTube:
https://www.youtube.com/watch?v=g-Ugfqj1ank
Quoted 5 lines
Including installing a contemporary graphics card:
https://www.youtube.com/watch?v=WPDd1Y0flSgThis likely means he inspired a whole bunch of geeks to go and do the same. :)
Interesting and good to know. Thanks for the links Maddy
Quoted 3 lines
Yours,
Linus Walleij
Quoted 5 lines · Linus Walleij
Quoted 3 lines · Michael Ellerman
I don't have any G5s anymore, but the ones I did have used the other windfarm drivers so I never hit this.
Quoted 8 lines
Quoted 1 line
You might be the last person on earth booting Linux on those :)
Not really, Sean (Action Retro) did this thing and follow-ups on YouTube:
https://www.youtube.com/watch?v=g-Ugfqj1ankIncluding installing a contemporary graphics card:
https://www.youtube.com/watch?v=WPDd1Y0flSg
Nice.
But the driver you enabled, PM72, is for PowerMac7,2, which is 2-3 years older, and does not have PCI-E. So if you have one of those it's even more special.
Quoted 2 lines
This likely means he inspired a whole bunch of geeks to go and do the same. :)
Hopefully one of them volunteers to be powermac maintainer ;)
cheers
Madhavan Srinivasan
maintainerQuoted 56 lines · Michael Ellerman
Quoted 10 lines · Linus Walleij
The G5 defconfig is clearly intended for the G5 Powermac series, and that should enable all the available windfarm drivers, or the machine will overheat a short while after booting and shut itself down, which is annoying.
Signed-off-by Linus Walleij <[email protected]>---
I wonder why this never gets applied. Am I doing something wrong? Is the patch stupid? No-one cares?Sorry it didn't get picked up.
I don't have any G5s anymore, but the ones I did have used the other windfarm drivers so I never hit this.
You might be the last person on earth booting Linux on those :)
Quoted 31 lines
---
Changes in v3:
- Rebased on v7.1-rc1
- Link to v2:
https://lore.kernel.org/r/[email protected]Changes in v2:
- Rebased on v6.19-rc1
- Link to v1:
https://lore.kernel.org/r/[email protected]To: Madhavan Srinivasan <[email protected]>
To: Michael Ellerman <[email protected]>
To: Nicholas Piggin <[email protected]>
To: "Christophe Leroy (CS GROUP)" <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
arch/powerpc/configs/g5_defconfig| 2 ++1 file changed, 2 insertions(+)arch/powerpc/configs/g5_defconfig +0
-0@@ -85,6 +85,8 @@ CONFIG_PMAC_SMU=y
CONFIG_MAC_EMUMOUSEBTN=y
CONFIG_WINDFARM=y
CONFIG_WINDFARM_PM81=yarch/powerpc/configs/g5_defconfig +2
-0+CONFIG_WINDFARM_PM72=y +CONFIG_WINDFARM_RM31=yQuoted 4 lines
CONFIG_WINDFARM_PM91=y
CONFIG_WINDFARM_PM112=y
CONFIG_WINDFARM_PM121=yAck, LGTM.
Quoted 1 line
Maddy can you pick this one up for next?
Sure will do.
Thanks.
Quoted 3 lines
cheers
Quoted 3 lines · Michael Ellerman
Sorry it didn't get picked up.
I don't have any G5s anymore,
I don't have any functioning ones either :-(
Quoted 2 lines
but the ones I did have used the other
windfarm drivers so I never hit this.
Yeah, the oldest PowerMac G5 and RackMac were not super big sellers either, relatively to the newer models. And of course all Apple hardware of the time (as well as all by other manufacturers) had failing power supplies, so there "naturally" be fewer working machines over\
time. Problems that solve themselves!
Quoted 1 line
You might be the last person on earth booting Linux on those :)
Booting, yes, but it won't run for even a minute ;-)
Quoted 17 lines
Quoted 6 lines
arch/powerpc/configs/g5_defconfig +0
-0arch/powerpc/configs/g5_defconfig CONFIG_PMAC_SMU=y · line 92
Quoted 8 lines
arch/powerpc/configs/g5_defconfig +2
-0@@ -85,6 +85,8 @@ CONFIG_PMAC_SMU=y CONFIG_MAC_EMUMOUSEBTN=y CONFIG_WINDFARM=y CONFIG_WINDFARM_PM81=y +CONFIG_WINDFARM_PM72=y +CONFIG_WINDFARM_RM31=y CONFIG_WINDFARM_PM91=y CONFIG_WINDFARM_PM112=y CONFIG_WINDFARM_PM121=yAck, LGTM.
Quoted 1 line
Maddy can you pick this one up for next?
Is this all supported models? Might be better to do that immediately, not wait for patches to trickle in over the years :-)
Thanks everyone!
Segher
Quoted 5 lines · Segher Boessenkool
Quoted 1 line · Michael Ellerman
You might be the last person on earth booting Linux on those :)
Booting, yes, but it won't run for even a minute ;-)
Yeah what I think happen with Debian (which works) is that they have this driver in the initramfs or rootfs as a module so it gets probed soon enough, but it feels way safer to compile in vital stuff like this.
Yours,
Linus Walleij
Quoted 8 lines · Linus Walleij
The G5 defconfig is clearly intended for the G5 Powermac series, and that should enable all the available windfarm drivers, or the machine will overheat a short while after booting and shut itself down, which is annoying.
[...]
Applied to powerpc/fixes.
[1/1] powerpc/g5: Enable all windfarms by default
https://git.kernel.org/powerpc/c/8d57bb61734b23f6342e9de781173f1d83f90d3a
cheers