Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2785813ybi; Mon, 1 Jul 2019 19:10:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyScZCVDa9x/2SNJUKkp22VgOC8khBruSSqbsP3rt9zN4+225imAg4LHM74O2bKmpEbhOev X-Received: by 2002:a63:6ec4:: with SMTP id j187mr10106821pgc.420.1562033413083; Mon, 01 Jul 2019 19:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562033413; cv=none; d=google.com; s=arc-20160816; b=ysY3v+HWpPpkyRbv7bDbPf9Y8zgOUrF5H702zwdBsm7e63pJ3IxJotZXkrx4iRgkB9 4v/mI2J+T3F9f1aNIeO9xWtDgBEcoImvvHfG8s9RK4ceJcHfDaQD7NiePjw+sDrVU8I7 J9FuoJolFF6n/5MPqCK8lbagWUnxVk4WMgTL10mWUbnYOZSzeNn+Sc4se9pJ2itmc1Ob Z5E7o17p0cIzVOHyT293SWaJocMuthwO0Ux3rwtf06Wme/NDUDY/AMoJfVhZIYjbB3EI e8xvydRyd3fcjWPyKOPRQYUN4DpZM3hYK8PIBft3pc691c/HteUHC/kMVqVRyo0q4AxP kruQ== 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=lXB2umxm4Qxv5Jy6JF1w9qFRyfyBm2ed0ppYjC/gkXs=; b=Rfr/7dn8xZnNHLyqOmOOql99+IZtNw9P7Xb0EMAa19VhXmRpbonJ/ePBaUcZh+ezDp 9Da6VxNPEoyJhGWBT2+SLrBv/gy43+Ztza9dRgnYQEAsimIQnZp/euXxx+ajUOaHj5Sf CkFgx4HM/giR7hTplMe1zkv3+cr/hn6yz7hJxUHF6Kd5K+Gzea4tyrsRahdysKMSFVkS i8G+NGLj+lg6p55jmGc6uU5NUqDIIkvOfLNWUVfaay8zL++m6UC85mB/tIXzfa/zVEQH 06LNolEjTenWpF7Q2lLhZO60ckN7Wxz/8pGLWOyFw5q85Qel/dnIgZEjtnYTKwu80GZu 5mRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=czWLyvqq; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si11774425plf.87.2019.07.01.19.09.57; Mon, 01 Jul 2019 19:10:13 -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=@oracle.com header.s=corp-2018-07-02 header.b=czWLyvqq; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbfGBCJh (ORCPT + 99 others); Mon, 1 Jul 2019 22:09:37 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:47672 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726362AbfGBCJh (ORCPT ); Mon, 1 Jul 2019 22:09:37 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6228pek195172; Tue, 2 Jul 2019 02:09:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=lXB2umxm4Qxv5Jy6JF1w9qFRyfyBm2ed0ppYjC/gkXs=; b=czWLyvqqHGd12bl13IG+KBmPKJ1vm3zTRakmWxBDGZo3Z1HQhQY0jOpEstB0hWYp/kHi k9pvXt3M1bQhtqYRJO43DgFxfZfM0BnZvCXQ8Hnch78Ehc+t0G2n2+cEhEnct3PPqHVV JrVVK59qPNCg6S/vZY6HrsXLU0XK/nbfsuuRls9/31Bi2gdtCBxxNUjXO+rMk+fwpEot hBwuekxknCD/cSeIGXa8/wHUekSr28UoAi5AkqXYrSiMDqr9PyPN30cG+FYpt412fzfv lG73z9C8s/LG2CKYBtqTq0g8Ew8R8PalL9aXYHFUf5OCvZplWHYrk30HUuMwfxdj9EjC pQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2te61e0nbu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 Jul 2019 02:09:31 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6228PI0117335; Tue, 2 Jul 2019 02:09:30 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2tebku060s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 Jul 2019 02:09:30 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6229SwQ025233; Tue, 2 Jul 2019 02:09:29 GMT Received: from bostrovs-us.us.oracle.com (/10.152.32.65) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 01 Jul 2019 19:09:28 -0700 Date: Mon, 1 Jul 2019 22:09:51 -0400 From: Boris Ostrovsky To: Juergen Gross Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, Stefano Stabellini , stable@vger.kernel.org Subject: Re: [PATCH] xen/events: fix binding user event channels to cpus Message-ID: <20190702020951.GA8003@bostrovs-us.us.oracle.com> References: <20190621184703.17108-1-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190621184703.17108-1-jgross@suse.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9305 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907020019 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9305 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907020020 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2019 at 08:47:03PM +0200, Juergen Gross wrote: > When binding an interdomain event channel to a vcpu via > IOCTL_EVTCHN_BIND_INTERDOMAIN not only the event channel needs to be > bound, but the affinity of the associated IRQi must be changed, too. > Otherwise the IRQ and the event channel won't be moved to another vcpu > in case the original vcpu they were bound to is going offline. > > Cc: # 4.13 > Fixes: c48f64ab472389df ("xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU") > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky