Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933109AbdCUUQW (ORCPT ); Tue, 21 Mar 2017 16:16:22 -0400 Received: from smtprelay0103.hostedemail.com ([216.40.44.103]:41391 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932825AbdCUUPq (ORCPT ); Tue, 21 Mar 2017 16:15:46 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3870:3871:3872:3874:4250:5007:6119:6261:7875:7901:10004:10400:10848:10967:11026:11232:11658:11914:12663:12740:12760:12895:13069:13311:13357:13439:14096:14097:14181:14659:21080:30054:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:3,LUA_SUMMARY:none X-HE-Tag: stamp30_31084a5b07728 X-Filterd-Recvd-Size: 1897 Date: Tue, 21 Mar 2017 16:15:33 -0400 From: Steven Rostedt To: Thomas Gleixner Cc: lionel.debieve@st.com, linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, bigeasy@linutronix.de, Patrice Chotard , Greg Kroah-Hartman , Jiri Slaby Subject: Re: [PATCH RT] tty: serial: st-asc: Make the locking RT aware Message-ID: <20170321161533.44c4df87@vmware.local.home> In-Reply-To: References: <1490112340-29772-1-git-send-email-lionel.debieve@st.com> <20170321144437.569440c2@vmware.local.home> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 28 On Tue, 21 Mar 2017 19:51:47 +0100 (CET) Thomas Gleixner wrote: > On Tue, 21 Mar 2017, Steven Rostedt wrote: > > > /* > > > * Disable interrupts so we don't get the IRQ line > > > bouncing > > > > I'm nervous about the above comment, which in full is: > > > > /* > > * Disable interrupts so we don't get the IRQ line bouncing > > * up and down while interrupts are disabled. > > */ > > > > I'm not sure if disabling interrupts helps on an SMP system. This > > patch does change what happens when port->sysrq is set. But I'm not > > sure we care. > > It disables interrupts at the device level which obviously helps > whether on SMP or not. > OK, so this has nothing to do with the local_irq_save() that is being removed, which would be fine then. -- Steve