lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 25 Feb 2022 02:27:39 +0000
From:   "Li,Rongqing" <lirongqing@...du.com>
To:     "Yuan,Zhaoxiong" <yuanzhaoxiong@...du.com>,
        "pbonzini@...hat.com" <pbonzini@...hat.com>,
        "seanjc@...gle.com" <seanjc@...gle.com>,
        "wanpengli@...cent.com" <wanpengli@...cent.com>,
        "vkuznets@...hat.com" <vkuznets@...hat.com>,
        "jmattson@...gle.com" <jmattson@...gle.com>,
        "joro@...tes.org" <joro@...tes.org>,
        "tglx@...utronix.de" <tglx@...utronix.de>,
        "mingo@...hat.com" <mingo@...hat.com>,
        "bp@...en8.de" <bp@...en8.de>,
        "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
        "hpa@...or.com" <hpa@...or.com>
CC:     "x86@...nel.org" <x86@...nel.org>,
        "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: 答复: [PATCH v2] KVM: X86: Introduce vfio_intr_stat per-vm debugfs file

> 主题: [PATCH v2] KVM: X86: Introduce vfio_intr_stat per-vm debugfs file
> 
> Use this file to export correspondence between guest_irq, host_irq, vector and
> vcpu belonging to VFIO passthrough devices.
> 
> An example output of this looks like (a vm with VFIO passthrough
> devices):
>    guest_irq     host_irq       vector         vcpu
>           24          201           37            8
>           25          202           35           25
>           26          203           35           20
>    ......
> 
> When a VM has VFIO passthrough devices, the correspondence between
> guest_irq, host_irq, vector and vcpu may need to be known especially in AMD
> platform with avic disabled. The AMD avic is disabled, and the passthrough
> devices may cause vcpu vm exit twice for a interrupt.
> One extrernal interrupt caused by vfio host irq, other ipi to inject a interrupt to
> vm.
> 
> If the system administrator known these information, set vfio host irq affinity to
> Pcpu which the correspondece guest irq affinited vcpu, to avoid extra vm exit.
> 
> Co-developed-by: Li RongQing <lirongqing@...du.com>
> Signed-off-by: Li RongQing <lirongqing@...du.com>
> Signed-off-by: Yuan ZhaoXiong <yuanzhaoxiong@...du.com>
> ---

Ping

Thanks

-Li

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ