From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35BEFC433EF for ; Thu, 30 Dec 2021 12:33:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hvTWkHbD+6eiS8Bke9CrOEcBr//F+dJJthR07jDZVVE=; b=zvTMCcrVwLFm86 UFlP4ZlcLtY6ZcNOYUJHIjBXs27q3cibcjGmAnjBoAM5ez9SHCIkvaJWGKgLm+ZprDYr0maogCWb1 kcnbYK8yMGjJRJ/iAH3HwvSEfGiCVJNm+7cqSCspy8Bd60a/j/iAC/z3dIh5Ps9w4xnxNzOFSG3M1 mL8jwBiL7w1GHYaSv0Ri0/8z5T1PKRbUmKBnMAkXkjR+HxvbL4J2h7xQsf479CNrNcJbO3YJ7UO8l crOmr8kjYlzSActOasTa6rZznlB0WUAtnMlCqH3N8Pwxw4uityEP7WF1jnlzeBgkOr7dNLApkc/Oc 9dQB7IEGi6EiZ/379KTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2ub5-004NRg-O9; Thu, 30 Dec 2021 12:31:56 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2ub1-004NQA-7g for linux-arm-kernel@lists.infradead.org; Thu, 30 Dec 2021 12:31:52 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6CC94616A3; Thu, 30 Dec 2021 12:31:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00F9CC36AEA; Thu, 30 Dec 2021 12:31:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1640867509; bh=x2thwngD98NIaTMG6mDpgHTaaqtUUesBX+o4q4qEB94=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U0j9yqXcjDUcOM7/N9oFZHfYSVAqMtu4c063RjKJ4V1o04WVLUMFmGN1oM1oiiA8m yeyRkRx99lvwYdPVFf9an+xo9GGRgyU7C32C7s6Siap9V3F0piIJrFDdObsWZKLhjD tHDV3QKdXrnfrtUK8XEekDUOqC4wUhoi8Cpxmsyc= Date: Thu, 30 Dec 2021 13:31:46 +0100 From: Greg Kroah-Hartman To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: William Breathitt Gray , Jonathan Cameron , Kamel Bouhara , Ahmad Fatoum , David Lechner , Jonathan Corbet , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Oleksij Rempel , Alexandre Torgue , Fabrice Gasnier , Jarkko Nikula , linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Patrick Havelange , Syed Nayyar Waris , linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin Subject: Re: [PATCH v3 00/23] counter: cleanups and device lifetime fixes Message-ID: References: <20211229154441.38045-1-u.kleine-koenig@pengutronix.de> <20211230085351.pywngltvdam25emx@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211230085351.pywngltvdam25emx@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211230_043151_374130_D9781361 X-CRM114-Status: GOOD ( 21.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 30, 2021 at 09:53:51AM +0100, Uwe Kleine-K=F6nig wrote: > Hello, > = > On Wed, Dec 29, 2021 at 04:44:18PM +0100, Uwe Kleine-K=F6nig wrote: > > this is v3 of my series to fix device lifetime issues in the counter > > framework. This hopefully addresses all things pointed out for v2. > > = > > Note this depends on 60f07e74f86b (which is in next) now. Full diffstat > > below. > > = > > Things that could be further improved: > > = > > [...] > > = > > Uwe Kleine-K=F6nig (23): > > counter: Use container_of instead of drvdata to track counter_device > > counter: ftm-quaddec: Drop unused platform_set_drvdata() > > counter: microchip-tcb-capture: Drop unused platform_set_drvdata() > > counter: Provide a wrapper to access device private data > > counter: 104-quad-8: Convert to counter_priv() wrapper > > counter: interrupt-cnt: Convert to counter_priv() wrapper > > counter: microchip-tcb-capture: Convert to counter_priv() wrapper > > counter: intel-qep: Convert to counter_priv() wrapper > > counter: ftm-quaddec: Convert to counter_priv() wrapper > > counter: ti-eqep: Convert to counter_priv() wrapper > > counter: stm32-lptimer-cnt: Convert to counter_priv() wrapper > > counter: stm32-timer-cnt: Convert to counter_priv() wrapper > > counter: Provide alternative counter registration functions > > counter: Update documentation for new counter registration functions > > counter: 104-quad-8: Convert to new counter registration > > counter: interrupt-cnt: Convert to new counter registration > > counter: intel-qep: Convert to new counter registration > > counter: ftm-quaddec: Convert to new counter registration > > counter: microchip-tcb-capture: Convert to new counter registration > > counter: stm32-timer-cnt: Convert to new counter registration > > counter: stm32-lptimer-cnt: Convert to new counter registration > > counter: ti-eqep: Convert to new counter registration > > counter: remove old and now unused registration API > > = > > Documentation/driver-api/generic-counter.rst | 10 +- > > drivers/counter/104-quad-8.c | 93 +++++----- > > drivers/counter/counter-core.c | 186 ++++++++++++++----- > > drivers/counter/ftm-quaddec.c | 36 ++-- > > drivers/counter/intel-qep.c | 46 ++--- > > drivers/counter/interrupt-cnt.c | 38 ++-- > > drivers/counter/microchip-tcb-capture.c | 44 ++--- > > drivers/counter/stm32-lptimer-cnt.c | 51 ++--- > > drivers/counter/stm32-timer-cnt.c | 48 ++--- > > drivers/counter/ti-eqep.c | 31 ++-- > > include/linux/counter.h | 15 +- > > 11 files changed, 356 insertions(+), 242 deletions(-) > > = > > Range-diff against v2: > > [...] > > = > > base-commit: a7904a538933c525096ca2ccde1e60d0ee62c08e > > prerequisite-patch-id: 9459ad8bc78190558df9123f8bebe28ca1c396ea > = > All patches have a blessing by at least one of William and Jonathan. > The prerequisite commit (60f07e74f86b) is in Greg's char-misc-next branch. > = > Assuming noone still finds a problem in this series that requires me to > respin I wonder who will pick it up? Greg? > = > Given that it fixes a possible use-after-free in all counter drivers, > I'd like to see it hit before v5.17-rc1. For 5.16 it's probably too > late. Of course it is too later for 5.16, sorry. I'll queue this up to my tree now, for 5.17-rc1, thanks. greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel