cpu.c (ed1d873caa93fde443b14369309cdd4366d4ca08) | cpu.c (f7767ca301796334f74b9b642b395a4bd3e3dbac) |
---|---|
1/* 2 * QEMU ARM CPU 3 * 4 * Copyright (c) 2012 SUSE LINUX Products GmbH 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 --- 1729 unchanged lines hidden (view full) --- 1738#ifdef TARGET_AARCH64 1739 if (arm_feature(&cpu->env, ARM_FEATURE_AARCH64)) { 1740 arm_cpu_sve_finalize(cpu, &local_err); 1741 if (local_err != NULL) { 1742 error_propagate(errp, local_err); 1743 return; 1744 } 1745 | 1/* 2 * QEMU ARM CPU 3 * 4 * Copyright (c) 2012 SUSE LINUX Products GmbH 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 --- 1729 unchanged lines hidden (view full) --- 1738#ifdef TARGET_AARCH64 1739 if (arm_feature(&cpu->env, ARM_FEATURE_AARCH64)) { 1740 arm_cpu_sve_finalize(cpu, &local_err); 1741 if (local_err != NULL) { 1742 error_propagate(errp, local_err); 1743 return; 1744 } 1745 |
1746 /* 1747 * FEAT_SME is not architecturally dependent on FEAT_SVE (unless 1748 * FEAT_SME_FA64 is present). However our implementation currently 1749 * assumes it, so if the user asked for sve=off then turn off SME also. 1750 * (KVM doesn't currently support SME at all.) 1751 */ 1752 if (cpu_isar_feature(aa64_sme, cpu) && !cpu_isar_feature(aa64_sve, cpu)) { 1753 object_property_set_bool(OBJECT(cpu), "sme", false, &error_abort); 1754 } 1755 |
|
1746 arm_cpu_sme_finalize(cpu, &local_err); 1747 if (local_err != NULL) { 1748 error_propagate(errp, local_err); 1749 return; 1750 } 1751 1752 arm_cpu_pauth_finalize(cpu, &local_err); 1753 if (local_err != NULL) { --- 797 unchanged lines hidden --- | 1756 arm_cpu_sme_finalize(cpu, &local_err); 1757 if (local_err != NULL) { 1758 error_propagate(errp, local_err); 1759 return; 1760 } 1761 1762 arm_cpu_pauth_finalize(cpu, &local_err); 1763 if (local_err != NULL) { --- 797 unchanged lines hidden --- |