Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1869191rdb; Mon, 9 Oct 2023 05:46:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE84uWceiYG++ol5V+nINvKQZy25IRV1J5r8rVy2byDB7R6iqZ0iiloBZqh+UwzOu0fivyq X-Received: by 2002:a17:902:bc42:b0:1c7:41ed:1bb with SMTP id t2-20020a170902bc4200b001c741ed01bbmr13112663plz.62.1696855618116; Mon, 09 Oct 2023 05:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696855618; cv=none; d=google.com; s=arc-20160816; b=exqn56EeMr72WPa7hyu0eqMWn7bZY3Eq4XTnN4soeR+ywuage84rjzsFQZJfo7LvTT FiyDU70J6kpRqmWZYOJfibUAVIQzjC1PV4XKfGiX2kfiyMpn2KCm2WA5i/cEi9orj1vf O5BjVy23NI0Co46GG6UqMakd6movE/uUbgv+OVxty0+179dR+3tGXvRWrAyj+Ohc8gU9 j9ul+xKR1cCOWeBkU4pQxOlrulOQaDyxgCQ7N0x1WCE9kZlgNSyrbzm8fvwfmaqZB8n7 QUWU4mq8bNN9npxEYCSrPM+EgyUu7HPurkFgN+eijczCAhmGD//YvrS0pF9Rgcorroi8 ocvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=46YmJF0NCAJOq27FzOxAehU5zeb/ItCo7qFVBmNntgE=; fh=aBqZUzzKEkUb7VaITYte4orLceUjL3ahUjrVkqNBH30=; b=WkJzrA9II4mctEGMzwsI/8ntRRVvQOCmiWHVSBipS9MDCWuQpgs2fXmm/6WZ3eFTmD C2hIQ8UeVsyeurlGNGoDYqWRpS51Y2zVZvPKO0mRShYqUuz1iJ1CuuUMWRf48qk03o6P FFPGuafeyGllyv+4BreATprlvyh/mYMlyYEEUVy7CQtvkDgu80kMhZBsGT1whqQqWcfO pjHZ6cMgLaZGd5NjH9OWy+niJ5s+amS5foD+T2OELIUrjd5WSicjjvzG4Wolp0RhRQ+t PulZkiaBwazh40pjfrgB8EUqF9MfuEBSvGTGlk2J9Q3Uwb8akaHHT1G5fC8dnEG/+f1b l3ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U0idYfHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id s9-20020a170903200900b001bdc78deb5csi8938223pla.398.2023.10.09.05.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 05:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U0idYfHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5522E803984E; Mon, 9 Oct 2023 05:46:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376454AbjJIMqr (ORCPT + 99 others); Mon, 9 Oct 2023 08:46:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346553AbjJIMqq (ORCPT ); Mon, 9 Oct 2023 08:46:46 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 043B293; Mon, 9 Oct 2023 05:46:45 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-405524e6768so43557275e9.2; Mon, 09 Oct 2023 05:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696855603; x=1697460403; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=46YmJF0NCAJOq27FzOxAehU5zeb/ItCo7qFVBmNntgE=; b=U0idYfHZhmJ1BL6J8aUyNRKpgG92BmTZ3297EOLw0DVrO9vx1jlwzk+colJtvkGsMU hakEXYmQSLp7dwPu/+XcvvHimS5zMkbSElgoKsWvxsLPADX26LpCIgRQd5mpNpMy/JQd jUcXdjwB0rYFl6BloMh0pQVzmkyu1PKbFug10vKWOVDxIL3xGYK14A7bSxk4uxm8AKRs IDrvwhiHodwZ2omQhLa//P340EIZPXyUXeb+cURP+CkmVMIRd8Wsq1AbgV9ac/o/5NIn Rp0GhAnluSI3dul8iHmzteTJMWI0ohwG1m0N7OxngIt0kAMW6YG4YxibPHi/bwfSPioi ddew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696855603; x=1697460403; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=46YmJF0NCAJOq27FzOxAehU5zeb/ItCo7qFVBmNntgE=; b=oOlxfpExucEpqOTlnSbwBGM2mmIJLkMcRPDXvmXjEh6/u8l+wpDmJYo7zfaGf8bMW2 uZyh4Gwo9M1QLckFQ/4pW7hmxCLJF2DvGjbEPH0yFVOiuCRMM8RZz7+M3nLnBXuei4J6 AgcbsfSkPf7rv/oNj59iJE40sZH16Bkv2/FN79O5SBRKL2xXgI7sF8iEShaL4aN8tcJG Hzm++4RRiSMRqULu4AvFhkPLX2/V/tRxhni+ePcDWFnAYg2gASbpmDz3SpxXx1japvDa DtT14vZyrfyoz324Vj15tgloo/8vK0tnGQP7S82m5XygeQtGpon551wYUi6cbWGSWKDm dzWQ== X-Gm-Message-State: AOJu0Yyq+LQ9cayLpI6241UMz76xMKunQVXSDWyxAEZy8rDsXYjDibFL ArP+f4KJRhmsldB9KZW5Y1Usf6jlPElUKg== X-Received: by 2002:a7b:c5c9:0:b0:403:272:4414 with SMTP id n9-20020a7bc5c9000000b0040302724414mr13535879wmk.0.1696855603106; Mon, 09 Oct 2023 05:46:43 -0700 (PDT) Received: from [10.254.108.106] (munvpn.amd.com. [165.204.72.6]) by smtp.gmail.com with ESMTPSA id c11-20020a7bc84b000000b0040648217f4fsm13400617wml.39.2023.10.09.05.46.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 05:46:42 -0700 (PDT) Message-ID: <0eb8750d-79c5-4508-ac36-7f91bc8cbaf9@gmail.com> Date: Mon, 9 Oct 2023 14:46:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH AUTOSEL 5.10 13/22] drm/amdgpu: install stub fence into potential unused fence pointers Content-Language: en-US To: Greg KH , Bryan Jennings Cc: sashal@kernel.org, airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, olvaffe@gmail.com, amd-gfx@lists.freedesktop.org, alexander.deucher@amd.com, stable@vger.kernel.org, Lang.Yu@amd.com, christian.koenig@amd.com References: <2023083119-phoney-ascend-d4ec@gregkh> <2023100750-unraveled-propeller-3697@gregkh> From: =?UTF-8?Q?Christian_K=C3=B6nig?= In-Reply-To: <2023100750-unraveled-propeller-3697@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 09 Oct 2023 05:46:55 -0700 (PDT) X-Spam-Level: ** Am 07.10.23 um 11:50 schrieb Greg KH: > On Sun, Sep 10, 2023 at 03:43:01PM -0500, Bryan Jennings wrote: >> This is also causing log spam on 5.15. It was included in 5.15.128 as >> commit 4921792e04f2125b5eadef9dbe9417a8354c7eff. I encountered this and >> found https://gitlab.freedesktop.org/drm/amd/-/issues/2820 while researching >> the problem. > Confused, what should we do here? If this patch was backported to even more older kernels then please revert that immediately! This patch was part of a new feature and can only work correctly with a bunch of prerequisites. If you don't have those prerequisites in your branch then it might actually cause random memory corruptions through device DMA. And we should probably talk about why this patch was automatically selected for backporting in the first place? There is no mention that this is a fix or should be backported in the commit message or patch itself whatsoever. Without the WARN_ON() which started to spam the logs that could have gone south pretty quickly. Random data corruption without any indicator what's causing it is not really funny. Regards, Christian.