Marc Jones has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47579 )
Change subject: soc/intel/xeon_sp: Fix skx NVME drive boot issue
......................................................................
soc/intel/xeon_sp: Fix skx NVME drive boot issue
Skx FSP doesn't support x2apic setup, but cpx does. The skx DMAR table needs
the X2API opt out flag set. This fixes an issue with the NVME driver loading
on a kexec'd kernel. The change is easy to see in the coreboot output:
[DMA Remapping table] Flags: 0x3
or in the DMAR ACPI table.
Change-Id: Iec977c893b70e30875d9a92f24af009c1e90389e
Signed-off-by: Marc Jones <marcjones(a)sysproconsulting.com>
---
M src/soc/intel/xeon_sp/nb_acpi.c
1 file changed, 6 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/47579/1
diff --git a/src/soc/intel/xeon_sp/nb_acpi.c b/src/soc/intel/xeon_sp/nb_acpi.c
index 55c3d82..1b28f2d 100644
--- a/src/soc/intel/xeon_sp/nb_acpi.c
+++ b/src/soc/intel/xeon_sp/nb_acpi.c
@@ -443,9 +443,13 @@
if (config->vtd_support) {
current = ALIGN(current, 8);
dmar = (acpi_dmar_t *)current;
+ enum dmar_flags flags = DMAR_INTR_REMAP;
+#if (CONFIG(SOC_INTEL_SKYLAKE_SP))
+ flags |= DMAR_X2APIC_OPT_OUT;
+#endif
printk(BIOS_DEBUG, "ACPI: * DMAR\n");
- printk(BIOS_DEBUG, "[DMA Remapping table] Flags: 0x%x\n", DMAR_INTR_REMAP);
- acpi_create_dmar(dmar, DMAR_INTR_REMAP, acpi_fill_dmar);
+ printk(BIOS_DEBUG, "[DMA Remapping table] Flags: 0x%x\n", flags);
+ acpi_create_dmar(dmar, flags, acpi_fill_dmar);
current += dmar->header.length;
current = acpi_align_current(current);
acpi_add_table(rsdp, dmar);
--
To view, visit https://review.coreboot.org/c/coreboot/+/47579
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iec977c893b70e30875d9a92f24af009c1e90389e
Gerrit-Change-Number: 47579
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-MessageType: newchange
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47311 )
Change subject: mb/google/zork: Power off fingerprint sensor on shutdown
......................................................................
mb/google/zork: Power off fingerprint sensor on shutdown
When the system shuts down, turn the fingerprint sensor off. This sets
the GPIOs correctly for the next boot. The fingerprint sensor was
previously left on, and was just powering down when the rails went low.
On suspend, the fingerprint sensor stays awake and puts itself in a low
powerstate mode based on the SLP_Sx_L pin states.
BUG=b:171837716
TEST=Fingerprint sensor still works after S3, GPIO state on the boot
following a shutdown is low.
BRANCH=Zork
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
Change-Id: I4b292181d67c08c20fa4c473b363cfe2f934bff0
Change-Id: I3837b58372d8f4a504535e76bd21c667d68f8995
---
M src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/47311/1
diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
index bf27622..389ff5b 100644
--- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
+++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
@@ -337,8 +337,25 @@
PAD_GPO(GPIO_76, LOW),
};
+static const struct soc_amd_gpio gpio_fp_shutdown_table[] = {
+ /* NVME_AUX_RESET_L */
+ PAD_GPO(GPIO_40, LOW),
+ /* EN_PWR_CAMERA */
+ PAD_GPO(GPIO_76, LOW),
+
+ /* FPMCU_RST_L */
+ PAD_GPO(GPIO_11, LOW),
+ /* EN_PWR_FP */
+ PAD_GPO(GPIO_32, LOW),
+};
+
const __weak struct soc_amd_gpio *variant_sleep_gpio_table(size_t *size, int slp_typ)
{
+ if (slp_typ == SLP_TYP_S5) {
+ *size = ARRAY_SIZE(gpio_fp_shutdown_table);
+ return gpio_fp_shutdown_table;
+ }
+
*size = ARRAY_SIZE(gpio_sleep_table);
return gpio_sleep_table;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/47311
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3837b58372d8f4a504535e76bd21c667d68f8995
Gerrit-Change-Number: 47311
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47539 )
Change subject: Documentation: Update release notes for Denverton NS deprecation
......................................................................
Patch Set 1:
> Patch Set 1: Code-Review-1
>
> Denverton-NS maintainers list update is planned this week.
> I`ll update it when it will be confirmed and let you know.
It's not only about updating the maintainers list but also *actually* maintain it ;)
--
To view, visit https://review.coreboot.org/c/coreboot/+/47539
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0a6df3f3e640d1316e9cc2dbe244ea63c3a24dfa
Gerrit-Change-Number: 47539
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julien Viard de Galbert <coreboot-review-ju(a)vdg.name>
Gerrit-Reviewer: Mariusz Szafrański <mariuszx.szafranski(a)intel.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Suresh Bellampalli <suresh.bellampalli(a)intel.com>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Vanessa Eusebio <vanessa.f.eusebio(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: Дмитрий Понаморев <dponamorev(a)gmail.com>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Comment-Date: Tue, 17 Nov 2020 15:12:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47539 )
Change subject: Documentation: Update release notes for Denverton NS deprecation
......................................................................
Patch Set 1:
> Patch Set 1:
>
> > Patch Set 1: Code-Review+1
> >
> > What is the downside of this announcement? It directly says, that if a maintainer steps up, and hardware can be tested, that it will be left in the tree. So, please include it.
>
> It's currently full of unresolved comments and collides with other patches. I don't really mind the change per se.
Mimimimimimiiii ;) I already said I wait until people wake up ;)
--
To view, visit https://review.coreboot.org/c/coreboot/+/47539
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0a6df3f3e640d1316e9cc2dbe244ea63c3a24dfa
Gerrit-Change-Number: 47539
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julien Viard de Galbert <coreboot-review-ju(a)vdg.name>
Gerrit-Reviewer: Mariusz Szafrański <mariuszx.szafranski(a)intel.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Suresh Bellampalli <suresh.bellampalli(a)intel.com>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Vanessa Eusebio <vanessa.f.eusebio(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: Дмитрий Понаморев <dponamorev(a)gmail.com>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Comment-Date: Tue, 17 Nov 2020 15:12:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Maulik V Vaghela has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46881 )
Change subject: soc/intel/common/block/cse: Modify heci_send_receive to support MCHI address
......................................................................
Patch Set 6:
(3 comments)
https://review.coreboot.org/c/coreboot/+/46881/5/src/soc/intel/common/block…
File src/soc/intel/common/block/cse/cse.c:
https://review.coreboot.org/c/coreboot/+/46881/5/src/soc/intel/common/block…
PS5, Line 537: p = snd_msg
> This can be initialized in the previous line itself.
Done
https://review.coreboot.org/c/coreboot/+/46881/5/src/soc/intel/common/block…
PS5, Line 539: MCHI_GROUP_ID_MCA
> MCHI_GROUP_ID_MCA should be defined as part of this CL. […]
Done
https://review.coreboot.org/c/coreboot/+/46881/5/src/soc/intel/common/block…
PS5, Line 539: if (p->group_id == MCHI_GROUP_ID_MCA) {
: if (!heci_send(snd_msg, snd_sz, BIOS_HOST_ADDR, HECI_MCHI_ADDR)) {
: printk(BIOS_ERR, "HECI: send Failed\n");
: return 0;
: }
: } else {
: if (!heci_send(snd_msg, snd_sz, BIOS_HOST_ADDR, HECI_MKHI_ADDR)) {
: printk(BIOS_ERR, "HECI: send Failed\n");
: return 0;
: }
: }
> This can be simplified further: […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/46881
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice6f6bb0069080b9ac75a5323475c002e03eb751
Gerrit-Change-Number: 46881
Gerrit-PatchSet: 6
Gerrit-Owner: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 17 Nov 2020 13:31:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: comment