aarch64: Workaround broken lshw CPU detection 90/69490/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 3 Jan 2020 13:50:33 +0000 (14:50 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 3 Jan 2020 13:58:44 +0000 (14:58 +0100)
commitd2573b60c9daf2c3b6434112d98b733388824b4f
treef8731e23518a71b6275e56cafe1a0973f62fd192
parentaf1a4adfcc75b1dae16aee766679fcd224158d00
aarch64: Workaround broken lshw CPU detection

On some aarch64 platforms (e.g. ThunderX), the DMI tables parsed by
lshw lead to wrong CPU capabilities detection, breaking our MaaS tag
filtering (which used to rely solely on CPU having asimd caps).
Extend the tag filtering condition to also include nodes that report
`cp15_barrier` platform capability. Note that not all aarch64 systems
include this cap explicitly (especially since it's been deprecated in
ARM v8), but it is currently reported by the platforms where asimd is
not properly detected.

This is merely a workaround for the broken lshw version in Ubuntu Bionic
(B.02.18).

Change-Id: I4a5c0d6af4d863d2ca094d6926a65ee90dee0e07
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2