Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4646892pxy; Tue, 27 Apr 2021 09:29:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxH+WrL1FejU6tXAIN07OFrM6fRUBUx72YzJ9iufyPlbo/s8IGx5IjaDryZ33MGI9cYxCY1 X-Received: by 2002:a17:906:b353:: with SMTP id cd19mr24099981ejb.253.1619540984712; Tue, 27 Apr 2021 09:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619540984; cv=none; d=google.com; s=arc-20160816; b=O4XqRYnYhDxBnbDNw6zFJ/c5w0sOyMOWrqEvJA2uVc40SGZuUWNlOSqXRPujUNrhqx oLwYFc2CU2wWTLVIAsG5dCU9KTjHiCsfVewpO1SYhpC9PeMewhN9H2GomQTPyuz/Q54K dk5f4z2YTHlobE/HFzMDppIy4tahqgdkpxEDZPcqZXCG4IBYXoJYrmmcZNVNOIQ3w6lD W5PQzrFqZc9MvcBuIJZZNkpJur/JKp3uO8vFTtCt+RizOpKXKt4Z4wSZ1hk/FIpJGhx1 wPJeC6Q0V/XRq93QW4jKPVVJw4w58z2vvBTA59oEtzvVa0O1EtHjS5JwajxvebMyyx/x 0vSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=I34wLyEbmCOOu8EAgeZOfUW3v24eVQjf7kgXgPJDoiw=; b=QyNiEfuB1TjbYRXmHIDlQjUWa28fUhuBeJHiKTKQO805Y2l9WDMVPJvr0PTiFztOdo gQjQlZab8DiV8D4cIsd9/sQNrPv4AkmUDUCCqHycGNPtbycwWn8+rEQ4D2xciKIQQJWV G7Zb69J0IoQA40Nio1mQjv4CG0L7Ot07HofuYNkkceZlHtI4diG4txZd/8sOh5PkQjjY 1S8xH6vzzAUWdk3KBCZOzSFMR9Xo/0tH4DQ4jqBXgnknrKNCyn3JLr46SPlDzOOZGfK1 SXeBKnPCdPXCKXcXXRWYTRgC0J+EY/PcxO3PrPQcn29tHLFv3b/rYEy/eY8BkNM3C6sa jahA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=njazE24z; 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 r12si1284781edp.101.2021.04.27.09.29.21; Tue, 27 Apr 2021 09:29:44 -0700 (PDT) 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=njazE24z; 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 S238962AbhD0Q0A (ORCPT + 99 others); Tue, 27 Apr 2021 12:26:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:52490 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237939AbhD0QZJ (ORCPT ); Tue, 27 Apr 2021 12:25:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 31ED061027; Tue, 27 Apr 2021 16:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619540664; bh=Q95Gjbj37i3t5cGK6a5zR4v9UL3HcYVi08bCpryPZ7I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=njazE24zDymQtoLVM1Z3pQwdVt5BNYFvRcWw/uJz2JOYMVQKSyBTe6t12jsHqqg5H V9JEFUmwWY+h5sXGIWGlVPNanv99G3sttw+VEjG1lDDYfm0jqD90DSb3nwgkH0GOlL Ds53baoDTK/Ein3/lD70Ad9JTEvHmzRV6tabaLw4= Date: Tue, 27 Apr 2021 18:24:21 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Aditya Pakki , Ben Skeggs Subject: Re: [PATCH 017/190] Revert "drm/nouveau: fix reference count leak in nv50_disp_atomic_commit" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-18-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-18-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 02:58:12PM +0200, Greg Kroah-Hartman wrote: > This reverts commit a2cdf39536b0d21fb06113f5e16692513d7bcb9c. > > Commits from @umn.edu addresses have been found to be submitted in "bad > faith" to try to test the kernel community's ability to review "known > malicious" changes. The result of these submissions can be found in a > paper published at the 42nd IEEE Symposium on Security and Privacy > entitled, "Open Source Insecurity: Stealthily Introducing > Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University > of Minnesota) and Kangjie Lu (University of Minnesota). > > Because of this, all submissions from this group must be reverted from > the kernel tree and will need to be re-reviewed again to determine if > they actually are a valid fix. Until that work is complete, remove this > change to ensure that no problems are being introduced into the > codebase. > > Cc: Aditya Pakki > Cc: Ben Skeggs > Signed-off-by: Greg Kroah-Hartman > --- > drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c > index 1c9c0cdf85db..8ae298ab1cfb 100644 > --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c > @@ -2320,10 +2320,8 @@ nv50_disp_atomic_commit(struct drm_device *dev, > int ret, i; > > ret = pm_runtime_get_sync(dev->dev); > - if (ret < 0 && ret != -EACCES) { > - pm_runtime_put_autosuspend(dev->dev); > + if (ret < 0 && ret != -EACCES) > return ret; > - } > > ret = drm_atomic_helper_setup_commit(state, nonblock); > if (ret) > -- > 2.31.1 > Looks correct, dropping this. greg k-h