diff options
author | Palmer Dabbelt <palmer@sifive.com> | 2018-10-02 12:14:56 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-22 17:03:35 -0700 |
commit | 19ccf29bb18f08a4583aa899a8cc8c11e5ea85a6 (patch) | |
tree | e8dade2d43c99190dfe9c58a278790a4b034b527 /lib/memory-notifier-error-inject.c | |
parent | 566d6c428eadf9dc06df8b2195dff58d9a97c9e6 (diff) |
RISC-V: Filter ISA and MMU values in cpuinfo
We shouldn't be directly passing device tree values to userspace, both
because there could be mistakes in device trees and because the kernel
doesn't support arbitrary ISAs.
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
[Atish: checkpatch fix and code comment formatting update]
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions