Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3663353pxb; Mon, 24 Jan 2022 14:47:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxn7x+3RIYs6atYr4h7rkv43I2mnGI71mUAuGSUAbVbF2PwBG9Gd611SqGBem7f2PDowNZu X-Received: by 2002:a63:4e58:: with SMTP id o24mr13103100pgl.525.1643064454357; Mon, 24 Jan 2022 14:47:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643064454; cv=none; d=google.com; s=arc-20160816; b=I7knsx2iOl0RtzqeUVe0vL/gQZoseQAtx9mT4VOYbfLqAm0SdYHvrn5yuxqGnIl1Wx UCOGWSxGz10i6PdOdbWvEovsAbXuLtkYHq8aKg8v0JD9qelGMGsAsSchugcvVvKXDHJu /moyxiIJNaFK5OXNQAyR2Q0oeCRBfFW3mjo6zdgVWxQkTKRg9oyyo8bvYJpjFotnyqF0 CYJ/2JfGz9FXqpMKB+layM48U3OzxQ3imPMjHBUoTKIX9mR2mn86gyD3Y/TnOlwqTOJ6 29fNr6vPRPVOxboDQ/Phw3PM4DHSeW9Ezl8EKzRi3UcTJYNYf9TS1aEEMV4ddyrW6rF1 4hPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=sz1uJf06byRh/URHw+Zy93JM57aXJST5q1JlRe4Rllw=; b=lNjprYuak9PNNrS2OebPmg5eum6+rVuyhrxdF6HeGlzN86Z0OAgf76KQd+9PcFF54i SKKEjRT0bxnyMMoO+MNnoHn0LmgBVfrVhLBSlgnlTSQTovBAotRfFVorZy0Yw3MO2ORH YHDAwnuuehu0OSEZditnvdweEDQPSgbdDk4pYs0RLUmCpXxsse2jMR1RiVlh6Fd8kUE7 bj8LFg/VQAtWuGrNNy4k9CVZjUKxZQoZY2N3SbcT9x0v2PW7husCsW/n5yXmrT/yoL7r BWwwdW+zYjaTfQjMDpzjZftDg6YnPivv2IOKga/bqqflToNFIO1YdgtwL+VCIh3Xr+0V p+TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0u8Uw0WM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si1842178plo.5.2022.01.24.14.47.23; Mon, 24 Jan 2022 14:47:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0u8Uw0WM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1837867AbiAXWp2 (ORCPT + 99 others); Mon, 24 Jan 2022 17:45:28 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:56880 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1456943AbiAXVkc (ORCPT ); Mon, 24 Jan 2022 16:40:32 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6D79B61469; Mon, 24 Jan 2022 21:40:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A861C340E4; Mon, 24 Jan 2022 21:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060430; bh=MpuM4LnY9B+O0T3OuYSyok+AoWxmtiacIkWoare4NoE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0u8Uw0WM+bjxIerS49FlRfsRVS0GAzrZpHoz3rCtHPvw7emkxFHo1nppH3xUjpTJ+ 2cyuDV5aTddYM8Jnd7YPuMPlJaYW5fCTJfF64ukpTNPkQnk93vYgT1cciklRKrQrcz fu1vHYo664Bj3G/mEvpzzAEn5bzf7rE0ilPJJjJs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Felix Kuehling , Rajneesh Bhardwaj , Alex Deucher Subject: [PATCH 5.16 0902/1039] Revert "drm/amdgpu: Dont inherit GEM object VMAs in child process" Date: Mon, 24 Jan 2022 19:44:51 +0100 Message-Id: <20220124184155.609507835@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rajneesh Bhardwaj commit 8b5da5a458c95ad49571a6a6285800bf13409616 upstream. This reverts commit fbcdbfde87509d523132b59f661a355c731139d0. Reviewed-by: Felix Kuehling Signed-off-by: Rajneesh Bhardwaj Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -264,9 +264,6 @@ static int amdgpu_gem_object_mmap(struct !(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) vma->vm_flags &= ~VM_MAYWRITE; - if (bo->kfd_bo) - vma->vm_flags |= VM_DONTCOPY; - return drm_gem_ttm_mmap(obj, vma); }