Searched hist:b61fc085 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/arm64/kvm/ |
H A D | vgic-sys-reg-v3.c | b61fc085 Sun Jul 03 08:57:29 CDT 2022 Marc Zyngier <maz@kernel.org> KVM: arm64: vgic-v3: Simplify vgic_v3_has_cpu_sysregs_attr()
Finding out whether a sysreg exists has little to do with that register being accessed, so drop the is_write parameter.
Also, the reg pointer is completely unused, and we're better off just passing the attr pointer to the function.
This result in a small cleanup of the calling site, with a new helper converting the vGIC view of a sysreg into the canonical one (this is purely cosmetic, as the encoding is the same).
Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic.h | b61fc085 Sun Jul 03 08:57:29 CDT 2022 Marc Zyngier <maz@kernel.org> KVM: arm64: vgic-v3: Simplify vgic_v3_has_cpu_sysregs_attr()
Finding out whether a sysreg exists has little to do with that register being accessed, so drop the is_write parameter.
Also, the reg pointer is completely unused, and we're better off just passing the attr pointer to the function.
This result in a small cleanup of the calling site, with a new helper converting the vGIC view of a sysreg into the canonical one (this is purely cosmetic, as the encoding is the same).
Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
|
H A D | vgic-mmio-v3.c | b61fc085 Sun Jul 03 08:57:29 CDT 2022 Marc Zyngier <maz@kernel.org> KVM: arm64: vgic-v3: Simplify vgic_v3_has_cpu_sysregs_attr()
Finding out whether a sysreg exists has little to do with that register being accessed, so drop the is_write parameter.
Also, the reg pointer is completely unused, and we're better off just passing the attr pointer to the function.
This result in a small cleanup of the calling site, with a new helper converting the vGIC view of a sysreg into the canonical one (this is purely cosmetic, as the encoding is the same).
Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
|