Re: [PATCH v3] x86: move cacheinfo sysfs to generic cacheinfo infrastructure

Borislav Petkov
2015-03-10T11:38:34Z

Hi,

I just triggered this is on rc3 + tip/master which has your patch. This
is an Intel SNB. Ideas, already fixed?

Thanks.

------------[ cut here ]------------
WARNING: CPU: 3 PID: 1 at fs/sysfs/group.c:102 internal_create_group+0x151/0x280()
sysfs: (bin_)attrs not set by subsystem for group: index3/
Modules linked in:
CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.0.0-rc3+ #1
Hardware name: Dell Inc. Precision T3600/0PTTT9, BIOS A13 05/11/2014
ffffffff81cc6539 ffff88043be73bd8 ffffffff8184065b 0000000000000000
ffff88043be73c28 ffff88043be73c18 ffffffff8107301a ffffffff81eff038
0000000000000001 ffffffff81efef60 0000000000000000 ffffffff81e1c080
Call Trace:
[<ffffffff8184065b>] dump_stack+0x4f/0x7b
[<ffffffff8107301a>] warn_slowpath_common+0x8a/0xc0
[<ffffffff81073096>] warn_slowpath_fmt+0x46/0x50
[<ffffffff81277531>] internal_create_group+0x151/0x280
[<ffffffff81277799>] sysfs_create_groups+0x49/0xa0
[<ffffffff815d8823>] device_add+0x3e3/0x680
[<ffffffff815de3d0>] cpu_device_create+0xc0/0xe0
[<ffffffff811da78a>] ? __kmalloc+0x20a/0x220
[<ffffffff815e15d6>] cache_add_dev+0x176/0x220
[<ffffffff81fc3528>] cacheinfo_sysfs_init+0x51/0x93
[<ffffffff81fc34d7>] ? container_dev_init+0x2f/0x2f
[<ffffffff81002110>] do_one_initcall+0xa0/0x200
[<ffffffff81f771e5>] kernel_init_freeable+0x1f5/0x27d
[<ffffffff818345b0>] ? rest_init+0xd0/0xd0
[<ffffffff818345be>] kernel_init+0xe/0xf0
[<ffffffff8184ad93>] ret_from_fork+0x53/0x80
[<ffffffff818345b0>] ? rest_init+0xd0/0xd0
---[ end trace 5505c77da0d6932a ]---
error populating cacheinfo..cpu0

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--