On 07/25/14 09:44, Sudeep Holla wrote: > From: Sudeep Holla <[email protected]> > > This patch creates a new class called "cpu" and assigns it to all the > cpu devices. This helps in grouping all the cpu devices and associated > child devices under the same class. > > This patch also: > 1. modifies the get_parent_device to return the legacy path > (/sys/devices/system/cpu/..) for the cpu class devices to support > existing sysfs ABI > 2. avoids creating link in the class directory pointing to the device as > there would be per-cpu instance of these devices with the same name > 3. makes sure subsystem symlink continues pointing to cpu bus instead of > cpu class for cpu devices > > Signed-off-by: Sudeep Holla <[email protected]> > Cc: Greg Kroah-Hartman <[email protected]>
Why can't we make a 'cache' bus that the cache devices hang off of? It doesn't make sense to me why we would want to have cache devices living on the cpu bus. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

