Jeremy Soller has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/1
diff --git a/src/mainboard/system76/lemp9/devicetree.cb b/src/mainboard/system76/lemp9/devicetree.cb index 2ad0904..2d5b38f 100644 --- a/src/mainboard/system76/lemp9/devicetree.cb +++ b/src/mainboard/system76/lemp9/devicetree.cb @@ -150,7 +150,7 @@ register "PcieClkSrcClkReq[5]" = "5"
# Misc - register "Device4Enable" = "0" + register "Device4Enable" = "1" register "HeciEnabled" = "0" register "Heci3Enabled" = "0" register "AcousticNoiseMitigation" = "1" @@ -203,7 +203,7 @@ device domain 0 on device pci 00.0 on end # Host Bridge device pci 02.0 on end # Integrated Graphics Device - device pci 04.0 off end # SA Thermal device + device pci 04.0 on end # SA Thermal device device pci 12.0 on end # Thermal Subsystem device pci 12.5 off end # UFS SCS device pci 12.6 off end # GSPI #2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 6: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/43628/6//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43628/6//COMMIT_MSG@9 PS6, Line 9: Tested on lemp9, SA thermal device appears in lspci Please add a period at the end of the sentence.
Hello build bot (Jenkins), Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43628
to look at the new patch set (#7).
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/7
Hello build bot (Jenkins), Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43628
to look at the new patch set (#8).
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/8
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 8: Code-Review+1
Hello build bot (Jenkins), Angel Pons, Michael Niewöhner,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43628
to look at the new patch set (#12).
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/12
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 15:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43628/15//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43628/15//COMMIT_MSG@7 PS15, Line 7: mb/system76/lemp9: enable SA thermal device Just found something interesting... Newer datasheets call it "DPPM" which seems to be part of DPTF. see https://01.org/intel%C2%AE-dynamic-platform-and-thermal-framework-dptf-chrom...
So there are two questions: 1) what does it do when dptf is not enabled/supported? 2) what does enabling do anyways?
Jeremy Soller has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 15:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43628/15//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43628/15//COMMIT_MSG@7 PS15, Line 7: mb/system76/lemp9: enable SA thermal device
Just found something interesting... Newer datasheets call it "DPPM" which seems to be part of DPTF. […]
Enabling it allows Linux to view and set TCC, see drivers/thermal/intel/intel_pch_thermal.c in Linux
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 15: Code-Review+2
Hello build bot (Jenkins), Angel Pons, Michael Niewöhner,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43628
to look at the new patch set (#16).
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/16
Hello build bot (Jenkins), Angel Pons, Michael Niewöhner,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43628
to look at the new patch set (#18).
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/18
Sumeet R Pawnikar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 18:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43628/18//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43628/18//COMMIT_MSG@9 PS18, Line 9: Tested on lemp9, SA thermal device appears in lspci. If you add output of lspci for this particular thermal device as result here, that would be helpful.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 19:
(2 comments)
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... File src/mainboard/system76/lemp9/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... PS19, Line 142: register "Device4Enable" = "1" Please move this down to the devicetree.
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... PS19, Line 195: device pci 04.0 on end # SA Thermal device ``` device pci 04.0 on # SA Thermal device register "Device4Enable" = "1" end ```
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
Patch Set 19:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... File src/mainboard/system76/lemp9/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... PS19, Line 195: device pci 04.0 on end # SA Thermal device
The reason to do this is that it allows one to quickly see that both settings match.
device pci 04.0 on # SA Thermal device register "Device4Enable" = "1" end
Felix Singer has uploaded a new patch set (#20) to the change originally created by Jeremy Soller. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: enable SA thermal device ......................................................................
mb/system76/lemp9: enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/20
Felix Singer has uploaded a new patch set (#21) to the change originally created by Jeremy Soller. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: Enable SA thermal device ......................................................................
mb/system76/lemp9: Enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/43628/21
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: Enable SA thermal device ......................................................................
Patch Set 21:
(4 comments)
https://review.coreboot.org/c/coreboot/+/43628/6//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43628/6//COMMIT_MSG@9 PS6, Line 9: Tested on lemp9, SA thermal device appears in lspci
Please add a period at the end of the sentence.
Done
https://review.coreboot.org/c/coreboot/+/43628/18//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43628/18//COMMIT_MSG@9 PS18, Line 9: Tested on lemp9, SA thermal device appears in lspci.
If you add output of lspci for this particular thermal device as result here, that would be helpful.
Done
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... File src/mainboard/system76/lemp9/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... PS19, Line 142: register "Device4Enable" = "1"
Please move this down to the devicetree.
Done
https://review.coreboot.org/c/coreboot/+/43628/19/src/mainboard/system76/lem... PS19, Line 195: device pci 04.0 on end # SA Thermal device
The reason to do this is that it allows one to quickly see that both settings match. […]
Done
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: Enable SA thermal device ......................................................................
Patch Set 21: Code-Review+2
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: Enable SA thermal device ......................................................................
Patch Set 21: Code-Review+2
Michael Niewöhner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/43628 )
Change subject: mb/system76/lemp9: Enable SA thermal device ......................................................................
mb/system76/lemp9: Enable SA thermal device
Tested on lemp9, SA thermal device appears in lspci.
Signed-off-by: Jeremy Soller jeremy@system76.com Change-Id: I527e586b1dae5f8087d2364c63c9db5bcb643214 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43628 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Singer felixsinger@posteo.net Reviewed-by: Michael Niewöhner --- M src/mainboard/system76/lemp9/devicetree.cb 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved Michael Niewöhner: Looks good to me, approved
diff --git a/src/mainboard/system76/lemp9/devicetree.cb b/src/mainboard/system76/lemp9/devicetree.cb index c0a2835..da96dd3 100644 --- a/src/mainboard/system76/lemp9/devicetree.cb +++ b/src/mainboard/system76/lemp9/devicetree.cb @@ -179,8 +179,8 @@ device domain 0 on device pci 00.0 on end # Host Bridge device pci 02.0 on end # Integrated Graphics Device - device pci 04.0 off # SA Thermal device - register "Device4Enable" = "0" + device pci 04.0 on # SA Thermal device + register "Device4Enable" = "1" end device pci 12.0 on end # Thermal Subsystem device pci 12.5 off end # UFS SCS