Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3307746imm; Mon, 6 Aug 2018 02:21:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd4TLcH3EMTJKhMSUzjsaFegxxLiJre+R8uN0booebst74/oiVoXm4iFKz8iHy01imB9MSF X-Received: by 2002:a63:2fc6:: with SMTP id v189-v6mr13705426pgv.61.1533547300765; Mon, 06 Aug 2018 02:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533547300; cv=none; d=google.com; s=arc-20160816; b=Y1S98PK1qkICTMbVJXMjwoMTl+Gx469Y2+1h2+OMu+RB2OAjvjWSt5KkjxxNBwGVk2 3yV0weDj/VpeBy89uccH85+5dGQgr53Pv6gE5KcDnTreMMtuRYSCvPEf0IH2Sc7ssM/x M9KTcdNF94RDGJ3RxJzgEI2Z3uh0QKYy+XOO5TuDopFdNyIC81/OGXBgL7O/0LyGupIs 0KIEjiAv0xVvfrbnfI989Fp78bBDN++dnpru0dDo8hdDhTWxn4LwmH8M5UbOrQBBa8jn 4xSGeCye5yx+hE+z+t7QYwT2xizNUgy4BRlEkZtVOes0Rl3hT6BxE1PAf97gL9jBor8p SDiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=K1j9EBacGngYbYwz5UBFlW/IpujOzb6zVmiTFbxrniM=; b=mFwpUFyQwxCB+PpNbIeo8ooWaLnd7J1OPcJ7eCXo9S/Q1aMX6Vj0hlfgkbUprszkjE aEDlldq2DEbt9Q9f5+MaqliLHgz5dWVxj1iq7tXg+ZcVQHZaPdJ2fPzBfCHV0PwheoJt ptKxbMMt9eIIgwQbqeAU4/+bKgTNoosNNgfDJiYPNt9M0mZrj5KPdQQVfozYZBgkuTKu gU3qEt9lKd3gl+gHirnlESPUmYq4aFpYZqWNY8uJja6GM15G5RiYiDneA8BhTvRIXem3 B3RlzS4xVIBMSrszjm0l7IXciYmx3NS8r4Kd4zwg08Bw74OK0nxho0COhOniwvVwVmyG Qlig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nio365.onmicrosoft.com header.s=selector1-ni-com header.b=KXD9Ggc5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18-v6si12060670pgh.91.2018.08.06.02.21.26; Mon, 06 Aug 2018 02:21:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nio365.onmicrosoft.com header.s=selector1-ni-com header.b=KXD9Ggc5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729654AbeHFL0W (ORCPT + 99 others); Mon, 6 Aug 2018 07:26:22 -0400 Received: from mx0a-00010702.pphosted.com ([148.163.156.75]:47280 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729221AbeHFL0V (ORCPT ); Mon, 6 Aug 2018 07:26:21 -0400 Received: from pps.filterd (m0098780.ppops.net [127.0.0.1]) by mx0a-00010702.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w769BDSx013912; Mon, 6 Aug 2018 04:17:46 -0500 Authentication-Results: ppops.net; dkim=pass header.d=nio365.onmicrosoft.com header.s=selector1-ni-com Received: from nam05-dm3-obe.outbound.protection.outlook.com (mail-dm3nam05lp0119.outbound.protection.outlook.com [216.32.181.119]) by mx0a-00010702.pphosted.com with ESMTP id 2kn9nruytx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 06 Aug 2018 04:17:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nio365.onmicrosoft.com; s=selector1-ni-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K1j9EBacGngYbYwz5UBFlW/IpujOzb6zVmiTFbxrniM=; b=KXD9Ggc5i/uFR5LoZp41Jes8eXRPKpJkhpCnaTD0O3hH4gwB6xooT4grZGmsIp29+lap6Y7om5wqKgE3JZn5Qnhqv6zrGnQ4BELsk5/4RruIkRARylwKgiV/NujTuaKLijGtqf8lKev2XfDr4ANErI48eWAV7HbwfTh8ZhZHsWY= Received: from jcartwri.amer.corp.natinst.com (130.164.62.116) by CY4PR04MB0968.namprd04.prod.outlook.com (2603:10b6:910:55::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Mon, 6 Aug 2018 09:17:43 +0000 Received: by jcartwri.amer.corp.natinst.com (Postfix, from userid 1000) id D3A73302D75; Mon, 6 Aug 2018 04:17:38 -0500 (CDT) From: Julia Cartwright To: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Cc: Thomas Gleixner , Steven Rostedt , Carsten Emde , Sebastian Andrzej Siewior , John Kacur , Paul Gortmaker , Daniel Wagner , tom.zanussi@linux.intel.com, "Paul E . McKenney" Subject: [PATCH RT 06/22] rcu: Do not include rtmutex_common.h unconditionally Date: Mon, 6 Aug 2018 04:17:22 -0500 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [130.164.62.116] X-ClientProxiedBy: CY4PR1201CA0015.namprd12.prod.outlook.com (2603:10b6:910:16::25) To CY4PR04MB0968.namprd04.prod.outlook.com (2603:10b6:910:55::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e46f3b27-5cc9-40d7-0e4a-08d5fb7d77a1 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:CY4PR04MB0968; X-Microsoft-Exchange-Diagnostics: 1;CY4PR04MB0968;3:wpUL2pn4FmXm6PZxGfK2eB84RLz9r9YTvkvWMj5JIGYL+t7D89jrybR6d4GqUZ/ncZzMGOgifh/XfR/p3W/ubHJxYMpFF2zEGd1DbJgLCgQh6XLtvv977496zVu9TFRAylFqVION+67EodFJc1cGDZKpTTkLBaEELH+jNkaMVgKvM+RuJLfEvai8jaShi+fnOXKqJpILz74+tK/Byzv463dPq4gRzTqiyV+tpTtA2c9BMG3tB9w4LJbeb9jdfoIm;25:Ek0zy2W+5Sw97kMaFGVtE2JO7sFFC6IXqR+clvsF0hXF+dJq0y4x029Oq7q8OtTXLjrYN5y7fmnmPFVgjLFIpMn4W24b7zDsg6oOBTgfI4EjVjr1wRMpIVXoKnRRa75zgeRAaqmFNzyiiwiL80aEEKF/z9DQUjYWZbLMowN8MwcmAbka+bbrNTD98KOfW1/08YQQaH8j6WKWc/5yxicAZ34o4s69BRWGYVEQHGQwLkIwmZZM1hVHMVH4A/XkKgKZiU4Hqoc3QhED6fkYRrDVsmiXyUdg60J2kanYky0YQhfjl/lLi9S9E2aFBJcJXQGzME3OjCCODBFQZtpUgYF3Ig==;31:EW2ZTsbZiMltZr3xd1dtanTVMRP0PLitrZ938KAwcdF/Bt/1AOZ/546OlgIN2qWKkYLw5Kd+rddVwE8/1JTgg7XIzXYtk9rsm+PFnlAFyg7493cHv4PYh9Ynb2SDGbDAfGuQWn6LedWnXndkikdU1PbDYQaMiZ9bjWObVOmvpRcM6fNn9BiuoqBSU2GuaBTEBqUEvJTErSnMMCoBHzHg73gC9xuozH0F3S3sxmbudiE= X-MS-TrafficTypeDiagnostic: CY4PR04MB0968: X-Microsoft-Exchange-Diagnostics: 1;CY4PR04MB0968;20:zXtpiR6QW2W1Gd/pQsJ/p7XJg7YJRsJ+fRZ0rMlQ9ScFRNedaIcRiUlb3Rj4ZfLrEwOlAG9UUe+AVsYXdxamD+T5P6hkjNys3RXb0HyUIRNCx+tYZJFMLkRx7RxaoczwQENvTGM/xc7c7R5Yo4vZTFn48ZcvNJyfTZ7oPFBO07Rg7r9JmAugCfkk3dLfMA46mQoHR1HdBTji3DXL3XDhvrAHX0lx/nXSnW0fxnPwS0sHPliXOx6/cY3LqfGJj0TzaH+/Bhroi84G9cnYS5f4toUzfR0e6qVVw7J5kFxyGpk9dDm9KuAFz39IxW3Tav1vR+mscWFyjWTGg4ITgF24+Jf3KwMtWV7tLtioiaQCaet87I3syvK080EsLXVIEgNUpuF74Ni4PEg+kjJErqr+Lz+5H80vvgjKWFqdSFT/rqy6JCB3cR18K6DQZmPKwsQxkza6V8zuCa47WQ7bPjah6IPYD2cpZlseeXs8xLAzgWH+BDRDy6xUt6R7B8+009JYsvBds3935w1C3F3cTBP4sx/djgPK134mS/MzVJM5bcuPI2T8gU+mqIHz0UiORmlnPVirJpm0amMwsiD07NXlMtJSWuwiIgADvReca6ef+a0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(104084551191319)(228905959029699)(145744241990776); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:CY4PR04MB0968;BCL:0;PCL:0;RULEID:;SRVR:CY4PR04MB0968; X-Microsoft-Exchange-Diagnostics: 1;CY4PR04MB0968;4:sMNhoqAgZTE8i7ouYU+SP/7+/IG02VNhgotU4PXfgcn0iXO8ROLHSsuPHoegCkDO0dxdRUuXv/FozsZV3Chvwkg5kdsTwR9WqodRHw0/Zbe++UK/jOjFpjt9tLsicjTqhlfc81OdrTyaTvEwPq4gjDoDUd6B1VTnGijS9ETimwn9JKivKhUuUHyUCB03MDB7QrNmyx/LvJlvuTucclUkIghjm2p8NWeDWa9RLRa/3IloJnnlNcyuMDIw+86UA55OSepyR40YKcrdV1S8cxJCfaRMps+kcUyOohKZXy5w/uOQvCLEkrO2I7d5E7zCLkQ80tPvSQhGfRK9R25ymIDukJ2Dc7tQPSQTYiwZ4gQ9aFysDYlSFnyFL3nU6NipAYRR X-Forefront-PRVS: 07562C22DA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(366004)(39850400004)(136003)(346002)(376002)(199004)(189003)(6266002)(47776003)(66066001)(575784001)(54906003)(478600001)(476003)(386003)(97736004)(26005)(6666003)(16586007)(3846002)(42186006)(6116002)(122856001)(50226002)(316002)(446003)(2616005)(4326008)(186003)(106356001)(52116002)(51416003)(5660300001)(68736007)(36756003)(105586002)(11346002)(305945005)(50466002)(8936002)(7736002)(48376002)(81166006)(486006)(81156014)(118296001)(76176011)(52956003)(8676002)(2906002)(7416002)(90966002)(53936002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR04MB0968;H:jcartwri.amer.corp.natinst.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: ni.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR04MB0968;23:GyYFS+sSDfgBIfm5cH+nW+NZImCXHuyqYC1Uiva4u?= =?us-ascii?Q?IgUaODGUdoKiK8jR4QJKREMHEEljBripyP+9ksdZRh/AGBxBLqOef8lkyM8I?= =?us-ascii?Q?9a/qPRk2m8t1nBr7rKB6dTlgmlEMHikvxD2OsAb1sdjrBnyhO8K5favWb7JT?= =?us-asc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T56EwDFkH5k+q1ely8JsVTA==;5:8idM9/veRAysACN0O5U1L1tSAke3F8xQxcc2UO9x9LgRGAxKz3AwEDHTxG2/Nc3ZAU77q0g+q5f08HUH0ourNdmYsRwn3rFnFDLzObJ5z1rSljRpA0pAfsFQ2J0Xn9qf96xaXmkEukQN62dhgaLr4WIDxW2fS0s9Pu8woeOyj84=;7:sCO9wP/ZRkWkpYpilHiJ85OqUcSPSgIfYYramSWjqny/TQpbjpTeEpQUtNOG9jYE/GTz89BVGaze7Kn6AdgB8cit4uXE4XCGbdiQ4Lych95v0SiAb379bNCaFjnoCXu0yNuJ1fBt1xjJL0M4I4Upv3pnw/xb/E2aunoz60kg0yPqLzpdE911FAH50TomndhUFvMpR79/ChCndZ4cdrw636q/Zg7KLyLCKcURikBnA23VkOiFh0LGCI2ITkoh6iRq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ni.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2018 09:17:43.8960 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e46f3b27-5cc9-40d7-0e4a-08d5fb7d77a1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB0968 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-06_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_policy_notspam policy=inbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808060100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Andrzej Siewior 4.9.115-rt94-rc1 stable review patch. If you have any objection to the inclusion of this patch, let me know. --- 8< --- 8< --- 8< --- [ upstream commit b88697810d7c1d102a529990f9071b0f14cfe6df ] This commit adjusts include files and provides definitions in preparation for suppressing lockdep false-positive ->boost_mtx complaints. Without this preparation, architectures not supporting rt_mutex will get build failures. Reported-by: kbuild test robot Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Paul E. McKenney Signed-off-by: Julia Cartwright --- kernel/rcu/tree_plugin.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index a1a7bafcce15..3d18d08e8382 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -37,6 +37,7 @@ * This probably needs to be excluded from -rt builds. */ #define rt_mutex_owner(a) ({ WARN_ON_ONCE(1); NULL; }) +#define rt_mutex_futex_unlock(x) WARN_ON_ONCE(1) #endif /* #else #ifdef CONFIG_RCU_BOOST */ @@ -834,8 +835,6 @@ static void rcu_cpu_kthread_setup(unsigned int cpu) #ifdef CONFIG_RCU_BOOST -#include "../locking/rtmutex_common.h" - #ifdef CONFIG_RCU_TRACE static void rcu_initiate_boost_trace(struct rcu_node *rnp) -- 2.18.0