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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z3vA9go8BVbunBQZ@8bytes.org>
Date: Mon, 6 Jan 2025 12:39:34 +0100
From: Joerg Roedel <joro@...tes.org>
To: Xu Lu <luxu.kernel@...edance.com>
Cc: tjeznach@...osinc.com, will@...nel.org, lihangjing@...edance.com,
	xieyongji@...edance.com, guojinhui.liam@...edance.com,
	linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND 0/2] riscv: iommu: Add shutdown callback for kexec

On Fri, Jan 03, 2025 at 05:32:18PM +0800, Xu Lu wrote:
> After kexec, the newly booted kernel can not initialize iommu driver
> successfully as no one resets iommu state before kexec.
> 
> This patch series supplies shutdown callback for iommu driver. The shutdown
> callback resets necessary registers so that newly booted kernel can pass
> riscv_iommu_init_check() after kexec.
> 
> Xu Lu (2):
>   iommu/riscv: Empty iommu queue before enabling it
>   iommu/riscv: Add shutdown function for iommu driver
> 
>  drivers/iommu/riscv/iommu-pci.c      |  8 ++++++++
>  drivers/iommu/riscv/iommu-platform.c |  6 ++++++
>  drivers/iommu/riscv/iommu.c          | 12 ++++++++++--
>  drivers/iommu/riscv/iommu.h          |  1 +
>  4 files changed, 25 insertions(+), 2 deletions(-)

Applied, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ