Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 171A0C28EB4 for ; Thu, 6 Jun 2019 10:58:21 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id A5CC5206E0 for ; Thu, 6 Jun 2019 10:58:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5CC5206E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 056434A4F1; Thu, 6 Jun 2019 06:58:20 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id htQJ1oD9hZLU; Thu, 6 Jun 2019 06:58:18 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id CAAF04A4C9; Thu, 6 Jun 2019 06:58:18 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id B89824A4C0 for ; Thu, 6 Jun 2019 06:58:17 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 899hCSg75JIG for ; Thu, 6 Jun 2019 06:58:16 -0400 (EDT) Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 52CF54A331 for ; Thu, 6 Jun 2019 06:58:16 -0400 (EDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9BCF4A78; Thu, 6 Jun 2019 03:58:15 -0700 (PDT) Received: from e103592.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8108F3F690; Thu, 6 Jun 2019 03:58:14 -0700 (PDT) From: Dave Martin To: kvmarm@lists.cs.columbia.edu Subject: [PATCH 0/2] KVM: arm/arm64: vgic: A couple of memory leak fixes Date: Thu, 6 Jun 2019 11:58:06 +0100 Message-Id: <1559818688-20638-1-git-send-email-Dave.Martin@arm.com> X-Mailer: git-send-email 2.1.4 Cc: Marc Zyngier , Andre Przywara , linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu While using kmemleak to verify that the KVM SVE series wasn't contributing any new memory leaks, I hit a couple of existing leaks to do with vGIC irqs and the vGIC ITS that appear to have been there for a while. See the individual patches for details. I'm not familiar with the affected code, so I may have overlooked something. Tested with qemu on ThunderX2. Dave Martin (2): KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy KVM: arm/arm64: vgic: Fix irq refcount leak in kvm_vgic_set_owner() virt/kvm/arm/vgic/vgic-its.c | 1 + virt/kvm/arm/vgic/vgic.c | 1 + 2 files changed, 2 insertions(+) -- 2.1.4 _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm