From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516AbdFIBp7 (ORCPT ); Thu, 8 Jun 2017 21:45:59 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:52600 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751452AbdFIBp5 (ORCPT ); Thu, 8 Jun 2017 21:45:57 -0400 Date: Thu, 8 Jun 2017 18:45:51 -0700 From: "Paul E. McKenney" To: mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linuc.decode@gmail.com, kvm@vger.kernel.org, pbonzini@redhat.com Subject: [GIT PULL rcu/urgent] Allow SRCU readers in irq handlers for KVM Reply-To: paulmck@linux.vnet.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17060901-0048-0000-0000-000001A098B1 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007198; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000212; SDB=6.00872078; UDB=6.00433859; IPR=6.00652147; BA=6.00005406; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015753; XFM=3.00000015; UTC=2017-06-09 01:45:54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17060901-0049-0000-0000-00004172A246 Message-Id: <20170609014551.GA22701@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-08_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706090030 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Ingo, This series enables srcu_read_lock() and srcu_read_unlock to be used from interrupt handlers, which fixes a bug in KVM's use of SRCU in delivery of interrupts to guest OSes. These patches have been exposed to 0day Test Robot and to -next testing, have been tested by the KVM folks, and were posted to LKML: http://lkml.kernel.org/r/20170605220919.GA27820@linux.vnet.ibm.com These changes, based on v4.2-rc4, are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent for you to fetch changes up to 1123a6041654e8f889014659593bad4168e542c2: srcu: Allow use of Classic SRCU from both process and interrupt context (2017-06-08 08:25:19 -0700) ---------------------------------------------------------------- Paolo Bonzini (2): srcu: Allow use of Tiny/Tree SRCU from both process and interrupt context srcu: Allow use of Classic SRCU from both process and interrupt context include/linux/srcu.h | 2 -- kernel/rcu/srcu.c | 5 ++--- kernel/rcu/srcutiny.c | 7 ++++--- kernel/rcu/srcutree.c | 5 ++--- 4 files changed, 8 insertions(+), 11 deletions(-)