diff options
| author | Stephen Boyd <[email protected]> | 2018-08-15 13:37:07 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-14 15:37:23 +0200 |
| commit | a7d9b5f0120eea9f0f58c2ed2b98d2fc86389af3 (patch) | |
| tree | 114485222c10d9542ab189e3a37bcb9acf4d09ef /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a28aad66da8bd19b249670d003bb9a698bdda397 (diff) | |
firmware: coreboot: Remap RAM with memremap() instead of ioremap()
This is all system memory, so we shouldn't be mapping this all with
ioremap() as these aren't I/O regions. Instead, they're memory regions
so we should use memremap(). Pick MEMREMAP_WB so we can map memory from
RAM directly if that's possible, otherwise it falls back to
ioremap_cache() like is being done here already. This also nicely
silences the sparse warnings in this code and reduces the need to copy
anything around anymore.
Cc: Wei-Ning Huang <[email protected]>
Cc: Julius Werner <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Samuel Holland <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Julius Werner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions