mbox series

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

Message ID 20230214034453.148494-1-shahuang@redhat.com (mailing list archive)
Headers show
Series arm: Use gic_enable/disable_irq() macro to clean up code | expand

Message

Shaoqin Huang Feb. 14, 2023, 3:44 a.m. UTC
From: Shaoqin Huang <shahuang@redhat.com>

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.

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(-)