Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp877122yba; Mon, 1 Apr 2019 19:52:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFvmEp+n2FAlZ35ZvGKXLXivp9qm5OZDiB69CBef6Ve/O/2JGeW2d4/5/q+uE/13vddy+6 X-Received: by 2002:a17:902:28ea:: with SMTP id f97mr27963330plb.203.1554173532029; Mon, 01 Apr 2019 19:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554173532; cv=none; d=google.com; s=arc-20160816; b=M6sEUYfP7VEQWOVCKlxpgbVm5boP8jldOawpR3+bF6Ku6lncDhbjdwU3vLGAZsUkQY eXYJ13lEr2sTeQVKPci5L6xK+XfQF6Sd7Qd9QGWFs+QZChW6ogCw5nNTdvCX1636UTAn y1H2ugJ9/pYEYZc9Wtj5o7AYa5C0byDuOo2GaA9kLZIu9GdKdsX/JVeWoiDRt9mckvTU hGCZV1jQqA2L2R0/rEy1/rzsopy1XmzZX3XxgKWi2oNr+1bpq9PwgMLUUzV9fxBHT1Po fQYqkj9yNFI57jX8ZtLcG265R4Dw86MSMoEZY5Bircx4V0EVndkGdCyycl+dJ9OKCz1r hY1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Qzcc4/2F2anEBs0yxcfDa0SSDpIJUqbgduaUlMcApaA=; b=l/9+1QeERvmkZyPIwvjB/Dh5Dvck7/PNsKGVJOniQL4CKW3hcfT4Uurw1zI4pX186J hVGM1gPsdp35oonBtUCSL7AAv8vvh5mpD60Ul+3GEcvDBrR2KDHNLyUiPfaJ2na5kGil 2gPB84bwxN8RQQICPXgCvlxMdDihCQ9KUoc1mLCl2VKXm6bNMQh7DAAHKuxanSLn6BR6 XL7OsQqj5j28caepZ4+j/2b/kuFXG3EReVuvqGzte+/QKZsRVl+ZJqE/2h+EVCaQibJ1 DxKSTPU6Qn+3K//mfAB3qTg5WzNytFY1Qk/0KJzDAC2gz+R5GqEjkbXSlwi0VJVqjJZT mGLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bTqR6OtN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si10759541pla.370.2019.04.01.19.51.54; Mon, 01 Apr 2019 19:52:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bTqR6OtN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728774AbfDBCvP (ORCPT + 99 others); Mon, 1 Apr 2019 22:51:15 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:56295 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbfDBCvP (ORCPT ); Mon, 1 Apr 2019 22:51:15 -0400 Received: by mail-it1-f193.google.com with SMTP id z126so2637979itd.5; Mon, 01 Apr 2019 19:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Qzcc4/2F2anEBs0yxcfDa0SSDpIJUqbgduaUlMcApaA=; b=bTqR6OtN2mOSNfb5+HBdYwCKeL0xq0V6F3o9nchI9U7ZxmMyh1pGmdGG7BkYPZCywH j5MWGwrSZ5RmieURRbKklpZAd42B7F8w8/nRoJxUIGsaNn5xEI84TBJgoPAfX4R1iYVx gCZFgqcPmdF4Ay05FmekZ5fyf08VBOSYIO90L3RgAw7+emCLLMDzXvUZWEAiUAbAuoFQ c16O5THjgmbBbx9drTgXsHABVEIPGkrPOroWCJ4Qq4sMhFE6rnm3wvFX0rBT7UVKzrRd LvNnV69rGFvRZvPnyfbbP9K+JS1kcvFsJi1pEwrj44f2TSbk9ALfFSa1LCy2X/hBGeZX B3rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Qzcc4/2F2anEBs0yxcfDa0SSDpIJUqbgduaUlMcApaA=; b=ZtVrtX1GrvCX+l634SjZgyg5oiBsFL/BoC/0fUUJxwHHL7gAIB91UB6XLB9XcTqDbu OqbXg0pgkVl7U4z/bw+ygKbTYFnCGlfxjVUBoFlUkgZuXAOpT9E1vp2yqM5m71sNzbbj GH+3BnqgY5N7BIaE5x/0Zt/ixewgKcadjtptzEHNbbCWjTdDqG1sHsIw76kY6riKj4Ux csNEljdp0Se1dSDdWP2/vtKTBT82utEYISjNqrUeafuFE8jTQtpMCAGUSDda5FfrI+LR wWQRdv9m1SgaEdI6bDGfs5l7wpVl25qEKqx4NkP8Hax4qmcV8KE+KcfA+9fXpBsC0cQJ m2Pg== X-Gm-Message-State: APjAAAUkB1Mm+OTqPWfjv13mHuqCuFKKRDKtbJPXNeMjdRX73g+8OQxL m+jXd1JWdf1usl/up8C88Qel/JQka88= X-Received: by 2002:a24:3ac8:: with SMTP id m191mr2218104itm.74.1554173473916; Mon, 01 Apr 2019 19:51:13 -0700 (PDT) Received: from ubu (2600-6c48-437f-c81d-984d-b4e8-0abe-7e26.dhcp6.chtrptr.net. [2600:6c48:437f:c81d:984d:b4e8:abe:7e26]) by smtp.gmail.com with ESMTPSA id o11sm6435986itb.33.2019.04.01.19.51.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 19:51:13 -0700 (PDT) Date: Mon, 1 Apr 2019 22:51:10 -0400 From: Kimberly Brown To: Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: Jens Axboe , linux-block@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, Thomas Gleixner , Steffen Klassert , linux-crypto@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/8] kobject: Add default group support to kobj_type and replace subsystem uses Message-ID: References: <20190322201440.GA30814@ubu-Virtual-Machine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190322201440.GA30814@ubu-Virtual-Machine> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support for default attribute groups to kobj_type. Also, the uses of kobj_type's default_attrs field are replaced with default_groups in the following subsystems: - samples - block - net - irq - padata - cpufreq - livepatch The subsystem maintainers and lists will be copied on the subsystem patches. The uses of kobj_type's default_attrs field in the other subsystems will be replaced in future patchsets. Changes in v2: - Patch 1 is not changed. - Patches 2-8 are new. Kimberly Brown (8): kobject: Add support for default attribute groups to kobj_type samples/kobject: Replace foo_ktype's default_attrs field with groups block: Replace all ktype default_attrs with groups net-sysfs: Replace ktype default_attrs field with groups irqdesc: Replace irq_kobj_type's default_attrs field with groups padata: Replace padata_attr_type default_attrs field with groups cpufreq: schedutil: Replace default_attrs field with groups livepatch: Replace klp_ktype_patch's default_attrs with groups block/blk-integrity.c | 3 ++- block/blk-mq-sysfs.c | 8 ++------ block/blk-sysfs.c | 3 ++- include/linux/kobject.h | 3 ++- kernel/irq/irqdesc.c | 3 ++- kernel/livepatch/core.c | 3 ++- kernel/padata.c | 3 ++- kernel/sched/cpufreq_schedutil.c | 5 +++-- lib/kobject.c | 14 ++++++++++++++ net/core/net-sysfs.c | 6 ++++-- samples/kobject/kset-example.c | 3 ++- 11 files changed, 37 insertions(+), 17 deletions(-) -- 2.17.1