Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933320AbcDETb5 (ORCPT ); Tue, 5 Apr 2016 15:31:57 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33901 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759888AbcDETbz (ORCPT ); Tue, 5 Apr 2016 15:31:55 -0400 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Guenter Roeck Subject: Re: [PATCH v4 6/6] hwmon: use smp_call_on_cpu() for dell-smm i8k Date: Tue, 5 Apr 2016 21:31:52 +0200 User-Agent: KMail/1.13.7 (Linux/3.13.0-83-generic; KDE/4.14.2; x86_64; ; ) Cc: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, mingo@redhat.com, peterz@infradead.org, Douglas_Warzecha@dell.com, jdelvare@suse.com, tglx@linutronix.de, hpa@zytor.com, jeremy@goop.org, chrisw@sous-sol.org, akataria@vmware.com, rusty@rustcorp.com.au, virtualization@lists.linux-foundation.org, x86@kernel.org References: <1459833007-11618-1-git-send-email-jgross@suse.com> <1459833007-11618-7-git-send-email-jgross@suse.com> <20160405145414.GB27359@roeck-us.net> In-Reply-To: <20160405145414.GB27359@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1759490.KnKAIGVcLo"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201604052131.52765@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1172 Lines: 39 --nextPart1759490.KnKAIGVcLo Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 05 April 2016 16:54:14 Guenter Roeck wrote: > On Tue, Apr 05, 2016 at 07:10:07AM +0200, Juergen Gross wrote: > > Use the smp_call_on_cpu() function to call system management > > mode on cpu 0. > > Make call secure by adding get_online_cpus() to avoid e.g. suspend > > resume cycles in between. > >=20 > > Signed-off-by: Juergen Gross > > --- > > V4: add call to get_online_cpus() >=20 > Pali, any chance to test this ? I can test it, but just on machine where (probably) smm calls can be=20 send from any cpu... Need some time for testing and I believe I can do=20 that at the end of the week. =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart1759490.KnKAIGVcLo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlcEEqgACgkQi/DJPQPkQ1JTRACdFYDnNujRzhYXtAftzeujrEQn aEIAoIWdkDdClVWVpsIMNcjmoXNNjbmq =fHEW -----END PGP SIGNATURE----- --nextPart1759490.KnKAIGVcLo--