Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1441250
| From | Will Deacon <will.deacon@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v9] arm64: cpuinfo: Expose MIDR_EL1 and REVIDR_EL1 to sysfs |
| Date | 2016-07-12 13:10 +0200 |
| Message-ID | <rU3JD-44Q-5@gated-at.bofh.it> (permalink) |
| References | <rSFzI-6qY-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jul 08, 2016 at 04:01:13PM +0100, Suzuki K Poulose wrote: > From: Steve Capper <steve.capper@linaro.org> > > It can be useful for JIT software to be aware of MIDR_EL1 and > REVIDR_EL1 to ascertain the presence of any core errata that could > affect code generation. > > This patch exposes these registers through sysfs: > > /sys/devices/system/cpu/cpu$ID/regs/identification/midr_el1 > /sys/devices/system/cpu/cpu$ID/regs/identification/revidr_el1 > > where $ID is the cpu number. For big.LITTLE systems, one can have a > mixture of cores (e.g. Cortex A53 and Cortex A57), thus all CPUs need > to be enumerated. > > If the kernel does not have valid information to populate these entries > with, an empty string is returned to userspace. > > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Will Deacon <will.deacon@arm.com> > Cc: Mark Rutland <mark.rutland@arm.com> > Signed-off-by: Steve Capper <steve.capper@linaro.org> > [ ABI documentation updates, hotplug notifiers, kobject changes ] > Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Looks good to me, thanks for sticking with it: Reviewed-by: Will Deacon <will.deacon@arm.com> Will
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v9] arm64: cpuinfo: Expose MIDR_EL1 and REVIDR_EL1 to sysfs Will Deacon <will.deacon@arm.com> - 2016-07-12 13:10 +0200
csiph-web