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, 7 Sep 2009 18:59:40 +0400
From:	Cyrill Gorcunov <gorcunov@...il.com>
To:	Youquan Song <youquan.song@...el.com>
Cc:	mingo@...e.hu, hpa@...or.com, tglx@...utronix.de,
	linux-kernel@...r.kernel.org, dwmw2@...radead.org,
	Suresh Siddha <suresh.b.siddha@...el.com>,
	youqun.song@...el.com
Subject: Re: Fix interrupt remapping hang if interrupt remapping disable in
	BIOS

[Youquan Song - Mon, Sep 07, 2009 at 10:13:13AM -0400]
...  
|  static int disable_intremap;
|  static __init int setup_nointremap(char *str)
| @@ -607,9 +608,14 @@ end:
|  int __init intr_remapping_supported(void)
|  {
|  	struct dmar_drhd_unit *drhd;
| -
| +	struct acpi_table_dmar *dmar;
| +
|  	if (disable_intremap)
|  		return 0;
| +
| +	dmar = (struct acpi_table_dmar *)dmar_tbl;
| +	if (!(dmar->flags & 0x1))
| +		return 0;
|  
|  	for_each_drhd_unit(drhd) {
|  		struct intel_iommu *iommu = drhd->iommu;

Hi Youquan,

perhaps we could move this test to helper function
in dmar.c instead of plain external variable test?

	-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ