[coreboot-gerrit] Change in coreboot[master]: riscv: add support smp_pause / smp_resume

Xiang Wang (Code Review) gerrit at coreboot.org
Mon Oct 15 11:46:02 CEST 2018


Xiang Wang has posted comments on this change. ( https://review.coreboot.org/29023 )

Change subject: riscv: add support smp_pause / smp_resume
......................................................................


Patch Set 8:

(3 comments)

https://review.coreboot.org/#/c/29023/7/src/arch/riscv/include/mcall.h
File src/arch/riscv/include/mcall.h:

https://review.coreboot.org/#/c/29023/7/src/arch/riscv/include/mcall.h@72
PS7, Line 72: /*
> Can you clarify this comment?
Done


https://review.coreboot.org/#/c/29023/7/src/arch/riscv/smp.c
File src/arch/riscv/smp.c:

https://review.coreboot.org/#/c/29023/7/src/arch/riscv/smp.c@22
PS7, Line 22: void smp_pause(int working_hartid)
> Could you add some comments here, especially that this function never returns.
Done


https://review.coreboot.org/#/c/29023/7/src/arch/riscv/smp.c@24
PS7, Line 24: 	if (read_csr(mhartid) != working_hartid) {
> Can we move this check outside of this function to make the flow clearer? […]
I want to pass the parameters to choose the cpu core to work.



-- 
To view, visit https://review.coreboot.org/29023
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6f8159637bfb15f54f0abeb335de2ba6e9cf82fb
Gerrit-Change-Number: 29023
Gerrit-PatchSet: 8
Gerrit-Owner: Xiang Wang <wxjstz at 126.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp at hug.cx>
Gerrit-Reviewer: Shawn Chang <citypw at gmail.com>
Gerrit-Reviewer: Xiang Wang <wxjstz at 126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-Comment-Date: Mon, 15 Oct 2018 09:46:02 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181015/174faced/attachment.html>


More information about the coreboot-gerrit mailing list