Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1056371pxu; Sat, 5 Dec 2020 02:47:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx01LTjxBPdY5EKj7ViP/EHt6i1Sw8m9cUEmre2M06t2+a70w0sz79DtZ6ofj9yOccB4yIn X-Received: by 2002:a17:906:cc84:: with SMTP id oq4mr11162994ejb.513.1607165263060; Sat, 05 Dec 2020 02:47:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607165263; cv=none; d=google.com; s=arc-20160816; b=g8yqJ0w4l1Tmpppo+R7+aja8PSDF5lsrvbYre20II/tMHnYQMmh8jxGblrTwtN86hl ig9sSPCKW9LH1mVJXoMcI9V/w8XsYK0MBrOj5iL+oGJ2edgwJ365z5hXlNsGxGcmZBIA tUCslXA0JQqncwp834pUkDcr0SSBRym6s3+X4mT+hsOBomVBND2VHHp2ey2ZIDvpl8PR Gn62J+1Y8/+P1yWDpiyGVkq0EzW04afvBfHv0tzfPnF4k6oChbwJ4N8+ayx6Sg3eKwDM AyzIQANmhttcWkqTlHRSvhYHOin2z5I4q5NycELlVu7bgcjlrPTAkof64qizFf7/U/Mk gdWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=EoXn051NKSBak5iS+H/LZrrA+2cQQIjOcDjUMJplq28=; b=WTwxs/9f2txyGLRW5SPk2alk5OHwbg2Cd1H9tDUOrkQ/pAhhD3w/Alg22n2KdvEf7H hjixNj2yzM2xP03pwOR9SsUJV9BP59UyL9D7O9VhyvHB21nxeu493wrP1hM4cgEpRpL4 +VrYByGsRjswRT2ZCKsv/Yf3XJlNW0DctELndlj2/lg/zrCz/SRlmYADWEexXExOvHRC a6VjR4GMbVwuTGzVdowqLfP6I2OOVt8pvzXMWa1SoH/5TSIOFyG6n0QjNDTTmDIbd1ZV Fd3i38J1wACBfxatMGDWYcZDgqeLKH/5nSscO6dAQ/4FkZo7vw4VGuG1mDM8Z895IO2g EBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gxcHQBhb; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si201982edk.554.2020.12.05.02.47.19; Sat, 05 Dec 2020 02:47:43 -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=@kernel.org header.s=k20201202 header.b=gxcHQBhb; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728595AbgLEKnU (ORCPT + 99 others); Sat, 5 Dec 2020 05:43:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:45688 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727726AbgLEKkr (ORCPT ); Sat, 5 Dec 2020 05:40:47 -0500 Date: Sat, 5 Dec 2020 12:39:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607164801; bh=ya75zup16uvciko51cfo9cxYRN4wjQt4zz/di3M+HUc=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=gxcHQBhbkXZmRYCTdX6D6sLKNGhthkg1RD/jj+nsJCoMq5D9vhBnQhpqITLSzPOFR 6P16fGAsvC9mpyjb0d0uN1zi4UWn8aC6SPqONPHj0jvFDTDCLmlNPWSNSVqcz2chXe goJtuoMtBKAFRl7UgS1AqAh6haemykgGvkPApdgbz19JYKIiZuin7eBGAp+T2/UtQn xwPQb0b4/SsSRCwX6Adm5E0Le004HEZGFwGdoGHfsRQigIUdh2D4hsLR3qBa9NB0Nm YyyD3AuUKNfzu78kkGpgX3+PD3bJ81vxFE2/fCLKqXbPsL8jtaLMBF2rvVs0Gd9yQ6 ruN5KUVa+XHOg== From: Jarkko Sakkinen To: 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 , Thomas Gleixner , 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 Message-ID: <20201205103954.GA17088@kernel.org> References: <20201205014340.148235-1-jsnitsel@redhat.com> <20201205014340.148235-2-jsnitsel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201205014340.148235-2-jsnitsel@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). > > Reported-by: kernel test robot I'm not sure if this makes much sense. > Cc: Thomas Gleixner > Cc: Jarkko Sakkinen > Cc: Jason Gunthorpe > Cc: Peter Huewe > Cc: James Bottomley > Cc: Matthew Garrett > Cc: Hans de Goede > Signed-off-by: Jerry Snitselaar /Jarkko