Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1506497ybg; Tue, 2 Jun 2020 11:50:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw90C7A4qppu025riAAcsvQdYsOo6rWg/4TjpeTZ9+jozt6tN4sSw63zsoE+kxU909yUfnC X-Received: by 2002:a50:f044:: with SMTP id u4mr1908139edl.226.1591123816156; Tue, 02 Jun 2020 11:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591123816; cv=none; d=google.com; s=arc-20160816; b=WpZlRcWFOZEjkZKUDCC4gDQIzJ2iHHdylWgk/AKzIHRnqQKIDYrCgy651w2AF3Wkwo E20lpVj1a1OKRQL2Rz4jrqGcg7NMIB6rBzerbg3mv5Qz8t4XUJJTvqirpqdFZHAbUkDt 2ryQEcsoKOWZBWH/Aa/lIiZ9/4ytPs9tKzm1ZRMV/Q7TeDKJX6JF41AS4qvVlhmRbZW5 C5kdOAa5RxNjoGg/oX+BdEhAAQsPIMD9E+6eM4dmz20kJsFIM+r9fi1xnrmW74wDunTg jBzAu7EW7UBXIxznEqvatD57v6zkOgZVPtHBqX4zcutQLwX1qXf3hLRXRepUXligRXz4 S77g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5Ek/i/6ax6ZbXrDVWsNeagdjRVYMfWWo92kpBvqURLc=; b=rmIaJyP4VoLhiOi2vZ0CKJShXPl6dU0YC2kvzWTYNrAdJEgT1niI8luGU7d7mryloQ /a0NiScWgsQ3ZRT08EwGLaNT6k1hv0cFDXknKVqX00InBdlynVhFAchfMiyONtFGnB6t w63we1PfYjv/OSV0lnIALoJJ8SXW7SBPZQ3gPAZLwjv1ABxUp7Xy5WpXG+dvoEkPlgb2 FEEWGPFO+cS5dG7ZY9JG3Ub4XAoWNK0c1ldsm1EETmmKr7PumBAGqKGFV8qOIm8+Ro/T +mThmhPbCa1ZA9P73jZfAUYg8EvUKyIgWm/PFgwMt2sbr6kJEULTMpyI+pUJjmCMVj+h dtfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=LppZWpUd; 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 n7si1893790ejk.2.2020.06.02.11.49.51; Tue, 02 Jun 2020 11:50:16 -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=@lca.pw header.s=google header.b=LppZWpUd; 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 S1726875AbgFBSra (ORCPT + 99 others); Tue, 2 Jun 2020 14:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgFBSr3 (ORCPT ); Tue, 2 Jun 2020 14:47:29 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E78BC08C5C0 for ; Tue, 2 Jun 2020 11:47:29 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id f89so2299957qva.3 for ; Tue, 02 Jun 2020 11:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5Ek/i/6ax6ZbXrDVWsNeagdjRVYMfWWo92kpBvqURLc=; b=LppZWpUdNriiyHnLSTR7EoXopJSgF50Fg0SDsKilB92+au5FkrfdbbZA88O7fiaujy rCPGNy84abgA2FoZBfAqUz/sMIMNP0PByfkxmuoXEaUPPAZCkQfkn3spgV7hps6DIVCd HviyA2Ulz80HeQ0A091ARwEy0YDbb1AnwdQrNIusvzgx6+RfL8xCAjqlPj+LqttT59eP iYvcvnj3mpLI+JKoTTfhpKU+iVUvogrF1sFspdSEGfMEsVxpTHb0PpmjRD6rke/6BWsi NWU7DrfwbCPNU74TcXLPLjv4FlHMA4Fis4qo0eEOvRl0tXgsjKnNz2gzPIjmv/P9OEhj LYmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5Ek/i/6ax6ZbXrDVWsNeagdjRVYMfWWo92kpBvqURLc=; b=SYxk+jQ3CN7Z+i4fmPJfr83UaWLA891c32dIrJYd9gJ/mvwwyJ1D00t2AeH8JPq/oI O0ICfAR2fYWz+49I5x4mMj43Z7A6bw/hEWPBE+xKvYcrLKdJmrzEd0nnmZVdmMsQ/k0R voV4sfQ7NKMrqsFJWVJMByyz9Opcc052x/j1cMBv+DHvTOvj0H99MxTqsshiNjfKPedg iDgwyT12v43XBLhu25qBC5SvLsA6Chb5im1BG1OfmmtaeNAfRMpfcZ3c4kUSuATYHgVV eQDdPkLJ+83f4aPa4kBePEQ61BKpX0a4YLcxzeZod9T7+9S7iVU7HU9E5ytsWAN69mv3 xKqw== X-Gm-Message-State: AOAM532Sc5erGtqlfsaN1GwmPh/hmexJ8+I2+4rLHNUmTLtqDODEHh9T 2m/xzlaUZtBplTphV8e7KU7VNphw4uffmQ== X-Received: by 2002:a05:6214:365:: with SMTP id t5mr11153638qvu.126.1591123648788; Tue, 02 Jun 2020 11:47:28 -0700 (PDT) Received: from lca.pw (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id l2sm3708904qtc.80.2020.06.02.11.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2020 11:47:28 -0700 (PDT) Date: Tue, 2 Jun 2020 14:47:20 -0400 From: Qian Cai To: Peter Zijlstra Cc: tglx@linutronix.de, luto@amacapital.net, linux-kernel@vger.kernel.org, x86@kernel.org, Lai Jiangshan , sean.j.christopherson@intel.com, andrew.cooper3@citrix.com, daniel.thompson@linaro.org, a.darwish@linutronix.de, rostedt@goodmis.org, bigeasy@linutronix.de, Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 11/14] x86/entry: Clarify irq_{enter,exit}_rcu() Message-ID: <20200602184720.GA1607@lca.pw> References: <20200529212728.795169701@infradead.org> <20200529213321.359433429@infradead.org> <20200602144235.GA1129@lca.pw> <20200602150511.GH706478@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200602150511.GH706478@hirez.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 02, 2020 at 05:05:11PM +0200, Peter Zijlstra wrote: > On Tue, Jun 02, 2020 at 10:42:35AM -0400, Qian Cai wrote: > > > Reverted this commit fixed the POWER9 boot warning, > > ARGH, I'm an idiot. Please try this instead: > > > diff --git a/kernel/softirq.c b/kernel/softirq.c > index a3eb6eba8c41..c4201b7f42b1 100644 > --- a/kernel/softirq.c > +++ b/kernel/softirq.c > @@ -438,7 +438,7 @@ void irq_exit_rcu(void) > */ > void irq_exit(void) > { > - irq_exit_rcu(); > + __irq_exit_rcu(); > rcu_irq_exit(); > /* must be last! */ > lockdep_hardirq_exit(); This works fine.