Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3418008pxb; Sat, 9 Oct 2021 09:51:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWw9HpgDt3Xnmqt/+QdhpL8g+RUUc3Lb8UpqQLp3CcwdkVjh+/6tnEks+DV66x1Hz2vEVf X-Received: by 2002:a17:906:1d41:: with SMTP id o1mr13167548ejh.232.1633798260251; Sat, 09 Oct 2021 09:51:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633798260; cv=pass; d=google.com; s=arc-20160816; b=HBDMuhuRqHXO5RVgsv8xh5wkyJKeEeiI8YqbRwnfIVTRTPWZPuIjeMmS0yU4m8/JrB LQeKCWvyNLG1o8tpDHpjM82umutduHWMFoQx6rzLQ182rfjjPc3MkC3cQZSQ5a/ez6pb nnfyJAzWPPzQUEQhYQO5dzzZGXC4RhQXfV5wS0lwK/wek5J7DhG6E0N9o/vPmjVsexpn jVMJi7wot/ET+wnrNXsjJDVQaH9Pcxds57y1gehF8kDZ0+MSodo3XQL0SaK3+bVURcWi otdoJmcYpKWveFhr3PC2qORnxQHZIRtRaTd7lPntIP/3UUH4ylbs5Q4boDcj/gi8sbhJ dPcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:reply-to:message-id:subject:cc:to :from:date:dkim-signature; bh=qJI/TA42sQ/r/5lhQoPDtsaVbpn/hBa3/4IVV6tcJik=; b=XD0R+q9lUuGnsy1ZCULs/iTJ54sIQi57I2/NWGDHUuE7ZGInA2OLqu5Ijt95ZfOkdX 89Isq/4fEBxqMOA1PslK5e1O7Ebld0k7qpeuMdz65M+37M1IvIrXbYp9ONZ+fYnEdcNq Q1ezqwNVZUbyfAdQhTSc9BlMHmtQTLgn/1ca1KOPnoqXUwm2EzkM2UXnkq9p8uWnQczn oPMOJykPPrpbwGWzkp9J1Y2vUvEUkzGcySgCzCUk/igcHqfw12abyIWuIqUM3wLUEIrz DWM+DNtSky4N2EWcC7BMajqJCQ2f5IKTGQlvAExiS1PoeEUNkPm/+YGVGlFDk2zIvhrS dG9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@concurrentrt.onmicrosoft.com header.s=selector2-concurrentrt-onmicrosoft-com header.b=QM8PKaC8; arc=pass (i=1 spf=pass spfdomain=concurrent-rt.com dkim=pass dkdomain=concurrent-rt.com dmarc=pass fromdomain=concurrent-rt.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz13si4344992ejb.129.2021.10.09.09.50.36; Sat, 09 Oct 2021 09:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@concurrentrt.onmicrosoft.com header.s=selector2-concurrentrt-onmicrosoft-com header.b=QM8PKaC8; arc=pass (i=1 spf=pass spfdomain=concurrent-rt.com dkim=pass dkdomain=concurrent-rt.com dmarc=pass fromdomain=concurrent-rt.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231667AbhJIQvN (ORCPT + 99 others); Sat, 9 Oct 2021 12:51:13 -0400 Received: from mail-bn7nam10on2091.outbound.protection.outlook.com ([40.107.92.91]:8348 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229624AbhJIQvN (ORCPT ); Sat, 9 Oct 2021 12:51:13 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VgLOSjOPvE0ZysqwWtWBVdfjddt0SpFBhgez9RoTjRw4MsFq12LBTNijtruZcMQS5DyQuUzKkq3QeMdFyPfBKhDLNRPpzpEMh+z1yo8bqzoowr4D4T3yJGYr3DbPduPz6nijLeCf0TryuTw8h15Df449jIcaghNbKcEg6PsnVLY+FJa3CWfBjBx031nXbaUCog2kiMcacfKWoB1wxl2NbBa74AyoMnCdBKnYkAXJZFJ4dk6BIh62nhyae2aAgbGIPS1mWR/bF1pbl7hjDQFJbooyqSn6S9IbTrp6G/zpV24ivZ4lcp5fWyu4ns1vhUrTWFhrpJcEBuM4jkJ9JvTjtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=qJI/TA42sQ/r/5lhQoPDtsaVbpn/hBa3/4IVV6tcJik=; b=mvSglNtjlYMybLlaPiCsRZzjUSktERbZ9UVBkjvWT82X0HyS87GTkeSfMnI2olULNoxwJ4nAgowzWBV/6/hwFbLGGxqOYEPXxgIm7W/VzGeZnMudnk1eg4R8StW2V+aW8MYkMkAjwu9ZpOZ0f8qvrLJKd33+CnLQnXNuX1TDEigrgfdzdXcsdcO6jQ6qd0ame3qyhGE5RofHE5naGQomILTQmFkcdoQ8LGSKLYTXid/59Mt0+gp9u3NhaktWQb8jJQCuwWvWisAvpBb3cKrrVwMesuGspv+pnY7PcGybO3lDySATI8KVKEwdVYHDmUiDwJzUGufqfAtK4thhnuqPaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=concurrent-rt.com; dmarc=pass action=none header.from=concurrent-rt.com; dkim=pass header.d=concurrent-rt.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=concurrentrt.onmicrosoft.com; s=selector2-concurrentrt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qJI/TA42sQ/r/5lhQoPDtsaVbpn/hBa3/4IVV6tcJik=; b=QM8PKaC8YZfPfu765sJYvBakoM0l4CtsedLSsSFQZzdGVKtG8UNfH6HaInFQh/58KU0DNJcV4ojvY1MDbauVRN2jEt46nhV8XDzqMn/CpzJxgrdb7VhnxxTPET/H/eyTlgtPd0qCG0KuCNH3+MJbRhfBSklJWC+A57j5zvvVpLc= Authentication-Results: linutronix.de; dkim=none (message not signed) header.d=none;linutronix.de; dmarc=none action=none header.from=concurrent-rt.com; Received: from CY4PR11MB2007.namprd11.prod.outlook.com (2603:10b6:903:30::7) by CY4PR11MB1559.namprd11.prod.outlook.com (2603:10b6:910:11::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Sat, 9 Oct 2021 16:49:14 +0000 Received: from CY4PR11MB2007.namprd11.prod.outlook.com ([fe80::45cf:c7fe:9a7f:219f]) by CY4PR11MB2007.namprd11.prod.outlook.com ([fe80::45cf:c7fe:9a7f:219f%12]) with mapi id 15.20.4587.025; Sat, 9 Oct 2021 16:49:14 +0000 Date: Sat, 9 Oct 2021 12:49:08 -0400 From: Joe Korty To: Sebastian Andrzej Siewior Cc: Thomas Gleixner , Steven Rostedt , Clark Williams , Jun Miao , linux-rt-users , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5.10-rt+] drm/i915/gt: transform irq_disable into local_lock. Message-ID: <20211009164908.GA21269@zipoli.concurrent-rt.com> Reply-To: Joe Korty References: <20211007165928.GA43890@zipoli.concurrent-rt.com> <20211007171929.hegwwqelf46skjyw@linutronix.de> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211007171929.hegwwqelf46skjyw@linutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-ClientProxiedBy: BN1PR14CA0001.namprd14.prod.outlook.com (2603:10b6:408:e3::6) To CY4PR11MB2007.namprd11.prod.outlook.com (2603:10b6:903:30::7) MIME-Version: 1.0 Received: from zipoli.concurrent-rt.com (12.220.59.2) by BN1PR14CA0001.namprd14.prod.outlook.com (2603:10b6:408:e3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25 via Frontend Transport; Sat, 9 Oct 2021 16:49:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3322e61c-0373-4964-dcd8-08d98b44b8b9 X-MS-TrafficTypeDiagnostic: CY4PR11MB1559: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eRI8NEeAIQDOvuD4XqUq8/R6Eja6NOoTf4qxow4eTJdjC9Pw8TX5lS6WnqyRNGHLaBNhJzgmi5R26Xc7ppNzfaMy/U+baCbZtrMqTjtu8JsxWzKg9ntawGI+nRHWvu1rT0gsa2KmLJLgi6MpQmTGqlVhgiry8JFSUAk450vaJh5bXodxqbMKcJ/Yh5hSz7XeiHHXpCwApB6i1bww9vj4bBWsZnHZdFP7bce2eDIF+GaA/1JYZiemiAgwFAIAZKKqfPAIVg7DWXuAhNo8vXyJsXjnGbONQfPCwrJQL52Cha4JblEBmDu4rtP3fJucnZUHitNV7aytImnI5q2KmFkXLvQd3Ha6JJbrUWP/7aDbZ9HQvpwsxWYMqG2p0LSR362x02ElBjNypjlJYBFPonSQ19iNBkJwKS2xp0XOmtqHeokUZr5WHHwJu7chItOtsSwrTaqiF1hWswyxCgqfPngRw3M+kyOg8tlqJDfK+FKT+I8B1+SSEmlccnezRHIDmC6L6Z0MsThT4GS9fJBHxdL6Ra5oFoUnT6lY5kazoPylNPZ03Jum160yrB1lpfS7oonWagI38Ww0gP9gHxiDr3YlHLga2Fwofy33awaVOOUO5/1hy2QbNLFBwYrZqM0DaC1HExu/Og7ez+K5pMDc5RQZom5HZcz//zTogO+z+A6XBOW+OGw4kB3AN51zjDtOchehuYeDHkkH9NgOy63K5rGzsq3gJKDVsTkVI19CKTW46aviGO7Cx3rKek78I1/chci3ZwGBCMttxa7URkLxnhu22prTMWe/ytrNNCeMEdl1rLI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB2007.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(376002)(396003)(366004)(346002)(39830400003)(26005)(956004)(38100700002)(7696005)(52116002)(2906002)(55016002)(44832011)(5660300002)(3450700001)(186003)(8676002)(316002)(1076003)(54906003)(66556008)(508600001)(966005)(6666004)(83380400001)(38350700002)(6916009)(8936002)(66946007)(66476007)(86362001)(33656002)(53546011)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ANCZK1U39C0Qla6+fPUoeO0KhdoTkzACENldBzJBhaxVT/lzjwhJvZLrzrAe?= =?us-ascii?Q?H8MLCG8hPrHwjp+Ov4grwFVfNBP9ipUWS5D+CoGJsl/JXgxxlaKXTppyxC3h?= =?us-ascii?Q?YHqNh+oEfc1qIcC3c/JS0NU+FeiHQjAs3Pe83a3BpdWUpincyAmnkdkPVPSf?= =?us-ascii?Q?Y4zMB4QvG+JF2SLiJAJEq75lCymGUSLlDM86cuedsMTJNZq+/qUApRnhgg0X?= =?us-ascii?Q?/ROkXVh5Bj0TaQu9k/yBRUdOx3DCLuf8nVPXnsml+mDXVGlKutBjVpsGUtGv?= =?us-ascii?Q?KmJLzAeiWV0ow7jk8GoBBjt1kHqTlGROHW1wc57wzdsu0jZ7KkaNaRvnHQxh?= =?us-ascii?Q?Ig02XHC3D/VT8VNtbVUWs4LNhhdgWe2egBu1pgiFedC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KghHCRWHomar+A6LHRY5cq0GgOr2Cvu23UNPWB38iBHrd0?= =?us-ascii?Q?2a01NJqEEqTwiUGHgV4YzdCQ?= X-OriginatorOrg: concurrent-rt.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3322e61c-0373-4964-dcd8-08d98b44b8b9 X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB2007.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2021 16:49:13.8594 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38747689-e6b0-4933-86c0-1116ee3ef93e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KM7CyVVhjCOc3g4cSyMxSWeQCTZwTt2tWI/aKpgRQPaU2bBD+cMV+UZmpJvn3Hx2G95YwZaTNncnOejGeOySUVu85fCfBMuUexV7q3os584= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1559 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 07, 2021 at 07:19:29PM +0200, Sebastian Andrzej Siewior wrote: > On 2021-10-07 12:59:28 [-0400], Joe Korty wrote: > > Convert IRQ blocking in intel_breadcrumbs_park() to a local lock. > > > > Affects 5.10-rt and all later releases, up to and including when > > rt was merged into mainline. > > RT was merged into mainline? Nobody tells me anything anymore??? > > > This problem has been reported in two other linux-rt-users postings, > > > > [PREEMPT_RT] i915: fix PREEMPT_RT locking splats (Clark Williams) > > [linux-5.12.y-rt] drm/i915/gt: Fix a lockdep warning with interrupts enabled (Jun Miao) > > > > Neither of these submit the obvious solution, nor, > > AFAICT, has either yet been acted on. So I muddy the > > waters further by submitting this, a third fix. > > 5.12 is longer maintained. Could you please take the latest devel tree > for testing and participate in > https://lore.kernel.org/all/20211005150046.1000285-1-bigeasy@linutronix.de/ > > If anything I would prefer those patches backported into v5.10 if it is > affected. Hi Sebastian, Please add my 'Tested-by' to the below patch. [linux-5.12.y-rt] drm/i915/gt: Fix a lockdep warning with interrupts enabled (Jun Miao) What was tested was a backport to 5.10-rt. One reject was encountered, trivially resolved. No other adjustments were made. My regression tests of last night all passed without any of the usual lockdep splats occuring. Prior to this, I could be assured of a large enough flood of splats to overwhelm the kernel log. My test stand is a Supermicro C7Z170-SQ. This is tthe only system I have on which I could trigger the problem. I could not find this patch in the 5.12-rt or the 5.15-rt tree, so I fetched a copy out of the linux-rt-users archives, and backported that. Tested-by: Joe Korty