From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 6ADC8C433E2 for ; Tue, 15 Sep 2020 22:14:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 20C7420809 for ; Tue, 15 Sep 2020 22:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600208064; bh=lhrLVWfuKn2BXppu3oqyjQrDnTIcYKHbBOmuXDEUnZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=olM5/evwGFIvgPthHLAfCNVrV7YYrH6eqLKOGPjvSa3bDKgjwT4gXfn2efDiA0Q3Q EeGMlxF0uz/UaGSMyeKKgf7wF9Eal2RfuUu/btbk/Mp8BImpmUeeaQ0mh5S9AMcnL8 plDLc3zYukrHyaYszuSukmXklauVh8/L3k9WGYJc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727577AbgIOWOU (ORCPT ); Tue, 15 Sep 2020 18:14:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:38892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727747AbgIOQi7 (ORCPT ); Tue, 15 Sep 2020 12:38:59 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 98656206B6; Tue, 15 Sep 2020 16:38:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600187911; bh=lhrLVWfuKn2BXppu3oqyjQrDnTIcYKHbBOmuXDEUnZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MucNqneYIEnWPDKekHUhJ6utUM5R+mdliD7hXYbBOVmOenDgxPGzAcJHK4C8yXzlU RWPutBTl1B/TNQkqD1mxqE8/Sm82pfdPZI2f1GQtqVMylBHl7cUqJovA6QHlgvCq6m N8GSY6QVGj0pYB+S2bWyo1TMh5PnQTAbjDMH3HQo= Date: Tue, 15 Sep 2020 18:39:07 +0200 From: Greg Kroah-Hartman To: Jordan Crouse Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Rob Clark Subject: Re: [PATCH 5.4 105/132] drm/msm: Split the a5xx preemption record Message-ID: <20200915163907.GA35563@kroah.com> References: <20200915140644.037604909@linuxfoundation.org> <20200915140649.400517956@linuxfoundation.org> <20200915155439.GA22371@jcrouse1-lnx.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200915155439.GA22371@jcrouse1-lnx.qualcomm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 09:54:39AM -0600, Jordan Crouse wrote: > On Tue, Sep 15, 2020 at 04:13:27PM +0200, Greg Kroah-Hartman wrote: > > From: Jordan Crouse > > > > commit 34221545d2069dc947131f42392fd4cebabe1b39 upstream. > > > > The main a5xx preemption record can be marked as privileged to > > protect it from user access but the counters storage needs to be > > remain unprivileged. Split the buffers and mark the critical memory > > as privileged. > > > > Cc: stable@vger.kernel.org > > Signed-off-by: Jordan Crouse > > Signed-off-by: Rob Clark > > Signed-off-by: Greg Kroah-Hartman > > Hi. The MSM_BO_MAP_PRIV feature was added after 5.4. > > Since we are pulling in 7b3f3948c8b7 ("drm/msm: Disable preemption on all > 5xx targets)" preemption will be disabled in the 5.4 stable tree which is enough > to cover the security concern that this patch helped address. > > This patch can be dropped. Now dropped,t hanks! greg k-h