Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp928749imu; Wed, 28 Nov 2018 01:41:20 -0800 (PST) X-Google-Smtp-Source: AFSGD/V3YD69pPAwO3GckXj0uaykTyEMgTZEDZyM4gndDTtNfJxwsWots7IPl/0DUFtboOb6m8jr X-Received: by 2002:a17:902:bd46:: with SMTP id b6mr35923473plx.231.1543398080611; Wed, 28 Nov 2018 01:41:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543398080; cv=none; d=google.com; s=arc-20160816; b=lAbQrxJ16Ib/seFIlvG8A8Foy2iCt5k6YXTfmQLFtObkvsHUbnTk8G4EX1+vEWJk3+ hbst/oMNZ90xhoJa68zLGghBRgbQ1RZPJmYYVIZaQ3HdpjSapbQFovvlHzjzsH4BZrcq ZBjj4bIrN4qnpD5Zq6ChcgwblPBJOtb1INjMOqXMeVwm0gIdQ2zRgEWk4FQ0jawMu/dD iFqlFNUlNMH4cX0gbXZHrh5a1cV6PjZG+i0B4NKMRqjn/3x0g2o0dHgfknofsMW5jbiF 8JcQSCbYtIaL4z0zX11K5RSb1IPLqJwZoVdKs974UPPkUhzb4TRXhpsMncOpYjy+1iq6 iRuA== 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=+2s8r1ezYgGkQnjq6e2bTnI4AMMcUFPjninxlc1y4o0=; b=YJzIVpZYwupRkuvv8hegMF7cqyHKS3ZtSr5lS+ywC/4NTXNLYwiauTRxNxQBei6BRR MxBrTEccLt5CSXrjyVDk/ru7h4mYWHUxRAm2RnB7qk6mM7LfqdpmAo1Y/hlxfM4UB2WX z7ZKSQFFadC7fCpaUJBYOuxQ0raYYUPzskJ/kARfK1GkjmMCLi99EyewqXDnoF7DhiEv XH4Bu5ECmUfCg6pxwYl+VnbeJ6cU92fVFZgdH174EanWy8/jtJUBvNDk2xWUMaSRcgsT 91lESKwLIlQENDejaaDPo14EFamw1qkdalFjH43sAt2XPikbt8F88w+qK1KWBOdH7r/b s4LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XbfM6qvo; 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 n18si7451017pfj.30.2018.11.28.01.41.05; Wed, 28 Nov 2018 01:41:20 -0800 (PST) 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=XbfM6qvo; 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 S1728007AbeK1Uk4 (ORCPT + 99 others); Wed, 28 Nov 2018 15:40:56 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:33614 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727585AbeK1Ukz (ORCPT ); Wed, 28 Nov 2018 15:40:55 -0500 Received: by mail-ed1-f67.google.com with SMTP id r27so21527050eda.0 for ; Wed, 28 Nov 2018 01:39:53 -0800 (PST) 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=+2s8r1ezYgGkQnjq6e2bTnI4AMMcUFPjninxlc1y4o0=; b=XbfM6qvoB/86crySBjOPijQNdibbNu246oywgoY5ZSXJ6UEnQNdNPM2Q0Uny+Ddl8k Q8iYIc8oZXFPV0hgSpHLb0Ut8qO1pyf4wyPrFEgyBJTTAWsL+HLFlQL6WL3UnOgl5QwR +kqdGHs4x9tMm6UZrmRcazCvUMd3/+RjsWuzFa8/fIZgmuMq4CH4mXnqvORPNPcUh1lo 6ZzkvgaooCldNLjus3P+D6JqCvHeNwiUQY8OxWH9XdvnY1ZGOkPLTMvBPhUdU7xVzQvT lCWoSowq60980XT37XopFVLaTDtictrVAfsfLhuCD72vn+ioNUNiIkktphl9ESyx5GDv cswQ== 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=+2s8r1ezYgGkQnjq6e2bTnI4AMMcUFPjninxlc1y4o0=; b=EiM6WxdXKzyMfsllgTcr14lnrnkTCy6Y6Bq96wywJcWAPMuly3UJwfR48jgKhJGM16 vojZPsVZR628CjBazFzWn9TxRTdOawsuDZOTZ2mwYn//eRbaqRP4YeN0NQIpRcQMp+a3 zjKZoINOxScreydZ7Y7iCOqou4ICE+lsP/uAHf3B2je3RR0brFMLxs9NCIObIdJzjz7X +wd2+MOlf6r+i80BQVeTyQl5kXm5kTTAAdRh8Ru3i0GEDfx+dWkXPdK/DZzqD1oP75J5 PTGcIwgip6yxw/I9vpv2dJRFtTsDn6u/42O9xqU+o8ClPwu57QYSP3PQXbb+cHhSNClq bxLw== X-Gm-Message-State: AA+aEWZNiho0xlTf0eeOftyzbjoHtJ2gVZP5+51bBnq1tOZjiOM3Losm 3aoc1wFZWmvtglMGpxVOekLXmPiC X-Received: by 2002:a50:f014:: with SMTP id r20mr29838888edl.144.1543397992461; Wed, 28 Nov 2018 01:39:52 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id 49sm1715483edz.59.2018.11.28.01.39.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Nov 2018 01:39:51 -0800 (PST) Date: Wed, 28 Nov 2018 10:39:50 +0100 From: Thierry Reding To: Jassi Brar Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/19] mailbox: Device-managed registration Message-ID: <20181128093950.GG17419@ulmo> References: <20181121145429.7582-1-thierry.reding@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9/eUdp+dLtKXvemk" Content-Disposition: inline In-Reply-To: <20181121145429.7582-1-thierry.reding@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9/eUdp+dLtKXvemk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 21, 2018 at 03:54:10PM +0100, Thierry Reding wrote: > From: Thierry Reding >=20 > Hi, >=20 > This series of patches adds device-managed registration functions for > mailbox controllers. A number of drivers can be simplified by making use > of this new API both in the error cleanup paths in their probe functions > and in the driver remove implementation. >=20 > In addition to adding the new API this series converts all drivers to > use it. There is also an additional cleanup patch for the mtk-cmdq > driver that removes some calls to devm_kfree() that are not needed. >=20 > Thierry >=20 > Thierry Reding (19): > mailbox: Add device-managed registration functions > mailbox: arm-mhu: Use device-managed registration API > mailbox: bcm2835: Use device-managed registration API > mailbox: bcm-flexrm: Use device-managed registration API > mailbox: bcm-pdc: Use device-managed registration API > mailbox: hi3660: Use device-managed registration API > mailbox: hi6220: Use device-managed registration API > mailbox: imx: Use device-managed registration API > mailbox: altera: Use device-managed registration API > mailbox: sti: Use device-managed registration API > mailbox: xgene-slimpro: Use device-managed registration API > mailbox: mtk-cmdq: Use device-managed registration API > mailbox: mtk-cmdq: Remove needless devm_kfree() calls > mailbox: omap: Use device-managed registration API > mailbox: platform-mhu: Use device-managed registration API > mailbox: qcom-apcs: Use device-managed registration API > mailbox: rockchip: Use device-managed registration API > mailbox: stm32-ipcc: Use device-managed registration API > mailbox: ti-msgmgr: Use device-managed registration API >=20 > drivers/mailbox/arm_mhu.c | 12 +---- > drivers/mailbox/bcm-flexrm-mailbox.c | 4 +- > drivers/mailbox/bcm-pdc-mailbox.c | 4 +- > drivers/mailbox/bcm2835-mailbox.c | 10 +--- > drivers/mailbox/hi3660-mailbox.c | 11 +--- > drivers/mailbox/hi6220-mailbox.c | 11 +--- > drivers/mailbox/imx-mailbox.c | 3 +- > drivers/mailbox/mailbox-altera.c | 15 +----- > drivers/mailbox/mailbox-sti.c | 13 +---- > drivers/mailbox/mailbox-xgene-slimpro.c | 11 +--- > drivers/mailbox/mailbox.c | 70 +++++++++++++++++++++++++ > drivers/mailbox/mtk-cmdq-mailbox.c | 11 +--- > drivers/mailbox/omap-mailbox.c | 4 +- > drivers/mailbox/platform_mhu.c | 12 +---- > drivers/mailbox/qcom-apcs-ipc-mailbox.c | 3 +- > drivers/mailbox/rockchip-mailbox.c | 15 +----- > drivers/mailbox/stm32-ipcc.c | 4 +- > drivers/mailbox/ti-msgmgr.c | 13 +---- > include/linux/mailbox_controller.h | 5 ++ > 19 files changed, 92 insertions(+), 139 deletions(-) Hi Jassi, any comments on this? Thierry --9/eUdp+dLtKXvemk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlv+YmMACgkQ3SOs138+ s6Hz4RAAmoP+WY6al1KgoAzNo7HLuaNa5ADvRASqeeaR0bzEINEjeDNmRLz4krwp tEa1oAhqbFerSke7AbqnU/C6XvHuGFTCn/V1LaifPq9aAf1Gwp7YoppLk7EAy6e+ QXfPd9giIVFUMgAZA/JfgWJ+P0rS+XHn4CrF8uALDuIhJOKESYw//5s6OAE5BgCC 8TGb+4wml300P8Xunp/tA/28A76X3qzW/CsQSdoUzATsfLnxiQ4J33nfK8PtJrRg Qv7IkRVmasUSiRkb+x7Xohb+8bD4ieboS8Kt05guqqVtKAFgaY6cEu284mHbjQLZ 4tkmQnaUSsCiHF1sfHGhxRB/MaRLlePIROXio7mQaOkb5394yb3PcyZ8BBxig9U4 RoubsIxKanzbNLiINUpSL5Kb4Rvip29TJy0zJkSUzIRnQaRJky9X4suQi2hCmmvv lP8yYYDwAgmcsnEh30CGVhoL593tcuk0JU+hvDOQwFP0Cz6feBkv+34stSdwgyoI OwVkRjE63JP6ZX/6EI4XhtoHE3NsBhQStuv/zisQwaTtFzeh4ZykEf/pCvLj3hQS PzfhgMPDL1T6R+I7e2HxTEg+wAicisiBqpP7cCaXS6lVxK9aGhp2YLuGXYb9VxJX 0ymyldloPCBZj4AkDJYZl79drJnWE8COkRq/hcVZ1ldm1bNtZBM= =A9Wk -----END PGP SIGNATURE----- --9/eUdp+dLtKXvemk--