Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1887893imj; Sun, 10 Feb 2019 12:43:57 -0800 (PST) X-Google-Smtp-Source: AHgI3IYuEKJxPHq+Co6u+EYe2KSl6ww7tuave1YRRX+4pdHZ+o6yfQgrWjHG3lMkxYC/wDeWYeO4 X-Received: by 2002:a62:2c81:: with SMTP id s123mr33141585pfs.174.1549831437808; Sun, 10 Feb 2019 12:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549831437; cv=none; d=google.com; s=arc-20160816; b=dLUrLUFh/PjHL8Jgg7awkIE0h6mX1pkWfakehL9XZ2X1JYBwlOmedIE2mPtedHG4lr Z82x7qMpwNAEb67KiQ7qyo/r36GfG2Ei62r6eSDi5H2Ke0m6pDdANr1ztmMgSvmOTN3p hwQZDZQ92XililEYh1mWAd9tYdYASxH2LE+bN8sAyGA2zPu7sEpB2XTxm533tQvH0ExY kLDd69QEje8qnsTvKJ6Doq1dWzEhhC7sd6QUUVvxXzTKsxKn7v6xOxFUpsU0dooL4rsA h1HnHTVevs7OpT4NoZYWJEvXrYCBUCAE7dmcoOp4i8/cznwUmdxsj8+2hBfUp8MrkICP 89Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=wSqzxf2VCN8e7nNuqO7Q+9x7KK0UDipUTm6RHpnc6Bo=; b=gYNyyTr2mmWOQGyy34epHUqK8lsLVrfUUGG2N0bW/2FC0xCTV4jHzbBAsVSIOwuKpv WJNGgbCsmUq/ksZ5NF/TvmyDqg8acbVSykl1dxl2JmqR4qKb8C0u0XW0ZqHr5+iYnsrK 1TadlTXFzS4CWSqPX/OU0Ef/TGs20KxN4khWduZ218f6G04dffV7Q4j1CvmuXM5VSWYt qWVbPFsU0aDBPvgJ76LceUlcuX6iAmwMVXKVcLcSFGaAT5ZsxjnlJToG8PbfshEf6XJs UIrZ4ugDDjXA5foLj8yjSfhpJpczujnBbQpNeZ/GkoRySHiuUmjnM4Qz3l/rWDkxLjik FXmw== ARC-Authentication-Results: i=1; mx.google.com; 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 44si8773862plc.110.2019.02.10.12.43.41; Sun, 10 Feb 2019 12:43:57 -0800 (PST) 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; 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 S1726207AbfBJUnZ (ORCPT + 99 others); Sun, 10 Feb 2019 15:43:25 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:37343 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbfBJUnZ (ORCPT ); Sun, 10 Feb 2019 15:43:25 -0500 Received: from p5492e0d8.dip0.t-ipconnect.de ([84.146.224.216] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gsvwd-0000ws-BL; Sun, 10 Feb 2019 21:43:19 +0100 Date: Sun, 10 Feb 2019 21:43:18 +0100 (CET) From: Thomas Gleixner To: Robin Murphy cc: will.deacon@arm.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com, peterz@infradead.org, bigeasy@linutronix.de, "Li, Meng" Subject: Re: [PATCH 1/5] perf/arm-cci: Fix CPU hotplug race avoidance In-Reply-To: <606ff8c3f7f35ccdcb4b52a49f692fb20e27359c.1549299188.git.robin.murphy@arm.com> Message-ID: References: <606ff8c3f7f35ccdcb4b52a49f692fb20e27359c.1549299188.git.robin.murphy@arm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Feb 2019, Robin Murphy wrote: > + > + cpus_read_lock(); > + cci_pmu->cpu = smp_processor_id(); That wants to be raw_smp_processor_id() because this is preemptible context and debug_smp_processor_id() will complain. Thanks, tglx