linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] arm64: cpufeature: constify and refactor feature array
@ 2016-08-31 10:31 Ard Biesheuvel
  2016-08-31 10:31 ` [PATCH v2 1/3] arm64: cpufeature: constify arm64_ftr_bits structures Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2016-08-31 10:31 UTC (permalink / raw)
  To: linux-arm-kernel

This is v2 of the series that constifies and refactors the cpufeatures data
structures, in a way that allows certain pieces to be referenced directly by
external code. This was triggered by the discussion around Suzuki's CTR
emulation series [0]

Changes since v1/RFC:
- replace 'if (<cond>) { BUG(); }' with 'BUG_ON(<cond>);' (#2)
- don't dereference NULL return value of bsearch() (#2)
- rename global ctrel0_ftr_reg to arm64_ftr_reg_ctrel0 (#3)
- add Suzuki's R-b (#1, #2, #3)

[0] http://marc.info/?l=linux-arm-kernel&m=147152604303792&w=2

Ard Biesheuvel (3):
  arm64: cpufeature: constify arm64_ftr_bits structures
  arm64: cpufeature: constify arm64_ftr_regs array
  arm64: cpufeature: expose arm64_ftr_reg struct for CTR_EL0

 arch/arm64/include/asm/cpufeature.h | 15 +--
 arch/arm64/kernel/cpufeature.c      | 99 ++++++++++----------
 2 files changed, 58 insertions(+), 56 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-31 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-31 10:31 [PATCH v2 0/3] arm64: cpufeature: constify and refactor feature array Ard Biesheuvel
2016-08-31 10:31 ` [PATCH v2 1/3] arm64: cpufeature: constify arm64_ftr_bits structures Ard Biesheuvel
2016-08-31 10:31 ` [PATCH v2 2/3] arm64: cpufeature: constify arm64_ftr_regs array Ard Biesheuvel
2016-08-31 10:31 ` [PATCH v2 3/3] arm64: cpufeature: expose arm64_ftr_reg struct for CTR_EL0 Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).