Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp780845ybp; Fri, 4 Oct 2019 05:00:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDkbUMMnh7cJGXzgSXrCneugeznZ5L4XcM0rzvS0lNrGqjTlYCHsVDi8cVSgrK468hnX9s X-Received: by 2002:a17:906:16cd:: with SMTP id t13mr11993653ejd.153.1570190442767; Fri, 04 Oct 2019 05:00:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570190442; cv=pass; d=google.com; s=arc-20160816; b=MEo6brkHSzJoOb3gn1og/cQEzLPni424vgbOHWt7OxFKMNswkfTb7e1FGABwF6ZM+r lBv73nYXuGGTidxt5YWD/+fYMByalp2r3KUlSgezIcKL5bCIrk7NKb1JLO+PELkdLpeA q2s4hxhBhFau7tODRiKYxqT0Qo0nuvKYFgAC9clxWd+7bye69o7n1M7/z9WYrUu1WFkG NciD0YF4AMnWF5K+pEiD7p3vAqNoxgtQzIeh4grzDF5GEGU6QeerQkO6mi4LR1AO2+Vk IXIKC3xVxHx8xlEo6uSAZYISm7HoOOhYr7p4mZHc8Qrr2rqb5XeFvE67OtqS21rfXgsE b6sQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=m5cqpylDFTjT6jQFZSQHjrd0ye2RN8hQIx1KZNekZV4=; b=vEnGbG+cImlDVvuJrG+4Y56bhN7StQXCASmuHWsNDWrnvMXtX71JYZy6NFpz5k5m+C /u9cxYvU5GgkNqqevUTZJ3I5ekuJ7v3tnfBcYFyFb5mTq5Nj6WLD4Q1sl7jVAtIrmVyx IHr/4+MhySddAmi4kT1wsirOV3kiqnd/nGDMd1HBwAMK8PZ3tIgaiCKPU/kLuJ6aXcQ7 qINze0CuwRiHrPbD97d6cUIh+jjgN6YoTPgEK/fxEZ/Ion6Pz/cK/w+hmDdT16h0Jh1J htD3ysoqP9R3ShJVOWV4NYJ3vQ+85dW4XufjoxEqD+am1BlkFiSmZfeYKpKTofaT+KEs TbkQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=KOq60PJq; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v19si3506980edm.103.2019.10.04.05.00.17; Fri, 04 Oct 2019 05:00:42 -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=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=KOq60PJq; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730244AbfJDLan (ORCPT + 99 others); Fri, 4 Oct 2019 07:30:43 -0400 Received: from mail-eopbgr750054.outbound.protection.outlook.com ([40.107.75.54]:17820 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725775AbfJDLam (ORCPT ); Fri, 4 Oct 2019 07:30:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nWtkYzQPazJMDxS8qwbIPw1L/HMrs8cNxMHVplec512uqLu6SeSYsYLdjsiY/SsHWHhUV1oNJW11fEsSx5dqD74JBfUlyu/jiraEr4KXAIINPWOvfbGf6h7uT/l91cMEttBkVyGQEnCUamSLEGSTv5neVrb2BXMFUBR7wSzwhjjZAgDVJ/jqLaZnkFlQUINgX2mrR582LGSjUxNx9V7SE3PBN18GkgZFzo0+HegzLBJCw7aIytii+Rky8BDdGDtRm4ANibNFAJmIsjMB1xUWlUYHR+3OKhKE3iHWZn9/g6gY0TcTTWlmeREdlb5fc64n/lO8Rr+0YmvN8mtuQx7zBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m5cqpylDFTjT6jQFZSQHjrd0ye2RN8hQIx1KZNekZV4=; b=NdsxclNCUzN3Xc9utnSt6YHdNn+7FOUnSWgexUfll7IwfKdQyttdU5EPvxclOjMJp2GRw9QKZTqCuylvQzUODyeMn6zt44Lmv753p+Wqvy+WAnLLU6Qk+zG4oP0m1amECbpIBtXZfRL9pT/T0PMjhhHcMIpNhqhZWbYWiPXm9d99MKIPPTRFgs5VZtX44IrClKqhBTD7ZcsDzYQjrog3vPWnomH9nMNC+1c75f+xe/tqz6ptOCpIAYE7i+ez24UQaY6rKYHCaHTRURWlFy8xrP8ZzFNOgZZbdv28J88K2/K79VuRuHUZPE+auu7+nJrYLPTTsMpSTlXwG8BwlHEyPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m5cqpylDFTjT6jQFZSQHjrd0ye2RN8hQIx1KZNekZV4=; b=KOq60PJqP3Ca7dWmDtLmWBB2oa1x+dyDRPTJJs3nYJzUCT0GDd0H5htfzvJoduyiABg/s80qNMEeoBoXCFyrWlWakzJqMtr7JPTBNclBc2cZRgKQPfauQT76V3/N4JkCv6+kGNop4OOje9/72GNuUOL183uTQAPaZCFF+7k9rec= Received: from DM5PR12MB1705.namprd12.prod.outlook.com (10.175.88.22) by DM5PR12MB1868.namprd12.prod.outlook.com (10.175.85.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Fri, 4 Oct 2019 11:30:39 +0000 Received: from DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::7428:f6b3:a0b1:a02e]) by DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::7428:f6b3:a0b1:a02e%10]) with mapi id 15.20.2327.023; Fri, 4 Oct 2019 11:30:38 +0000 From: "Koenig, Christian" To: "Das, Nirmoy" , Nirmoy Das , "Deucher, Alexander" CC: "airlied@linux.ie" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drm/amdgpu: fix memory leak Thread-Topic: [PATCH] drm/amdgpu: fix memory leak Thread-Index: AQHVepz+9tzYVi1V60uU+pu6QVo02qdKTAYAgAAEjYCAAAOrgIAAA5GAgAABO4A= Date: Fri, 4 Oct 2019 11:30:38 +0000 Message-ID: References: <20191004101746.19574-1-nirmoy.das@amd.com> <62ea397d-2847-04d7-3c50-6292255845c5@amd.com> <32afa408-0968-2d1a-5add-593907636592@amd.com> <4d665d18-2109-675e-dd69-c15bd0b2a011@amd.com> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM0PR0102CA0016.eurprd01.prod.exchangelabs.com (2603:10a6:208:14::29) To DM5PR12MB1705.namprd12.prod.outlook.com (2603:10b6:3:10c::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 435770e4-68bc-4bd2-6f2b-08d748be480e x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DM5PR12MB1868: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2276; x-forefront-prvs: 018093A9B5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(346002)(376002)(396003)(39860400002)(189003)(199004)(65806001)(65956001)(6436002)(256004)(31686004)(14444005)(81166006)(81156014)(478600001)(8936002)(66446008)(64756008)(66556008)(66476007)(66946007)(31696002)(2906002)(5660300002)(14454004)(36756003)(229853002)(6246003)(6486002)(25786009)(76176011)(58126008)(305945005)(6116002)(52116002)(99286004)(86362001)(486006)(386003)(6506007)(53546011)(71190400001)(71200400001)(46003)(54906003)(102836004)(2616005)(110136005)(476003)(6636002)(7736002)(316002)(446003)(6512007)(11346002)(186003)(4326008)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1868;H:DM5PR12MB1705.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JwEnp2ekLzStubPsfI5KlROB5vodF2CgFAVZJdlCQPIl2y0qpGfMafc0uEhOG0jm8RJzBaqPEMaADgxzGYRXTHdmSFpLLEkY+seWQn2EDZPCdhunbaYdUFN5A4bahqWZIYq7K/cHYC8FX33a/3gyl/k7MvL0wjUagyS0T6twiyNIG74cwz5U2cuaTgV0oe4VIlLs045UObKnkv/N20M57zRSNYaCPXovM16R/ES6cObsINrs1YsX5SHnBocps+jlM7hx2reMkgOO6S7fcaVIwMkdV7sKhb9etsSP/hqX1q3KbfeFE9kQ6rPfuB7iKvIutarr1UIytagURfoFDs3k6U2QpssXVO7i+M84rrNU0o7f7fwyfshlyU6jbs5CVdhaeW3GuJLLZjxY25MzuYHh9PEvF6yhPqdm6a6lX1Sr/Dc= Content-Type: text/plain; charset="utf-8" Content-ID: <289D53C2BBB0934D828510835D5F60CA@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 435770e4-68bc-4bd2-6f2b-08d748be480e X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2019 11:30:38.8635 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: L2fTRr1JmBGpzJIsEJB2ijASKVGCzVOkh/BEIPqoG+E16fMAcOu8nvN3fNhd9bzh X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1868 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMDQuMTAuMTkgdW0gMTM6MjYgc2NocmllYiBEYXMsIE5pcm1veToNCj4gT24gMTAvNC8xOSAx OjEzIFBNLCBLb2VuaWcsIENocmlzdGlhbiB3cm90ZToNCj4+Pj4gTkFLLCB0aGF0IGlzIGEgZG91 YmxlIGZyZWUuIFRoZSBibyBsaXN0IGVudHJpZXMgYXJlIGZyZWVkIGJ5DQo+Pj4+IGFtZGdwdV9i b19saXN0X3B1dCgpLg0KPj4+IFRoYW5rcywgZGlkbid0IHJlYWxpemUgdGhhdC4NCj4+IFdhaXQg YSBzZWNvbmQsIHdoYXQgZW50cmllcyBhcmUgeW91IHRhbGtp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