Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48385 )
Change subject: soc/intel/common/block/uart: rework to use dummy device
......................................................................
Patch Set 3:
> Patch Set 3:
>
> I only now realized that you stripped the most important
> part when quoting me:
>
> > > > > What
> > > > > about all the mainboards that use this driver by properly
> > > > > matching the PCI IDs?
>
> Maybe you misunderstood. This driver is not only used
> via a `chip` entry in the devicetree. It is foremost
> used as a usual PCI driver.
>
> $ git grep 'device pci 1[89e].* on.*UART' src/mainboard/
>
> This says there are at least 120 cases in the tree that
> potentially use it and might break due to this change. The
> driver would even be used if the device is not mentioned
> in the dt at all, it's PCI.
Ok, that's what *I* missed then...
>
> > > > > I can't say if this is working, or even if it can work.
> > > >
> > > > I wonder how this one is different from drivers/wifi/generic, which uses the same dummy model?
> > >
> > > Except it doesn't? It does not use a generic device below
> > > a PCI device. And it checks the device path so it doesn't
> > > attach PCI ops to a non-PCI device in the first place.
> >
> > What is this then?
> >
> > device pci 14.3 on
> > chip drivers/wifi/generic
> > register "wake" = "GPE0_PME_B0"
> > device generic 0 on end
> > end
> > end # CNVi wifi
>
> Sorry, my bad. I didn't realize it's used with two
> different topologies. The difference is that the driver
> is prepared for that and attaches the CNVi ops only
> in case of the generic device. And only then the parent
> is queried.
>
> Here, OTOH, you always use the parent, no matter the
> topology.
Ack, got it. Thanks
>
> >
> > You really should check the history of drivers/wifi/generic, commit d436750 for example...
>
> Well, the history is one thing. The current code is what
> matters however. How about you read that?
I did ;) Actually I meant that one change, the wording is just misleading
Well, if we rework the driver/chip modeling like you proposed, we indeed can get rid of any fake devices. Also I'm not sure if we want to mix "drivers" and "chips" then, because it's not always certain which model needs to be used. Or would we keep chips for real devices then and only use "driver" when the port is the device?
Where would we place driver options then?
> device pci 19.2 hidden
> driver soc/intel/common/block/uart
> end
>
> device pci 14.3 on
> driver drivers/wifi/generic
> register "wake" = "GPE0_PME_B0"
> end # CNVi wifi
--
To view, visit https://review.coreboot.org/c/coreboot/+/48385
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic9c9398829b52e6b0523504b862aae9aff559bc7
Gerrit-Change-Number: 48385
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 10 Dec 2020 02:53:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Michael Niewöhner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/48366 )
Change subject: mb/supermicro/x11-lga1151-series: drop HAVE_ACPI_RESUME
......................................................................
mb/supermicro/x11-lga1151-series: drop HAVE_ACPI_RESUME
All X11 boards currently supported have Intel SPS without support for
S3/S5. Thus, drop it from Kconfig.
Note: not all X11 boards are server boards. When a X11 desktop or
workstation board should be added, this can be selected by the boards,
where S3/S5 work.
Signed-off-by: Michael Niewöhner <foss(a)mniewoehner.de>
Change-Id: Ie75c9217078d38c42eba2b30c078b8bb1c2ca694
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48366
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
---
M src/mainboard/supermicro/x11-lga1151-series/Kconfig
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/mainboard/supermicro/x11-lga1151-series/Kconfig b/src/mainboard/supermicro/x11-lga1151-series/Kconfig
index c4df4848..bbd54b0 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/Kconfig
+++ b/src/mainboard/supermicro/x11-lga1151-series/Kconfig
@@ -1,7 +1,6 @@
config BOARD_SUPERMICRO_BASEBOARD_X11_LGA1151_SERIES
def_bool n
select BOARD_ROMSIZE_KB_16384
- select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT
--
To view, visit https://review.coreboot.org/c/coreboot/+/48366
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie75c9217078d38c42eba2b30c078b8bb1c2ca694
Gerrit-Change-Number: 48366
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Bill XIE <persmule(a)hardenedlinux.org>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48100 )
Change subject: mb/supermicro/x11ssm-f: disable unconnected and unused/strap-only pads
......................................................................
Patch Set 14:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48100/14/src/mainboard/supermicro/…
File src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio.c:
https://review.coreboot.org/c/coreboot/+/48100/14/src/mainboard/supermicro/…
PS14, Line 46: DN_20K
> just checking pulldown is intentional, most NCs here are pullup
This one is the only expection in this patch. Actually, it is connected through a diode to HDA_SDO. Since HDA_SDO gets read before GPP_B11 is configured, this is useless. Since it's connected, I've chosen a pull-down here.
D8-2
GPION6 (BMC) >----->|---*
| R462
GPP_B11 >---------->|---*----[===]------*---------[===]--->* HDA_SDO
D8-1 R440 | R459
*---[===]---*
|
--- GND
--
To view, visit https://review.coreboot.org/c/coreboot/+/48100
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06b942e3182469f87e41914c893e5b485ccca420
Gerrit-Change-Number: 48100
Gerrit-PatchSet: 14
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 10 Dec 2020 02:18:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48099 )
Change subject: mb/supermicro/x11ssm-f: (re)configure unconnected pads
......................................................................
Patch Set 14:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48099/14/src/mainboard/supermicro/…
File src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio.c:
https://review.coreboot.org/c/coreboot/+/48099/14/src/mainboard/supermicro/…
PS14, Line 90: DN_20K
> i assume this pulldown vs. […]
Yes, this one is the only exception, because there is an optional/unpopulated external pull-down
--
To view, visit https://review.coreboot.org/c/coreboot/+/48099
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I991fe270b42f430f7447712236e0f80b3d5bba2a
Gerrit-Change-Number: 48099
Gerrit-PatchSet: 14
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 10 Dec 2020 02:06:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment