From patchwork Fri Dec 9 14:12:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artem Mygaiev X-Patchwork-Id: 9468265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F43060586 for ; Fri, 9 Dec 2016 14:15:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84D34285DC for ; Fri, 9 Dec 2016 14:15:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7783228606; Fri, 9 Dec 2016 14:15:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB490285DC for ; Fri, 9 Dec 2016 14:15:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFLur-0002k4-6a; Fri, 09 Dec 2016 14:12:49 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFLuo-0002jt-UM for xen-devel@lists.xenproject.org; Fri, 09 Dec 2016 14:12:47 +0000 Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id 53/59-27365-EDBBA485; Fri, 09 Dec 2016 14:12:46 +0000 X-Brightmail-Tracker: H4sIAAAAAA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010121!1 X-Originating-IP: [40.107.1.56] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 22711 invoked from network); 9 Dec 2016 14:12:43 -0000 Received: from mail-eopbgr10056.outbound.protection.outlook.com (HELO EUR02-HE1-obe.outbound.protection.outlook.com) (40.107.1.56) by server-3.tower-206.messagelabs.com with AES256-SHA256 encrypted SMTP; 9 Dec 2016 14:12:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=EPAM.onmicrosoft.com; s=selector1-epam-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SskOypZuZuUHaOBDMAHY3OUEPHo0L1dzkMIqcDO5D/Y=; b=IE8yyz7zCkI74r1EfXzK44v1d6N2shLgRAsLH7BC+b96aiCyVu1i2TlGX9c7KBnxQqAzaEGWUMvlKnK5sxxYkL/1EyQpzseVXDx3NBaqCdE53Vr2DY9jeIuEvREwtRnyzoE4tZMpMmBhnES62MVdsMleW1Yxt0nqnE14vgsUpeU= Received: from DB4PR03CA0012.eurprd03.prod.outlook.com (10.160.39.150) by DB5PR03MB1013.eurprd03.prod.outlook.com (10.162.154.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Fri, 9 Dec 2016 14:12:43 +0000 Received: from AM1FFO11FD026.protection.gbl (2a01:111:f400:7e00::146) by DB4PR03CA0012.outlook.office365.com (2a01:111:e400:984f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8 via Frontend Transport; Fri, 9 Dec 2016 14:12:43 +0000 Received-SPF: Pass (protection.outlook.com: domain of epam.com designates 91.120.43.201 as permitted sender) receiver=protection.outlook.com; client-ip=91.120.43.201; helo=owabud.epam.com; Received: from owabud.epam.com (91.120.43.201) by AM1FFO11FD026.mail.protection.outlook.com (10.174.64.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.6 via Frontend Transport; Fri, 9 Dec 2016 14:12:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1213; Count:17 Received: from EPHUBUDSA0033.epam.com (10.253.110.10) by EPHUBUDSA0035.epam.com (10.253.110.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 9 Dec 2016 15:12:42 +0100 Received: from [10.0.2.15] (10.17.182.125) by EPHUBUDSA0033.epam.com (10.253.110.10) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 9 Dec 2016 15:12:41 +0100 To: Stefano Stabellini , References: From: Artem Mygaiev Message-ID: Date: Fri, 9 Dec 2016 16:12:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.17.182.125] X-ClientProxiedBy: EPBYMINSA0031.epam.com (10.6.110.8) To EPHUBUDSA0033.epam.com (10.253.110.10) X-IncomingHeaderCount: 17 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:91.120.43.201; IPV:NLI; CTRY:HU; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39840400002)(39410400002)(39850400002)(39860400002)(39450400003)(2980300002)(438002)(3190300001)(24454002)(199003)(189002)(64126003)(31696002)(4326007)(2906002)(86362001)(189998001)(229853002)(80792005)(230700001)(5001770100001)(77096006)(5660300001)(626004)(246002)(47776003)(65826007)(83506001)(31686004)(54356999)(50986999)(23676002)(7736002)(76176999)(106466001)(4001350100001)(38730400001)(50466002)(305945005)(36756003)(356003)(65956001)(33646002)(8676002)(92566002)(8936002)(3846002)(6116002)(65806001)(7636002)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR03MB1013; H:owabud.epam.com; FPR:; SPF:Pass; PTR:ephubudsa0002.epam.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD026; 1:YBg1tFhitvxXX5mA2QBgnMdpC9sYZHIy9/gXzksP8twHQsDkPWZNVJf1JQTgztVtLjDobuWxdIPtkj9AagCsxue02PmP0n9LtLNqnwGf0sGl1RY6kKO5nZvFNc1cLse1DbNNSG3WPOT4Xy0eckRo8x/8WdUAGWwFeHP555dyc9j0MsHuFj4BetSoGwhm37XZ9Hbxl805MW+r6q4IbMwRHBUtsc1vA2SNAfyaPiOwQJao2ZmfZKlkuCt3JcpYlP/6DyN+JJPv583aAO0o254u8mRGD8GWXBmY1q30FvMMnZbeMYr5iNXbwHZRGSKPaZitlVUfCZweY4oRxIcLKCC9ouS1e7cNNv25ZL5DIEBq7z4X2kKfcVXbIomIbPAVDKWQwgXx19+c43nX5BIwViKpMvKmxuKf9PFUNPWJcJKKI0oQVS1TxBhm9EzK2F8RSdhfYyIGUiXOePTdgM3f5jdho0pANwBlWTbX3PeyOG/t6Tt+GMuXgpKPGJYaS8NazdylwgkwM1uwIeN27QVa1rxX0ZW3rnFlmXwQpEdXssCpM6wzhNPcek5FhOaUOw23llrjNhLdLoLFAfCecl3NCIhytDaut2EyzuuC3xOHy60/0Hg= X-MS-Office365-Filtering-Correlation-Id: 59bc6cf1-8e34-498b-716b-08d4203d7134 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DB5PR03MB1013; X-Microsoft-Exchange-Diagnostics: 1; DB5PR03MB1013; 3:rbw92qfCtfZiudAA8hmoOW6bmRmm9vTMnRDIbMJh2zUyG+p4CHf4oLgXY0xI8kSH5UPSZbgiMa9TrI5CfGVk1cgco7DS0BhmyzS0sJuJZ/t0DXARVsiQVu4r7LjFCyoB/ybGs4hEKcjkp6yHZKFJA1M/GE4RqwjkFpcwqffYYKVb0tXLEyksMFALFC+0T8Ui6DjlzYf3cvOdSte+0li9P8zPNTre5D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R03MB1013; 31:JXLywJWZNBzhT/d9Z/Ydycrs0vZCm1GttWipPixBtKEgu+ZcC9JZ3PPQMLCk7Op0Z5kvaFZ0MOTdXf9kHnt4MVhHpPiLVAQ57RwLI/woLeAtR4Rkfm3rt7p2NNvE8DEkQFbQyZe89IBR8Tt5otkjXwnd2q8jRyiko/K4xpVnbMCVHrX6X1fEdKDdg0rhsE0sa0BBRYxN7oTBV9hELGcH2yV5SlUm4L/L3ptxl8gI2f0fd2DggSaWf1SNRM4/KFyDpvR5EvRgCDfAqnwkeya4iA==; 20:ctbLOf7HwFsTFNH59s/Hkfxit8dbfpzRoqES9kDvlpMC7js6g4g2phG1hzKGuV/vSxHJ6IlwvGB/XXdnySHq2K5ULEAEquy7SW27JttwRWCgWFwPSOoNj750JAA0s5E0jeM2Z4uKxzXxUHQCB+IZwuI1npknzAbE3uR7hLbRyRXybFCuQBPPfc6Mk/Nz/9k+tJ5MMxO0avNCDP3E9eYuyttpDoRKu3XHI6GbmbJa7rMMufbJGmeEale3JGntKSyDeKF/iUy3bx6U6EG/hDxZEbS3OIpJU22z1tc64YsD7xv0bR4kqcvwSxArYV9Ks8GNu2puG6DcCqHSMlHoHHkz8d62G3gAAl9rAhiI4/WDCkegK1cJUKXFV8Dhwb1Mo5qGwgkbSOmRn53frb5xkLtTWdfzyiCFRM2sXYUlp5IsrC0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6072148); SRVR:DB5PR03MB1013; BCL:0; PCL:0; RULEID:; SRVR:DB5PR03MB1013; X-Microsoft-Exchange-Diagnostics: 1; DB5PR03MB1013; 4:hK//lNmjikL0OAK886671sTeUVwf79PdJl6ReWu4oa8UcFqlKW4QVHpH2GB5xYWT5I1KGyiv1b4QEkZGL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V73RhbpuuEK9yGda6pL6k7vG/cKXd6VRae6CDOGLNp1arqJJAW/QT4D/5JGUYlI27BY8QHNKW6SjPRNKdtVSG+PBk7nuM9rlp9fHn+2SyxECzJ7xXDqklsOm0KcQSWu+hqmvhC1M12bYfdHQzWJrJEp5cK1SkRaWC0f2A=; 24:S/lGIPomm+cy2Hgs2jjl+7xZz2bRSDSmrRZoOlpfY8OZxgRFVTA3nc7HgRYI6Nw+rWw4BzS4BnUm58Sr3SHICom0XWF/poBfkFArSvw8mGM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR03MB1013; 7:HpzqP49RkGNOtb2FQM03jGfV2GdO+XytcAmDkpegaowkPvkTIfAli6mTJ9wRuVgj6QQ0XdpCFNZD7+9BAQxZscdMAy9ujmkbhHRo/s+PtH2qUBnBLprKKR7THyNyeBGG0DaaPxbYCsQXfgBSUf9prC+ytFTf1sWCFETfhRELC0tXQNUJ/7UlNNYmfxEiB/THV2O1wkWCISaQ0EfFJoreyL/VrH7nkejwjNo2074K/LzmkTSUbuJmNXFqsuYyA7y5iGwK2BwV7xskO4NDMt/JasweobGA/LIjCmmBMSsfiPnyZBkgy5XQWLYLtLun231Xl7SlFW/Uh00gs3xjHiOB+Ovyt0KTDxa1VlV/7irzvhrEuvEvvaZI9KonNMJB/BHQao/3jgncIwpagh9SdbCuKGzmd91e736tf7nk9qLIiBunQETNyiXNocE0Q9CN2FhbGn54dyTb/xd6P6yjN2oukg== X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2016 14:12:42.9190 (UTC) X-MS-Exchange-CrossTenant-Id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b41b72d0-4e9f-4c26-8a69-f949f367c91d; Ip=[91.120.43.201]; Helo=[owabud.epam.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR03MB1013 Cc: julien.grall@arm.com Subject: Re: [Xen-devel] [PATCH] missing vgic_unlock_rank in gic_remove_irq_from_guest X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Stefano On 09.12.16 02:59, Stefano Stabellini wrote: > Add missing vgic_unlock_rank on the error path in > gic_remove_irq_from_guest. > > CID: 1381843 > > Signed-off-by: Stefano Stabellini > > diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c > index 63c744a..a5348f2 100644 > --- a/xen/arch/arm/gic.c > +++ b/xen/arch/arm/gic.c > @@ -205,7 +205,10 @@ int gic_remove_irq_from_guest(struct domain *d, unsigned int virq, > */ > if ( test_bit(_IRQ_INPROGRESS, &desc->status) || > !test_bit(_IRQ_DISABLED, &desc->status) ) > + { > + vgic_unlock_rank(v_target, rank, flags); > return -EBUSY; > + } > } > > clear_bit(_IRQ_GUEST, &desc->status); > > would it be better to do it in the same way it is done in gic_route_irq_to_guest() just above the patched function? Something like: diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index 63c744a..a9bf5d9 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -181,6 +181,7 @@ int gic_remove_irq_from_guest(struct domain *d, unsigned int virq, struct vgic_irq_rank *rank = vgic_rank_irq(v_target, virq); struct pending_irq *p = irq_to_pending(v_target, virq); unsigned long flags; + int res = -EBUSY; ASSERT(spin_is_locked(&desc->lock)); ASSERT(test_bit(_IRQ_GUEST, &desc->status)); @@ -205,17 +206,19 @@ int gic_remove_irq_from_guest(struct domain *d, unsigned int virq, */ if ( test_bit(_IRQ_INPROGRESS, &desc->status) || !test_bit(_IRQ_DISABLED, &desc->status) ) - return -EBUSY; + goto out; } clear_bit(_IRQ_GUEST, &desc->status); desc->handler = &no_irq_type; p->desc = NULL; + res = 0; +out: vgic_unlock_rank(v_target, rank, flags); - return 0; + return res; }