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] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D52E4F4.80706@pavlinux.ru>
Date:	Wed, 09 Feb 2011 22:03:16 +0300
From:	Pavel Vasilyev <pavel@...linux.ru>
To:	LKML <linux-kernel@...r.kernel.org>,
	Yinghai Lu <yinghai@...nel.org>
Subject: Re: [PATCH]: Not PCI_PROBE_MMCONF by default

09.02.2011 21:36, Pavel Vasilyev пишет:
> 09.02.2011 19:43, Yinghai Lu пишет:
>> On Wed, Feb 9, 2011 at 7:13 AM, Pavel Vasilyev <pavel@...linux.ru> wrote:
>>> Hi All!
>>>
>>> Do not set PCI_PROBE_MMCONF flag by default, and enable
>>> only if configured with  CONFIG_PCI_MMCONFIG
>>>

Something was tired already. It's time to sleep :)


Signed-off-by: Pavel Vasilyev <pavel@...linux.ru>
---
 arch/x86/pci/common.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index 5fe7502..0a3e56a 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -17,8 +17,12 @@
 #include <asm/smp.h>
 #include <asm/pci_x86.h>

+#ifdef CONFIG_PCI_MMCONFIG
 unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 |
                                PCI_PROBE_MMCONF;
+#else
+unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2;
+#endif

 unsigned int pci_early_dump_regs;
 static int pci_bf_sort;

-- 

                                                         Pavel.
--
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