Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/20045 )
Change subject: sb/intel/bd82x6x/pcie: Add PCIe reset timeout
......................................................................
Patch Set 1: Code-Review+1
Is raminit that fast device are not ready at this stage?
--
To view, visit https://review.coreboot.org/20045
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I990e2577f0acf7d1956b42af2611405f1421e6d3
Gerrit-Change-Number: 20045
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 06 Jun 2017 10:23:55 +0000
Gerrit-HasComments: No
Anonymous Coward #1001664 has uploaded this change for review. ( https://review.coreboot.org/20047
Change subject: address of riscv register is incorrect
......................................................................
address of riscv register is incorrect
I triggered a bug, when I try to debug riscv code by spike.
This bug is caused by an instruction exception[csrwi 0x320,7].
This is operate for mcounteren. This address is error. 0x306
is right. scounteren is not need to be set, because S-mode
code controls it.
Change-Id: Ib80faa5d9836fe13f964829928e9f07ca5cd3dbd
Signed-off-by: wxjstz <wxjstz(a)126.com>
---
M src/arch/riscv/virtual_memory.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/20047/1
diff --git a/src/arch/riscv/virtual_memory.c b/src/arch/riscv/virtual_memory.c
index 2c440d2..abb8b30 100644
--- a/src/arch/riscv/virtual_memory.c
+++ b/src/arch/riscv/virtual_memory.c
@@ -316,6 +316,5 @@
// Until we trust our toolchain use the hardcoded constants.
// These were in flux and people who get the older toolchain
// will have difficult-to-debug failures.
- write_csr(/*mucounteren*/0x320, 7);
- write_csr(/*mscounteren*/0x321, 7);
+ write_csr(/*mucounteren*/0x306, 7);
}
--
To view, visit https://review.coreboot.org/20047
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib80faa5d9836fe13f964829928e9f07ca5cd3dbd
Gerrit-Change-Number: 20047
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward #1001664