LWN.net Logo

Updated cpu module autoprobing patchkit

From:  Andi Kleen <andi@firstfloor.org>
To:  linux-kernel@vger.kernel.org
Subject:  Updated cpu module autoprobing patchkit
Date:  Wed, 7 Dec 2011 16:41:13 -0800
Message-ID:  <1323304882-27953-1-git-send-email-andi@firstfloor.org>
Cc:  kay.sievers@vrfy.org, trenn@suse.de
Archive-link:  Article, Thread

Due to popular demand a new version of the cpu module autoprobing
patchkit. This exports x86 CPUID information (features, vendors, models etc.)
in a way that udev can autoprobe modules, similar to how
USB or PCI devices are autoloaded. This allows to easily
add CPU specific modules without requiring distributions
to have special case init scripts.

The biggest difference compared to the old version is that it 
hangs off the cpuid devices now, now the cpu devices. cpu devices
were sysdevs which don't have all the infrastructure needed 
for udev. cpuid has all this so it works much better.
This requires the cpuid driver to be loaded or builtin for 
the autoprobing to work.

Any testing appreciated

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds