Skip to content

arm: Use gic_enable/disable_irq() macro to clean up code

Shaoqin Huang kvm kvmarm 4 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. v3 Latest3 patches 2 repliesApplied
  2. v23 patches 0 repliesSuperseded
  3. v1 posting 2/23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 posting 1/23 patches0 repliesSuperseded

Changes in v3 from the cover letter

- s/diretly/directly.
- Refer Gic Spec to make comments more clear.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3arm: gic: Write one bit per time in gic_irq_set_clr_enable()lib/arm/gic.c+1 -30 replies
2/3arm64: timer: Use gic_enable/disable_irq() macro in timer testarm/timer.c+3 -170 replies
3/3arm64: microbench: Use gic_enable_irq() macro in microbench testarm/micro-bench.c+1 -140 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric AugerZenghui Yu
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [kvm-unit-tests PATCH v3 0/3] arm: Use gic_enable/disable_irq() macro to clean up code

Some tests still use their own code to enable/disable irq, use gic_enable/disable_irq() to clean up them.

The first patch fixes a problem which will disable all irq when use gic_disable_irq().

The patch 2-3 clean up the code by using the macro.

Changelog:
----------
v3:
- s/diretly/directly.
- Refer Gic Spec to make comments more clear.
v2:
- tweak the comments in patch 1. (Eric)
- Reviewed by Eric.

Shaoqin Huang (3):
arm: gic: Write one bit per time in gic_irq_set_clr_enable()
arm64: timer: Use gic_enable/disable_irq() macro in timer test
arm64: microbench: Use gic_enable_irq() macro in microbench test

 arm/micro-bench.c | 15 +--------------
 arm/timer.c       | 20 +++-----------------
 lib/arm/gic.c     |  4 +---
 3 files changed, 5 insertions(+), 34 deletions(-)
Signature · 1 line
2.39.1