From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guo, Min" Date: Mon, 02 Dec 2002 00:59:29 +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 Thank you very much! -----Original Message----- From: Scott Murray [mailto:scottm@somanetworks.com] Sent: Saturday, November 30, 2002 5:25 AM To: Guo, Min Cc: Linux-hotplug-devel@lists.sourceforge.net Subject: RE: About test suites for linux hot plug 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. [Guo,Min] Thank you for your kind suggestion, I will investigate and try to realize such function. 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. [Guo Min]: I will take a look at the platform and revise my test cases, thank you very much! 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. [Guo Min]: Yes, I thought he had already solved the problems. -- Scott Murray SOMA Networks, Inc. Toronto, Ontario e-mail: scottm@somanetworks.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ 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