Alex Williamson ee18637905 hisi_acc_vfio_pci: fix XQE dma address error
JIRA: https://issues.redhat.com/browse/RHEL-118213
CVE: CVE-2025-38158

commit 8bb7170c5a055ea17c6857c256ee73c10ff872eb
Author: Longfang Liu <liulongfang@huawei.com>
Date:   Sat May 10 16:11:50 2025 +0800

    hisi_acc_vfio_pci: fix XQE dma address error

    The dma addresses of EQE and AEQE are wrong after migration and
    results in guest kernel-mode encryption services  failure.
    Comparing the definition of hardware registers, we found that
    there was an error when the data read from the register was
    combined into an address. Therefore, the address combination
    sequence needs to be corrected.

    Even after fixing the above problem, we still have an issue
    where the Guest from an old kernel can get migrated to
    new kernel and may result in wrong data.

    In order to ensure that the address is correct after migration,
    if an old magic number is detected, the dma address needs to be
    updated.

    Fixes: b0eed08590 ("hisi_acc_vfio_pci: Add support for VFIO live migration")
    Signed-off-by: Longfang Liu <liulongfang@huawei.com>
    Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
    Link: https://lore.kernel.org/r/20250510081155.55840-2-liulongfang@huawei.com
    Signed-off-by: Alex Williamson <alex.williamson@redhat.com>

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2025-10-09 12:35:35 -06:00
2025-10-02 10:13:25 +00:00
2025-08-04 14:56:41 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
S
Description
No description provided
Readme
2.8 GiB
Languages
C 97.5%
Assembly 1%
Shell 0.6%
Python 0.3%
Makefile 0.3%