Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1829868pxu; Sun, 6 Dec 2020 08:43:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgt/MvQ1dFt/zd1kVAi9cwYKVP5iQdPpOJTs7/A/sLJLoofGy0iYLFh3NcOWSzWfIh+Dz6 X-Received: by 2002:a17:906:5290:: with SMTP id c16mr16495746ejm.188.1607273011084; Sun, 06 Dec 2020 08:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607273011; cv=none; d=google.com; s=arc-20160816; b=GW+oMPJJdFshJ1JZHoxu1isDGeJgiit2meWAwhB+squXyxoaociCfoNBcucp5Xk2Q0 GgiApJN2Qzum6FXNreVyGzjapmjOy64bXu7uoVQQv3Z/eAh1sOKAIXKPmH51LoXATbVU JMhn0bFlhx712toxpMM3BX2VO2u5K1AgMki0MtHiiaTzqOdO52H/UhuovodsPh6PSlEQ Y7nGlehLcyCN2rIoonPX88cD5x/C3KYgoaQJO9IOPEGl4Rys7o3RIRoG8K760VCCN5fB fGHfOESGrik1810qc6EGe177ZtKOfr4kyr6fpavKtmFi4xXjh4doNlgDPfUlp/IU61Od el4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=UxNaH561nB/6wMCKxSCm/5bzqrWkopP59aHNwUEfXOY=; b=e98qGvjTdpVJPq3MRuozYS/oTGpWWqtw1AxvhF1ZeyOK8i8TGzS0dCGNHIg5cUMf2p ywb66aOcYSeqd88s3YMGxc3opmNOczyUkJ18m8JycBaBxKOJUUKo7HkEUlI3ZrncocCd uE3F0jm5YplZZQUesl2rRcb36O3T3TzOCmAzg8XR/Bav55XEmXed1TeuqTtMmIoBIR4i 2+LsFK/LYNDOXyPATB9euYp/L+RcfI2OF+a5tyPujRjUXb8bsqhQSva84PESqC/ILz3R BzNiUT+shMvqsDKlDxzhbJWhYTX4G9jEQlEvx6Eq1x26MJ/zxqyNuVhZtd0olwFyLTY+ BTFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=irjdflqS; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si6870335edg.582.2020.12.06.08.43.07; Sun, 06 Dec 2020 08:43:31 -0800 (PST) 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=@linutronix.de header.s=2020 header.b=irjdflqS; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727333AbgLFQky (ORCPT + 99 others); Sun, 6 Dec 2020 11:40:54 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:59016 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726342AbgLFQky (ORCPT ); Sun, 6 Dec 2020 11:40:54 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1607272812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UxNaH561nB/6wMCKxSCm/5bzqrWkopP59aHNwUEfXOY=; b=irjdflqS5FY9QNzj8yWEc0CGDtedfGm3Fed9wbR37X8mUImXyniJAr95CnF8GzZQfXPL0X PF8CaqXUSMNzdW0Pk5EjFxOefJpKJ3q3FteUSVIxsIh0Tc+r/DvdDXVXEekB7Piyhl2Y2/ Gt6wt90XA8kc70biQYfl8nJgw5azvWQAre113wb8dQ4k/leC2xHkd42Np/DB3pHQ8JwYjV tKN3xbJJnA2QouLmBbFNOoNP9DVqPqs0g7GIv84jSvSfjBgHClBYSImwFnKBXNfnDoKkHT 3AfpN0IihmtNwDDfzVtbHgz0bMyHh9rNP9EjmiJ6abzZUKHhSANtj2DSe6AZvA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1607272812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UxNaH561nB/6wMCKxSCm/5bzqrWkopP59aHNwUEfXOY=; b=YoGEF3MW5EHD8I8tGxLjV2l9qtp6ZTGOjeT+9EUTRn+dmQaP6rZR+5yqYKsCV/sMsQA4cM 60KKUekD3ZhH0TBQ== To: Jarkko Sakkinen , Jerry Snitselaar Cc: linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kernel test robot , Jarkko Sakkinen , Jason Gunthorpe , Peter Huewe , James Bottomley , Matthew Garrett , Hans de Goede , Jiri Kosina , Yunfeng Ye , David Airlie , Daniel Vetter , jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com Subject: Re: [PATCH v3 1/4] irq: export kstat_irqs In-Reply-To: <20201205103954.GA17088@kernel.org> References: <20201205014340.148235-1-jsnitsel@redhat.com> <20201205014340.148235-2-jsnitsel@redhat.com> <20201205103954.GA17088@kernel.org> Date: Sun, 06 Dec 2020 17:40:11 +0100 Message-ID: <87360i99ck.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 05 2020 at 12:39, Jarkko Sakkinen wrote: > On Fri, Dec 04, 2020 at 06:43:37PM -0700, Jerry Snitselaar wrote: >> To try and detect potential interrupt storms that >> have been occurring with tpm_tis devices it was suggested >> to use kstat_irqs() to get the number of interrupts. >> Since tpm_tis can be built as a module it needs kstat_irqs >> exported. > > I think you should also have a paragraph explicitly stating that > i915_pmu.c contains a duplicate of kstat_irqs() because it is not > exported as of today. It adds a lot more weight to this given that > there is already existing mainline usage (kind of). It's abusage and just the fact that it exists is not an argument by itself. Thanks, tglx