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] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 11 May 2020 21:59:31 +0200
From:   Uwe Kleine-König <uwe@...ine-koenig.org>
To:     Lu Baolu <baolu.lu@...ux.intel.com>, Joerg Roedel <jroedel@...e.de>
Cc:     linux-kernel@...r.kernel.org, rafael.j.wysocki@...el.com,
        tglx@...utronix.de, x86@...nel.org
Subject: Re: Failure to shutdown/reboot with intel_iommu=on

On 5/9/20 3:58 AM, Lu Baolu wrote:
> Hi Uwe,
> 
> Have you tried commenting out intel_disable_iommus() in
> intel_iommu_shutdowan()?
> 
> diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
> index 0182cff2c7ac..532e62600f95 100644
> --- a/drivers/iommu/intel-iommu.c
> +++ b/drivers/iommu/intel-iommu.c
> @@ -4928,8 +4928,10 @@ void intel_iommu_shutdown(void)
>         for_each_iommu(iommu, drhd)
>                 iommu_disable_protect_mem_regions(iommu);
> 
> +#if 0
>         /* Make sure the IOMMUs are switched off */
>         intel_disable_iommus();
> +#endif
> 
>         up_write(&dmar_global_lock);
>  }

I just tested that and it didn't help. The machine still hangs with the
same symptoms as reported before.

Best regards
Uwe



Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ