// SPDX-License-Identifier: GPL-2.0-only /* * Support for the hypercall interface exposed to protected guests by * pKVM. * * Author: Will Deacon <will@kernel.org> * Copyright (C) 2024 Google LLC
*/
/* * We only expect MMIO emulation for regions mapped with device * attributes.
*/ if (protval != PROT_DEVICE_nGnRE && protval != PROT_DEVICE_nGnRnE) return 0;
phys = PAGE_ALIGN_DOWN(phys);
end = phys + PAGE_ALIGN(size);
while (phys < end) { constint func_id = ARM_SMCCC_VENDOR_HYP_KVM_MMIO_GUARD_FUNC_ID;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.