From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Murray Date: Fri, 29 Nov 2002 21:24:53 +0000 Subject: RE: About test suites for linux hot plug Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, 28 Nov 2002, Guo, Min wrote: > Here is my initial test suite for cPCI (ZT5084 platform) and Compaq with > e100 and e1000 hotplug network devices, > for the other hot plug device and features, I will give out the test suites > later. Your testcase seems reasonable, but having the PCI device appear/disappear is IMO the trivial part of PCI hotplug. The vast majority of the problems I encountered while writing the cPCI drivers involved PCI resources. Most of my manual testing revolves around checking the contents of /proc/iomem and /proc/ioports before and after inserts and removes, as well as looking at the output of "lspci -vvv". With a fixed set of hardware, it may be possible to come up with testcases for resource allocation, but the general case is probably difficult to automate. Something else to be aware of is that eventually I plan to support hardware that does not expose HS_CSR through the PCI extended capabilities. It looks like your testcase as it stands now will break if run in a setup that had such hardware. Scott PS: Are you working with Harold Yang? He's also at Intel but seems to be having troubles using cPCI hotplug on his ZT5084 system. -- Scott Murray SOMA Networks, Inc. Toronto, Ontario e-mail: scottm@somanetworks.com ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel