Message ID | 1464274540-19693-6-git-send-email-peter.maydell@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 2016/5/26 22:55, Peter Maydell wrote: > From: Pavel Fedin <p.fedin@samsung.com> > > This allows to override default affinity IDs on a per-machine basis, and > possibility to retrieve IDs will be used by vGICv3 live migration code. > > Signed-off-by: Pavel Fedin <p.fedin@samsung.com> > Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org> > --- > target-arm/cpu.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target-arm/cpu.c b/target-arm/cpu.c > index 0eaa907..ce8b8f4 100644 > --- a/target-arm/cpu.c > +++ b/target-arm/cpu.c > @@ -1415,6 +1415,7 @@ static Property arm_cpu_properties[] = { > DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false), > DEFINE_PROP_UINT32("psci-conduit", ARMCPU, psci_conduit, 0), > DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0), > + DEFINE_PROP_UINT64("mp-affinity", ARMCPU, mp_affinity, 0), > DEFINE_PROP_END_OF_LIST() > }; > >
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index 0eaa907..ce8b8f4 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -1415,6 +1415,7 @@ static Property arm_cpu_properties[] = { DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false), DEFINE_PROP_UINT32("psci-conduit", ARMCPU, psci_conduit, 0), DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0), + DEFINE_PROP_UINT64("mp-affinity", ARMCPU, mp_affinity, 0), DEFINE_PROP_END_OF_LIST() };