Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934384AbcJQStd (ORCPT ); Mon, 17 Oct 2016 14:49:33 -0400 Received: from mail-by2nam03on0046.outbound.protection.outlook.com ([104.47.42.46]:19456 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932403AbcJQStc (ORCPT ); Mon, 17 Oct 2016 14:49:32 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; From: Stuart Yoder To: CC: , , , , , , Stuart Yoder Subject: [PATCH 12/14] staging: fsl-mc: improve comment wording Date: Mon, 17 Oct 2016 13:43:46 -0500 Message-ID: <1476729826-10258-1-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131212037702877170;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(229853001)(19580395003)(47776003)(11100500001)(92566002)(626004)(97736004)(5003940100001)(81156014)(8676002)(305945005)(69596002)(50226002)(8936002)(81166006)(106466001)(189998001)(105606002)(85426001)(4326007)(104016004)(586003)(68736007)(36756003)(87936001)(33646002)(50466002)(50986999)(110136003)(2351001)(19580405001)(2906002)(86362001)(77096005)(6666003)(8666005)(7846002)(48376002)(6916009)(5660300001)(356003)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR03MB1423;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD019;1:GYr9DjTLG+dPM2wMfGybNZyMf3UnN+xOkyvbwcsbbBaoMwsSaOLpbBwRnb0N1EoClu58Bd8f2Ni89XMNH92O7TLID9aiKbNl+Q4RwAfJmlyVhBEVO7TkvKwAPnYIEvGnZBrnxnS39jM5tz/TGk59/26WebNDoXTyrjjO1k8eMSL05en3PDqe8KowY0nwZQES68iIJH+c0uSpIxpA5Tov6jDLWLV8HzNZGaj99FdXVoDRj3ZOqWV9ywYFOA2gOevjkkG6mfnEKPrwfYmaWL2my5mDBFrl5Tqvxc20oLkh03/TnxXP9d30uWJqTB+6DBRKZupoGbk+iSaP9XQ1heafCdiHRxl+akaWGfDKNTkFloKgqadhCUUCsU79P64SHRocgmM7h2stodC8mVErhX83O9O+M/pMT5HlaoDYnpa7O5ZVXTYFa6utm2HUt+enm83IhUM+YKoD7suvu319rBV9WoJCS3IaWtmPRMk+Qzci0TgkpxCy6t1uHShVP2747jAIoKlt98CsxgceQsucGyvi9icXefAA9nOJItZscNnZpn5J83nmdA2tRsB6kqn+dbO2Lgi7OJ6+/AJUBPh6gr3UY5kE5O80gxkMz6YxlsrgQl6j8+owzt2uYg5QoEfZTbZlyRzSyobuSi55yi6+S55aEVo/g8hOJN1hVXVc836rkxKQ4ZiZUTZK71zh94vGeWYzcUCeLVA39iWQGX5tkxqXrd3GE9Wr/VAadFOMI9zCY7A= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 568501de-1edd-499e-9392-08d3f6be53ea X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1423;2:oMSibe6ZlONhlyiCtiEXocXvr3blhf3AI7LhO8IW7HEWwxsdagzHsALg4lRZqLorHoLRY6OlEmvw/rrF9UQvUqgRiS+NUvIjTtCwuSBdzWJrzjLJat+Almol7bk9+DgNaKS3Lmq5xccST+/OpwmpLBWRoifzTSRl58t5Rxae6RVkbR2WX5SpUex3V+LD5/UJkEsymTytbYedDGdFF+VuUg==;3:r+Rw887Nz76vmDAF22Txdy1JftxVW0sWHLo6xbK1T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xA=;4:vTqg1Y0VX+8cMp2he5qW1felQ3RBTL4F0fAqC54KfZ4GnQTWoVf/xNNhDCzy5jgjTCNLdHanLh8IfrkzndY5umJdFIBLmxvahVkvgcE4bvTXKETRl6px/S992l/nrIjmnElU0MxfdMenjq1ViBDZUEaZ0Ekq6YUQM8LLdNVG+F+3vWT6/ISE/9FQpONEptBM57aW9DmFTkQwekLTL7OyZWsotX5X9QwZdvCGKyWy2HZgPjcxKDt8OIOntXNo6dhrHv3ao30EKhAKdrrF2ccMEO40usWIIomUaaBBaNYnpd/8C0wR2e9VU0YxM1Kqbqc1O100v1e7YZTYwwijA8Kf1oWNVGBJr4bjqwfGJc8308W+GhyChxIvxSPPyGClYgARBVbR1dRBKjUH5WM9NHSz6C4FqaeqxgRfepbGxXySQ4UEagrOcRW40wPfGhMKHbfMZOnkEOjW5rHJZ85FTpv0z2aA8uSE45fSvxkFZl8o8oKOu+WufVgDUeHAjbpKg8MgWQWyubm0AXBQHL6vRznm21ALxDkcOGKnNthhoDEm0vlQ50QeNGwQkX/ukw3DiWIw78v0ZEzjC1Jmf/MREgeTuw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(227817650892897); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13018025)(5005006)(8121501046)(13015025)(13024025)(13023025)(13017025)(10201501046)(3002001)(6055026);SRVR:CY1PR03MB1423;BCL:0;PCL:0;RULEID:(400006);SRVR:CY1PR03MB1423; X-Forefront-PRVS: 0098BA6C6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR03MB1423;23:Hs7EZLv+M5gXfTkn/rJAKAT4Ay0BNhtukteichOSb?= =?us-ascii?Q?48Ht4AxTdG59xhu/XEqRABBuDv4Ema3q4CdMrT2o9PVCmDJiXkqQQ27JLqpv?= =?us-ascii?Q?DYAORRFYvJn9kvXac4hL1AUskNdr6n9kVAMdawDt9iFlnlM6UtwPWd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QfrhUKWPCHUeRAu5bl5O?= =?us-ascii?Q?haHuM27IP4jC+21JD0RsotRzvDuJN9218HWkswKZrkLmqYsL8r0I9ivGqzWh?= =?us-ascii?Q?v03rrKA00BwZmpXyx3gI8/kNLEQZYLPqTaIrcfTfisq4992MB2rBePUpjjEg?= =?us-ascii?Q?8rFuDOyHgHxdRo=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1423;6:SlMGypfdHAX0lECo5CoYWoQP8DcyrutRc93fqWM2ApZcMR+dUldwkkBWe5vn1K2YQayLCAhwJelVeiwevcPeIMoEJHCIMiQ04/osqwgGQfLWQq0VUTbKD/jjNc5SirYnaUNI2H/UkfFtIhqB7IveXtSmtHwEaP3Rc+AV/5uprfIjn/KckYtBSSCu56wm/oxPE9XWZ9PHwWBL3rLs0YyNjNcq89Zrfp1BznH6mtLOeMX70hhGphCOTDdG8hvNMg20/kJQJvVUt5EbJUZ8ulvR1haMGNtPySt4i0FK4XILjCmGkVNo/SUNMdweezad+VYE;5:ZqiwQkz421AskQaQZKHL7YBMAFKQJIu49+ZTpzLyaytx4ZAkKr65cK2aYsqslm1ry091HB841HNyXdMnIbuiMPebYOjmeS5HMG2oy6OLBjNam37tgHTRMwbK0ot/c5Yw67NWZ0P4FEDHjZHooIyb69dAIgajWJ1qABrjCbDFr5jYSIFGcPhVwnHJo0+zbM4E;24:luZ8dxSI69wydOvCOf1xQvq7MyifwbU7A+kdaOSKPV4jNLIiU9ugVI3ff92YxiauBZeS4fYN94Lg9IcuaBmAMpGW+6uMrXvvzcw9DAUt2Bg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB1423;7:1ETM8mlZsq+iCMkgvT7hJbNTGgKxrkpzoKb/VOSJ5GxGkpqoGaCENiYtb823sqYWM3c/FPEIyze3q9MWY6NjPTUW0Q9I1Pqxsbu8qQaZuK1IzoMemmyopFbXExFbWo1oambMNC2wq3ymRKdHqeRBqiBScsoX/uIwycsYQE4DtNeX41miq/XjdGl+br5fDdODQrkDgIGJDNvwLScmFhBt3NxKbIE7BpkymM+Li8NXahayanxGJGgUKeAEKWH6bHXgvTZHa9OeYxnvsuVA0ZmGZe07c9oa6HbFe0r1makc6wsFJniXzjPjKta8EiHaC56Oik251L3cRxIzUcFxBZkKa7M+fxDlJa7f0kfWOOhPVZs= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 18:49:29.9445 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1423 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8720 Lines: 216 improve and clarify miscellaneous comments -when referring to the bus call it "fsl-mc" -reduce the verbosity of some comments for clarity -improve wording of the slightly confusing term "MC object device" Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 68 +++++++++++++-------------- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 18 +++---- 2 files changed, 42 insertions(+), 44 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c index e92c780..4a7ac97 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c @@ -1,5 +1,5 @@ /* - * Freescale MC object device allocator driver + * fsl-mc object allocator driver * * Copyright (C) 2013 Freescale Semiconductor, Inc. * @@ -23,15 +23,12 @@ strcmp(_obj_type, "dpcon") == 0) /** - * fsl_mc_resource_pool_add_device - add allocatable device to a resource - * pool of a given MC bus + * fsl_mc_resource_pool_add_device - add allocatable object to a resource + * pool of a given fsl-mc bus * - * @mc_bus: pointer to the MC bus - * @pool_type: MC bus pool type - * @mc_dev: Pointer to allocatable MC object device - * - * It adds an allocatable MC object device to a container's resource pool of - * the given resource type + * @mc_bus: pointer to the fsl-mc bus + * @pool_type: pool type + * @mc_dev: pointer to allocatable fsl-mc device */ static int __must_check fsl_mc_resource_pool_add_device(struct fsl_mc_bus *mc_bus, @@ -95,10 +92,10 @@ static int __must_check fsl_mc_resource_pool_add_device(struct fsl_mc_bus * fsl_mc_resource_pool_remove_device - remove an allocatable device from a * resource pool * - * @mc_dev: Pointer to allocatable MC object device + * @mc_dev: pointer to allocatable fsl-mc device * - * It permanently removes an allocatable MC object device from the resource - * pool, the device is currently in, as long as it is in the pool's free list. + * It permanently removes an allocatable fsl-mc device from the resource + * pool. It's an error if the device is in use. */ static int __must_check fsl_mc_resource_pool_remove_device(struct fsl_mc_device *mc_dev) @@ -255,17 +252,18 @@ void fsl_mc_resource_free(struct fsl_mc_resource *resource) EXPORT_SYMBOL_GPL(fsl_mc_resource_free); /** - * fsl_mc_object_allocate - Allocates a MC object device of the given - * pool type from a given MC bus + * fsl_mc_object_allocate - Allocates an fsl-mc object of the given + * pool type from a given fsl-mc bus instance * - * @mc_dev: MC device for which the MC object device is to be allocated - * @pool_type: MC bus resource pool type - * @new_mc_dev: Pointer to area where the pointer to the allocated - * MC object device is to be returned + * @mc_dev: fsl-mc device which is used in conjunction with the + * allocated object + * @pool_type: pool type + * @new_mc_dev: pointer to area where the pointer to the allocated device + * is to be returned * - * This function allocates a MC object device from the device's parent DPRC, - * from the corresponding MC bus' pool of allocatable MC object devices of - * the given resource type. mc_dev cannot be a DPRC itself. + * Allocatable objects are always used in conjunction with some functional + * device. This function allocates an object of the specified type from + * the DPRC containing the functional device. * * NOTE: pool_type must be different from FSL_MC_POOL_MCP, since MC * portals are allocated using fsl_mc_portal_allocate(), instead of @@ -312,10 +310,9 @@ int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, EXPORT_SYMBOL_GPL(fsl_mc_object_allocate); /** - * fsl_mc_object_free - Returns an allocatable MC object device to the - * corresponding resource pool of a given MC bus. - * - * @mc_adev: Pointer to the MC object device + * fsl_mc_object_free - Returns an fsl-mc object to the resource + * pool where it came from. + * @mc_adev: Pointer to the fsl-mc device */ void fsl_mc_object_free(struct fsl_mc_device *mc_adev) { @@ -332,8 +329,14 @@ void fsl_mc_object_free(struct fsl_mc_device *mc_adev) EXPORT_SYMBOL_GPL(fsl_mc_object_free); /* - * Initialize the interrupt pool associated with a MC bus. - * It allocates a block of IRQs from the GIC-ITS + * A DPRC and the devices in the DPRC all share the same GIC-ITS device + * ID. A block of IRQs is pre-allocated and maintained in a pool + * from which devices can allocate them when needed. + */ + +/* + * Initialize the interrupt pool associated with an fsl-mc bus. + * It allocates a block of IRQs from the GIC-ITS. */ int fsl_mc_populate_irq_pool(struct fsl_mc_bus *mc_bus, unsigned int irq_count) @@ -395,7 +398,7 @@ int fsl_mc_populate_irq_pool(struct fsl_mc_bus *mc_bus, EXPORT_SYMBOL_GPL(fsl_mc_populate_irq_pool); /** - * Teardown the interrupt pool associated with an MC bus. + * Teardown the interrupt pool associated with an fsl-mc bus. * It frees the IRQs that were allocated to the pool, back to the GIC-ITS. */ void fsl_mc_cleanup_irq_pool(struct fsl_mc_bus *mc_bus) @@ -422,11 +425,7 @@ void fsl_mc_cleanup_irq_pool(struct fsl_mc_bus *mc_bus) EXPORT_SYMBOL_GPL(fsl_mc_cleanup_irq_pool); /** - * It allocates the IRQs required by a given MC object device. The - * IRQs are allocated from the interrupt pool associated with the - * MC bus that contains the device, if the device is not a DPRC device. - * Otherwise, the IRQs are allocated from the interrupt pool associated - * with the MC bus that represents the DPRC device itself. + * Allocate the IRQs required by a given fsl-mc device. */ int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev) { @@ -495,8 +494,7 @@ int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev) EXPORT_SYMBOL_GPL(fsl_mc_allocate_irqs); /* - * It frees the IRQs that were allocated for a MC object device, by - * returning them to the corresponding interrupt pool. + * Frees the IRQs that were allocated for an fsl-mc device. */ void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev) { diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 936e3ee..157d6dc 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -34,7 +34,7 @@ /** * struct fsl_mc - Private data of a "fsl,qoriq-mc" platform device - * @root_mc_bus_dev: MC object device representing the root DPRC + * @root_mc_bus_dev: fsl-mc device representing the root DPRC * @num_translation_ranges: number of entries in addr_translation_ranges * @translation_ranges: array of bus to system address translation ranges */ @@ -62,8 +62,8 @@ struct fsl_mc_addr_translation_range { /** * fsl_mc_bus_match - device to driver matching callback - * @dev: the MC object device structure to match against - * @drv: the device driver to search for matching MC object device id + * @dev: the fsl-mc device to match against + * @drv: the device driver to search for matching fsl-mc object type * structures * * Returns 1 on success, 0 otherwise. @@ -91,7 +91,7 @@ static int fsl_mc_bus_match(struct device *dev, struct device_driver *drv) /* * Traverse the match_id table of the given driver, trying to find - * a matching for the given MC object device. + * a matching for the given device. */ for (id = mc_drv->match_id_table; id->vendor != 0x0; id++) { if (id->vendor == mc_dev->obj_desc.vendor && @@ -448,7 +448,7 @@ bool fsl_mc_is_root_dprc(struct device *dev) } /** - * Add a newly discovered MC object device to be visible in Linux + * Add a newly discovered fsl-mc device to be visible in Linux */ int fsl_mc_device_add(struct dprc_obj_desc *obj_desc, struct fsl_mc_io *mc_io, @@ -529,8 +529,8 @@ int fsl_mc_device_add(struct dprc_obj_desc *obj_desc, goto error_cleanup_dev; } else { /* - * A non-DPRC MC object device has to be a child of another - * MC object (specifically a DPRC object) + * A non-DPRC object has to be a child of a DPRC, use the + * parent's ICID and interrupt domain. */ mc_dev->icid = parent_mc_dev->icid; mc_dev->dma_mask = FSL_MC_DEFAULT_DMA_MASK; @@ -585,10 +585,10 @@ int fsl_mc_device_add(struct dprc_obj_desc *obj_desc, EXPORT_SYMBOL_GPL(fsl_mc_device_add); /** - * fsl_mc_device_remove - Remove a MC object device from being visible to + * fsl_mc_device_remove - Remove an fsl-mc device from being visible to * Linux * - * @mc_dev: Pointer to a MC object device object + * @mc_dev: Pointer to an fsl-mc device */ void fsl_mc_device_remove(struct fsl_mc_device *mc_dev) { -- 1.9.0