Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4336942imm; Mon, 11 Jun 2018 10:34:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ/NbpR0cFHQNTHxNhmtGJv+8M/34yNpbE1UQtbUcI9pdY/5ST80H2FsmC0i1l9EoI5kgJ0 X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr79852ple.285.1528738452039; Mon, 11 Jun 2018 10:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528738452; cv=none; d=google.com; s=arc-20160816; b=xncTV0RdKLdh7+MpR5xv5GAPUCPkxBJMKwRJUao+BwLUcyJt4h53liIdq0yWJk2Bgg lujOaTOei/YBZTW8CIKR8Drw2hEGHxsiNNtgDkJpQtdCHVCjUbBZYE6zqnLAU8gVXnLC iZAO/yTS+GVIv2jPxK/bcL8GYAEQfKksjlplKdLzBDDiLAd2GNTXRNbY1Sc1y07B5e4t G2QsJCy8yLIHvU7NGqq73avXZDiTWbxOi2nty9QqR/bb7SPM5lk/9NInAIngO3QTKx7Q exofNdF/je+oiRVy74T5ooMmKSzL6OAB7NK5+4hj5ZLZPKvjC5eU8qL6XnUmDf4yuhuC NWcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=PflLm/5s/4TdX1CmxNF52ES2BiAgBh/MZmqin+q/9OI=; b=yzXXXmgRmoYjdpDzgjklOgoEGH+TSbmiVfhPjOwuNM+TP6nxTSKnFn1Z4vbJrFkhzQ 7RUFezHvH/zk9vByFFHp1BQqAt0AUdkVV1GoiZ13YR9m9MhDLXQ4stmJWQIYNuF9NTSY en8EwyJgU6jfEzG7FAWjIgRIl/iXWTDnTpVeR7iTebVrZMT2UMKLrJf6PS0bU7YrkDwj 18UCAb23yUOtzq9SX+SqIaouW+WGquYXVNGsLfC8CBDOlaT4R2WNgxkxUmHD4P+3h8qA GkofQXPhZCKbdHkt5FijcIA8XUSd4g1EiFQOsrKH6+0I68RLd8UCsUYgThMKQjeqdTzt /uDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OqqlXAMT; 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 f21-v6si36293305pfh.33.2018.06.11.10.33.27; Mon, 11 Jun 2018 10:34:12 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OqqlXAMT; 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 S934099AbeFKRSO (ORCPT + 99 others); Mon, 11 Jun 2018 13:18:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57786 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932108AbeFKRSN (ORCPT ); Mon, 11 Jun 2018 13:18:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding: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=PflLm/5s/4TdX1CmxNF52ES2BiAgBh/MZmqin+q/9OI=; b=OqqlXAMT0s8+6FpdwfsHvu/8M rWNZ/kGM8/6FWxSu/fIGCmHCAR9NRxkmsc/bKN41rtV22TKQAQYKppT1SNC7WbRjzmDPqTPigAIoE DK6j0wUZ06K3elbRQWrlf5vhXr1vo+Y4j87ZWzSpA57XNMyFg0hgoQ2OZsnch54D8hQMvwsCBLYGn 8Ym3472FlEOASbqgp5k8GrVALtmmI0DHoLTiTxfvQzM44hRHsBhkxd56IgLhaqRdkUWyE5t1dPLy7 wwzWWElJVW1H2ZRUmn+dZMk4846NX5RzzFF9nmg5Wrr+RZQNBHiLcSJ9REKnsWh0V3T2pJWXaTw+x HOOCToJ4A==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSQSJ-0007tx-UI; Mon, 11 Jun 2018 17:18:11 +0000 Date: Mon, 11 Jun 2018 10:18:11 -0700 From: Matthew Wilcox To: Linus Torvalds Cc: Christoph Hellwig , Al Viro , Linux Kernel Mailing List , linux-fsdevel , Stephane Eranian , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Subject: Re: perfmon trouble Message-ID: <20180611171811.GB28292@bombadil.infradead.org> References: <20180608184842.GD30522@ZenIV.linux.org.uk> <20180609051051.GF30522@ZenIV.linux.org.uk> <20180609155107.GH30522@ZenIV.linux.org.uk> <20180611021028.GT30522@ZenIV.linux.org.uk> <20180611162313.GA6942@infradead.org> <20180611164859.GA28292@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 11, 2018 at 10:04:00AM -0700, Linus Torvalds wrote: > On Mon, Jun 11, 2018 at 9:49 AM Matthew Wilcox wrote: > > > > The problem is that even oprofile on ia64 depends on perfmon. > > Hmm? You can definitely enable ia64 support for oprofile even without perfmon. Oh, I think my memory is playing tricks on me. This is my confusion, I think: oprofile-$(CONFIG_PERFMON) += perfmon.o so perfmon events are exposed through oprofile, but you can disable perfmon without disabling oprofile. > Because I'd be inclined to just remove CONFIG_PERFMON support, and see > if anybody even notices.. > > I'm not expecting a lot of people to do a lot of oprofile on ia64 > anyway. It's a bit late to start optimizing things now. > > Do people use perfmon still? Maybe. Maybe not. Perhaps we could just > mark it as broken in the Kconfig file for now, and see if somebody > says something? That gets my vote. Tony? Fenghua? diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 792437d526c6..ff861420b8f5 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -455,6 +455,7 @@ config IA64_MCA_RECOVERY config PERFMON bool "Performance monitor support" + depends on BROKEN help Selects whether support for the IA-64 performance monitor hardware is included in the kernel. This makes some kernel data-structures a