Add a very basic OPAL NVRAM driver, which can be used by the IBM
power-utils toolkit for reading and writing NVRAM on powernv systems.
Details
Details
- Reviewers
luporl bdragon nwhitehorn
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 26453 Build 24884: arc lint + arc unit
Event Timeline
Comment Actions
LGTM.
| sys/powerpc/powernv/opal_nvram.c | ||
|---|---|---|
| 148 | Isn't a NULL check of contigmalloc() return value needed here? | |
| sys/powerpc/powernv/opal_nvram.c | ||
|---|---|---|
| 148 | You're right. Even though I specify M_WAITOK, from code inspection it only allows me 3 retries before it gives up and returns NULL. | |