e@vger.kernel.org> List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-DKIM: signer='lankhorst.se' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: lankhorst.se] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 This makes the irq handler safe on PREEMPT-RT too. This is similar to the i915 commit 8cadce97bf26 ("drm/i915/gsc: mei interrupt top half should be in irq disabled context"). Fixes: 87a4c85d3a3e ("drm/xe/gsc: add gsc device support") Cc: # v6.8+ Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/xe/xe_heci_gsc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_heci_gsc.c b/drivers/gpu/drm/xe/xe_heci_gsc.c index 2b3d49dd394c0..495cdd4f948d5 100644 --- a/drivers/gpu/drm/xe/xe_heci_gsc.c +++ b/drivers/gpu/drm/xe/xe_heci_gsc.c @@ -223,7 +223,7 @@ void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir) if (xe->heci_gsc.irq < 0) return; - ret = generic_handle_irq(xe->heci_gsc.irq); + ret = generic_handle_irq_safe(xe->heci_gsc.irq); if (ret) drm_err_ratelimited(&xe->drm, "error handling GSC irq: %d\n", ret); } @@ -243,7 +243,7 @@ void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir) if (xe->heci_gsc.irq < 0) return; - ret = generic_handle_irq(xe->heci_gsc.irq); + ret = generic_handle_irq_safe(xe->heci_gsc.irq); if (ret) drm_err_ratelimited(&xe->drm, "error handling GSC irq: %d\n", ret); } -- 2.51.0 From - Tue Dec 09 21:55:59 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id gCMGH5FEOGmLHA8AYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 15:47:29 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 15:47:29 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vSzw1-00000004PQL-16TJ for hi@josie.lol; Tue, 09 Dec 2025 15:47:29 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 3992A301597A for ; Tue, 9 Dec 2025 15:47:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0309A2DECBD; Tue, 9 Dec 2025 15:47:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="WXhioQas"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="FHLYeMMO" X-Original-To: stable@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D08BD2F5A34 for ; Tue, 9 Dec 2025 15:47:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765295246; cv=none; b=NAUmn7R2TPl4SaLw9DrAMStHN1g9pFMOPuZmGxnCmaOrS8Xh497OKKe3av2kifuQR8FSYW1ZCrLbR2yZk578kSAe+y7t4zQKpuSNueVhYP9jVJLAzIN1XaRCwhh/0Hj3qMOOlv/FqglEw228gq56eTE0wkVcBsPmd5MjoCYZwiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765295246; c=relaxed/simple; bh=lAA44fPZ+EdgJuey2t5vEPwQ7JCLgJhCXwin1+pD5es=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ib2T+YCFqG5Ho7rX0GRtW9+NvJPoFlYVfZCAfo6U8HIrcHvdZZjnnHDTicvBg4Jj3vHuUpdEhy92pqaieUvV7XH7QzQA2FqNSSsK1+vu7jIblHA2xH1PjIRU88Ne1hhe/jAZGL6FknAsV8GD3Rv6/8uKxYqmDpUR1gdo4PhU4y4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=WXhioQas; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=FHLYeMMO; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5B9FhXbD340000 for ; Tue, 9 Dec 2025 15:47:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= NDHkj3CwoCQL6wJWOKPjGCsfcQFkvee6eMCgSP3pCQc=; b=WXhioQasmjcCm9iz Sn7wLcl6RiRm/Dl6N9GIRF4mHJckZqbq7ig8uw5nxiZ2bfKo+07RigJmnXisssN/ yaDAYxYFgmM0D2IvV8blD3Tk/V3yV9y8isrbcb6agxemT29NmtnnGj8Df/eBawAO 81ZZWW+F1Aiin5NNGNXy1YSqOmHQaTmlvw678LlMoWoTlxrgL42lfXT7o0dzwbWm ctbEAZsqCJ771ItbEzF0dAgfLjZRo5nBDUmw4n26XGNGp909Uu/oz+NUAIfKIjyJ g20Yo4XNXGD/+xBiTa9BgvD8rphHenvFUC29iDZ8y4FARv3uHg4KDPfJHRDQ09Eb qntGeQ== Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4axm9c8kb0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 09 Dec 2025 15:47:23 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-b969f3f5bb1so9460062a12.0 for ; Tue, 09 Dec 2025 07:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765295242; x=1765900042; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NDHkj3CwoCQL6wJWOKPjGCsfcQFkvee6eMCgSP3pCQc=; b=FHLYeMMOxw2hQb4FwYBuoSV5h2ntApaJ3tJ+cqdeGfyZg/wuZ6QE0LElLNsb45upzq y2jCygWY/GvffPgK/MHkLdlUS0U7aj8mCKdIZXrGSgLXvZCVAKtnbDNElOOwMQRU6hsu cD3kE1HIonwbURQpKJmwWHpdWyj3AxwSkpGBYVvBezrWQ6ZsPHs1QS+C563RJF0c5MED fHj3evy0muogN++FA0dmejgeiXWuMmamZK3Wwgev3dci2TQbuPZ1LJAVNX0GCAoWYsiZ nMsR0NfR9E4ae9ZpKN5jiOe+H0Y/es929yn29acIpPKQG0ZF9Szk85wOPFIBpMvs7265 SSAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765295242; x=1765900042; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NDHkj3CwoCQL6wJWOKPjGCsfcQFkvee6eMCgSP3pCQc=; b=hX0gEHXPCPl3AE+lydkjAd7RRisvl4s7tX7SKthdIChle8YCtYelLuWRUhfI3tyrou agraTjHMXzonde1wxLh4fBo48OzbbhlqQuufYXE7XyCE9kWI3MWOYR/x31HPRTjZlg7C 5CSDDdNbqdPkCcFw6dvqZwkmxx0pNqCebzS3T+0TVRDMfDtWfUfR5QLBCjjW9orcK6or QKlmJ9wTkWJp+mys5R8aLsrCCLNoE+VA9otViSBLzAq9ucrUBMXGIQsRO/tg3X4mu0p0 pWXw+J6CMeGGGsFEuq0rfU61r0ysuufn9hhjMJKn/IIL++3xTgh1L0afWM4jtR2ECm9R ZMBw== X-Forwarded-Encrypted: i=1; AJvYcCUkxHnyv+F3xhvDvmk8roHvzj7KHDkD3vXaILscZjY/GqFIreISMIIYj1/ek7o+ZiRPUDPSzNU=@vger.kernel.org X-Gm-Message-State: AOJu0YxuZsyyA0rLhV/UjRSHpl9Ubp1pYVhfuCsQT+ACtjrOSDJO6Kxo 11eD68tkwT3+7F9GNTPl1ZMg0BmdbMFZn0uRmH8iT/HpkqsVM+CQ1U++wA0Pa/RyY7V4Bh9BTuB 4pyJQe8hx/E+O1h1jq3mIaA2FK984vMXJpTRwL/lBL+K1dNX9rGcenP5QCdI= X-Gm-Gg: AY/fxX57e2pQkoPEuIFWBGeFVTBXF4W3jraQTLDVHqFoT8weuvTaGL+k7O8StIYZwyV RBpfC/cJjEOGtHlAewTYf4V6bRDp6ekdiU8oK9GztrOJT8qiwG2vRQwc2Ch4UXOiVv0zVRDh4ei YcBWyPbLCbWEd0ZR2HLEJ/bQo865f8eWWKw0yFz2YKRQ/9xKe7Lyxvl4Zvz3OYfGowQsX5nu3mN 2AxLa4ZuVxfRyIRMu+0hAIOwIIZZdRlVcIPPDm6Q/m+Ae2WIeqKI8qST3mw9Xq1e68NKV6Cokkx 9OSu/8WneaFF4E0NNr3k1rudU3WNnx4cwd+Jv1IWVT4PjTnp0uoboXe1E9E5C9KJUns/ucrA2Q3 EG0VjdxIXhV59k0uTk0AAfZ4ozwRLP2tPwGyo6b6Va+R0HZBNEhtyXip/Dt6+OqnRxGV3mw== X-Received: by 2002:a05:7301:1906:b0:2a4:3593:c7c6 with SMTP id 5a478bee46e88-2abc70fa21emr8054977eec.6.1765295242116; Tue, 09 Dec 2025 07:47:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhrMcLrAfPV8e9p+ctKvu2z65Q8ub97vqIxMWVyLeOFWssQ0s0J2qpalQgDpvc7C9ctW7Uww== X-Received: by 2002:a05:7301:1906:b0:2a4:3593:c7c6 with SMTP id 5a478bee46e88-2abc70fa21emr8054946eec.6.1765295241549; Tue, 09 Dec 2025 07:47:21 -0800 (PST) Received: from [10.227.110.203] (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2aba87aa5fcsm44776850eec.3.2025.12.09.07.47.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Dec 2025 07:47:21 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2025 07:47:19 -0800 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Revert "wifi: ath12k: Enable REO queue lookup table feature on QCN9274 hw2.0" To: Oliver Sedlbauer , stable@vger.kernel.org Cc: quic_rajkbhag@quicinc.com, Jeff Johnson , Sasha Levin , Vasanthakumar Thiagarajan , linux-wireless@vger.kernel.org, ath12k@lists.infradead.org, linux-kernel@vger.kernel.org References: <20251208103152.236840-1-os@dev.tdt.de> From: Jeff Johnson Content-Language: en-US In-Reply-To: <20251208103152.236840-1-os@dev.tdt.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjA5MDExNyBTYWx0ZWRfX7RLW9xVniv9A 6rW8Pl/S9OQOPKjykXqORVH8/fQn/ElKeeqnhl5VHO6dYQNLCBaX1hTPNyV4Rnwz1Jd1BkVR/8A VSZzlpPYGKGqcXhazvUa2pxHxcQJwusn6zWkXEm89ZvwnN4Muh+snNC6whghsiRGBJsDN+ngcIt U32dweo8uTUV5F/4KchRA2v4KfKsKDlajMgZvWDN492qCgeqUV+9voU8N2XzsHv8rO0uijD117i 7O27s/Meoeb+P215qngr04CrnK0B6hrA1PoURBAJ2NIvHsJOgGcvG8DTcvsNxsKsL7uQB1IjQXX tLPMDgwNqa1Go4QYxH/d3mJ4DtIaB4NIi+zqyaGs9E5P6aZIWCKaxEbN6B6KhK8SMtSE4CQbOEq aRYNG5gM9sUQMj+HegDDtfx1FdPhcQ== X-Proofpoint-ORIG-GUID: aSfQp3JRJbwCWyBfDwG6pYCqQi_rsBc2 X-Authority-Analysis: v=2.4 cv=Vcj6/Vp9 c=1 sm=1 tr=0 ts=6938448b cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=yIxbBWfxqtjDTp5mS7gA:9 a=QEXdDO2ut3YA:10 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-GUID: aSfQp3JRJbwCWyBfDwG6pYCqQi_rsBc2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-09_04,2025-12-09_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1011 malwarescore=0 impostorscore=0 suspectscore=0 adultscore=0 priorityscore=1501 bulkscore=0 spamscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512090117 X-DKIM: signer='qualcomm.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-DKIM: signer='oss.qualcomm.com' status='pass' reason='' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: qualcomm.com] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 On 12/8/2025 2:31 AM, Oliver Sedlbauer wrote: > This reverts commit 3b5e5185881edf4ee5a1af575e3aedac4a38a764. > > The REO queue lookup table feature was enabled in 6.12.y due to an > upstream backport, but it causes severe RX performance degradation on > QCN9274 hw2.0 devices. > > With this feature enabled, the vast majority of received packets are > dropped, reducing throughput drastically and making the device nearly > unusable. > > Reverting this change restores full RX performance. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.5-01651-QCAHKSWPL_SILICONZ-1 > > Fixes: 3b5e5185881e ("wifi: ath12k: Enable REO queue lookup table feature on QCN9274 hw2.0") > Signed-off-by: Oliver Sedlbauer > --- > Note: > This commit reverts a backport that was not a fix. The backported change > breaks previously working behavior on QCN9274 hw2.0 devices and should > not have been applied to the 6.12.y stable kernel. > > drivers/net/wireless/ath/ath12k/hw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath12k/hw.c b/drivers/net/wireless/ath/ath12k/hw.c > index 057ef2d282b2..e3eb22bb9e1c 100644 > --- a/drivers/net/wireless/ath/ath12k/hw.c > +++ b/drivers/net/wireless/ath/ath12k/hw.c > @@ -1084,7 +1084,7 @@ static const struct ath12k_hw_params ath12k_hw_params[] = { > .download_calib = true, > .supports_suspend = false, > .tcl_ring_retry = true, > - .reoq_lut_support = true, > + .reoq_lut_support = false, > .supports_shadow_regs = false, > > .num_tcl_banks = 48, Stable team: The issue with enabling this feature has been fixed in the mainline with: afcefc58fdfd ("wifi: ath12k: Fix packets received in WBM error ring with REO LUT enabled") Hence this patch should not be reverted in the mainline. But it is difficult to backport that patch, so the original patch should be reverted in all of the stable trees where it was backported: 6.6, 6.12, 6.15, 6.16 /jeff From - Tue Dec 09 21:55:59 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id yCb6Km5FOGmrHA8AYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 15:51:10 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 15:51:10 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vSzza-00000004WUM-0SR6 for hi@josie.lol; Tue, 09 Dec 2025 15:51:10 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 31C52300A34D for ; Tue, 9 Dec 2025 15:51:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DC6629E117; Tue, 9 Dec 2025 15:51:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=student.kit.edu header.i=@student.kit.edu header.b="VMi5WYYm" X-Original-To: stable@vger.kernel.org Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [141.52.71.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAF1D1A9F90; Tue, 9 Dec 2025 15:51:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.52.71.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765295467; cv=none; b=IfVCLZU/EReRq/D8GUUnei8EJFDD/mynamSENfok4elnsL6ZO9TmHya+CMQ+Sp5y7GjkdrKpPgPRoJvIrpanxYhyq+BIyO2LnXWUYTn/SQMG5tKPisjJMUIUKkNaWw1W4Qa8cgiepYsp/IYLHtYC1aGDLlheYiDQU7Di/GvZYaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765295467; c=relaxed/simple; bh=GXlTG0rqmMh/x8YU6EkzDt0ajjBhl8W1qL71tNkZcg0=; h=Message-ID:Date:MIME-Version:Subject:From:To:References: In-Reply-To:Content-Type; b=MVJA5W7fWXYOq/gjokodFFVAjHdlBZPOFi3yMeZAajZI/IaU4/FVFnkHAdI2p5esslJWenjow+inZAIVYHVjiCYE0hdj9TOOT+DjlBy6eZ+NzQaHgCCvm0d5qxEXua+3XySFE7t3Ane6MTlDnYOgy+W3ufzdjYGBDd48kcD0jTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=student.kit.edu; spf=pass smtp.mailfrom=student.kit.edu; dkim=pass (2048-bit key) header.d=student.kit.edu header.i=@student.kit.edu header.b=VMi5WYYm; arc=none smtp.client-ip=141.52.71.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=student.kit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=student.kit.edu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=student.kit.edu; s=kit1; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:References:To:From:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FLmP8ByiKHuqtaZBzq4SchXPYNcZMB4gwIO+EVIUJ6w=; b=VMi5WYYmuPnUmwf+jLwxVYSiWE p/e9tH2YAL4HJxlS5BM7huPv7AHcwxPveljfwewk05WqvAfn3dPkQvMmv/6CxlRY7dJXnvQoRnW4I kkNBrIlkclzJgtoYqALOpnWZF7IpC7Xb/w8iA48UdVsoQuYTiQJNYRH+QZVqjfbkUKas0Wivdpa2q jmk/NVo8ocDc6M5n15p/PwH8EbDyygc1FrM7J/5RJvo/H9ycMnOSWz5FrJuxgUNWBHjQqu/mWhdQl 44jvQClVg3ml0RgoF5qVzZOU8zQQeNP5p/Vojb6QJ+Kv0xggJ3yirD6IzMMtAp8P4efANPy78iOHi pOt07a/w==; Received: from kit-msx-43.kit.edu ([2a00:1398:9:f612::143]) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.2:ECDHE_SECP384R1__RSA_SHA256__AES_256_GCM:256) (envelope-from ) id 1vSzzO-0000000AItK-0XwH; Tue, 09 Dec 2025 16:50:58 +0100 Received: from [IPV6:2001:7c7:20e8:134:5275:14f3:3282:3c3] (2001:7c7:20e8:134:5275:14f3:3282:3c3) by smtp.kit.edu (2a00:1398:9:f612::106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 9 Dec 2025 16:50:56 +0100 Message-ID: Date: Tue, 9 Dec 2025 16:50:42 +0100 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [6.12.61 lts] [amdgpu]: regression: broken multi-monitor USB4 dock on Ryzen 7840U From: =?UTF-8?Q?P=C3=A9ter_Bohner?= To: Harshit Mogalapalli , , , , , , , , , , References: <9444c2d3-2aaf-4982-9f75-23dc814c3885@student.kit.edu> <7817ae7c-72d3-470d-b043-51bcfbee31b1@student.kit.edu> Content-Language: en-US, de-DE Autocrypt: addr=peter.bohner@student.kit.edu; keydata= xjMEZlcqPBYJKwYBBAHaRw8BAQdAujEt8nGiqXlRzKWzklo/PFVaTiUdA6z4ptXk8gUpZZPN LFDDqXRlciBCb2huZXIgPHBldGVyLmJvaG5lckBzdHVkZW50LmtpdC5lZHU+wokEExYIADEW IQR4QiuKMuzoE9FfVrf+973rw/xgRwUCZlcqPAIbAwQLCQgHBRUICQoLBRYCAwEAAAoJEP73 vevD/GBH4k4A/jn/XvRQH5Od/m9FpAc3xIwzOjOjFRogJqjNN8h7WGIpAP90BCUs7idkZS/U 9ASZrK6ubOZV+pEHq9C0mSoVTjwkDc44BGZXKjwSCisGAQQBl1UBBQEBB0AyMulJt5lkL/5E hrwAaZiEOSigauCQR7o58Pnzh5hwGAMBCAfCeAQYFggAIBYhBHhCK4oy7OgT0V9Wt/73vevD /GBHBQJmVyo8AhsMAAoJEP73vevD/GBHRjYA/0Z40p2r7jZGqQeJB5Exh3sBjLNnuuMw5DXr KxFIdY8/AQDj6Xn+3dAOMHJfo17HT8zHn61PvclzVJZCriEmBcSsDQ== In-Reply-To: <7817ae7c-72d3-470d-b043-51bcfbee31b1@student.kit.edu> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-DKIM: signer='student.kit.edu' status='fail' reason='signature_incorrect' DKIMCheck: Server failed DKIM test, 50 Spam score X-Spam-Score: 0.7 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.7 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: kit.edu] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 57 note: reverting ded77c1209169bd40996caf5c5dfe1a228a587ab fixes the issue on the latest 6.12.y (6.12.61) tag. From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id gBEOMxJJOGkjoxEAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 16:06:42 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 16:06:43 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT0Ec-000000054um-2Awa for hi@josie.lol; Tue, 09 Dec 2025 16:06:42 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id C1518301F030 for ; Tue, 9 Dec 2025 16:06:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 201AC3002DD; Tue, 9 Dec 2025 16:06:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="SW5GfTEp"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="gOkv0d4w" X-Original-To: stable@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C2C92FFFA4 for ; Tue, 9 Dec 2025 16:06:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765296395; cv=none; b=rwobM5uOyM2n64qVjsYS9oa2dJcsVsy6lBZOxjQnYeClJ1hAw8fS02akG9Uv+mbb3NrNg2HmMKfdIVYM8xoJVYWw6TnVSasA9OhpQ1zA6fk6NrYrA7vGJ5v9P9NiIbhrf7jbmSR1vES5K8esiye7JkUXtQ9NR5t9a0QjzpeVeEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765296395; c=relaxed/simple; bh=L174GWmru7ZF4OjbWwGfFdgE5zDp10ar9lX5+CU/Pw0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VqnaeaxgCoBVCOsBRUYRrp6RfVZm7T7VEEqdNcUXf6Pe0YKz5NKAS1lY0kZVCVvsFGSzI0nNJ7ebKthcaWb6XpIaInUQoYaHyEiOWfucikpdcWgl2EUW+ZWRFii2sjEir49lFD6bQoFrgNvGD7xQ8wJKR2NySWMqcygy0GHUHNk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=SW5GfTEp; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=gOkv0d4w; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5B9Fha1R4145244 for ; Tue, 9 Dec 2025 16:06:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= PcgKvC7JRfGFnDl4d1cl7qh9ZdiZ08n1nj3k1pmly2E=; b=SW5GfTEpkBMHYiF+ ComXj80omqehfxrg9TY3284G4vDdb+Ezgn3VcD3y9QJ2xYTshmIPzolrQfchVIvM yKB9nsrUlyFODnTmaxS9keP1Qxen8LW3nYUesAEyT00Kj7KLSVJmZLYqDjUIiexd i9aV0/dNF/fhflENYRo4AKF8uJVKxSo3/1TxJGCzwxBh9iiqRww/ImrFLk1Dly2M 4JpwnVwQ81xmdQGF9NLmPca7TbMbnr38w9iaO0b8WR0m69K2YsVaSjN7xuuQjuJE Vi5PgMzHTyRS7TqSlvoy4mw2DRamDqS+3uxcWa98TIUpik35jHNtTPTBTImymfjf kDKCWA== Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4axherh6c7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 09 Dec 2025 16:06:32 +0000 (GMT) Received: by mail-vk1-f200.google.com with SMTP id 71dfb90a1353d-55b099d692dso3129577e0c.0 for ; Tue, 09 Dec 2025 08:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765296391; x=1765901191; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PcgKvC7JRfGFnDl4d1cl7qh9ZdiZ08n1nj3k1pmly2E=; b=gOkv0d4w0HwaK/HsK9bYboW+JCKVzez6kttiJ0AVIVm6X1ujTPZuTKr+lNvPHt2d7x YRp520jxs7TueaFBD0ueslCxcnZ/9yRl5Qjk+BrJDVW25ugu79LtZBQ1tLScpDhQlGUZ lXPbsJ00RDNz0W1e397tsBlpF3xNsDZumJBXWfVJvh7SG74BcIoTSu00+Lk9iRGDy+tC nns4WHq/N0bZBsykYRzYlacCRZDisrRnsINhLjTIfjPqeh3+yKVXwJK8M2fvvsiLvdPX OTHzNG49thUhXGPjRGE6JncJ5xZGkXPwoizw8QfLTysLpUawBAQTorvxenMmdXOAI+23 Q/rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765296391; x=1765901191; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=PcgKvC7JRfGFnDl4d1cl7qh9ZdiZ08n1nj3k1pmly2E=; b=PuFrO5xjbvoDEBg39Nyoaz7jEzVSwlaHSAIFdtSs7xy/Ng0gqVdPxuq0hRCg+tenMr VKRUvzx2KlJvzD0OAkX7OWD6/QdoDJHJVmQo8AX8Vb0Ralo8IytOYCZE48MCXABZNJbs OHpVzLENH7jc9Q/YjGelLTwwzAZ8DZEYZS2Pro2VWYaAquJwpx9CRdlggsWXHk/3U5wM vjyHxsFg48rdeMvifeXnh07FcAfaHjcno7LbpBR5cPRJ/1FM0Odg29tccX67kZ0Lj3TD gSWzS9cCuULqp2aiU3jiknr//XWtQIMSQYmX8ln3oUII8RWvpNc0POAuKKAAF/9ofC9Z lGfA== X-Forwarded-Encrypted: i=1; AJvYcCU33sGR4pakkfta726/bXeGB9SxOrQz9S44ZxgyTrZMNbX4a4LQKnltIIUtCJ7U3o6d96BAAy0=@vger.kernel.org X-Gm-Message-State: AOJu0Yy/HB886WofzfO+v39IWk8DJHnO2suAgf0bxUFDbUCXVOSBNbqv z0LpRp9O1MKZGLKXSb1v/6JEryvFVNtXa448KeKHTgx1XbXoD8+MwcldhFpTiby+Qu87s77DDzS 4j9uWBVpWf17lSdo3QTFvNG5SJP2c4XVr2/LnpYhmK3RsD7hUADfB8GEoh34= X-Gm-Gg: ASbGncuKhJj3cOGWaIp+/vrXwcuLg94wLNQwY43gBIoeH1uY7x4wGbyquMabzHlOnnc sgA4QpfbwrhMtahooiTPH9gfNcDl0lE4Wste5VPs1K38IEVHluVBHcLu9AEmXKEsF+/tkvWxG/a 7cveSI6eR7VDcyJSaaSiehRmeKZhWLsxQg4CJQdi9kfl5OGI48fYfLj23qt7z9m7/n2jCotJ2vi exbtsIO9GF/0X+dXTla/FHdzp0RxCaEIfvp5vPwKAz60rtEhpa0XAsRryy9qWsqqmc/Uf5nNmAU FHjjhg9rH0MqFGbWOu08z97HESCd0Lb4aD9PFUxzNxluoxG11LwWj2JRR14u3/o6hcaoVzIIGwl TVukz41+606jSqXutyju34LkttUl/XzOrZ98df6kz6WYJJiYu0P8Ak9GWxiceVsxjq/c5A93oiu 4NVeax5fsVlOzYxbOOeciukPwI6nLND8FPm+zV1TJIVW2MPQ== X-Received: by 2002:a05:6122:1d54:b0:559:5ef5:b196 with SMTP id 71dfb90a1353d-55e846974a2mr2928937e0c.13.1765296391278; Tue, 09 Dec 2025 08:06:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8y8i6NIi/zLZoGQSXP19HWfbFC9YOHgJWNAUSeP81T3aN0pu44z0EHfMAC4QIBv/bGEookw== X-Received: by 2002:a05:6122:1d54:b0:559:5ef5:b196 with SMTP id 71dfb90a1353d-55e846974a2mr2928870e0c.13.1765296390559; Tue, 09 Dec 2025 08:06:30 -0800 (PST) Received: from t14s.space.revspace.nl (2001-1c00-2a07-3a01-8e96-3679-0b9c-de47.cable.dynamic.v6.ziggo.nl. [2001:1c00:2a07:3a01:8e96:3679:b9c:de47]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-647b3599050sm14324838a12.17.2025.12.09.08.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Dec 2025 08:06:29 -0800 (PST) From: Hans de Goede To: Sakari Ailus , Bryan O'Donoghue Cc: Hans de Goede , Heimir Thor Sverrisson , linux-media@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 4/5] media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors Date: Tue, 9 Dec 2025 17:06:20 +0100 Message-ID: <20251209160621.6854-5-johannes.goede@oss.qualcomm.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251209160621.6854-1-johannes.goede@oss.qualcomm.com> References: <20251209160621.6854-1-johannes.goede@oss.qualcomm.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjA5MDEyMSBTYWx0ZWRfX6sn6DaEeWLRR ASfAW6irWNhjg5TG91no05FtXXqHs2RrVEtgJ3SbognphTZkAItZMvawp6idqk2d+fzTnFfiOP2 yJntGOYvXwuXHD+aVxFShHSZupkgvHl49h3xcF9NaYA+1Q8dTOrA3Fw1NuJAmVmKb31erwC3iDH HId+vRc438ELLaz70y4PWY5/uJjYuZW1hsBzPUkofBjwtEGMgLuVkZUu0qay8iWb+zAlgdKVKhW q301umPHnUfSmn41nBEyOFxiBHI86LlUjlQvsxCe2+MqMvZVtAeylMbVTcTtqGuQvv+7Tnj1Ctf 8bpaxA7+XklVQrxQFObhE/BB8MJF4lL/RI79zSix4Shcmb1IPcLkrt3VrjOdUCu4FIKOm0oF9Ms LrhUkd498IcGKTWOrSkOnGomDr76iQ== X-Proofpoint-ORIG-GUID: pw2iqAavJj8UjVnfOuXq309iq8e79DYK X-Proofpoint-GUID: pw2iqAavJj8UjVnfOuXq309iq8e79DYK X-Authority-Analysis: v=2.4 cv=P7M3RyAu c=1 sm=1 tr=0 ts=69384908 cx=c_pps a=wuOIiItHwq1biOnFUQQHKA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=GbN0NnZvFBoPmIocWywA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=XD7yVLdPMpWraOa8Un9W:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-09_04,2025-12-09_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 bulkscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512090121 X-DKIM: signer='qualcomm.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-DKIM: signer='oss.qualcomm.com' status='pass' reason='' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: qualcomm.com] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 The Dell XPS 13 9350 and XPS 16 9640 both have an upside-down mounted OV02C10 sensor. This rotation of 180° is reported in neither the SSDB nor the _PLD for the sensor (both report a rotation of 0°). Add a DMI quirk mechanism for upside-down sensors and add 2 initial entries to the DMI quirk list for these 2 laptops. Note the OV02C10 driver was originally developed on a XPS 16 9640 which resulted in inverted vflip + hflip settings making it look like the sensor was upright on the XPS 16 9640 and upside down elsewhere this has been fixed in commit 69fe27173396 ("media: ov02c10: Fix default vertical flip"). This makes this commit a regression fix since now the video is upside down on these Dell XPS models where it was not before. Fixes: 69fe27173396 ("media: ov02c10: Fix default vertical flip") Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede --- drivers/media/pci/intel/ipu-bridge.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c index 58ea01d40c0d..6463b2a47d78 100644 --- a/drivers/media/pci/intel/ipu-bridge.c +++ b/drivers/media/pci/intel/ipu-bridge.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +100,28 @@ static const struct ipu_sensor_config ipu_supported_sensors[] = { IPU_SENSOR_CONFIG("XMCC0003", 1, 321468000), }; +/* + * DMI matches for laptops which have their sensor mounted upside-down + * without reporting a rotation of 180° in neither the SSDB nor the _PLD. + */ +static const struct dmi_system_id upside_down_sensor_dmi_ids[] = { + { + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 13 9350"), + }, + .driver_data = "OVTI02C1", + }, + { + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 16 9640"), + }, + .driver_data = "OVTI02C1", + }, + {} /* Terminating entry */ +}; + static const struct ipu_property_names prop_names = { .clock_frequency = "clock-frequency", .rotation = "rotation", @@ -249,6 +272,12 @@ static int ipu_bridge_read_acpi_buffer(struct acpi_device *adev, char *id, static u32 ipu_bridge_parse_rotation(struct acpi_device *adev, struct ipu_sensor_ssdb *ssdb) { + const struct dmi_system_id *dmi_id; + + dmi_id = dmi_first_match(upside_down_sensor_dmi_ids); + if (dmi_id && acpi_dev_hid_match(adev, dmi_id->driver_data)) + return 180; + switch (ssdb->degree) { case IPU_SENSOR_ROTATION_NORMAL: return 0; -- 2.52.0 From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id kOd5BJNtOGkm1yMAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 18:42:27 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 18:42:27 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT2fK-0000000ALQ5-3iI1 for hi@josie.lol; Tue, 09 Dec 2025 18:42:27 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id CDAC6300AB2D for ; Tue, 9 Dec 2025 18:42:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAF6A302779; Tue, 9 Dec 2025 18:42:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="NtuwsvmS" X-Original-To: stable@vger.kernel.org Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27C15243367 for ; Tue, 9 Dec 2025 18:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765305744; cv=none; b=shNxV0AACbtTecUoI25Ev5b/vZfJjZq9Es6YZYLtoQ/La8qq+mu7vKcLr2Z2DwIX3qe/XdyMEGoJa5t9kLhzm9y0gLPFQOCKmewdwlRYL+lMINdUnt0AFvmcCJjPfL0NqfiGF/QnECkTBB1S6Lt5aoy65EhwRMc8nYU8vTxv8E0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765305744; c=relaxed/simple; bh=vMvsk3oUTASmZOfW6S7iQlTaxU1FZzX8m9pijyy/yi8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=l1wOmQwBr463wm32ZsDkzEs101hxsAL2g7H3NCLoJJFhIu2Jw0JOk2GObj5O8itHyJDZpzYYHJ5iCTmIN7rwE+lbmOFsw4b7qOAzykJkDU0I5G7K5tWJ9D4zlxiPqfRKrUa18AvFJJxw19JnmNs+ZCW8Nwr0Bm7wTd11g30ciOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=NtuwsvmS; arc=none smtp.client-ip=209.85.210.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-7aa148105a2so5722610b3a.1 for ; Tue, 09 Dec 2025 10:42:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1765305742; x=1765910542; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=T9wtgZU3PD0RINuovlbS/4juWgq3hGIlsoGbD5fVH4s=; b=NtuwsvmSCnXOumBFdNgTB73ZrGNcwnxOLSaEUaRn6XD/AJ63FrHbrZmnXKxfoenOGS lf0pmpNgN06S8a64WVzxaYbY9AFHyoCY9DqheoYeII3ZHXfU2abTCqDjGX1mCQdZR8KG r+Xo+rBnfHb7EkvFjAUc8hWIylxyhwPrOffRfK7XQVSv0uA0CQLyDWSZ3b6M8Zl53Q5w 0qs5tGo8+4g/NnpDMIVpLGEFd5BRSv+2gI2gCFzQfbiLSo6A5cmHorOA57mFIfTwyQ1E 6iQWTeCSeke8arbfm0f0NUza7ojMAAH3cPGTAGIF+PDIcr8yAfGrCPTVNn9/szucBKs0 Hi9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765305742; x=1765910542; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T9wtgZU3PD0RINuovlbS/4juWgq3hGIlsoGbD5fVH4s=; b=LeiVDNXH71z05BbcA0YmF8AjA8WYefsNjq9HPhx7zjWGbUd41Vdv81wqxz8JVnPbQu u5+GF4Z6OqB1V6F/GcF11Ttbfld2wjpkhtSfux6e/NDG7FvC8RLv+k+DkUG/cPoe8LDh eqqNLOp40j7XE5PP3BdzkkX/LnBe98SF/ndjlhHn0TdryHMrsBzU2JdhPBbbjOPkJ7TU cnC+DwcSHRfQfKAyi7V7PdIbrKShU2rzSIcxNLGIDHxYIIhR3uaTAWEHWCcgE7mamNSL FjAtMOh45JJESj7obvQqeUvBmoW23aFCJC9X0DIBRrQvIiO674sVH5A3zEUsRbZvVOT3 kAxg== X-Forwarded-Encrypted: i=1; AJvYcCUj9oGzv6usLmMVflA4BWHULKSr2tRh58eOoasc9Qs1e8/GFY1YRY865daQYY+tHDZGzSio2dk=@vger.kernel.org X-Gm-Message-State: AOJu0YyCbFn8YuleCvqF4zDIiYf4hGTQIh5317tQMtFrJVGp6IY0JzIQ MpQiPLzLs/md1HdW44kKPjLgkQTDyu0ddwFnGqq4dv4eDEj84Hiu6KQlzsz0A9CstDBO7Kd4sAW 9LvkC4Q== X-Google-Smtp-Source: AGHT+IG3+6tzSTh3tO8xfTSomzmQRRp+qWKw7IOCDl9RyfheDs5OTW6gt5YqHwnS2EMkpF+d1nUsSW/o8ds= X-Received: from pgct22.prod.google.com ([2002:a05:6a02:5296:b0:be5:9a9b:6b5d]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:6a0c:b0:35e:8b76:c960 with SMTP id adf61e73a8af0-36618164868mr12418789637.48.1765305742416; Tue, 09 Dec 2025 10:42:22 -0800 (PST) Date: Tue, 9 Dec 2025 10:42:21 -0800 In-Reply-To: Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251110222922.613224-1-yosry.ahmed@linux.dev> <20251110222922.613224-5-yosry.ahmed@linux.dev> Message-ID: Subject: Re: [PATCH v2 04/13] KVM: nSVM: Fix consistency checks for NP_ENABLE From: Sean Christopherson To: Yosry Ahmed Cc: Paolo Bonzini , Jim Mattson , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="us-ascii" X-DKIM: signer='google.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -7.1 (-------) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (-7.1 points) --- pts rule name description ---- ---------------------- ----------------------------------------- -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM welcome-list 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_MED DKIMwl.org - Medium trust sender SpamTally: Final spam score: -70 On Tue, Dec 09, 2025, Yosry Ahmed wrote: > On Tue, Dec 09, 2025 at 10:26:31AM -0800, Sean Christopherson wrote: > > On Tue, Dec 09, 2025, Yosry Ahmed wrote: > > > > > diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h > > > > > index f6fb70ddf7272..3e805a43ffcdb 100644 > > > > > --- a/arch/x86/kvm/svm/svm.h > > > > > +++ b/arch/x86/kvm/svm/svm.h > > > > > @@ -552,7 +552,8 @@ static inline bool gif_set(struct vcpu_svm *svm) > > > > > > > > > > static inline bool nested_npt_enabled(struct vcpu_svm *svm) > > > > > { > > > > > - return svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE; > > > > > + return guest_cpu_cap_has(&svm->vcpu, X86_FEATURE_NPT) && > > > > > + svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE; > > > > > > > > I would rather rely on Kevin's patch to clear unsupported features. > > > > > > Not sure how Kevin's patch is relevant here, could you please clarify? > > > > Doh, Kevin's patch only touches intercepts. What I was trying to say is that I > > would rather sanitize the snapshot (the approach Kevin's patch takes with the > > intercepts), as opposed to guarding the accessor. That way we can't have bugs > > where KVM checks svm->nested.ctl.nested_ctl directly and bypasses the caps check. > > I see, so clear SVM_NESTED_CTL_NP_ENABLE in > __nested_copy_vmcb_control_to_cache() instead. > > If I drop the guest_cpu_cap_has() check here I will want to leave a > comment so that it's obvious to readers that SVM_NESTED_CTL_NP_ENABLE is > sanitized elsewhere if the guest cannot use NPTs. Alternatively, I can > just keep the guest_cpu_cap_has() check as documentation and a second > line of defense. > > Any preferences? Honestly, do nothing. I want to solidify sanitizing the cache as standard behavior, at which point adding a comment implies that nested_npt_enabled() is somehow special, i.e. that it _doesn't_ follow the standard. From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id 2Kn4DPV3OGnrtycAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 19:26:45 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 19:26:45 +0000 Received: from sin.lore.kernel.org ([104.64.211.4]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT3MB-0000000Bmh6-0Fep for hi@josie.lol; Tue, 09 Dec 2025 19:26:44 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 09D4D3019D29 for ; Tue, 9 Dec 2025 19:26:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9743D306B0F; Tue, 9 Dec 2025 19:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="hJlhr3Jt" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03232305E28; Tue, 9 Dec 2025 19:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765308396; cv=none; b=rE4AzHu8vPB8ICO0/qU3je8fUw7sUjFuzMFiL1L83x7MXPUVJzmdAnRqD6EWBbEmAzMOFDvsuqkKf2sYwmXC28J8W8v764WFd4O4IbyU+/s4P6noRv/c6lRkgLivfmZMBD4Q6ud7a6WEOhdXHrcMB0DQYumTUpB0a64vBoPslyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765308396; c=relaxed/simple; bh=zKJCjeDKayVcwnkZsjqO3JwmNRFB/LZ/03OMgkn6hsw=; h=Date:To:From:Subject:Message-Id; b=i7p82VVnY9beiMHxO+i5eDiEFv4y41bhIloVzzAWQSAREbU8okkjCG+mPi89CyGjkSyt4ZRBg3texUfGIZd6xthWp1C2RU7S8M5Jmlf818xzTRrFh3Gye9tIaGj02Fn4qYLY/vi17Ktmm0FW0C5KlAexPl2V0zAuLRFmb7pXG0A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=hJlhr3Jt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D8C2C4CEF5; Tue, 9 Dec 2025 19:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1765308395; bh=zKJCjeDKayVcwnkZsjqO3JwmNRFB/LZ/03OMgkn6hsw=; h=Date:To:From:Subject:From; b=hJlhr3JtauY5NQXA5plk0Tn0Hw4vZeS/rikqtxKKU+8kopAN7J3odInTZ2wprSrPr yDjUvCe3z3Gzr+h7h4p+XzJ4P4UZpEqjLkMz3RoBrGmDqT2t3NMChIs3oN97sYYaos eI6hleuEkVZQ5KMz2TAIiLLDBb7zo9V71q83Q/ek= Date: Tue, 09 Dec 2025 11:26:34 -0800 To: mm-commits@vger.kernel.org,will@kernel.org,vbabka@suse.cz,suschako@amazon.de,stable@vger.kernel.org,riel@surriel.com,prakash.sangappa@oracle.com,peterz@infradead.org,osalvador@suse.de,npiggin@gmail.com,nadav.amit@gmail.com,muchun.song@linux.dev,lorenzo.stoakes@oracle.com,loberman@redhat.com,liushixin2@huawei.com,liam.howlett@oracle.com,lance.yang@linux.dev,jannh@google.com,arnd@arndb.de,aneesh.kumar@kernel.org,david@kernel.org,akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-stable] mm-hugetlb-fix-hugetlb_pmd_shared.patch removed from -mm tree Message-Id: <20251209192635.2D8C2C4CEF5@smtp.kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-DKIM: signer='linux-foundation.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: linux-foundation.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [104.64.211.4 listed in list.dnswl.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 The quilt patch titled Subject: mm/hugetlb: fix hugetlb_pmd_shared() has been removed from the -mm tree. Its filename was mm-hugetlb-fix-hugetlb_pmd_shared.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: "David Hildenbrand (Red Hat)" Subject: mm/hugetlb: fix hugetlb_pmd_shared() Date: Fri, 5 Dec 2025 22:35:55 +0100 Patch series "mm/hugetlb: fixes for PMD table sharing (incl. using mmu_gather)". One functional fix, one performance regression fix, and two related comment fixes. I cleaned up my prototype I recently shared [1] for the performance fix, deferring most of the cleanups I had in the prototype to a later point. While doing that I identified the other things. The goal of this patch set is to be backported to stable trees "fairly" easily. At least patch #1 and #4. Patch #1 fixes hugetlb_pmd_shared() not detecting any sharing Patch #2 + #3 are simple comment fixes that patch #4 interacts with. Patch #4 is a fix for the reported performance regression due to excessive IPI broadcasts during fork()+exit(). The last patch is all about TLB flushes, IPIs and mmu_gather. Read: complicated I added as much comments + description that I possibly could, and I am hoping for review from Jann. There are plenty of cleanups in the future to be had + one reasonable optimization on x86. But that's all out of scope for this series. This patch (of 4): We switched from (wrongly) using the page count to an independent shared count. Now, shared page tables have a refcount of 1 (excluding speculative references) and instead use ptdesc->pt_share_count to identify sharing. We didn't convert hugetlb_pmd_shared(), so right now, we would never detect a shared PMD table as such, because sharing/unsharing no longer touches the refcount of a PMD table. Page migration, like mbind() or migrate_pages() would allow for migrating folios mapped into such shared PMD tables, even though the folios are not exclusive. In smaps we would account them as "private" although they are "shared", and we would be wrongly setting the PM_MMAP_EXCLUSIVE in the pagemap interface. Fix it by properly using ptdesc_pmd_is_shared() in hugetlb_pmd_shared(). Link: https://lkml.kernel.org/r/20251205213558.2980480-1-david@kernel.org Link: https://lkml.kernel.org/r/20251205213558.2980480-2-david@kernel.org Link: https://lore.kernel.org/all/8cab934d-4a56-44aa-b641-bfd7e23bd673@kernel.org/ [1] Fixes: 59d9094df3d7 ("mm: hugetlb: independent PMD page table shared count") Signed-off-by: David Hildenbrand (Red Hat) Tested-by: Laurence Oberman Reviewed-by: Rik van Riel Reviewed-by: Lance Yang Cc: Liu Shixin Cc: "Aneesh Kumar K.V" Cc: Arnd Bergmann Cc: Jann Horn Cc: Liam Howlett Cc: Lorenzo Stoakes Cc: Muchun Song Cc: Nadav Amit Cc: Nicholas Piggin Cc: Oscar Salvador Cc: Peter Zijlstra Cc: Prakash Sangappa Cc: Vlastimil Babka Cc: Will Deacon Cc: Uschakow, Stanislav" Cc: Signed-off-by: Andrew Morton --- include/linux/hugetlb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/hugetlb.h~mm-hugetlb-fix-hugetlb_pmd_shared +++ a/include/linux/hugetlb.h @@ -1326,7 +1326,7 @@ static inline __init void hugetlb_cma_re #ifdef CONFIG_HUGETLB_PMD_PAGE_TABLE_SHARING static inline bool hugetlb_pmd_shared(pte_t *pte) { - return page_count(virt_to_page(pte)) > 1; + return ptdesc_pmd_is_shared(virt_to_ptdesc(pte)); } #else static inline bool hugetlb_pmd_shared(pte_t *pte) _ Patches currently in -mm which might be from david@kernel.org are From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id mI+HN16AOGlkPi8AYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 20:02:38 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 20:02:39 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT3uw-0000000D49h-1d64 for hi@josie.lol; Tue, 09 Dec 2025 20:02:38 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 489C33003BF4 for ; Tue, 9 Dec 2025 20:02:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADB9E272E6E; Tue, 9 Dec 2025 20:02:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="slmFg5Yi" X-Original-To: stable@vger.kernel.org Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D22691E8332 for ; Tue, 9 Dec 2025 20:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765310555; cv=none; b=dUfDMeDjh2k3v3NPkMdphOfa9K2ss3slSdLmSiHxQlPei9+w0Yy3VoT/jyavoX9/HjFE8tz7UZ9w9LB66IWdYe4ChT2ROfIdhWUimGKhnZuJQa59uCJ19gBYasuxrl836ISe/ZxjAtdz8IhjCDXS2IWCiPgfHt/umUWmmzloGnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765310555; c=relaxed/simple; bh=Qn67Z1bOXmsWYygquny0KKhPpKQMoAyvpAsb81V1wdQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OdJK7jCFjzPgITubNaKBuHeQZbW+fwuyQ2Ea82mcxKW4upADW35xMDRpBnM9YBCJU7xfRbIM4zqt9y4EuxbdsN38M4EeH3OnjmpGaKaFjhH6MDd0WONFYgkXDgnQmGGQn3kb5M4FTPPjObZUUD/LSY6ylst5WppgvhL32yomySs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=slmFg5Yi; arc=none smtp.client-ip=95.215.58.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Tue, 9 Dec 2025 20:02:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1765310550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FMDBleQOXV07/rPpyZlnRLa1LE6+aRZnqwPmXqENy18=; b=slmFg5Yi15EXoN9VZTBFDPjGjeYVWe8m3pj7o5G4Q2XIk5AMg7W9b1xY3KUEtjlp9vAwZc 9bntyvlz5iy9uXMi60EUtdHxLM9CGA+HGHqevFN0Nr8qjs7ze7W6m1aHVUjGWZ5U8vvlCM +aHpDGGJB8wPOLZkZDPc2FDfhtgszP4= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yosry Ahmed To: Sean Christopherson Cc: Paolo Bonzini , Jim Mattson , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 04/13] KVM: nSVM: Fix consistency checks for NP_ENABLE Message-ID: References: <20251110222922.613224-1-yosry.ahmed@linux.dev> <20251110222922.613224-5-yosry.ahmed@linux.dev> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-DKIM: signer='linux.dev' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: linux.dev] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 On Tue, Dec 09, 2025 at 10:42:21AM -0800, Sean Christopherson wrote: > On Tue, Dec 09, 2025, Yosry Ahmed wrote: > > On Tue, Dec 09, 2025 at 10:26:31AM -0800, Sean Christopherson wrote: > > > On Tue, Dec 09, 2025, Yosry Ahmed wrote: > > > > > > diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h > > > > > > index f6fb70ddf7272..3e805a43ffcdb 100644 > > > > > > --- a/arch/x86/kvm/svm/svm.h > > > > > > +++ b/arch/x86/kvm/svm/svm.h > > > > > > @@ -552,7 +552,8 @@ static inline bool gif_set(struct vcpu_svm *svm) > > > > > > > > > > > > static inline bool nested_npt_enabled(struct vcpu_svm *svm) > > > > > > { > > > > > > - return svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE; > > > > > > + return guest_cpu_cap_has(&svm->vcpu, X86_FEATURE_NPT) && > > > > > > + svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE; > > > > > > > > > > I would rather rely on Kevin's patch to clear unsupported features. > > > > > > > > Not sure how Kevin's patch is relevant here, could you please clarify? > > > > > > Doh, Kevin's patch only touches intercepts. What I was trying to say is that I > > > would rather sanitize the snapshot (the approach Kevin's patch takes with the > > > intercepts), as opposed to guarding the accessor. That way we can't have bugs > > > where KVM checks svm->nested.ctl.nested_ctl directly and bypasses the caps check. > > > > I see, so clear SVM_NESTED_CTL_NP_ENABLE in > > __nested_copy_vmcb_control_to_cache() instead. > > > > If I drop the guest_cpu_cap_has() check here I will want to leave a > > comment so that it's obvious to readers that SVM_NESTED_CTL_NP_ENABLE is > > sanitized elsewhere if the guest cannot use NPTs. Alternatively, I can > > just keep the guest_cpu_cap_has() check as documentation and a second > > line of defense. > > > > Any preferences? > > Honestly, do nothing. I want to solidify sanitizing the cache as standard behavior, > at which point adding a comment implies that nested_npt_enabled() is somehow special, > i.e. that it _doesn't_ follow the standard. Does this apply to patch 12 as well? In that patch I int_vector, int_state, and event_inj when copying them to VMCB02 in nested_vmcb02_prepare_control(). Mainly because nested_vmcb02_prepare_control() already kinda filters what to copy from VMCB12 (e.g. int_ctl), so it seemed like a better fit. Do I keep that as-is, or do you prefer that I also sanitize these fields when copying to the cache in nested_copy_vmcb_control_to_cache()? From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id cJUAOw+DOGlSkS0AYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 20:14:07 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 20:14:08 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT462-0000000DTGg-3kjS for hi@josie.lol; Tue, 09 Dec 2025 20:14:07 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id B90603007DBE for ; Tue, 9 Dec 2025 20:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B913306486; Tue, 9 Dec 2025 20:14:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="kW1uQuFR" X-Original-To: linux-s390@vger.kernel.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B933321772A; Tue, 9 Dec 2025 20:14:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765311242; cv=none; b=u34BuU7IzK6KHpwU2Dvbgl4moSXJQ5MoMoGtz4EkWFnQ4XKmh6ZUxxOXM0mX0GFTI3+rsc9dOqs4Gm24SGDrZkDHer8UhYe49txuRkUdZWOJHgN7x1MRdCbMznfDr3FVG1k8ToV6FnKl1eTs8nI4dl2M7AsAvCctj5ejvlrMqiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765311242; c=relaxed/simple; bh=MFyRQl8t4yIYZhE2fsNGBH0K2UBw9t7oNnFVp67ULzU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hoj0qrwgQClXLAmBcvGoK1OPM8Do8Em+8BbEm1OmQJsjkNa0J+uwAdvDW80ofFcW9on/3D/VLdsj8b57xlSLn64b1dYDiQ0h+u5j2ubI02hauNMGPI2xvJaqqigfPzhe/KGzFter5p5s9XsiKkyOubLv5prZV8ZfwmMV6ppPurM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=kW1uQuFR; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5B9JvokL015295; Tue, 9 Dec 2025 20:13:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=OgyRhQ JfKjOC3dnyjf+T9Yn5T1VluTDzbb5o6cJimpU=; b=kW1uQuFRSCSfDjptbb/hyQ q6gVdz6zMZAxvU8T7HF66QAbfDPH/LM39DZmIZyPKhSggZnseYygMYa13KljP7fd 7WA/4UGOC59UrKcyPlEoyVlkgxIXmNVk0ByQtCwURcRz9EfprrpJkr8ZdQCCJRt6 Cuavtx9KVnQJvSnJoW2DnPJgfL72X5zbv1OLltH6qThsT+PIu47felhmnNEx3277 FghiQakML80oedR3PcyfI1mMw8oHo1BsMnISgV1FVbdCzGuL1m9g3YnzLzX3gNoU TlqkzyFuBGM0P3k+o8C+sxfHCCVGN0dgqvxOi5B6QeCLbltHaRKb/zya5RPSDNCA == Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4avc0jy561-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Dec 2025 20:13:47 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 5B9I11OR008472; Tue, 9 Dec 2025 20:13:46 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4avytmw3q9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Dec 2025 20:13:46 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 5B9KDjl510158722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Dec 2025 20:13:45 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E658558055; Tue, 9 Dec 2025 20:13:44 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1429458043; Tue, 9 Dec 2025 20:13:44 +0000 (GMT) Received: from [9.61.242.96] (unknown [9.61.242.96]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 9 Dec 2025 20:13:43 +0000 (GMT) Message-ID: <2c609e61-1861-4bf3-b019-a11c137d26a5@linux.ibm.com> Date: Tue, 9 Dec 2025 12:13:42 -0800 Precedence: bulk X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 0/9] Error recovery for vfio-pci devices on s390x To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Cc: lukas@wunner.de, alex@shazbot.org, clg@redhat.com, stable@vger.kernel.org, schnelle@linux.ibm.com, mjrosato@linux.ibm.com References: <20251201220823.3350-1-alifm@linux.ibm.com> Content-Language: en-US From: Farhan Ali In-Reply-To: <20251201220823.3350-1-alifm@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Authority-Analysis: v=2.4 cv=Cf8FJbrl c=1 sm=1 tr=0 ts=693882fb cx=c_pps a=GFwsV6G8L6GxiO2Y/PsHdQ==:117 a=GFwsV6G8L6GxiO2Y/PsHdQ==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=VnNF1IyMAAAA:8 a=V0HI7nMEepYQZMZ9NQAA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: YiQzi55OKdU_4gmuRt4A9wWccHEodPdv X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjA2MDAxNiBTYWx0ZWRfX9EDYUAOr/eXg ibESR7L2Mz8WEMu6xrslWaZ1D6AcemclT7umy8MJkTCvhgqJT5eokUepzIbixHxAOTlyVOiWSuq 8mUOWFLt2Y1toIvGYd6VfY+5wY4VOv+yWRlkfKk5Yb0afUsKX4RnFbhAZinXO1Xa8aO5A76+7pB SpKvyEEYQ3gDtV08vp9WNAhVtA2OEVw/3psA2bIQctDsFdLCy2KyIHOJdAtIxraLXHlXu8R0D1E NawblMzT5Qsm4w8yTm1mifu2JkIoHalQ+g+mzZMQ+4FdbD3dMMh+pw7N/kZrjB8KPiK5MYIFUoo XjALuVS9HYKB8xIiyCiGdkDfFFPpyIrv/me5SQCVR7VUiYs/g6SN5qurq5IYkDNn4p0MUxXqOxC 3FhfsgsjWv5MGghTkL3QvlKRTrtxHg== X-Proofpoint-GUID: YiQzi55OKdU_4gmuRt4A9wWccHEodPdv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-09_04,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 malwarescore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510240000 definitions=main-2512060016 X-DKIM: signer='ibm.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.5 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.5 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 5 Hi Bjorn, Polite ping, to see if there are any concerns with this patch series (more specifically patches 1-4). Thanks Farhan On 12/1/2025 2:08 PM, Farhan Ali wrote: > Hi, > > This Linux kernel patch series introduces support for error recovery for > passthrough PCI devices on System Z (s390x). > > Background > ---------- > For PCI devices on s390x an operating system receives platform specific > error events from firmware rather than through AER.Today for > passthrough/userspace devices, we don't attempt any error recovery and > ignore any error events for the devices. The passthrough/userspace devices > are managed by the vfio-pci driver. The driver does register error handling > callbacks (error_detected), and on an error trigger an eventfd to > userspace. But we need a mechanism to notify userspace > (QEMU/guest/userspace drivers) about the error event. > > Proposal > -------- > We can expose this error information (currently only the PCI Error Code) > via a device feature. Userspace can then obtain the error information > via VFIO_DEVICE_FEATURE ioctl and take appropriate actions such as driving > a device reset. > > This is how a typical flow for passthrough devices to a VM would work: > For passthrough devices to a VM, the driver bound to the device on the host > is vfio-pci. vfio-pci driver does support the error_detected() callback > (vfio_pci_core_aer_err_detected()), and on an PCI error s390x recovery > code on the host will call the vfio-pci error_detected() callback. The > vfio-pci error_detected() callback will notify userspace/QEMU via an > eventfd, and return PCI_ERS_RESULT_CAN_RECOVER. At this point the s390x > error recovery on the host will skip any further action(see patch 6) and > let userspace drive the error recovery. > > Once userspace/QEMU is notified, it then injects this error into the VM > so device drivers in the VM can take recovery actions. For example for a > passthrough NVMe device, the VM's OS NVMe driver will access the device. > At this point the VM's NVMe driver's error_detected() will drive the > recovery by returning PCI_ERS_RESULT_NEED_RESET, and the s390x error > recovery in the VM's OS will try to do a reset. Resets are privileged > operations and so the VM will need intervention from QEMU to perform the > reset. QEMU will invoke the VFIO_DEVICE_RESET ioctl to now notify the > host that the VM is requesting a reset of the device. The vfio-pci driver > on the host will then perform the reset on the device to recover it. > > > Thanks > Farhan > > ChangeLog > --------- > v5 series https://lore.kernel.org/all/20251113183502.2388-1-alifm@linux.ibm.com/ > v5 -> v6 > - Rebase on 6.18 + Lukas's PCI: Universal error recoverability of > devices series (https://lore.kernel.org/all/cover.1763483367.git.lukas@wunner.de/) > > - Re-work config space accessibility check to pci_dev_save_and_disable() (patch 3). > This avoids saving the config space, in the reset path, if the device's config space is > corrupted or inaccessible. > > v4 series https://lore.kernel.org/all/20250924171628.826-1-alifm@linux.ibm.com/ > v4 -> v5 > - Rebase on 6.18-rc5 > > - Move bug fixes to the beginning of the series (patch 1 and 2). These patches > were posted as a separate fixes series > https://lore.kernel.org/all/a14936ac-47d6-461b-816f-0fd66f869b0f@linux.ibm.com/ > > - Add matching pci_put_dev() for pci_get_slot() (patch 6). > > v3 series https://lore.kernel.org/all/20250911183307.1910-1-alifm@linux.ibm.com/ > v3 -> v4 > - Remove warn messages for each PCI capability not restored (patch 1) > > - Check PCI_COMMAND and PCI_STATUS register for error value instead of device id > (patch 1) > > - Fix kernel crash in patch 3 > > - Added reviewed by tags > > - Address comments from Niklas's (patches 4, 5, 7) > > - Fix compilation error non s390x system (patch 8) > > - Explicitly align struct vfio_device_feature_zpci_err (patch 8) > > > v2 series https://lore.kernel.org/all/20250825171226.1602-1-alifm@linux.ibm.com/ > v2 -> v3 > - Patch 1 avoids saving any config space state if the device is in error > (suggested by Alex) > > - Patch 2 adds additional check only for FLR reset to try other function > reset method (suggested by Alex). > > - Patch 3 fixes a bug in s390 for resetting PCI devices with multiple > functions. Creates a new flag pci_slot to allow per function slot. > > - Patch 4 fixes a bug in s390 for resource to bus address translation. > > - Rebase on 6.17-rc5 > > > v1 series https://lore.kernel.org/all/20250813170821.1115-1-alifm@linux.ibm.com/ > v1 - > v2 > - Patches 1 and 2 adds some additional checks for FLR/PM reset to > try other function reset method (suggested by Alex). > > - Patch 3 fixes a bug in s390 for resetting PCI devices with multiple > functions. > > - Patch 7 adds a new device feature for zPCI devices for the VFIO_DEVICE_FEATURE > ioctl. The ioctl is used by userspace to retriece any PCI error > information for the device (suggested by Alex). > > - Patch 8 adds a reset_done() callback for the vfio-pci driver, to > restore the state of the device after a reset. > > - Patch 9 removes the pcie check for triggering VFIO_PCI_ERR_IRQ_INDEX. > > > Farhan Ali (9): > PCI: Allow per function PCI slots > s390/pci: Add architecture specific resource/bus address translation > PCI: Avoid saving config space state if inaccessible > PCI: Add additional checks for flr reset > s390/pci: Update the logic for detecting passthrough device > s390/pci: Store PCI error information for passthrough devices > vfio-pci/zdev: Add a device feature for error information > vfio: Add a reset_done callback for vfio-pci driver > vfio: Remove the pcie check for VFIO_PCI_ERR_IRQ_INDEX > > arch/s390/include/asm/pci.h | 29 ++++++++ > arch/s390/pci/pci.c | 75 +++++++++++++++++++++ > arch/s390/pci/pci_event.c | 107 +++++++++++++++++------------- > drivers/pci/host-bridge.c | 4 +- > drivers/pci/pci.c | 19 +++++- > drivers/pci/slot.c | 25 ++++++- > drivers/vfio/pci/vfio_pci_core.c | 20 ++++-- > drivers/vfio/pci/vfio_pci_intrs.c | 3 +- > drivers/vfio/pci/vfio_pci_priv.h | 9 +++ > drivers/vfio/pci/vfio_pci_zdev.c | 45 ++++++++++++- > include/linux/pci.h | 1 + > include/uapi/linux/vfio.h | 15 +++++ > 12 files changed, 291 insertions(+), 61 deletions(-) > From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id eNDALRKDOGk66jAAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 20:14:10 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 20:14:10 +0000 Received: from sin.lore.kernel.org ([104.64.211.4]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT465-0000000DTIz-459f for hi@josie.lol; Tue, 09 Dec 2025 20:14:10 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 42B9D3017A4D for ; Tue, 9 Dec 2025 20:14:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D051307496; Tue, 9 Dec 2025 20:14:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="kW1uQuFR" X-Original-To: stable@vger.kernel.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B933321772A; Tue, 9 Dec 2025 20:14:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765311242; cv=none; b=u34BuU7IzK6KHpwU2Dvbgl4moSXJQ5MoMoGtz4EkWFnQ4XKmh6ZUxxOXM0mX0GFTI3+rsc9dOqs4Gm24SGDrZkDHer8UhYe49txuRkUdZWOJHgN7x1MRdCbMznfDr3FVG1k8ToV6FnKl1eTs8nI4dl2M7AsAvCctj5ejvlrMqiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765311242; c=relaxed/simple; bh=MFyRQl8t4yIYZhE2fsNGBH0K2UBw9t7oNnFVp67ULzU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hoj0qrwgQClXLAmBcvGoK1OPM8Do8Em+8BbEm1OmQJsjkNa0J+uwAdvDW80ofFcW9on/3D/VLdsj8b57xlSLn64b1dYDiQ0h+u5j2ubI02hauNMGPI2xvJaqqigfPzhe/KGzFter5p5s9XsiKkyOubLv5prZV8ZfwmMV6ppPurM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=kW1uQuFR; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5B9JvokL015295; Tue, 9 Dec 2025 20:13:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=OgyRhQ JfKjOC3dnyjf+T9Yn5T1VluTDzbb5o6cJimpU=; b=kW1uQuFRSCSfDjptbb/hyQ q6gVdz6zMZAxvU8T7HF66QAbfDPH/LM39DZmIZyPKhSggZnseYygMYa13KljP7fd 7WA/4UGOC59UrKcyPlEoyVlkgxIXmNVk0ByQtCwURcRz9EfprrpJkr8ZdQCCJRt6 Cuavtx9KVnQJvSnJoW2DnPJgfL72X5zbv1OLltH6qThsT+PIu47felhmnNEx3277 FghiQakML80oedR3PcyfI1mMw8oHo1BsMnISgV1FVbdCzGuL1m9g3YnzLzX3gNoU TlqkzyFuBGM0P3k+o8C+sxfHCCVGN0dgqvxOi5B6QeCLbltHaRKb/zya5RPSDNCA == Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4avc0jy561-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Dec 2025 20:13:47 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 5B9I11OR008472; Tue, 9 Dec 2025 20:13:46 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4avytmw3q9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Dec 2025 20:13:46 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 5B9KDjl510158722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Dec 2025 20:13:45 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E658558055; Tue, 9 Dec 2025 20:13:44 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1429458043; Tue, 9 Dec 2025 20:13:44 +0000 (GMT) Received: from [9.61.242.96] (unknown [9.61.242.96]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 9 Dec 2025 20:13:43 +0000 (GMT) Message-ID: <2c609e61-1861-4bf3-b019-a11c137d26a5@linux.ibm.com> Date: Tue, 9 Dec 2025 12:13:42 -0800 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 0/9] Error recovery for vfio-pci devices on s390x To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Cc: lukas@wunner.de, alex@shazbot.org, clg@redhat.com, stable@vger.kernel.org, schnelle@linux.ibm.com, mjrosato@linux.ibm.com References: <20251201220823.3350-1-alifm@linux.ibm.com> Content-Language: en-US From: Farhan Ali In-Reply-To: <20251201220823.3350-1-alifm@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Authority-Analysis: v=2.4 cv=Cf8FJbrl c=1 sm=1 tr=0 ts=693882fb cx=c_pps a=GFwsV6G8L6GxiO2Y/PsHdQ==:117 a=GFwsV6G8L6GxiO2Y/PsHdQ==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=VnNF1IyMAAAA:8 a=V0HI7nMEepYQZMZ9NQAA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: YiQzi55OKdU_4gmuRt4A9wWccHEodPdv X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjA2MDAxNiBTYWx0ZWRfX9EDYUAOr/eXg ibESR7L2Mz8WEMu6xrslWaZ1D6AcemclT7umy8MJkTCvhgqJT5eokUepzIbixHxAOTlyVOiWSuq 8mUOWFLt2Y1toIvGYd6VfY+5wY4VOv+yWRlkfKk5Yb0afUsKX4RnFbhAZinXO1Xa8aO5A76+7pB SpKvyEEYQ3gDtV08vp9WNAhVtA2OEVw/3psA2bIQctDsFdLCy2KyIHOJdAtIxraLXHlXu8R0D1E NawblMzT5Qsm4w8yTm1mifu2JkIoHalQ+g+mzZMQ+4FdbD3dMMh+pw7N/kZrjB8KPiK5MYIFUoo XjALuVS9HYKB8xIiyCiGdkDfFFPpyIrv/me5SQCVR7VUiYs/g6SN5qurq5IYkDNn4p0MUxXqOxC 3FhfsgsjWv5MGghTkL3QvlKRTrtxHg== X-Proofpoint-GUID: YiQzi55OKdU_4gmuRt4A9wWccHEodPdv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-09_04,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 malwarescore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510240000 definitions=main-2512060016 X-DKIM: signer='ibm.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.5 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.5 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [104.64.211.4 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 5 Hi Bjorn, Polite ping, to see if there are any concerns with this patch series (more specifically patches 1-4). Thanks Farhan On 12/1/2025 2:08 PM, Farhan Ali wrote: > Hi, > > This Linux kernel patch series introduces support for error recovery for > passthrough PCI devices on System Z (s390x). > > Background > ---------- > For PCI devices on s390x an operating system receives platform specific > error events from firmware rather than through AER.Today for > passthrough/userspace devices, we don't attempt any error recovery and > ignore any error events for the devices. The passthrough/userspace devices > are managed by the vfio-pci driver. The driver does register error handling > callbacks (error_detected), and on an error trigger an eventfd to > userspace. But we need a mechanism to notify userspace > (QEMU/guest/userspace drivers) about the error event. > > Proposal > -------- > We can expose this error information (currently only the PCI Error Code) > via a device feature. Userspace can then obtain the error information > via VFIO_DEVICE_FEATURE ioctl and take appropriate actions such as driving > a device reset. > > This is how a typical flow for passthrough devices to a VM would work: > For passthrough devices to a VM, the driver bound to the device on the host > is vfio-pci. vfio-pci driver does support the error_detected() callback > (vfio_pci_core_aer_err_detected()), and on an PCI error s390x recovery > code on the host will call the vfio-pci error_detected() callback. The > vfio-pci error_detected() callback will notify userspace/QEMU via an > eventfd, and return PCI_ERS_RESULT_CAN_RECOVER. At this point the s390x > error recovery on the host will skip any further action(see patch 6) and > let userspace drive the error recovery. > > Once userspace/QEMU is notified, it then injects this error into the VM > so device drivers in the VM can take recovery actions. For example for a > passthrough NVMe device, the VM's OS NVMe driver will access the device. > At this point the VM's NVMe driver's error_detected() will drive the > recovery by returning PCI_ERS_RESULT_NEED_RESET, and the s390x error > recovery in the VM's OS will try to do a reset. Resets are privileged > operations and so the VM will need intervention from QEMU to perform the > reset. QEMU will invoke the VFIO_DEVICE_RESET ioctl to now notify the > host that the VM is requesting a reset of the device. The vfio-pci driver > on the host will then perform the reset on the device to recover it. > > > Thanks > Farhan > > ChangeLog > --------- > v5 series https://lore.kernel.org/all/20251113183502.2388-1-alifm@linux.ibm.com/ > v5 -> v6 > - Rebase on 6.18 + Lukas's PCI: Universal error recoverability of > devices series (https://lore.kernel.org/all/cover.1763483367.git.lukas@wunner.de/) > > - Re-work config space accessibility check to pci_dev_save_and_disable() (patch 3). > This avoids saving the config space, in the reset path, if the device's config space is > corrupted or inaccessible. > > v4 series https://lore.kernel.org/all/20250924171628.826-1-alifm@linux.ibm.com/ > v4 -> v5 > - Rebase on 6.18-rc5 > > - Move bug fixes to the beginning of the series (patch 1 and 2). These patches > were posted as a separate fixes series > https://lore.kernel.org/all/a14936ac-47d6-461b-816f-0fd66f869b0f@linux.ibm.com/ > > - Add matching pci_put_dev() for pci_get_slot() (patch 6). > > v3 series https://lore.kernel.org/all/20250911183307.1910-1-alifm@linux.ibm.com/ > v3 -> v4 > - Remove warn messages for each PCI capability not restored (patch 1) > > - Check PCI_COMMAND and PCI_STATUS register for error value instead of device id > (patch 1) > > - Fix kernel crash in patch 3 > > - Added reviewed by tags > > - Address comments from Niklas's (patches 4, 5, 7) > > - Fix compilation error non s390x system (patch 8) > > - Explicitly align struct vfio_device_feature_zpci_err (patch 8) > > > v2 series https://lore.kernel.org/all/20250825171226.1602-1-alifm@linux.ibm.com/ > v2 -> v3 > - Patch 1 avoids saving any config space state if the device is in error > (suggested by Alex) > > - Patch 2 adds additional check only for FLR reset to try other function > reset method (suggested by Alex). > > - Patch 3 fixes a bug in s390 for resetting PCI devices with multiple > functions. Creates a new flag pci_slot to allow per function slot. > > - Patch 4 fixes a bug in s390 for resource to bus address translation. > > - Rebase on 6.17-rc5 > > > v1 series https://lore.kernel.org/all/20250813170821.1115-1-alifm@linux.ibm.com/ > v1 - > v2 > - Patches 1 and 2 adds some additional checks for FLR/PM reset to > try other function reset method (suggested by Alex). > > - Patch 3 fixes a bug in s390 for resetting PCI devices with multiple > functions. > > - Patch 7 adds a new device feature for zPCI devices for the VFIO_DEVICE_FEATURE > ioctl. The ioctl is used by userspace to retriece any PCI error > information for the device (suggested by Alex). > > - Patch 8 adds a reset_done() callback for the vfio-pci driver, to > restore the state of the device after a reset. > > - Patch 9 removes the pcie check for triggering VFIO_PCI_ERR_IRQ_INDEX. > > > Farhan Ali (9): > PCI: Allow per function PCI slots > s390/pci: Add architecture specific resource/bus address translation > PCI: Avoid saving config space state if inaccessible > PCI: Add additional checks for flr reset > s390/pci: Update the logic for detecting passthrough device > s390/pci: Store PCI error information for passthrough devices > vfio-pci/zdev: Add a device feature for error information > vfio: Add a reset_done callback for vfio-pci driver > vfio: Remove the pcie check for VFIO_PCI_ERR_IRQ_INDEX > > arch/s390/include/asm/pci.h | 29 ++++++++ > arch/s390/pci/pci.c | 75 +++++++++++++++++++++ > arch/s390/pci/pci_event.c | 107 +++++++++++++++++------------- > drivers/pci/host-bridge.c | 4 +- > drivers/pci/pci.c | 19 +++++- > drivers/pci/slot.c | 25 ++++++- > drivers/vfio/pci/vfio_pci_core.c | 20 ++++-- > drivers/vfio/pci/vfio_pci_intrs.c | 3 +- > drivers/vfio/pci/vfio_pci_priv.h | 9 +++ > drivers/vfio/pci/vfio_pci_zdev.c | 45 ++++++++++++- > include/linux/pci.h | 1 + > include/uapi/linux/vfio.h | 15 +++++ > 12 files changed, 291 insertions(+), 61 deletions(-) > From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id mL+MIJaQOGmlYTcAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 21:11:50 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 21:11:50 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT4zu-0000000FPuM-0s5k for hi@josie.lol; Tue, 09 Dec 2025 21:11:50 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 2C1B0300997D for ; Tue, 9 Dec 2025 21:11:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B26DD2FFFB2; Tue, 9 Dec 2025 21:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Z7zTBAgo" X-Original-To: stable@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87FA62FFFB9 for ; Tue, 9 Dec 2025 21:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.15 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765314179; cv=fail; b=Z+hp15gNmWAJ5GNeTA6pUfL+GXFSPiAmVDK9HSPdRw1KEJMyQ9w7prO2baocSlevt2m3+lASID36kiASXGtWTE4iZ/UnJ/Dg5MthN3dVXSnsl5NE2QxIboe29cfMrEEBBJAM6PIOR2iMVu2ItYACQ2UbtRvr81Hrm2IZrUPrwJI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765314179; c=relaxed/simple; bh=DegyPAtj80dkQImBuiHww26glkfOEwpUF0U4C5kvBwI=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=X/alde1aivNJFsjpXrlQppYkHqh+W59/q0C5xbx9yjhXI832w9cSet9abAXED5JGqlufDlHmkB0LvWpYbB89vD0ewvDz402DHnQkBCIvuJ08EIU6F4OoOd8XyDBRHeTaHR1ht/HMiGcVSBHqa3pZG/9BjaN5a34ULAxqHuclNQk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Z7zTBAgo; arc=fail smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765314177; x=1796850177; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=DegyPAtj80dkQImBuiHww26glkfOEwpUF0U4C5kvBwI=; b=Z7zTBAgoyLxRqKM3zEs/7H1pgOVFkB4Ebl+RKJnxIYbqawvzZL3uUXBt occShM2hi/kQYyawdb89qn9kR7bq7h5o2KmogB9IugN4JguS33JIAcZxU Vkc4Y2CUJGhgt3MsfABBBKNToMjh71jXUKneN977WJ/vCdRi0yjllsdNN xpD6oAJsxWBGpgKbIPen1+lGWAnh0W4ebzF7HeqdO60aMcQmRXYLQrMJi E6Aeau2QVfhT10bOS9Cz8sEQ5jbs3f4rHW43J/56lL5of1FSvMuktdma0 mhfRNEKdp5gEdoa3Mu2Psd1uN9xFxtXB/hcbTzNrZeyzBWzisSTSI/h2f Q==; X-CSE-ConnectionGUID: xGUDSRvoRICWt+9llSGNKQ== X-CSE-MsgGUID: hPzhiEl7RZKFK58E9rJ2lQ== X-IronPort-AV: E=McAfee;i="6800,10657,11637"; a="70902036" X-IronPort-AV: E=Sophos;i="6.20,262,1758610800"; d="scan'208";a="70902036" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2025 13:02:56 -0800 X-CSE-ConnectionGUID: aFcqPn/YQzWQA03s/rubFw== X-CSE-MsgGUID: CXcmz/p7Roqq3c7gSXhVGQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,262,1758610800"; d="scan'208";a="196079180" Received: from fmsmsx903.amr.corp.intel.com ([10.18.126.92]) by orviesa009.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2025 13:02:56 -0800 Received: from FMSMSX901.amr.corp.intel.com (10.18.126.90) by fmsmsx903.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 9 Dec 2025 13:02:55 -0800 Received: from fmsedg902.ED.cps.intel.com (10.1.192.144) by FMSMSX901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29 via Frontend Transport; Tue, 9 Dec 2025 13:02:55 -0800 Received: from SN4PR0501CU005.outbound.protection.outlook.com (40.93.194.51) by edgegateway.intel.com (192.55.55.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 9 Dec 2025 13:02:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uAc2wK5xABzEL7h/G+VVf3UDE3QUDjc2hqB/Ep5I7Zrko8Ncczfesvt8nGVEErpIwKk9T5GG8F8RKqk1LpRBwnO5wFgEtVpfznZN6wwnxLbTxezEz9MWjiS9fkgHBPXt638zM+QQBYi6BMumIG57MkMHmIu9Ic3xpNeq7Ij+Ih0Zl0nRI20nBrP7BuDnUCuTf5GN5AauTvon3M+oWW53twSGTPlLQ9NCnlAyC2VwEPJqFQWXz61SYmwPeVxzZp2Ir/mnjDyQztiqCHnemGeFIH3I/uPB33ELMvTSgvwrrjkDSTCAKfu/N3CiZ5qMO/eKzD2ZQ2qda+RBLuya9QKXLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tVJzSyWUd4EiB74C+jJxwa3xah28Jl4sPEIazBozXxY=; b=O7l1ceA3zRlHqC+ImpssFT3a0/vJAPTWqpByoZGRrubnMA1xdu/c4Ff8xXTgOW59l4Ij0zpw5AtuohXQLhy7ovTCpTFk0YmOf7dzpslfr1ZntAUYEIQ+FcZi2y83aEdFcwOJojZKuON2TXKnJA0XnVz+Ibo++SG4I44znL+N3zjaL9DqzZJeal6vEwkPXVgmE7s5X8CQR372Eg9luiNvVFmYGQ5rDIUbdvy18pk3sXvfe1Ky/nEeYCCZ5Q91Jx9Ghjlr+C6yhifrB+gX5i4b/LnCtRYiw0E4BqV6Xn0AxZPoBmK5OjEomOeJt3V3DLHhjYt397zvlVqdghDVjt1/iQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7PR11MB6522.namprd11.prod.outlook.com (2603:10b6:510:212::12) by MW4PR11MB6885.namprd11.prod.outlook.com (2603:10b6:303:21b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9298.8; Tue, 9 Dec 2025 21:02:50 +0000 Received: from PH7PR11MB6522.namprd11.prod.outlook.com ([fe80::9e94:e21f:e11a:332]) by PH7PR11MB6522.namprd11.prod.outlook.com ([fe80::9e94:e21f:e11a:332%7]) with mapi id 15.20.9388.013; Tue, 9 Dec 2025 21:02:50 +0000 Date: Tue, 9 Dec 2025 13:02:48 -0800 From: Matthew Brost To: Thomas =?iso-8859-1?Q?Hellstr=F6m?= CC: , Rodrigo Vivi , Maarten Lankhorst , Subject: Re: [PATCH] drm/xe/bo: Don't include the CCS metadata in the dma-buf sg-table Message-ID: References: <20251209204920.224374-1-thomas.hellstrom@linux.intel.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20251209204920.224374-1-thomas.hellstrom@linux.intel.com> X-ClientProxiedBy: MW4P222CA0030.NAMP222.PROD.OUTLOOK.COM (2603:10b6:303:114::35) To PH7PR11MB6522.namprd11.prod.outlook.com (2603:10b6:510:212::12) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB6522:EE_|MW4PR11MB6885:EE_ X-MS-Office365-Filtering-Correlation-Id: 4be96358-01fd-4e3c-45a3-08de3766504d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7053199007; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?gLD4Go9n2OkfzOfp1PHpOBsbcvwNUZ4d7CJxJiYoxfJyjkEAAtedSP+wKU?= =?iso-8859-1?Q?5GtT8evAAlQSm3bp4Zlifl9c3QB8xDS4hZuDrMmiA5vopMJkJcVNxJxWaH?= =?iso-8859-1?Q?l6LhJ4QNhsR1dHzpVlEBaQlq1Ny78Mk/zF+I+C6qy5vaRxu8RZwD1LBQr6?= =?iso-8859-1?Q?8TWF2tK+1yKuQTWM4YUenwAzih+MjMAPykM7zr6gHFr0pTzc95qwH/47k9?= =?iso-8859-1?Q?Eo56ugvHMSTuuRUwFAKCg7IuOFZ2H1v6GgZtRCBTB3GXjpLXYvsXCAdy5H?= =?iso-8859-1?Q?REyorPQ1QZNEAgpYhbW5WmWntqcrV5XbazSt+FXzM4XmnbnzuqbIVjCwb0?= =?iso-8859-1?Q?/JTfg2kYbCn7zRyo4REyk1duvE++QaCJ+1OZlgjF4Sfmb0WMMwcah9vLnk?= =?iso-8859-1?Q?fKQGYSqKAFm2fNfWE/JbmVcD/pVPuIR5S17+SHsi+3DF5wdIlxiURe2Xln?= =?iso-8859-1?Q?iJ2TPCyibpIMl2oJnBGlO2znwbV2KRudH2Ziq5tBsXLhw+qEKY2E8kH5Tv?= =?iso-8859-1?Q?xirkoGCsiyNaaNOxvMpLD/w7d1U+RmuH+Ci0N2/tzLUbT6k5ZrmwF1KUM3?= =?iso-8859-1?Q?c9QHCPfMgQmLuumdukdBV/j+Yz5mzmH9AsUmpMJi5xHW8K/hDamqmzTXt4?= =?iso-8859-1?Q?GavaR1pqcMQ0DlQbwDTy1dC9vggDXiGSKenOCnsuOCI/9e7sXlwLIYceRk?= =?iso-8859-1?Q?k8/ifTAMTH2J7ASU6R/wzh8qjNqTdA3YmfQsj2S8PSnzc/NBBKv5exBEmO?= =?iso-8859-1?Q?tAaOw6+QtZHRwuuloQBg22vSEFL6ERpmUJab4munpGkuU1Oyhzb3pBhlQA?= =?iso-8859-1?Q?/yU0hTPXATpNKom5J7XJQbt6rNpvLNekWhht8goJeWPKGRxnsjxNH5e/ET?= =?iso-8859-1?Q?CufAsP2r4ZDCpyLGWb+EmgD8ZeJR3/j6TGbOQvlRscA6Uvwnc0aidLWIq4?= =?iso-8859-1?Q?GwgdWtliU8WmAUoo8LJUJTE/uY00zeCXxBZvEQCkNsGpOEoVAmP0tfIg6h?= =?iso-8859-1?Q?eiZCdwlwWDl0qhEGRithEkt0Y5ppN1shTiirS2vSfeTOBGs8H1MaPfPMat?= =?iso-8859-1?Q?Rx0Y6m3ECO6zkr7yzEnpLuLSwGDHXX7Y7p8GUHaIXiuZsBTHGVj/JGMfdL?= =?iso-8859-1?Q?VSA6ymFk7yWgwZZi2W2fWe2dBrJTKj8X/Z+Zy4P+/UoPxpBviZpm+1iFZx?= =?iso-8859-1?Q?8ZkFJN2sVXmjV4Gm5dFE3D9BwK5X281q70FwiYyTNM6gYEsWGZNKBHKW2q?= =?iso-8859-1?Q?o/TJPUWYO4sw6N5Mm1wHgyQw2C2woC50zo+UdbyTy64rBldfje5j2PgtLY?= =?iso-8859-1?Q?ufLGaVrriJuJ1PFLm5z19D984fKY9m8Rvk7QiOtnEFAHTvMhna/PQRkWHo?= =?iso-8859-1?Q?kAsnkhmwHE7iSk0Ra+bV5vnOuOSNOpjnsAByigG4G/PcP9Q0182ldJLfiR?= =?iso-8859-1?Q?ic3GpZiJqCQydUHcp2gvtvyACeB/feEiXqLHxZY7RZ0gHCsosMW+J2RyNt?= =?iso-8859-1?Q?s4tYYY1uc+bfOQQ0hMNxNc?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB6522.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7053199007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?t4MH9dILOQ4iVKvl+42WMBQb02RpdqqIdAVAWDVCfipdlrGZEwXcQiTAgP?= =?iso-8859-1?Q?NEJx9667XbloAQ/cGDFDrgusbjprN4lPk2jWQUeLCa7AM9cS/DhF/sf0qu?= =?iso-8859-1?Q?6+bFmFMee9mWB6FUObfgGiFOpDqjTc//Pu4kYmTBMYbBoXp7cFgDJTno7x?= =?iso-8859-1?Q?7XcSxLqWvFUWkXDNWIuYwLY2KA/M+XmlI338I4NtzhaIDe0oAQeztvXUUT?= =?iso-8859-1?Q?TJsULsMKjsUa9tU2O6c8J8wRTt+nEdzS4PM5JrLGKrrRxaseMwZFQUjSEb?= =?iso-8859-1?Q?CcDeUnfBm4Rh/Maf0eNh7sGHkkKh5/InTSteEF3Ns3Q+NfRiUjQjYd1fYt?= =?iso-8859-1?Q?brRq0pq5m/rb8gUzj7k5OpqfzvnbQcc/G+paf9HADJDQufUvsEbe67e3zp?= =?iso-8859-1?Q?tr4bQu/oprViWCIchqeJz49jo6u4dh2maqiU/vq6LD6bP6dfRjigPwiS8G?= =?iso-8859-1?Q?mGgK7izq4WM5lDh8kHsJD66Q5owy9P22g79guhYcz4yGj28L6QxenBLKw4?= =?iso-8859-1?Q?ew4Br8vDwOJTJhWvJKT94tLjd/dDrGZSQ4CP1hyNVXMqqYdqI+2LH5Gk3B?= =?iso-8859-1?Q?/JqbaBYo1X9VIi3xpTkgSpQh38BaI3tZVbqGKHmxdi04G3jMbes9EvZ1Qg?= =?iso-8859-1?Q?pXVHxdY74KjobrfWi2hTti21xKtBEhErI9GfxRc5ngjq4BcBYqH5KY+B9Y?= =?iso-8859-1?Q?VzZ0KDoFV2yo/45DYgCv6fIAR2MoF/BuVuOm37bWb5c+hwJ4NIZ8D/7NEw?= =?iso-8859-1?Q?YKtFr+aO5zNEfxBE8lR6fLohic1b+3bwVyAlSlD24h4SIp2GZyNMwyJGXa?= =?iso-8859-1?Q?36OuIbPGbvtc0Iuxp0z35N/A27wRjWwDGTt3G3nbomG13xUdfHr6oPnLSh?= =?iso-8859-1?Q?7+MuE38TBJn7kTCQLsS2F9dStYnYGP2cmRyEJcvICw3Riap5nOMV8JOnez?= =?iso-8859-1?Q?41PXf1++eVrXI3cICgw/fYQWcbgAjzFU0IZVKEM0rtQELwEBnkVkaWqdHO?= =?iso-8859-1?Q?71rqJ3WZEZe2VTx4B2WOdZntGLYCLLYAuENdq5hSKJZvGCRxTF3Fztv1bU?= =?iso-8859-1?Q?co88MKLzrqipf2yzHp5NaawucopwdJHjlhIeA20p/aYDBNghUtNmiih8qv?= =?iso-8859-1?Q?STGvdN9KDBAylRwgvxur1H0xomKeDBjVDRI7N3+NYkRIv9lAIOddx9e3jh?= =?iso-8859-1?Q?66iWeqOOGRYs0rIgQlAhxF6QnuwoTnFfUQJ8ueFZz6KeG2T+MBrXvCkd0F?= =?iso-8859-1?Q?q387cPynxiG8F6dLjetnhWfSVuHMVwoniI+aFmzHrV3o5Z6ShFTVVkx2he?= =?iso-8859-1?Q?yfuExmCi426nR9AbsJIfJiK/qdOv2UCXiLx7PNEc3fOqz8zJMHQJ2lTTe/?= =?iso-8859-1?Q?vb2a1yMgFXZJJGhpI8RepxmmG1iw928VzAxhvyvIyx3L3OrtL7arNhIb1r?= =?iso-8859-1?Q?p8on4TTobWJv8p+gkrGPCgG9BSEx5Ua2Z6MTnKQI4IDSX6m5ceAG5sEp9t?= =?iso-8859-1?Q?vUb8LiqSXvvDXo6WtyLu48/nAX9wl5VFTCssi2zhRmZRAxO6+DakB0ef5T?= =?iso-8859-1?Q?8euJFvtapiNAF3n3CJ+ajZXPHq+Toyh8G0aEH2uUS+2Xtbx6ynRviWbzXa?= =?iso-8859-1?Q?uiMxcz/eLfgTR7IRSpsTyofip+ghBpSUjonJjrw1MFHFpR9kNaETDiXg?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4be96358-01fd-4e3c-45a3-08de3766504d X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6522.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2025 21:02:50.7565 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EC3Lbv0Tzz3agkpabQvb3y+ebfBaJw/xeMpjW/3oqOHk2u0Met26bL46PEwT8w24XgLH5+K8kjMeDwvGwpRgbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB6885 X-OriginatorOrg: intel.com X-DKIM: signer='intel.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-DKIM: signer='@intel.com' status='pass' reason='' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: intel.com] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 4 On Tue, Dec 09, 2025 at 09:49:20PM +0100, Thomas Hellström wrote: > Some Xe bos are allocated with extra backing-store for the CCS > metadata. It's never been the intention to share the CCS metadata > when exporting such bos as dma-buf. Don't include it in the > dma-buf sg-table. > Indeed, good catch. > Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") > Cc: Rodrigo Vivi > Cc: Matthew Brost Reviewed-by: Matthew Brost > Cc: Maarten Lankhorst > Cc: # v6.8+ > Signed-off-by: Thomas Hellström > --- > drivers/gpu/drm/xe/xe_dma_buf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c b/drivers/gpu/drm/xe/xe_dma_buf.c > index 54e42960daad..7c74a31d4486 100644 > --- a/drivers/gpu/drm/xe/xe_dma_buf.c > +++ b/drivers/gpu/drm/xe/xe_dma_buf.c > @@ -124,7 +124,7 @@ static struct sg_table *xe_dma_buf_map(struct dma_buf_attachment *attach, > case XE_PL_TT: > sgt = drm_prime_pages_to_sg(obj->dev, > bo->ttm.ttm->pages, > - bo->ttm.ttm->num_pages); > + obj->size >> PAGE_SHIFT); > if (IS_ERR(sgt)) > return sgt; > > -- > 2.51.1 > From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id GPxqAyqROGnrGDYAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 21:14:18 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 21:14:18 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT52H-0000000FUiY-3hlk for hi@josie.lol; Tue, 09 Dec 2025 21:14:18 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 57F6B301D62F for ; Tue, 9 Dec 2025 21:14:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C13F30100E; Tue, 9 Dec 2025 21:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YX+ngi9x" X-Original-To: stable@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F5523081C0 for ; Tue, 9 Dec 2025 21:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765314851; cv=none; b=KysPBKTWepvV2ItiAANX89Xq1BF/kwMYCthc0G1kmuDCVMWcWR5cRjZT8nXKW3gH7pkDDvatftdvQfhqxsyX7buI3R19I/yg1TJctCpqACaCplmMSzZI8WAsWImxg6TGbopicMuFPOwh89uXbLL66rSgnSmX0OigvbECMxSe0V8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765314851; c=relaxed/simple; bh=y+nKCCGtegI3QnwAkd/hkQIIGXS2/x3mSykgUgZA43w=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=a4/5qKewvoUc/5iXtOadO+cZXLGn0LYHflsVV/zqK92rT1lacX8E7D/aJsw8RDgKJXXYzRSEapPb86STBVcs1BrMR+gmbP2nzoT5HE3phAtICVfIZ7BCeqviouhUElKIhJZqFt3cmyYPBPe1Jij2hydEoSAq/5yOsV2hVRcGs2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=YX+ngi9x; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765314850; x=1796850850; h=date:from:to:cc:subject:message-id:mime-version: in-reply-to; bh=y+nKCCGtegI3QnwAkd/hkQIIGXS2/x3mSykgUgZA43w=; b=YX+ngi9xz3Q6BJhN5ZVgBm23CDL+IHB0W6HxLrKr1ckatiI+atcaAVld on6xqs2AwCcljPm/NVmEomDTruX5cZavWOYCqNJVpCSm7JmYwErw8ParL Fi6jwcAbwfXcLj5ANYS06USVsQIjOJG450ehx5TO+dNiJY82gDp0r9TM5 l38xXKNMwTxi0coCf1F3EpI6VkpsVDgRxIZ+1LVZx/Uno1RJ9zczV9pIF JSoCfOgdqwa2w3FvwPqd15CG8wIVXQC2w0RR5IUKK4GPFfL+HrUDYHnKx GDmNMsWGbRGgLiT15X4FUemNu/ZDTGFDdszbBUo3Q39hVFQNPlPX79vN7 g==; X-CSE-ConnectionGUID: TgjWoF0vQ7icc+4rXQhAVA== X-CSE-MsgGUID: zHbFab1lTQSjmRRKw77PRw== X-IronPort-AV: E=McAfee;i="6800,10657,11637"; a="54825775" X-IronPort-AV: E=Sophos;i="6.20,262,1758610800"; d="scan'208";a="54825775" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2025 13:14:10 -0800 X-CSE-ConnectionGUID: NMauCMy8TTuh9v2F08NlhQ== X-CSE-MsgGUID: i2JGLv9dRfqFghSPLx2HPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,262,1758610800"; d="scan'208";a="201255830" Received: from lkp-server01.sh.intel.com (HELO d335e3c6db51) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 09 Dec 2025 13:14:08 -0800 Received: from kbuild by d335e3c6db51 with local (Exim 4.98.2) (envelope-from ) id 1vT526-000000002GL-1WYE; Tue, 09 Dec 2025 21:14:06 +0000 Date: Wed, 10 Dec 2025 05:13:38 +0800 From: kernel test robot To: Tejun Heo Cc: stable@vger.kernel.org, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH sched_ext/for-6.19-fixes] sched_ext: Fix bypass depth leak on scx_enable() failure Message-ID: Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <286e6f7787a81239e1ce2989b52391ce@kernel.org> X-DKIM: signer='intel.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-DKIM: signer='@intel.com' status='pass' reason='' X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: intel.com] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 4 Hi, Thanks for your patch. FYI: kernel test robot notices the stable kernel rule is not satisfied. The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-3 Rule: The upstream commit ID must be specified with a separate line above the commit text. Subject: [PATCH sched_ext/for-6.19-fixes] sched_ext: Fix bypass depth leak on scx_enable() failure Link: https://lore.kernel.org/stable/286e6f7787a81239e1ce2989b52391ce%40kernel.org Please ignore this mail if the patch is not relevant for upstream. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki From - Tue Dec 09 21:56:00 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id kIREGjqYOGn2OTsAYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 21:44:26 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 21:44:26 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT5VS-0000000GS2s-0sWJ for hi@josie.lol; Tue, 09 Dec 2025 21:44:26 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 1951F300996C for ; Tue, 9 Dec 2025 21:44:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AF783164BF; Tue, 9 Dec 2025 21:44:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mrfviX+u" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 241FF275105; Tue, 9 Dec 2025 21:44:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765316664; cv=none; b=sj/ntxuYRoWOGFfi9sR0J/L2yt8G/t2fgdmj2fPD8rKt8InGbyd45puZo65hQiuQ0vGL5Zv36+TC7sbJnXOqKbcmSl585PmuMXgN+AvQRDpisvz5OCQtXKdiDni3P0PsyegmfCtKp+/Yany72obN18Ua+tFNacA/dOMQEe5UmiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765316664; c=relaxed/simple; bh=QYuXgb9QpaUY8Ny41Jm0TheiQmYmaE34Qp6hdo0bC/k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EpTW7SRsEjcMpEYKNvI7si2yPsrUc0VYtZEGIqdPPcl/7q/IBCrQjrL6EhVSrDxBpB54YIeIKKvKUUkPKWTlUog0JNKtZ5lmGwGtpUsK28BINuOmxZYrFRhP8k84m8fy+RW46dNvLcgxXl4reoSelZIhHYOvA9dbHVve6GrySuA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mrfviX+u; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B329C4CEF5; Tue, 9 Dec 2025 21:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765316663; bh=QYuXgb9QpaUY8Ny41Jm0TheiQmYmaE34Qp6hdo0bC/k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mrfviX+u4BJ1rBesfFG0frhCVNnSCl6q+m5re6W43dnhy6yF3GD+iJFhOpV9H0wxW gJrouQKtwyRkfTiSOBYIU8Alnp5UBYm1ra1b8EJDmGIzEBsQLLULJ3084a/WFLWA6G Kp5C4Tei6ICkWAi/kyKsQW4F8xmKJWw80BwWsZaQ= Date: Wed, 10 Dec 2025 06:44:21 +0900 From: Greg KH To: kernel test robot Cc: Tejun Heo , stable@vger.kernel.org, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH sched_ext/for-6.19-fixes] sched_ext: Fix bypass depth leak on scx_enable() failure Message-ID: <2025121008-manned-savor-b518@gregkh> References: <286e6f7787a81239e1ce2989b52391ce@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-DKIM: signer='linuxfoundation.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 4 On Wed, Dec 10, 2025 at 05:13:38AM +0800, kernel test robot wrote: > Hi, > > Thanks for your patch. > > FYI: kernel test robot notices the stable kernel rule is not satisfied. > > The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-3 Something went wrong, this seemed correct :( From - Tue Dec 09 22:36:22 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id oGotMWCkOGndvz0AYBR5ng (envelope-from ) for ; Tue, 09 Dec 2025 22:36:16 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Tue, 09 Dec 2025 22:36:16 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vT6Jb-00000000X6v-1VnQ for hi@josie.lol; Tue, 09 Dec 2025 22:36:16 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 1BCA83018B80 for ; Tue, 9 Dec 2025 22:36:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8598B2EA151; Tue, 9 Dec 2025 22:36:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=etsalapatis-com.20230601.gappssmtp.com header.i=@etsalapatis-com.20230601.gappssmtp.com header.b="nf3TBRKw" X-Original-To: stable@vger.kernel.org Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 629572BD11 for ; Tue, 9 Dec 2025 22:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765319772; cv=none; b=hhy6bb7a3UHoEUhn/2InmYXOCZois576hVehF7NTZHx+RgNO9znSgc83Bpl7kDo0/7s3SiIx0wSjYGt6rk2D6xn87oNaRELJHrNP2P+p2TTqEB9c/RG84VC275147D+oVdhG4iG9s+H6z+jntqxqUY0ty6fMxntlrUG5Fp+IgrQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765319772; c=relaxed/simple; bh=1GfgVhapWgGpkPQS1glpXT8EeTUtczYpWBuPImq24Kc=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=Ft5wORBbBxuXlHErgV8yDBJEMFYlTD1jbX4mkHVDG9rZokLmzAa3su41IEoy/5VepK3Eoe7PcVC//99Zp2Fh9qvPvlAuRt4nkyFtBkpDeqJj44ZLRhI4Z74qWpNkJ01TiVXVtqp4F4C7qdH4iQRhQbhO7a77svrYmj+ncLkaKJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=etsalapatis.com; spf=pass smtp.mailfrom=etsalapatis.com; dkim=pass (2048-bit key) header.d=etsalapatis-com.20230601.gappssmtp.com header.i=@etsalapatis-com.20230601.gappssmtp.com header.b=nf3TBRKw; arc=none smtp.client-ip=209.85.222.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=etsalapatis.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=etsalapatis.com Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-8b2