Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754616AbdCMTwF (ORCPT ); Mon, 13 Mar 2017 15:52:05 -0400 Received: from smtp5-g21.free.fr ([212.27.42.5]:64508 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752493AbdCMTvz (ORCPT ); Mon, 13 Mar 2017 15:51:55 -0400 Date: Mon, 13 Mar 2017 20:51:30 +0100 From: Alban To: Julia Cartwright Cc: Aban Bedel , Linus Walleij , Alexandre Courbot , , Thomas Gleixner , Subject: Re: [PATCH 06/19] gpio: ath79: make use of raw_spinlock variants Message-ID: <20170313205130.2b5c5272@tock> In-Reply-To: <1774d7bad8bbc672372480f540dfc8f3d1592533.1489015238.git.julia@ni.com> References: <1774d7bad8bbc672372480f540dfc8f3d1592533.1489015238.git.julia@ni.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/89nzvpisAAI+SXd+IB_tHQb"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1767 Lines: 43 --Sig_/89nzvpisAAI+SXd+IB_tHQb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 9 Mar 2017 10:21:53 -0600 Julia Cartwright wrote: > The ath79 gpio driver currently implements an irq_chip for handling > interrupts; due to how irq_chip handling is done, it's necessary for the > irq_chip methods to be invoked from hardirq context, even on a a > real-time kernel. Because the spinlock_t type becomes a "sleeping" > spinlock w/ RT kernels, it is not suitable to be used with irq_chips. >=20 > A quick audit of the operations under the lock reveal that they do only > minimal, bounded work, and are therefore safe to do under a raw spinlock. >=20 > Signed-off-by: Julia Cartwright Acked-by: Aban Bedel --Sig_/89nzvpisAAI+SXd+IB_tHQb Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYxvhCAAoJEHSUmkuduC28YjMP/1GOR4GP/z4OckebWQHLNG0G I1FxHkfo2kX426If5Hkyy3VdaBRVDHvFj8j8bUygxcp/nnH2xZLPBDmdaQzV6X5l QNvuUz762aqPRdnT+tnZ2Va+J+kuvkLcmi63RBi2puzQM173K636gtbXl2WTv2XP JCmRz4tMFduvlowbEe3R7az3HW+6bBMeg9w+7bPBbZG/JL1Q6JmmXGfi/kw6J41h YjcDRfg5PJXrIgrwaxPh/+BbWZ5to1UZFOCRyqy9vqZ/zZV++9YDimw0LanPbPwD 3TvW2QcdVy69ky7bxs+JX4taZWN1Xhelr+jReSGXf8sTDgPye6HOw6yaza/sKCLn 3hcYAKBb9RRXlEDeiJh+mH1XDv59M5CUxy/1fyM1Upjl3cniCcYNiIEjkgDY9L7b xhT/8/D8IFJ+WLu/nIFqnww1nrYTem6vSsmTPyY0ilnnGVZ+Q4C0iEGRG4KZ3njv rbrHmQhS+aSqjHhwQCakHVb7GsIYtzwOUmqDI30w5A8892SO6avQyEqYQ0GtjJj+ D3BY+L5+pEWDXlJrcsxZF+ekPoAP8LUIaZGfoIYp5G4GSsq1Fum28iTKZDu3lgX+ +npCHAuCPc6M3XkDVYSnjEVvo+KbjT1pPTK8RuZENimStpoINDKGVP7SVcbMCe6h rZhRk20OJ/aUCepWn6AX =h5w/ -----END PGP SIGNATURE----- --Sig_/89nzvpisAAI+SXd+IB_tHQb--