Attention is currently required from: Paul Menzel, Pranava Y N, Subrata Banik.
Kapil Porwal has posted comments on this change by Subrata Banik. ( https://review.coreboot.org/c/coreboot/+/85233?usp=email )
Change subject: mb/google/fatcat: Move CSE sync at payload
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/85233?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8f1dd2e153ed0f1e671699002cf34a58d758ce2f
Gerrit-Change-Number: 85233
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Fri, 22 Nov 2024 04:16:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Angel Pons, Elyes Haouas, Felix Held, Felix Singer, Frans Hendriks, Jérémy Compostella, Patrick Rudolph, Paul Menzel, yuchi.chen(a)intel.com.
Shuo Liu has posted comments on this change by yuchi.chen(a)intel.com. ( https://review.coreboot.org/c/coreboot/+/83321?usp=email )
Change subject: soc/intel/snowridge: Add support for Intel Atom Snow Ridge SoC
......................................................................
Patch Set 60: Code-Review+1
(6 comments)
File src/soc/intel/snowridge/acpi.c:
https://review.coreboot.org/c/coreboot/+/83321/comment/4eaf1bae_bca5460e?us… :
PS60, Line 94: /* PCH PCIe root port needs further swizzle. */
Not sure the root port itself needs such pin swizzle or not (though I agree its child device's intx message needs such transformation).
https://review.coreboot.org/c/coreboot/+/83321/comment/dbe62fd7_31918f30?us… :
PS60, Line 115: intel_write_pci_PRT(scope, pin_irq_map, map_count, &pirq_map);
The scope could be obtained from domain's device path, e.g. acpi_device_acope()
https://review.coreboot.org/c/coreboot/+/83321/comment/e1b2d794_30eba74d?us… :
PS60, Line 127: /* Generating accelerator domains dynamically since they are SKU-dependent. */
Maybe add a comment that pch domain (domain0) is in dsdt
https://review.coreboot.org/c/coreboot/+/83321/comment/dd299d59_3d3ded73?us… :
PS60, Line 280: if (dev == DEV_PTR(dlb_sa)) {
If using devicetree ptr in soc codes, there should be a soc layer devicetree.cb to be consistent.
https://review.coreboot.org/c/coreboot/+/83321/comment/7a6e963b_52aad638?us… :
PS60, Line 333: struct device *dev = PCH_DEV_XHCI;
Not sure if this could be represented as a devicetree ptr, thus to reduce the types of dev reference overall.
File src/soc/intel/snowridge/lpc.c:
https://review.coreboot.org/c/coreboot/+/83321/comment/c75c76a3_23349e8b?us… :
PS60, Line 47: swizzle_pin = get_pci_irq_pins(dev, &bridge);
Can this code working with multiple pcie bridge layers?
--
To view, visit https://review.coreboot.org/c/coreboot/+/83321?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I32ad836dfaaff0d1816eac41e5a7d19ece11080f
Gerrit-Change-Number: 83321
Gerrit-PatchSet: 60
Gerrit-Owner: yuchi.chen(a)intel.com
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Vasiliy Khoruzhick <vasilykh(a)arista.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-CC: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: yuchi.chen(a)intel.com
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Fri, 22 Nov 2024 04:13:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85133?usp=email )
(
9 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: mb/google/nissa/var/pujjoga: Turn off camera during S0ix
......................................................................
mb/google/nissa/var/pujjoga: Turn off camera during S0ix
Add a variant specific S0ix hook to fill the SSDT table to disable and
enable camera during suspend and resume respectively. For safety concern,
our client LENOVO want us to follow the Boten project to create the function.
BUG=b:378525209
TEST=Build Pujjoga BIOS image. Ensure that camera is disabled during
suspend and enabled during resume. Do the powerd_dbus_suspend and
measure the camera power 3.3V which is disable. And resume will recover.
Change-Id: I7c7f5d314e8b2a4d5f72c452128f6c4b57c45993
Signed-off-by: Roger Wang <roger2.wang(a)lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85133
Reviewed-by: Eric Lai <ericllai(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/mainboard/google/brya/variants/pujjoga/variant.c
1 file changed, 15 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/brya/variants/pujjoga/variant.c b/src/mainboard/google/brya/variants/pujjoga/variant.c
index c4a6fac..2264264c 100644
--- a/src/mainboard/google/brya/variants/pujjoga/variant.c
+++ b/src/mainboard/google/brya/variants/pujjoga/variant.c
@@ -2,8 +2,23 @@
#include <fw_config.h>
#include <sar.h>
+#include <acpi/acpigen.h>
+#include <gpio.h>
+#include <acpi/acpi.h>
+#include <baseboard/variants.h>
+
const char *get_wifi_sar_cbfs_filename(void)
{
return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
}
+
+void variant_generate_s0ix_hook(enum s0ix_entry entry)
+{
+ /* GPP_C3 control the 3.3V of user facing camera,
+ pull down when do suspend and pull high when resume. */
+ if (entry == S0IX_ENTRY)
+ acpigen_soc_clear_tx_gpio(GPP_C3);
+ else if (entry == S0IX_EXIT)
+ acpigen_soc_set_tx_gpio(GPP_C3);
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/85133?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I7c7f5d314e8b2a4d5f72c452128f6c4b57c45993
Gerrit-Change-Number: 85133
Gerrit-PatchSet: 12
Gerrit-Owner: Roger Wang <roger2.wang(a)lcfc.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nikki Huang <nikki.huang(a)lcfc.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85206?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: mb/google/fatcat/var/francka: Use RAM ID 1 for MT62F2G32D4DS-020 WT:F
......................................................................
mb/google/fatcat/var/francka: Use RAM ID 1 for MT62F2G32D4DS-020 WT:F
Change the ram_id to 1 for MT62F2G32D4DS-020 WT:F based on the
hardware schematic MB_SCH_1102A.
BUG=b:372395010
TEST=Run part_id_gen tool and check the generated files.
Change-Id: I8cf0e65036c2da7641f29b2975dece718f7c83e3
Signed-off-by: Amanda Huang <amanda_hwang(a)compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85206
Reviewed-by: Pranava Y N <pranavayn(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik(a)google.com>
---
M src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
M src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
M src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
3 files changed, 6 insertions(+), 5 deletions(-)
Approvals:
Dtrain Hsu: Looks good to me, approved
build bot (Jenkins): Verified
Pranava Y N: Looks good to me, approved
Subrata Banik: Looks good to me, approved
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk b/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
index 62c45356..310ef55 100644
--- a/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
+++ b/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
# Generated by:
-# util/spd_tools/bin/part_id_gen ptl lp5 src/mainboard/google/fatcat/variants/francka/memory/ src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen PTL lp5 src/mainboard/google/fatcat/variants/francka/memory src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += spd/lp5/set-0/spd-10.hex # ID = 0(0b0000) Parts = MT62F2G32D4DS-020 WT:F
+SPD_SOURCES += spd/lp5/set-0/spd-empty.hex # ID = 0(0b0000)
+SPD_SOURCES += spd/lp5/set-0/spd-10.hex # ID = 1(0b0001) Parts = MT62F2G32D4DS-020 WT:F
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt b/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
index 31165c4..dcb790a 100644
--- a/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
+++ b/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
# Generated by:
-# util/spd_tools/bin/part_id_gen ptl lp5 src/mainboard/google/fatcat/variants/francka/memory/ src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen PTL lp5 src/mainboard/google/fatcat/variants/francka/memory src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
DRAM Part Name ID to assign
-MT62F2G32D4DS-020 WT:F 0 (0000)
+MT62F2G32D4DS-020 WT:F 1 (0001)
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt b/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
index e6822f6..9b80035 100644
--- a/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
+++ b/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
@@ -9,4 +9,4 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
-MT62F2G32D4DS-020 WT:F
+MT62F2G32D4DS-020 WT:F,1
--
To view, visit https://review.coreboot.org/c/coreboot/+/85206?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8cf0e65036c2da7641f29b2975dece718f7c83e3
Gerrit-Change-Number: 85206
Gerrit-PatchSet: 3
Gerrit-Owner: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Ian Feng <ian_feng(a)compal.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85192?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: mb/google/fatcat/var/fatcat: Enable UFS controller
......................................................................
mb/google/fatcat/var/fatcat: Enable UFS controller
This commit enables the UFS controller on the Google Fatcat mainboard
based on FW_CONFIG.
This change allows the system to utilize the UFS storage device.
TEST=Built google/fatcat with UFS enabled.
Change-Id: Ib32523e7865b2ea23d990b2cf9b7406a4d6ecde3
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85192
Reviewed-by: Pranava Y N <pranavayn(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal(a)google.com>
---
M src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Pranava Y N: Looks good to me, approved
build bot (Jenkins): Verified
Kapil Porwal: Looks good to me, approved
diff --git a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
index 0fd79d0..586cf4f 100644
--- a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
+++ b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
@@ -307,6 +307,11 @@
end
end
+ device ref ufs on
+ probe STORAGE STORAGE_UFS
+ probe STORAGE STORAGE_UNKNOWN
+ end
+
device ref pcie_rp2 on
probe CELLULAR CELLULAR_PCIE
register "pcie_rp[PCIE_RP(2)]" = "{
--
To view, visit https://review.coreboot.org/c/coreboot/+/85192?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib32523e7865b2ea23d990b2cf9b7406a4d6ecde3
Gerrit-Change-Number: 85192
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85208?usp=email )
Change subject: soc/intel/cmn/acpi: Use Kconfig guards for UFS workarounds
......................................................................
soc/intel/cmn/acpi: Use Kconfig guards for UFS workarounds
This change introduces Kconfig guards around the UFS workaround code
in the common ACPI ASL file. This ensures that these workarounds are
only applied when necessary, allowing future SoCs with UFS controllers
to reuse the common ASL file without modification.
By using Kconfig, we can enable or disable the workarounds based on
the specific SoC configuration, providing greater flexibility and
maintainability.
BUG=b:379828045
TEST=Able to compile google/fatcat.
Change-Id: I968b8811e508378a36648bd8234ff0fd7237b00d
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85208
Reviewed-by: Pranava Y N <pranavayn(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/soc/intel/common/block/acpi/acpi/ufs.asl
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Pranava Y N: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/src/soc/intel/common/block/acpi/acpi/ufs.asl b/src/soc/intel/common/block/acpi/acpi/ufs.asl
index fcfe9bd..7d8d25d 100644
--- a/src/soc/intel/common/block/acpi/acpi/ufs.asl
+++ b/src/soc/intel/common/block/acpi/acpi/ufs.asl
@@ -28,6 +28,7 @@
}
})
+#if CONFIG(SOC_INTEL_UFS_OCP_TIMER_DISABLE)
/*
* OCP Timer need to be disabled in SCS UFS IOSF Bridge to work around
* the Silicon Issue due to which LTR mechanism doesn't work.
@@ -47,6 +48,7 @@
PCRA (PID_UFSX2, R_SCS_PCR_5820, 0x0)
PCRA (PID_UFSX2, R_SCS_PCR_1078, 0x0)
}
+#endif
/* Memory Region to access to the UFS PCI Configuration Space */
OperationRegion(SCSR, PCI_Config, 0x00, 0x100)
@@ -62,6 +64,7 @@
PGEN, 1
}
+#if CONFIG(SOC_INTEL_UFS_LTR_DISQUALIFY)
OperationRegion(PWMR, SystemMemory, PCH_PWRM_BASE_ADDRESS, PCH_PWRM_BASE_SIZE)
Field(PWMR, DWordAcc, NoLock, Preserve)
{
@@ -73,6 +76,7 @@
Method (ULTR, 1, Serialized) {
LTRU = Arg0
}
+#endif
Method (_PS0, 0, Serialized)
{
--
To view, visit https://review.coreboot.org/c/coreboot/+/85208?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I968b8811e508378a36648bd8234ff0fd7237b00d
Gerrit-Change-Number: 85208
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>