Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5263678ybi; Tue, 4 Jun 2019 04:05:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9O3yvdhSuuOYztEkim0+1PWJvjDCdgVQ3ADktYttWqNQLKio9I1vW7BQEFDkPaPEvPF4n X-Received: by 2002:a17:90a:8b91:: with SMTP id z17mr36267841pjn.61.1559646306498; Tue, 04 Jun 2019 04:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559646306; cv=none; d=google.com; s=arc-20160816; b=R5HdA3ryfvJDH4f/1bOdxpv6IeQFMaKJMESZ7Odu5KYOAB0Y1gLf37g09o/y4nMSo0 YXSZqJym6IcOZLu+cnCg0UaWVdNRxAzwU+8BfKE+fjbDqDbyNvGWFrryWuPIsDCPiOFx HPPANd+GmzQ0V1odR+hGk4cmJPkWe59+WVjkDVsjk4Nm0GY3MGUSJ4GS8bYBD4+lr5Mw ezLoiIuOj7DW5o6x83HUx9ymzPx6fkQVbywldlp9OsWC5LHE0xeGqnofeuiSMpLKR101 O/q0wTGloV7qA8dY1yhkoqnAB6sg2gmPHIWEb8ZrdnOCpcBLWIww1JJfUP0zRt/ZEAvt 8pCw== 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=X+Qt9syBo+khoR1+eqd8VXHCxwK9HB5deywwnkENYtA=; b=Ur6cLN5uyeKZu1RyS/8aeKwd0gFqOvqxibQ1IICYFYbEBXG4a6hbNFL1vSvgCuNj9y kueHcOusou+Bcw02DcCBICtkCpOA5CwruNzWKpNB6nZ10nwXUfCss2coatC77Zz5721s XwYwwBcRi9opbAmCGQAouDAndWm0nHs9YteWVxYjOu9Fn8+k+zOLRR45DmuT4DTq0XVF jpcwsTkB5hyYFdMRrVYA3P1+ON3uJmqxXgEZLLuw0pBkVTrgSvxHpOfRSnrFj2bIax6m TbT/amwNBgPrvhn8WeJDqmqok9CzaaDq85PkJfP6Oqey6ryqwAcNfshimefvU3n+ej8H jfPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RDUPLamK; 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 h10si21993790pgq.187.2019.06.04.04.04.48; Tue, 04 Jun 2019 04:05:06 -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=RDUPLamK; 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 S1727531AbfFDLCb (ORCPT + 99 others); Tue, 4 Jun 2019 07:02:31 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37602 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727242AbfFDLCa (ORCPT ); Tue, 4 Jun 2019 07:02:30 -0400 Received: by mail-wr1-f67.google.com with SMTP id h1so15343748wro.4; Tue, 04 Jun 2019 04:02:29 -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=X+Qt9syBo+khoR1+eqd8VXHCxwK9HB5deywwnkENYtA=; b=RDUPLamKnVS6AAxmJ7c5Ce8yXMuSbWHNeS7A/J/HaJn+NKmXjWvatB0z2NNbgEEfEL iStMsQsmi8lSgiXZPuPwG2KP6MMBOdOoH3+f/nqtke96BKARRBUsinsoLwoqC2t9eYyS 0GrCGZ7cNxRvkLszpJRiK3O8NKvQ4DNEtVKjXN/HEjTUS3IO6M1e5/768H1DLs4hprsz a3hfftUvAV/kyjH5fv3ORfvZdYiUUVh3fP6AGHKmF0STEXNQM0KWozPyWot2k/2C8WDm SOjKlnIEIz6Eat/8z8PULUEJmv533ldLC/Bavz2T0/Oe8efr0i4S/EZe7DPHOUPdbBSR /6eg== 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=X+Qt9syBo+khoR1+eqd8VXHCxwK9HB5deywwnkENYtA=; b=oGnBjgqyu8LEcpKKHvKG+nBdRIlHl0R1D/eOZL4ClnN/tt3Vi5V/72UnRZdd5V3+nt jhPR2Ds+pKmGAAl04f3o4OyMWA54/CI5F/uCCHIbOkK65ALwzYN5ILdGjxLkOEn+1cSm A2exhgugx0qXgeemKXVe00fiCWiJ+MMXeL6fIC7IDU1/YsR55q8hsRsRxxOzQefK8vbQ 4n85CtViDitqZL4gp7gadQGw/v1QOT0QgU4OED54l7c4AZEP8DQ1vznAb5VKXYHTufch z3qxgpf87ZzM/tqRYOgkRx3nFIqyzgBMne3Gob2Fb/AhCO/BHxvY6a6zFN+gTg50FoD2 ipYg== X-Gm-Message-State: APjAAAVTH4l1su+wPhm/F+j6eeFjQ4v6VxJrSlsHFkO7na+K9K+URDLa Ehrm3KCo0IHpTs3TcC7UyN4= X-Received: by 2002:a5d:5446:: with SMTP id w6mr6340569wrv.164.1559646148748; Tue, 04 Jun 2019 04:02:28 -0700 (PDT) Received: from localhost (p2E5BEF36.dip0.t-ipconnect.de. [46.91.239.54]) by smtp.gmail.com with ESMTPSA id p11sm12221216wrs.5.2019.06.04.04.02.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 04 Jun 2019 04:02:27 -0700 (PDT) Date: Tue, 4 Jun 2019 13:02:27 +0200 From: Thierry Reding To: Dmitry Osipenko Cc: Jonathan Hunter , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Tomeu Vizoso , linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 06/16] PM / devfreq: tegra: Drop primary interrupt handler Message-ID: <20190604110227.GF16519@ulmo> References: <20190501233815.32643-1-digetx@gmail.com> <20190501233815.32643-7-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qftxBdZWiueWNAVY" Content-Disposition: inline In-Reply-To: <20190501233815.32643-7-digetx@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qftxBdZWiueWNAVY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 02, 2019 at 02:38:05AM +0300, Dmitry Osipenko wrote: > There is no real need in the primary interrupt handler, hence move > everything to the secondary (threaded) handler. In a result locking > is consistent now and there are no potential races with the interrupt > handler because it is protected with the devfreq's mutex. >=20 > Reviewed-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra-devfreq.c | 55 +++++++++++---------------------- > 1 file changed, 18 insertions(+), 37 deletions(-) Acked-by: Thierry Reding --qftxBdZWiueWNAVY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlz2T8IACgkQ3SOs138+ s6HFSw/+PSPTGfTFdmBQev7SxVPURWATpky1fpNGU7AlQZU5IOYQj5VqUBTGklgu PU0Z1Ym3UYX4iIoyxdUpaD0rjl73+HV5Zwng41FN/sDNSxQC8jbMJvoCD+fLmh2F i/pEySvqoqY/hlkIWuJGHTxnNOEeOYqJVdVQ4sM3xonRaJuK+XEcIN/k31wj48fI kZoVtkvGB2pDSV5HQw0FhT4u1vmmW1BsM1S9hHm5sx+yTD3GVS02KuxyERqItjir IyYLDh7cxxaVjADMs79g6e/hWpQYIbqChhnT40kKLLJbnDePYONOHnJLUVP3RZ8O ST7ItVYficG2gW5MO6rHyj7vG7oLatFg/QWbvhUFOmEAXOTmtKfz61WiuzIKVmrP v5ZJ3sauUpiKbQX++Nk5RUMofjJx6mQkob9/AeUddERjOqiCqPx9ybc3BKaO0ocO hGYLDCtG9vRpDZRcOycCaYcjMcVfss5e/wBRcGmcPqvnLEzj6M2dfWgFLJGiHexn 09basoJWtNU9a8hPhMd77ucS4+dUgH63JHsbizFNuB76va6lZjia7lfGx5GRw5O6 8QeiBr1WHqPYIXRdm3czTltXS8u8C/0bATgd9P8+TLTmfTC4V3AHcuwgVvCWrNUA NgbRx7HUHpSh3Fy4KyyhadzlALW8hwQGZcaaN5K81v48WKdyrBQ= =FeZ3 -----END PGP SIGNATURE----- --qftxBdZWiueWNAVY--