| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | | - * it under the terms of the GNU General Public License, version 2, as |
|---|
| 4 | | - * published by the Free Software Foundation. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 7 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 8 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 9 | | - * GNU General Public License for more details. |
|---|
| 10 | | - * |
|---|
| 11 | | - * You should have received a copy of the GNU General Public License |
|---|
| 12 | | - * along with this program; if not, write to the Free Software |
|---|
| 13 | | - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|---|
| 14 | 3 | * |
|---|
| 15 | 4 | * Copyright SUSE Linux Products GmbH 2010 |
|---|
| 16 | 5 | * Copyright 2010-2011 Freescale Semiconductor, Inc. |
|---|
| .. | .. |
|---|
| 203 | 192 | kvm_emulate_mtmsr_len: |
|---|
| 204 | 193 | .long (kvm_emulate_mtmsr_end - kvm_emulate_mtmsr) / 4 |
|---|
| 205 | 194 | |
|---|
| 195 | +#ifdef CONFIG_BOOKE |
|---|
| 196 | + |
|---|
| 206 | 197 | /* also used for wrteei 1 */ |
|---|
| 207 | 198 | .global kvm_emulate_wrtee |
|---|
| 208 | 199 | kvm_emulate_wrtee: |
|---|
| .. | .. |
|---|
| 296 | 287 | kvm_emulate_wrteei_0_len: |
|---|
| 297 | 288 | .long (kvm_emulate_wrteei_0_end - kvm_emulate_wrteei_0) / 4 |
|---|
| 298 | 289 | |
|---|
| 290 | +#endif /* CONFIG_BOOKE */ |
|---|
| 291 | + |
|---|
| 292 | +#ifdef CONFIG_PPC_BOOK3S_32 |
|---|
| 293 | + |
|---|
| 299 | 294 | .global kvm_emulate_mtsrin |
|---|
| 300 | 295 | kvm_emulate_mtsrin: |
|---|
| 301 | 296 | |
|---|
| .. | .. |
|---|
| 345 | 340 | kvm_emulate_mtsrin_len: |
|---|
| 346 | 341 | .long (kvm_emulate_mtsrin_end - kvm_emulate_mtsrin) / 4 |
|---|
| 347 | 342 | |
|---|
| 343 | +#endif /* CONFIG_PPC_BOOK3S_32 */ |
|---|
| 344 | + |
|---|
| 345 | + .balign 4 |
|---|
| 346 | + .global kvm_tmp |
|---|
| 347 | +kvm_tmp: |
|---|
| 348 | + .space (64 * 1024) |
|---|
| 349 | + |
|---|
| 350 | +.global kvm_tmp_end |
|---|
| 351 | +kvm_tmp_end: |
|---|
| 352 | + |
|---|
| 348 | 353 | .global kvm_template_end |
|---|
| 349 | 354 | kvm_template_end: |
|---|