Jett Rink has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31683
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
mb/google/sarien: add ish firmware_variant field to _DSD
We want to publish "arcada_ish" as the fw variant name for ISH, so the kernel shim loader code can use it to construct the correct path in /lib/firmware/intel for the firmware load process.
BRANCH=none BUG=b:122722008 TEST=Verify that shim loader CLs use new value when constructing firmware path
Change-Id: I6299de82566a3bad8521f8158bb047d5c1ff0cf8 Signed-off-by: Jett Rink jettrink@chromium.org --- M src/mainboard/google/sarien/Kconfig M src/mainboard/google/sarien/variants/arcada/devicetree.cb 2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/31683/1
diff --git a/src/mainboard/google/sarien/Kconfig b/src/mainboard/google/sarien/Kconfig index a976d36..8919057 100644 --- a/src/mainboard/google/sarien/Kconfig +++ b/src/mainboard/google/sarien/Kconfig @@ -4,6 +4,7 @@ select BOARD_ROMSIZE_KB_32768 select DRIVERS_I2C_GENERIC select DRIVERS_I2C_HID + select DRIVERS_INTEL_ISH if BOARD_GOOGLE_ARCADA select DRIVERS_SPI_ACPI select DRIVERS_PS2_KEYBOARD select DRIVERS_USB_ACPI diff --git a/src/mainboard/google/sarien/variants/arcada/devicetree.cb b/src/mainboard/google/sarien/variants/arcada/devicetree.cb index 244ba7a..154053b 100644 --- a/src/mainboard/google/sarien/variants/arcada/devicetree.cb +++ b/src/mainboard/google/sarien/variants/arcada/devicetree.cb @@ -195,7 +195,12 @@ device pci 12.0 on end # Thermal Subsystem device pci 12.5 off end # UFS SCS device pci 12.6 off end # GSPI #2 - device pci 13.0 on end # Integrated Sensor Hub + device pci 13.0 on # Integrated Sensor Hub + chip drivers/intel/ish + register "firmware_variant" = ""arcada_ish"" + device generic 0 on end + end + end device pci 14.0 on chip drivers/usb/acpi register "desc" = ""Root Hub""
Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 4: Code-Review+2
Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/#/c/31683/4//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/31683/4//COMMIT_MSG@13 PS4, Line 13: BRANCH=none BRANCH is not needed here
rushikesh s kadam has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 4:
(2 comments)
https://review.coreboot.org/#/c/31683/4/src/mainboard/google/sarien/variants... File src/mainboard/google/sarien/variants/arcada/devicetree.cb:
https://review.coreboot.org/#/c/31683/4/src/mainboard/google/sarien/variants... PS4, Line 200: firmware_variant "firmware-name"?
https://review.coreboot.org/#/c/31683/4/src/mainboard/google/sarien/variants... PS4, Line 200: arcada_ish The _DSD() should return full filename.
https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+...
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/#/c/31683/5//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/31683/5//COMMIT_MSG@9 PS5, Line 9: ISH Could be spelled out in the commit message.
Hello Aaron Durbin, build bot (Jenkins), Lijian Zhao, Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31683
to look at the new patch set (#6).
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
mb/google/sarien: add ish firmware_variant field to _DSD
We want to publish "arcada_ish" as the fw variant name for ISH, so the kernel shim loader code can use it to construct the correct path in /lib/firmware/intel for the firmware load process.
BRANCH=none BUG=b:122722008 TEST=Verify that shim loader CLs use new value when constructing firmware path
Change-Id: I6299de82566a3bad8521f8158bb047d5c1ff0cf8 Signed-off-by: Jett Rink jettrink@chromium.org --- M src/mainboard/google/sarien/Kconfig M src/mainboard/google/sarien/variants/arcada/devicetree.cb 2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/31683/6
Hello Aaron Durbin, build bot (Jenkins), Lijian Zhao, Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31683
to look at the new patch set (#7).
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
mb/google/sarien: add ish firmware_variant field to _DSD
We want to publish "arcada_ish.bin" as the fw name for Integrated Sensor Hub (ISH) so the kernel shim loader code can use it to construct the correct path in /lib/firmware/intel for the firmware load process.
BUG=b:122722008 TEST=Verify that shim loader CLs use new value when constructing firmware path
Change-Id: I6299de82566a3bad8521f8158bb047d5c1ff0cf8 Signed-off-by: Jett Rink jettrink@chromium.org --- M src/mainboard/google/sarien/Kconfig M src/mainboard/google/sarien/variants/arcada/devicetree.cb 2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/31683/7
Jett Rink has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 7:
(4 comments)
https://review.coreboot.org/#/c/31683/4//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/31683/4//COMMIT_MSG@13 PS4, Line 13: BRANCH=none
BRANCH is not needed here
Done
https://review.coreboot.org/#/c/31683/5//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/31683/5//COMMIT_MSG@9 PS5, Line 9: ISH
Could be spelled out in the commit message.
Done
https://review.coreboot.org/#/c/31683/4/src/mainboard/google/sarien/variants... File src/mainboard/google/sarien/variants/arcada/devicetree.cb:
https://review.coreboot.org/#/c/31683/4/src/mainboard/google/sarien/variants... PS4, Line 200: arcada_ish
The _DSD() should return full filename. […]
Done
https://review.coreboot.org/#/c/31683/4/src/mainboard/google/sarien/variants... PS4, Line 200: firmware_variant
"firmware-name"?
Done
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 7: Code-Review+2
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
mb/google/sarien: add ish firmware_variant field to _DSD
We want to publish "arcada_ish.bin" as the fw name for Integrated Sensor Hub (ISH) so the kernel shim loader code can use it to construct the correct path in /lib/firmware/intel for the firmware load process.
BUG=b:122722008 TEST=Verify that shim loader CLs use new value when constructing firmware path
Change-Id: I6299de82566a3bad8521f8158bb047d5c1ff0cf8 Signed-off-by: Jett Rink jettrink@chromium.org Reviewed-on: https://review.coreboot.org/c/coreboot/+/31683 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Furquan Shaikh furquan@google.com --- M src/mainboard/google/sarien/Kconfig M src/mainboard/google/sarien/variants/arcada/devicetree.cb 2 files changed, 7 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Furquan Shaikh: Looks good to me, approved
diff --git a/src/mainboard/google/sarien/Kconfig b/src/mainboard/google/sarien/Kconfig index ce6b810..462ff06 100644 --- a/src/mainboard/google/sarien/Kconfig +++ b/src/mainboard/google/sarien/Kconfig @@ -4,6 +4,7 @@ select BOARD_ROMSIZE_KB_32768 select DRIVERS_I2C_GENERIC select DRIVERS_I2C_HID + select DRIVERS_INTEL_ISH if BOARD_GOOGLE_ARCADA select DRIVERS_SPI_ACPI select DRIVERS_USB_ACPI select EC_GOOGLE_WILCO diff --git a/src/mainboard/google/sarien/variants/arcada/devicetree.cb b/src/mainboard/google/sarien/variants/arcada/devicetree.cb index 244ba7a..c966e9a 100644 --- a/src/mainboard/google/sarien/variants/arcada/devicetree.cb +++ b/src/mainboard/google/sarien/variants/arcada/devicetree.cb @@ -195,7 +195,12 @@ device pci 12.0 on end # Thermal Subsystem device pci 12.5 off end # UFS SCS device pci 12.6 off end # GSPI #2 - device pci 13.0 on end # Integrated Sensor Hub + device pci 13.0 on # Integrated Sensor Hub + chip drivers/intel/ish + register "firmware_name" = ""arcada_ish.bin"" + device generic 0 on end + end + end device pci 14.0 on chip drivers/usb/acpi register "desc" = ""Root Hub""
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... File src/mainboard/google/sarien/variants/arcada/devicetree.cb:
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... PS8, Line 213: device usb 2.0 on end A bit unrelated, but we should fix devicetree notation.
Those desc, type and group -registers should be defined inside the device usb 2.0 group. The configuration should be per-device, not per-chip properties.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... File src/mainboard/google/sarien/variants/arcada/devicetree.cb:
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... PS8, Line 213: device usb 2.0 on end
A bit unrelated, but we should fix devicetree notation. […]
I think that is true for all devices and not just restricted to USB. The way coreboot has chip<->device organization seems inverted. e.g. i2c drivers below --> the properties apply to i2c device and not the chip.
Jett Rink has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... File src/mainboard/google/sarien/variants/arcada/devicetree.cb:
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... PS8, Line 213: device usb 2.0 on end
I think that is true for all devices and not just restricted to USB. […]
I agree that is seems inverted. It was initially confusing to me.
The way it is now though allows multiple devices on the same chip. Each device would point to the same chip_info structure
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31683 )
Change subject: mb/google/sarien: add ish firmware_variant field to _DSD ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... File src/mainboard/google/sarien/variants/arcada/devicetree.cb:
https://review.coreboot.org/#/c/31683/8/src/mainboard/google/sarien/variants... PS8, Line 213: device usb 2.0 on end
I agree that is seems inverted. It was initially confusing to me. […]
The keyword 'chip' has confused me many times and causes strange nesting/indenting in these devicetree.cb files, while the generated mb/static.c files are ok. That 'chip' could be an attribute inside the 'device usb 2.0' block on our sconfig syntax.
And yes, this is not limited to USB at all. This is just closely coupled with source tree layout that implies 'one chip.h one info structure'.