On 2019/12/24 19:10, Marc Zyngier wrote:

@@ -4147,6 +4453,8 @@ int __init its_init(struct fwnode_handle *handle, struct 
rdists *rdists,
        bool has_v4 = false;
        int err;
+ gic_rdists = rdists;
+
        its_parent = parent_domain;
        of_node = to_of_node(handle);
        if (of_node)
@@ -4159,8 +4467,6 @@ int __init its_init(struct fwnode_handle *handle, struct 
rdists *rdists,
                return -ENXIO;
        }
- gic_rdists = rdists;
-
        err = allocate_lpi_tables();
        if (err)
                return err;

And shouldn't this be part of patch#2?  (As the new ITS_MAX_VPEID_BITS
would use gic_rdists in the allocation of ITS vPE table.)

But I haven't tested the first two patches separately, I guess it may
crash my box ;-)


Thanks,
Zenghui

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to