commit | e3e20f58c0591ebf0090c3936a378baa229952d9 | [log] [tgz] |
---|---|---|
author | Timothy Chen <timothytim@google.com> | Tue Sep 27 15:09:52 2022 -0700 |
committer | tjaychen <timothytim@google.com> | Thu Sep 29 18:23:18 2022 -0700 |
tree | ae63b3c55c31aef4ec673dcf7bc5d3a0812a9fe6 | |
parent | 5c2aa89de6c5ecd564f8fa21c7a63c626e04b78a [diff] |
[flash] Fixes to host_gnt_err handling for more graceful handling - currently if the conditions to host_gnt_err trigger, the flash controller will most definitely lock-up. While this is somewhat acceptable behvaior since thse conditions occur only when attacked, it is still a little difficult for software to use. - This commit massages the logic around host_gnt_err to make it slightly more recoverable. It is not 100% proof, since fault attacks in certain parts of the logic will just be unrecoverable. - Specifically, do not use ctrl_fsm_idle to qualify host returns, instead use host_outstanding. This eliminates a single point of failure that could lead to lock-ups. - Better handling for host grants to info partitions. When such an error occurs, future host transactions are not accepted until the existing pipeline of reads are fully flushed. This ensures we get back to a clean state. Signed-off-by: Timothy Chen <timothytim@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).