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]
Message-Id: <20110413131054.8771d855.rdunlap@xenotime.net>
Date:	Wed, 13 Apr 2011 13:10:54 -0700
From:	Randy Dunlap <rdunlap@...otime.net>
To:	Xianghua Xiao <xiaoxianghua@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Disable PCI while CONFIG_PCI=y

On Wed, 13 Apr 2011 15:05:59 -0500 Xianghua Xiao wrote:

> Is it possible to do something like 'pci=off' to have the same effect
> as turning of CONFIG_PCI during menuconfig?
> I want to build one image for both PCIE RC and PCIE EP(endpoint), for
> EP I do not need PCI to be enabled at all.
> 
> looking at drivers/pci/pci.c I don't see such option exists, am I
> missing something?

Hm. Documentation/kernel-parameters.txt says:


	pci=option[,option...]	[PCI] various PCI subsystem options:
		earlydump	[X86] dump PCI config space before the kernel
			        changes anything
		off		[X86] don't probe for the PCI bus

What $ARCH are you using?

See arch/x86/pci/common.c::pcibios_setup() for code that handles
	pci=off

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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