Skip to content

arm64: Define name for the original RES1 bit but now functinal bit

Shaoqin Huang kvm kvmarm 2 versions – Applied

Status from this message: Applied to arm/queue, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 5 repliesSuperseded

v1 from the cover letter

https://lore.kernel.org/all/[email protected]/
Thanks, Eric for the suggestions:
- Rephrase the commit title in patch 1.
- Use the _BITULL().
- Delete the SCTLR_EL1_RES1 and unwind its definition into INIT_SCTLR_EL1_MMU_OFF.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: Use _BITULL() to define SCTLR_EL1 bit fieldslib/arm64/asm/sysreg.h+11 -110 replies
2/2arm64: Define name for these bits used in SCTLR_EL1lib/arm64/asm/sysreg.h+11 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Auger
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/2] arm64: Define name for the original RES1 bit but now functinal bit

According the talk[1], because the architecture get updated, what used to be a RES1 bit becomes a functinal bit. So we can define the name for these bits, this also increase the readability.

[1] lore.kernel.org/[email protected]

v1:
https://lore.kernel.org/all/[email protected]/
Thanks, Eric for the suggestions:
- Rephrase the commit title in patch 1.
- Use the _BITULL().
- Delete the SCTLR_EL1_RES1 and unwind its definition into INIT_SCTLR_EL1_MMU_OFF.

Shaoqin Huang (2):
arm64: Use _BITULL() to define SCTLR_EL1 bit fields
arm64: Define name for these bits used in SCTLR_EL1

 lib/arm64/asm/sysreg.h | 32 ++++++++++++++++++++------------
 1 file changed, 20 insertions(+), 12 deletions(-)
Signature · 1 line
2.39.1