Missing PCH PCIe power and clock gating options in RPL-S Client FSP

Open
#132 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
c
Domain
embedded-iot

Research direction

Start by comparing the RPL-S Client FSP configuration with the ADL-N IoT MR6 change referenced in the issue (commit 0a9eafc9737b1bca5224b4f5ff48b004b6f0d8f1). Check how the requested options are exposed and when the relevant registers are locked. Done means the RPL-S Client FSP exposes both options so board designs can disable PCIe power and clock gating.

Written by the indexing model from the issue text.

Description

Certain board designs don't route CLKREQ# from the PCIe slots to the PCH, and many add-in cards (for example datacenter GPUs) don't drive CLKREQ# at all. Such ports have to run with free-running reference clocks and no CLKREQ#. In that case PchPcieClockGating and PchPciePowerGating must be disabled, to avoid the issue described in https://review.coreboot.org/c/coreboot/+/76687.

The RPL-S Client FSP (RaptorLakeFspBinPkg/Client/RaptorLakeS, 12.0.200.80 / C.0.C8.50, the latest release) doesn't expose these options. It always enables PCH PCIe PHY power gating and clock gating, then locks the registers before FspSiliconInit returns. FspMultiPhaseSiInit reports zero phases on this platform, so there's no window for the bootloader to change them.

Could Intel please add PchPciePowerGating and PchPcieClockGating to the RPL-S Client FSP, as was done for ADL-N IoT in MR6 (#112, commit 0a9eafc9737b1bca5224b4f5ff48b004b6f0d8f1)?

Thanks

Dominant language
C
Stars
366
Forks
142
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/FSP

All issues in intel/FSP

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.