Brandon Breitenstein has uploaded a new patch set (#26) to the change originally created by Shaunak Saha. ( https://review.coreboot.org/c/coreboot/+/37870 )
Change subject: soc/intel/tigerlake: Add code for early tcss
......................................................................
soc/intel/tigerlake: Add code for early tcss
In order for USB Type-C to be detected prior to loading Kernel
PMC IPC driver is needed to communicate with PMC in order to
correctly set the USB Mux settings. This patch is adding in
support for early detection of both USB and Display Port.
BUG=b:141608957
BRANCH=NONE
TEST: built and booted TGL U RVP
Signed-off-by: Shaunak Saha <shaunak.saha(a)intel.com>
Change-Id: I45c3fe9d4a2ec2f2f51b78cca2bd7e623540c00e
Signed-off-by: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
---
M 3rdparty/vboot
M src/soc/intel/tigerlake/Kconfig
M src/soc/intel/tigerlake/Makefile.inc
M src/soc/intel/tigerlake/chip.c
A src/soc/intel/tigerlake/early_tcss.c
A src/soc/intel/tigerlake/include/soc/early_tcss.h
6 files changed, 256 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/37870/26
--
To view, visit https://review.coreboot.org/c/coreboot/+/37870
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I45c3fe9d4a2ec2f2f51b78cca2bd7e623540c00e
Gerrit-Change-Number: 37870
Gerrit-PatchSet: 26
Gerrit-Owner: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Keith Short <keithshort(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Srinidhi N Kaushik <srinidhi.n.kaushik(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: caveh jalali <caveh(a)chromium.org>
Gerrit-CC: Divya Sasidharan <divya.s.sasidharan(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-CC: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Gerrit-MessageType: newpatchset
Hello Kyösti Mälkki, Patrick Rudolph, Felix Held, Mimoja, Angel Pons, Arthur Heymans, Paul Menzel, Jonathan Neuschäfer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/21774
to look at the new patch set (#65).
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
mb/dell: Add Dell Optiplex 790
This port was generated using autoport.
The Optiplex 790 comes in four different sizes: MT, DT, SFF and USFF.
The mainboard PCBs for MT and DT are identical, the only difference is
that MT has an extra SATA port. The other PCBs are slightly different,
but they are designed with intercompatibility in mind.
Therefore, the four mainboard configurations are:
- MT: 4 RAM slots, 4x SATA, PEG, PCIe x1, PCI, PCIe x16
- DT: 4 RAM slots, 3x SATA, PEG, PCIe x1, PCI, PCIe x16
- SFF: 4 RAM slots, 3x SATA, PEG, PCIe x16
- USFF: 2 RAM slots, 2x SATA, mPCIe
This port has been tested with: SFF (needs retest) , USFF
What works:
- Booting Arch Linux with kernel 5.2.3-arch1-1-ARCH
- PCIe (Hotplug on PCIe X1 only!)
- Onboard graphics with libgfxinit (via VGA)
- Hard drive activity LED
- Onboard sound
- Onboard Ethernet
- SATA (hotplug)
- IOMMU
- Turning on and off (S5)
- Suspend/resume (S3)
- EHCI debug (rear side, bottom port on the block with ethernet)
What does not work:
- SuperI/O (Chip is a SCH5544-NS)
- Serial port
- PS/2
- Fan control (fans run at full speed)
- Front LEDs (signals code 234, corrupted or defective BIOS) [1]
- VBT is missing
Untested:
- DisplayPort?
- VGA BIOS?
Further notes:
- Default IFD settings block reads/writes to some regions. This can be
bypassed by plugging the SERVICE_MODE jumper. BIOS version A05 does
not set any protected ranges, so internal flashing is possible (use a
layout if the SERVICE_MODE jumper is not plugged).
- The mainboard has two flash chips: SOIC16 8 MiB and SOIC8 2 MiB. They
are recognized as one "Opaque flash chip" of 10 MiB in size.
[1] http://www.dell.com/support/article/us/en/04/sln284978/a-reference-guide-to…
Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Signed-off-by: Christoph Pomaska <github(a)aufmachen.jetzt>
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
A Documentation/mainboard/dell/optiplex_790.md
A Documentation/mainboard/dell/servicemode.md
M Documentation/mainboard/index.md
A src/mainboard/dell/Kconfig
A src/mainboard/dell/Kconfig.name
A src/mainboard/dell/optiplex_790/Kconfig
A src/mainboard/dell/optiplex_790/Kconfig.name
A src/mainboard/dell/optiplex_790/Makefile.inc
A src/mainboard/dell/optiplex_790/acpi/ec.asl
A src/mainboard/dell/optiplex_790/acpi/platform.asl
A src/mainboard/dell/optiplex_790/acpi/superio.asl
A src/mainboard/dell/optiplex_790/acpi_tables.c
A src/mainboard/dell/optiplex_790/board_info.txt
A src/mainboard/dell/optiplex_790/devicetree.cb
A src/mainboard/dell/optiplex_790/dsdt.asl
A src/mainboard/dell/optiplex_790/early_init.c
A src/mainboard/dell/optiplex_790/gma-mainboard.ads
A src/mainboard/dell/optiplex_790/gpio.c
A src/mainboard/dell/optiplex_790/hda_verb.c
A src/mainboard/dell/optiplex_790/mainboard.c
A src/mainboard/dell/optiplex_790/variants/mt_dt/overridetree.cb
A src/mainboard/dell/optiplex_790/variants/sff/overridetree.cb
A src/mainboard/dell/optiplex_790/variants/usff/overridetree.cb
23 files changed, 832 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/65
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 65
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.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: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset
Christoph Pomaska has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/21774 )
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
Patch Set 64:
(1 comment)
https://review.coreboot.org/c/coreboot/+/21774/63/Documentation/mainboard/d…
File Documentation/mainboard/dell/servicemode.md:
https://review.coreboot.org/c/coreboot/+/21774/63/Documentation/mainboard/d…
PS63, Line 7:
> is the jumper connected to the Flash Descriptor Override Pin Strap?
Probably, but it also seems to disable the ME, so it probably both pulls the Flash Descriptor Override Pin and the ME recovery mode pin strap.
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 64
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.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: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Fri, 07 Feb 2020 22:55:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: comment
Christoph Pomaska has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/21774 )
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
Patch Set 64:
(1 comment)
https://review.coreboot.org/c/coreboot/+/21774/63/Documentation/mainboard/d…
File Documentation/mainboard/dell/optiplex_790.md:
https://review.coreboot.org/c/coreboot/+/21774/63/Documentation/mainboard/d…
PS63, Line 5: ## TODO
> remove todo or add possibly missing info?
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 64
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.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: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Fri, 07 Feb 2020 22:52:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: comment
Hello Kyösti Mälkki, Patrick Rudolph, Felix Held, Mimoja, Angel Pons, Arthur Heymans, Paul Menzel, Jonathan Neuschäfer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/21774
to look at the new patch set (#64).
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
mb/dell: Add Dell Optiplex 790
This port was generated using autoport.
The Optiplex 790 comes in four different sizes: MT, DT, SFF and USFF.
The mainboard PCBs for MT and DT are identical, the only difference is
that MT has an extra SATA port. The other PCBs are slightly different,
but they are designed with intercompatibility in mind.
Therefore, the four mainboard configurations are:
- MT: 4 RAM slots, 4x SATA, PEG, PCIe x1, PCI, PCIe x16
- DT: 4 RAM slots, 3x SATA, PEG, PCIe x1, PCI, PCIe x16
- SFF: 4 RAM slots, 3x SATA, PEG, PCIe x16
- USFF: 2 RAM slots, 2x SATA, mPCIe
This port has been tested with: SFF (needs retest) , USFF
What works:
- Booting Arch Linux with kernel 5.2.3-arch1-1-ARCH
- PCIe (Hotplug on PCIe X1 only!)
- Onboard graphics with libgfxinit (via VGA)
- Hard drive activity LED
- Onboard sound
- Onboard Ethernet
- SATA (hotplug)
- IOMMU
- Turning on and off (S5)
- Suspend/resume (S3)
- EHCI debug (rear side, bottom port on the block with ethernet)
What does not work:
- SuperI/O (Chip is a SCH5544-NS)
- Serial port
- PS/2
- Fan control (fans run at full speed)
- Front LEDs (signals code 234, corrupted or defective BIOS) [1]
- VBT is missing
Untested:
- DisplayPort?
- VGA BIOS?
Further notes:
- Default IFD settings block reads/writes to some regions. This can be
bypassed by plugging the SERVICE_MODE jumper. BIOS version A05 does
not set any protected ranges, so internal flashing is possible (use a
layout if the SERVICE_MODE jumper is not plugged).
- The mainboard has two flash chips: SOIC16 8 MiB and SOIC8 2 MiB. They
are recognized as one "Opaque flash chip" of 10 MiB in size.
[1] http://www.dell.com/support/article/us/en/04/sln284978/a-reference-guide-to…
Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Signed-off-by: Christoph Pomaska <github(a)aufmachen.jetzt>
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
A Documentation/mainboard/dell/optiplex_790.md
A Documentation/mainboard/dell/servicemode.md
M Documentation/mainboard/index.md
A src/mainboard/dell/Kconfig
A src/mainboard/dell/Kconfig.name
A src/mainboard/dell/optiplex_790/Kconfig
A src/mainboard/dell/optiplex_790/Kconfig.name
A src/mainboard/dell/optiplex_790/Makefile.inc
A src/mainboard/dell/optiplex_790/acpi/ec.asl
A src/mainboard/dell/optiplex_790/acpi/platform.asl
A src/mainboard/dell/optiplex_790/acpi/superio.asl
A src/mainboard/dell/optiplex_790/acpi_tables.c
A src/mainboard/dell/optiplex_790/board_info.txt
A src/mainboard/dell/optiplex_790/devicetree.cb
A src/mainboard/dell/optiplex_790/dsdt.asl
A src/mainboard/dell/optiplex_790/early_init.c
A src/mainboard/dell/optiplex_790/gma-mainboard.ads
A src/mainboard/dell/optiplex_790/gpio.c
A src/mainboard/dell/optiplex_790/hda_verb.c
A src/mainboard/dell/optiplex_790/mainboard.c
A src/mainboard/dell/optiplex_790/variants/mt_dt/overridetree.cb
A src/mainboard/dell/optiplex_790/variants/sff/overridetree.cb
A src/mainboard/dell/optiplex_790/variants/usff/overridetree.cb
23 files changed, 832 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/64
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 64
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.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: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset
Vijay P Hiremath has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37870 )
Change subject: soc/intel/tigerlake: Add code for early tcss
......................................................................
Patch Set 25:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
File src/soc/intel/tigerlake/early_tcss.c:
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
PS25, Line 49: printk(BIOS_DEBUG, "tcss_req[0]-> 0x%x\n"
: "tcss_req[1]-> 0x%x\n\t", tcss_req[0], tcss_req[1]);
:
: /* Copy the request into the buffer */
: memcpy(wbuf, tcss_req, req_size);
:
: return pmc_send_ipc_cmd(cmd.cmd, wbuf, rbuf);
> there is no need to do that as each request has a different size... […]
req_size can be passed,
+ we can reduce tcss_req[8] to req size based on each function
--
To view, visit https://review.coreboot.org/c/coreboot/+/37870
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I45c3fe9d4a2ec2f2f51b78cca2bd7e623540c00e
Gerrit-Change-Number: 37870
Gerrit-PatchSet: 25
Gerrit-Owner: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Keith Short <keithshort(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Srinidhi N Kaushik <srinidhi.n.kaushik(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: caveh jalali <caveh(a)chromium.org>
Gerrit-CC: Divya Sasidharan <divya.s.sasidharan(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-CC: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Gerrit-Comment-Date: Fri, 07 Feb 2020 22:24:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Comment-In-Reply-To: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Gerrit-MessageType: comment
Brandon Breitenstein has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37870 )
Change subject: soc/intel/tigerlake: Add code for early tcss
......................................................................
Patch Set 25:
(3 comments)
https://review.coreboot.org/c/coreboot/+/37870/23/src/soc/intel/tigerlake/e…
File src/soc/intel/tigerlake/early_tcss.c:
https://review.coreboot.org/c/coreboot/+/37870/23/src/soc/intel/tigerlake/e…
PS23, Line 145: ret = send_dp_required_ipc_commands(mux_data);
> for docks both usb=1 & dp=1 […]
I was wondering about that one I will fix that
https://review.coreboot.org/c/coreboot/+/37870/24/src/soc/intel/tigerlake/e…
File src/soc/intel/tigerlake/early_tcss.c:
https://review.coreboot.org/c/coreboot/+/37870/24/src/soc/intel/tigerlake/e…
PS24, Line 125: if (mux_data.usb) {
> braces {} are not necessary for single statement blocks
I added the braces early due to the flag patch needing an additional line
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
File src/soc/intel/tigerlake/early_tcss.c:
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
PS25, Line 49: printk(BIOS_DEBUG, "tcss_req[0]-> 0x%x\n"
: "tcss_req[1]-> 0x%x\n\t", tcss_req[0], tcss_req[1]);
:
: /* Copy the request into the buffer */
: memcpy(wbuf, tcss_req, req_size);
:
: return pmc_send_ipc_cmd(cmd.cmd, wbuf, rbuf);
> make a common function for all requests […]
there is no need to do that as each request has a different size...we would be unnecessarily passing around values if this is abstracted out.
--
To view, visit https://review.coreboot.org/c/coreboot/+/37870
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I45c3fe9d4a2ec2f2f51b78cca2bd7e623540c00e
Gerrit-Change-Number: 37870
Gerrit-PatchSet: 25
Gerrit-Owner: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Keith Short <keithshort(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Srinidhi N Kaushik <srinidhi.n.kaushik(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: caveh jalali <caveh(a)chromium.org>
Gerrit-CC: Divya Sasidharan <divya.s.sasidharan(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-CC: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Gerrit-Comment-Date: Fri, 07 Feb 2020 22:20:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Comment-In-Reply-To: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: comment
Vijay P Hiremath has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37870 )
Change subject: soc/intel/tigerlake: Add code for early tcss
......................................................................
Patch Set 25:
(2 comments)
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
File src/soc/intel/tigerlake/early_tcss.c:
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
PS25, Line 49: printk(BIOS_DEBUG, "tcss_req[0]-> 0x%x\n"
: "tcss_req[1]-> 0x%x\n\t", tcss_req[0], tcss_req[1]);
:
: /* Copy the request into the buffer */
: memcpy(wbuf, tcss_req, req_size);
:
: return pmc_send_ipc_cmd(cmd.cmd, wbuf, rbuf);
make a common function for all requests
Note: return value is in specific format, pls take a look at Kernel implementation
https://review.coreboot.org/c/coreboot/+/37870/25/src/soc/intel/tigerlake/e…
PS25, Line 151: int mux_flags, dp_mode;
move to line 161, make uint8_t to keep consistent
--
To view, visit https://review.coreboot.org/c/coreboot/+/37870
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I45c3fe9d4a2ec2f2f51b78cca2bd7e623540c00e
Gerrit-Change-Number: 37870
Gerrit-PatchSet: 25
Gerrit-Owner: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Keith Short <keithshort(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Shaunak Saha <shaunak.saha(a)intel.com>
Gerrit-Reviewer: Srinidhi N Kaushik <srinidhi.n.kaushik(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: caveh jalali <caveh(a)chromium.org>
Gerrit-CC: Divya Sasidharan <divya.s.sasidharan(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-CC: Vijay P Hiremath <vijay.p.hiremath(a)intel.com>
Gerrit-Comment-Date: Fri, 07 Feb 2020 22:18:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment