Hello build bot (Jenkins), Nico Huber, Patrick Georgi, Martin Roth, Furquan Shaikh, Wonkyu Kim, Matt DeVillier, Subrata Banik, Angel Pons, Michael Niewöhner, Aamir Bohra, Patrick Rudolph,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/43077
to review the following change.
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver"
This reverts commit ebeaad9298f5b8df022ac77089a5c15dac6e069a.
Reason for revert: Causes timeout on SATA access on Comet-lake (Puff mainboard).
Change-Id: Ic092896a1f66010430775c6490967745336e07b3 --- M src/soc/intel/cannonlake/Kconfig A src/soc/intel/common/block/sata/Kconfig A src/soc/intel/common/block/sata/Makefile.inc A src/soc/intel/common/block/sata/sata.c M src/soc/intel/common/pch/Kconfig M src/soc/intel/icelake/Kconfig M src/soc/intel/jasperlake/Kconfig M src/soc/intel/tigerlake/Kconfig 8 files changed, 122 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/43077/1
diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig index dfc90cd..f06d84b 100644 --- a/src/soc/intel/cannonlake/Kconfig +++ b/src/soc/intel/cannonlake/Kconfig @@ -84,6 +84,7 @@ select PLATFORM_USES_FSP2_0 select REG_SCRIPT select SMP + select SOC_AHCI_PORT_IMPLEMENTED_INVERT select PMC_GLOBAL_RESET_ENABLE_LOCK select SOC_INTEL_COMMON select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE diff --git a/src/soc/intel/common/block/sata/Kconfig b/src/soc/intel/common/block/sata/Kconfig new file mode 100644 index 0000000..98ff696 --- /dev/null +++ b/src/soc/intel/common/block/sata/Kconfig @@ -0,0 +1,14 @@ +config SOC_INTEL_COMMON_BLOCK_SATA + bool + help + Intel Processor common SATA support + +config SOC_AHCI_PORT_IMPLEMENTED_INVERT + depends on SOC_INTEL_COMMON_BLOCK_SATA + bool + help + SATA PCI configuration space offset 0x92 Port + implement register bit 0-2 represents respective + SATA port enable status as in 0 = Disable; 1 = Enable. + If this option is selected then port enable status will be + inverted as in 0 = Enable; 1 = Disable. diff --git a/src/soc/intel/common/block/sata/Makefile.inc b/src/soc/intel/common/block/sata/Makefile.inc new file mode 100644 index 0000000..623d151 --- /dev/null +++ b/src/soc/intel/common/block/sata/Makefile.inc @@ -0,0 +1 @@ +ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_SATA) += sata.c diff --git a/src/soc/intel/common/block/sata/sata.c b/src/soc/intel/common/block/sata/sata.c new file mode 100644 index 0000000..d3f82ed --- /dev/null +++ b/src/soc/intel/common/block/sata/sata.c @@ -0,0 +1,102 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/mmio.h> +#include <device/device.h> +#include <device/pci.h> +#include <device/pci_ops.h> +#include <device/pci_def.h> +#include <device/pci_ids.h> +#include <soc/pci_devs.h> + +#define SATA_ABAR_PORT_IMPLEMENTED 0x0c +#define SATA_PCI_CFG_PORT_CTL_STS 0x92 + +static void *sata_get_ahci_bar(struct device *dev) +{ + uintptr_t bar; + + bar = pci_read_config32(dev, PCI_BASE_ADDRESS_5); + return (void *)(bar & ~PCI_BASE_ADDRESS_MEM_ATTR_MASK); +} + +/* + * SATA Port control and Status. By default, the SATA ports are set (by HW) + * to the disabled state (e.g. bits[3:0] == '0') as a result of an initial + * power on reset. When enabled by software as per SATA port mapping, + * the ports can transition between the on, partial and slumber states + * and can detect devices. When disabled, the port is in the off state and + * can't detect any devices. + */ +static void sata_final(struct device *dev) +{ + void *ahcibar = sata_get_ahci_bar(dev); + u8 port_impl, temp; + + /* Set Bus Master */ + pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_MASTER); + + /* Read Ports Implemented (GHC_PI) */ + port_impl = read8(ahcibar + SATA_ABAR_PORT_IMPLEMENTED); + + if (CONFIG(SOC_AHCI_PORT_IMPLEMENTED_INVERT)) + port_impl = ~port_impl; + + port_impl &= 0x07; /* bit 0-2 */ + + /* Port enable */ + temp = pci_read_config8(dev, SATA_PCI_CFG_PORT_CTL_STS); + temp |= port_impl; + pci_write_config8(dev, SATA_PCI_CFG_PORT_CTL_STS, temp); +} + +static struct device_operations sata_ops = { + .read_resources = pci_dev_read_resources, + .set_resources = pci_dev_set_resources, + .enable_resources = pci_dev_enable_resources, + .final = sata_final, + .ops_pci = &pci_dev_ops_pci, +}; + +static const unsigned short pci_device_ids[] = { + PCI_DEVICE_ID_INTEL_SPT_U_SATA, + PCI_DEVICE_ID_INTEL_SPT_U_Y_PREMIUM_SATA, + PCI_DEVICE_ID_INTEL_SPT_KBL_SATA, + PCI_DEVICE_ID_INTEL_LWB_SATA_AHCI, + PCI_DEVICE_ID_INTEL_LWB_SSATA_AHCI, + PCI_DEVICE_ID_INTEL_LWB_SATA_RAID, + PCI_DEVICE_ID_INTEL_LWB_SSATA_RAID, + PCI_DEVICE_ID_INTEL_LWB_SATA_AHCI_SUPER, + PCI_DEVICE_ID_INTEL_LWB_SSATA_AHCI_SUPER, + PCI_DEVICE_ID_INTEL_LWB_SATA_RAID_SUPER, + PCI_DEVICE_ID_INTEL_LWB_SSATA_RAID_SUPER, + PCI_DEVICE_ID_INTEL_LWB_SATA_ALT, + PCI_DEVICE_ID_INTEL_LWB_SATA_ALT_RST, + PCI_DEVICE_ID_INTEL_LWB_SSATA_ALT, + PCI_DEVICE_ID_INTEL_LWB_SSATA_ALT_RST, + PCI_DEVICE_ID_INTEL_CNL_SATA, + PCI_DEVICE_ID_INTEL_CNL_PREMIUM_SATA, + PCI_DEVICE_ID_INTEL_CNP_CMP_COMPAT_SATA, + PCI_DEVICE_ID_INTEL_CNP_H_SATA, + PCI_DEVICE_ID_INTEL_CNP_LP_SATA, + PCI_DEVICE_ID_INTEL_ICP_U_SATA, + PCI_DEVICE_ID_INTEL_CMP_SATA, + PCI_DEVICE_ID_INTEL_CMP_PREMIUM_SATA, + PCI_DEVICE_ID_INTEL_CMP_LP_SATA, + PCI_DEVICE_ID_INTEL_CMP_H_SATA, + PCI_DEVICE_ID_INTEL_CMP_H_HALO_SATA, + PCI_DEVICE_ID_INTEL_CMP_H_PREMIUM_SATA, + PCI_DEVICE_ID_INTEL_TGP_LP_SATA, + PCI_DEVICE_ID_INTEL_TGP_SATA, + PCI_DEVICE_ID_INTEL_TGP_PREMIUM_SATA, + PCI_DEVICE_ID_INTEL_TGP_COMPAT_SATA, + PCI_DEVICE_ID_INTEL_MCC_AHCI_SATA, + PCI_DEVICE_ID_INTEL_JSP_SATA_1, + PCI_DEVICE_ID_INTEL_JSP_SATA_2, + 0 +}; + +static const struct pci_driver pch_sata __pci_driver = { + .ops = &sata_ops, + .vendor = PCI_VENDOR_ID_INTEL, + .devices = pci_device_ids, +}; diff --git a/src/soc/intel/common/pch/Kconfig b/src/soc/intel/common/pch/Kconfig index 6e7f2f6..cca65d6 100644 --- a/src/soc/intel/common/pch/Kconfig +++ b/src/soc/intel/common/pch/Kconfig @@ -32,6 +32,7 @@ select SOC_INTEL_COMMON_BLOCK_PCR select SOC_INTEL_COMMON_BLOCK_PMC select SOC_INTEL_COMMON_BLOCK_RTC + select SOC_INTEL_COMMON_BLOCK_SATA select SOC_INTEL_COMMON_BLOCK_SMBUS select SOC_INTEL_COMMON_BLOCK_SPI select SOC_INTEL_COMMON_BLOCK_TCO diff --git a/src/soc/intel/icelake/Kconfig b/src/soc/intel/icelake/Kconfig index 52092ba..2a5156b 100644 --- a/src/soc/intel/icelake/Kconfig +++ b/src/soc/intel/icelake/Kconfig @@ -34,6 +34,7 @@ select PLATFORM_USES_FSP2_1 select REG_SCRIPT select SMP + select SOC_AHCI_PORT_IMPLEMENTED_INVERT select PMC_GLOBAL_RESET_ENABLE_LOCK select CPU_INTEL_COMMON_SMM select SOC_INTEL_COMMON diff --git a/src/soc/intel/jasperlake/Kconfig b/src/soc/intel/jasperlake/Kconfig index 21dba0e..bfefbf2 100644 --- a/src/soc/intel/jasperlake/Kconfig +++ b/src/soc/intel/jasperlake/Kconfig @@ -35,6 +35,7 @@ select PLATFORM_USES_FSP2_1 select REG_SCRIPT select SMP + select SOC_AHCI_PORT_IMPLEMENTED_INVERT select PMC_GLOBAL_RESET_ENABLE_LOCK select CPU_INTEL_COMMON_SMM select SOC_INTEL_COMMON diff --git a/src/soc/intel/tigerlake/Kconfig b/src/soc/intel/tigerlake/Kconfig index fbf56b4..e0d29fb 100644 --- a/src/soc/intel/tigerlake/Kconfig +++ b/src/soc/intel/tigerlake/Kconfig @@ -34,6 +34,7 @@ select PLATFORM_USES_FSP2_1 select REG_SCRIPT select SMP + select SOC_AHCI_PORT_IMPLEMENTED_INVERT select PMC_GLOBAL_RESET_ENABLE_LOCK select CPU_INTEL_COMMON_SMM select SOC_INTEL_COMMON
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 1:
can you please check if FSP is programming those SATA offline registers ?
Hello build bot (Jenkins), Nico Huber, Patrick Georgi, Martin Roth, Furquan Shaikh, Wonkyu Kim, Matt DeVillier, Subrata Banik, Angel Pons, Michael Niewöhner, Aamir Bohra, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43077
to look at the new patch set (#2).
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver"
This reverts commit ebeaad9298f5b8df022ac77089a5c15dac6e069a.
Reason for revert: Causes timeout on SATA access on Comet-lake (Puff mainboard).
Change-Id: Ic092896a1f66010430775c6490967745336e07b3 --- M src/soc/intel/cannonlake/Kconfig A src/soc/intel/common/block/sata/Kconfig A src/soc/intel/common/block/sata/Makefile.inc A src/soc/intel/common/block/sata/sata.c M src/soc/intel/common/pch/Kconfig M src/soc/intel/icelake/Kconfig M src/soc/intel/jasperlake/Kconfig M src/soc/intel/tigerlake/Kconfig 8 files changed, 122 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/43077/2
Hello build bot (Jenkins), Patrick Georgi, Furquan Shaikh, Wonkyu Kim, Matt DeVillier, Subrata Banik, Angel Pons, Michael Niewöhner, Aamir Bohra, Patrick Rudolph, Andrew McRae, Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43077
to look at the new patch set (#3).
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver"
This reverts commit ebeaad9298f5b8df022ac77089a5c15dac6e069a.
Reason for revert: Causes timeout on SATA access on Comet-lake (Puff mainboard).
Change-Id: Ic092896a1f66010430775c6490967745336e07b3 --- M src/soc/intel/cannonlake/Kconfig A src/soc/intel/common/block/sata/Kconfig A src/soc/intel/common/block/sata/Makefile.inc A src/soc/intel/common/block/sata/sata.c M src/soc/intel/common/pch/Kconfig M src/soc/intel/icelake/Kconfig M src/soc/intel/jasperlake/Kconfig M src/soc/intel/tigerlake/Kconfig 8 files changed, 122 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/43077/3
Andrew McRae has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 3:
Patch Set 1:
can you please check if FSP is programming those SATA offline registers ?
Ummm.. not sure how to do that...
Hello build bot (Jenkins), Patrick Georgi, Furquan Shaikh, Wonkyu Kim, Matt DeVillier, Subrata Banik, Angel Pons, Michael Niewöhner, Aamir Bohra, Patrick Rudolph, Andrew McRae, Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43077
to look at the new patch set (#4).
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver"
This reverts commit ebeaad9298f5b8df022ac77089a5c15dac6e069a.
Reason for revert: Causes timeout on SATA access on Comet-lake (Puff mainboard).
BUG=b:154900210
Change-Id: Ic092896a1f66010430775c6490967745336e07b3 Signed-off-by: Andrew McRae amcrae@google.com --- M src/soc/intel/cannonlake/Kconfig A src/soc/intel/common/block/sata/Kconfig A src/soc/intel/common/block/sata/Makefile.inc A src/soc/intel/common/block/sata/sata.c M src/soc/intel/common/pch/Kconfig M src/soc/intel/icelake/Kconfig M src/soc/intel/jasperlake/Kconfig M src/soc/intel/tigerlake/Kconfig 8 files changed, 122 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/43077/4
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 3:
Patch Set 1:
can you please check if FSP is programming those SATA offline registers ?
Ummm.. not sure how to do that...
May i know with whom u r working from Intel so i can ask for help?
Andrew McRae has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 3:
Patch Set 1:
can you please check if FSP is programming those SATA offline registers ?
Ummm.. not sure how to do that...
May i know with whom u r working from Intel so i can ask for help?
Indirectly through furquan@google.com, who auggested I initiate the revert.
Maxim Polyakov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43077/4/src/soc/intel/common/block/... File src/soc/intel/common/block/sata/sata.c:
https://review.coreboot.org/c/coreboot/+/43077/4/src/soc/intel/common/block/... PS4, Line 44: 0x07 You should also fix this mask to correctly configure all ports on your platform. Please see https://review.coreboot.org/c/coreboot/+/41674/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43077/4//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/43077/4//COMMIT_MSG@11 PS4, Line 11: Comet-lake Comet Lake
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4:
Patch Set 3:
Patch Set 1:
can you please check if FSP is programming those SATA offline registers ?
Ummm.. not sure how to do that...
May i know with whom u r working from Intel so i can ask for help?
Indirectly through furquan@google.com, who auggested I initiate the revert.
Subrata - Andrew might need some help to poke things. If you have suggestions on what to try, he can help you run the experiments and provide the logs.
I think in general we need to evaluate what programming is required for SATA initialization. I understand that FSP is supposed to be setting up the registers, but something is still not correct. This issue from 3 years ago is probably back which was solved using: https://review.coreboot.org/c/coreboot/+/21890/. I think FSP is still not setting Bus Master for AHCI. Duncan had a comment in there about coreboot setting up the bus master instead of relying on FSP to do that and I agree that we should do it in coreboot. We probably don't need a complete revert of this CL, but simply enabling of bus master.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
I think the problem is with FSP not enabling bus master as outlined here: https://review.coreboot.org/c/coreboot/+/21890/. With this driver being removed we might have regressed SKL and KBL boards using SATA. At minimum, we should add support back for setting the Bus Master for AHCI.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
I think the problem is with FSP not enabling bus master as outlined here: https://review.coreboot.org/c/coreboot/+/21890/. With this driver being removed we might have regressed SKL and KBL boards using SATA. At minimum, we should add support back for setting the Bus Master for AHCI.
Agree Furquan, let me try something i have one board connected and share a CL with Andrew tomorrow
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
I think the problem is with FSP not enabling bus master as outlined here: https://review.coreboot.org/c/coreboot/+/21890/. With this driver being removed we might have regressed SKL and KBL boards using SATA. At minimum, we should add support back for setting the Bus Master for AHCI.
According to messages on CB:41674 SPT-H (Supermicro X11SSM-F) still works after this change.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4:
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
I think the problem is with FSP not enabling bus master as outlined here: https://review.coreboot.org/c/coreboot/+/21890/. With this driver being removed we might have regressed SKL and KBL boards using SATA. At minimum, we should add support back for setting the Bus Master for AHCI.
According to messages on CB:41674 SPT-H (Supermicro X11SSM-F) still works after this change.
Uh, sorry, that was for an old patchset. It was tested on purism/librem-skl though. The problem with SKL and KBL boards might be due to old FSP versions, probably FSP 1.1 (which was originally used on SKL).
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4:
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
I think the problem is with FSP not enabling bus master as outlined here: https://review.coreboot.org/c/coreboot/+/21890/. With this driver being removed we might have regressed SKL and KBL boards using SATA. At minimum, we should add support back for setting the Bus Master for AHCI.
According to messages on CB:41674 SPT-H (Supermicro X11SSM-F) still works after this change.
On Fizz chromebox, the reported issue was boot time regression even though SATA worked fine.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
On Fizz chromebox, the reported issue was boot time regression even though SATA worked fine.
the current boot times on Fizz w/upstream master are both absurdly high and so variable (2.7-3.5s) that I can't tell if this revert makes things better, worse, or has no effect at all. Two biggest offenders are 'calling FspMemoryInit' (915ms) and 'device setup done' (1.85s). I'd have to go back and test older builds, but I'm guessing it started sometime between 4.11 and 4.12
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4:
Patch Set 4:
Patch Set 4: Code-Review-1
This code was removed because it's wrong. The register definitions changed between SPT and CNP. If only Comet Lake is having problems, I'd suggest having a Comet Lake-specific driver.
I think the problem is with FSP not enabling bus master as outlined here: https://review.coreboot.org/c/coreboot/+/21890/. With this driver being removed we might have regressed SKL and KBL boards using SATA. At minimum, we should add support back for setting the Bus Master for AHCI.
According to messages on CB:41674 SPT-H (Supermicro X11SSM-F) still works after this change.
Uh, sorry, that was for an old patchset. It was tested on purism/librem-skl though. The problem with SKL and KBL boards might be due to old FSP versions, probably FSP 1.1 (which was originally used on SKL).
Hmm, current KBL FSP does *not* set BME for non-RST ports. CNL doesn't either
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Andrew, Matt: could you both try to set register satapwroptimize=1 in devicetree, please? I am having some suspicion, that this could have an impact...
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Andrew, Matt: could you both try to set register satapwroptimize=1 in devicetree, please? I am having some suspicion, that this could have an impact...
that UPD doesn't exist for KBL FSP, and the analogous 'SataPwrOptEnable' is already set for the SoC in chip.c
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4:
Andrew, Matt: could you both try to set register satapwroptimize=1 in devicetree, please? I am having some suspicion, that this could have an impact...
that UPD doesn't exist for KBL FSP, and the analogous 'SataPwrOptEnable' is already set for the SoC in chip.c
ack, I thought fizz was cml, so nvm.
@Andrew, then it's your turn :-)
Andrew McRae has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/43077 )
Change subject: Revert "soc/intel/common/{pch,sata}: Remove SATA common code driver" ......................................................................
Abandoned
Fixed by other commits.