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:	Sat, 19 Jul 2008 02:16:32 -0700
From:	Yinghai Lu <yhlu.kernel@...il.com>
To:	Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>, jbarnes@...tuousgeek.org,
	Jack Howarth <howarth@...mo.msbb.uc.edu>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] x86,pci: detect end_bus_number according to acpi/e820 reserved - fix


Signed-off-by: Yinghai Lu <yhlu.kernel@...il.com>

diff --git a/arch/x86/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c
index 9297882..429c701 100644
--- a/arch/x86/pci/mmconfig-shared.c
+++ b/arch/x86/pci/mmconfig-shared.c
@@ -364,6 +364,7 @@ static void __init pci_mmcfg_reject_broken(int early)
 		cfg = &pci_mmcfg_config[i];
 		addr = cfg->start_bus_number;
 		addr <<= 20;
+		addr += cfg->address;
 		size = cfg->end_bus_number + 1 - cfg->start_bus_number;
 		size <<= 20;
 		printk(KERN_NOTICE "PCI: MCFG configuration %d: base %lx "
--
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