diff options
| author | Christoffer Dall <[email protected]> | 2018-01-12 10:40:21 +0000 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2018-01-12 10:40:21 +0000 |
| commit | f8f85dc00b7427de6222ea3955c52512315d13cd (patch) | |
| tree | 56be5a7ae60ad2c3b59074e8add00fa73992ef0d /fs/jbd2/commit.c | |
| parent | KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2 (diff) | |
| download | kernel-f8f85dc00b7427de6222ea3955c52512315d13cd.tar.gz kernel-f8f85dc00b7427de6222ea3955c52512315d13cd.zip | |
KVM: arm64: Fix GICv4 init when called from vgic_its_create
Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization
issues") moved the vgic_supports_direct_msis() check in vgic_v4_init().
However when vgic_v4_init is called from vgic_its_create(), the has_its
field is not yet set. Hence vgic_supports_direct_msis returns false and
vgic_v4_init does nothing.
The gic/its init sequence is a bit messy, so let's be specific about the
prerequisite checks in the various call paths instead of relying on a
common wrapper.
Fixes: 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization issues")
Reported-by: Eric Auger <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
