Attention is currently required from: Tarun Tuli, Jamie Ryu, Subrata Banik, Paul Menzel.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/73272 )
Change subject: soc/intel/cmn/tom: Cache TOM region early
......................................................................
Patch Set 10: Code-Review+2
(1 comment)
File src/soc/intel/common/basecode/tom/tom.c:
https://review.coreboot.org/c/coreboot/+/73272/comment/e779e2e8_0e0112c0
PS9, Line 76: /* Update the TOM if required based on the input TOM address */
: void update_tom(uint32_t addr)
: {
: struct tom_table tom;
:
: /* Read and increment boot count */
: if (tom_cmos_read(&tom) < 0) {
: /* Structure invalid, re-initialize */
: tom.signature = TOM_SIGNATURE;
: tom.addr = 0;
: }
:
: /* Update TOM if required */
: if (tom.addr == addr)
: return;
:
: tom.addr = addr;
:
: /* Write the new count to CMOS */
: tom_cmos_write(&tom);
:
: printk(BIOS_DEBUG, "Updated the TOM address into CMOS 0x%x\n", tom.addr);
: }
How large is the performance impact from reading things from cmos? With this scheme it is read t […]
Ack
--
To view, visit
https://review.coreboot.org/c/coreboot/+/73272
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I29d3e1df91c6057280bdf7fb6a4a356db31a408f
Gerrit-Change-Number: 73272
Gerrit-PatchSet: 10
Gerrit-Owner: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Dinesh Gehlot
digehlot@google.com
Gerrit-Reviewer: Jamie Ryu
jamie.m.ryu@intel.com
Gerrit-Reviewer: Kapil Porwal
kapilporwal@google.com
Gerrit-Reviewer: Lean Sheng Tan
sheng.tan@9elements.com
Gerrit-Reviewer: Tarun Tuli
taruntuli@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Tarun Tuli
taruntuli@google.com
Gerrit-Attention: Jamie Ryu
jamie.m.ryu@intel.com
Gerrit-Attention: Subrata Banik
subratabanik@google.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Comment-Date: Mon, 13 Mar 2023 13:59:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Subrata Banik
subratabanik@google.com
Comment-In-Reply-To: Arthur Heymans
arthur@aheymans.xyz
Gerrit-MessageType: comment