commit | 19ccf29bb18f08a4583aa899a8cc8c11e5ea85a6 | [log] [tgz] |
---|---|---|
author | Palmer Dabbelt <palmer@sifive.com> | Tue Oct 02 12:14:56 2018 -0700 |
committer | Palmer Dabbelt <palmer@sifive.com> | Mon Oct 22 17:03:35 2018 -0700 |
tree | e8dade2d43c99190dfe9c58a278790a4b034b527 | |
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>