-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GKI: cal-if: Fix reading from SRAM page fault
Use memcpy_fromio and read*_relaxed when reading the fvmap header from SRAM. This prevents us from hitting a page fault due to using regular memory reads from an IO device. Also, update the fvmap header to use sized types so that it's clear exactly how many bits need to be read. Bug: 197447526 Signed-off-by: Will McVicker <[email protected]> Change-Id: Ib3d8e5f21b51ccfc9f04e542332407b75aa9ea37 (cherry picked from commit 5e846b0466c31c26763ff62e87debd642f01391c) Signed-off-by: engstk <[email protected]>
- Loading branch information
Showing
2 changed files
with
41 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters