Andrey Petrov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38548 )
Change subject: soc/intel: Add Intel Xeon Scalable Processor support
......................................................................
Patch Set 26:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38548/21/src/soc/intel/xeon_sp/rese...
File src/soc/intel/xeon_sp/reset.c:
https://review.coreboot.org/c/coreboot/+/38548/21/src/soc/intel/xeon_sp/rese...
PS21, Line 21: void chipset_handle_reset(uint32_t status)
: {
: switch (status) {
: case FSP_STATUS_RESET_REQUIRED_5: /* Global Reset */
: die("Global Reset not implemented!\n");
: break;
: default:
: printk(BIOS_ERR, "unhandled reset type %x\n", status);
: die("unknown reset type");
: break;
: }
: }
This is a stub code. We are going to implement this in future.
if it is unimplemented, it is fine. But then it probably should just die unconditionally saying its unimplemented. If this function needs to behave in this specific way (ignore some reset request types and halt on others), please document why this is done in way. Otherwise it looks like copypasta.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/38548
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idc9c3bee17caf8b4841f0bc190cb1aa9d38fc23e
Gerrit-Change-Number: 38548
Gerrit-PatchSet: 26
Gerrit-Owner: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Anjaneya "Reddy" Chagam
anjaneya.chagam@intel.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: HAOUAS Elyes
ehaouas@noos.fr
Gerrit-Reviewer: Johnny Lin
Gerrit-Reviewer: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Andrey Petrov
anpetrov@fb.com
Gerrit-CC: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-CC: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Patrick Rudolph
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 13 Feb 2020 01:50:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jonathan Zhang
jonzhang@fb.com
Comment-In-Reply-To: Andrey Petrov
anpetrov@fb.com
Gerrit-MessageType: comment