Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4609040pxv; Tue, 6 Jul 2021 05:13:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWUcsa6jp6qmyC+BPUEqShUiX7UOZow2axG0iBLV+XuzDYTabU65sa6x4Jgz89Mo18fEMN X-Received: by 2002:a17:906:74c1:: with SMTP id z1mr18087753ejl.466.1625573623725; Tue, 06 Jul 2021 05:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625573623; cv=none; d=google.com; s=arc-20160816; b=a0sl4+ZjDSAEVgGvVmaLffDJg/6C8kS4PujruI1QD7jOmMy2iMxBljtflYpYw8+BEj /h3gmqmOtTPGjJJeFtKwcMPGttIdbR6V4+5QLmz/tflZz7SyVmGGNcyc6Gdvf3t5ojlP 5W/XYalQhFJm6OaR7vno24O9QBSkr3pNPt0Uaau3QoUYtpeytFNHJJ+hs0gA2GHBaFsz XdbFVRrNrzD/jriL7MYyMRJq8TFf8U/S19CBq2ffB6CFYX4sZ4ZwV8gZLK6IZUTmLxCL ZF9RudrU1uQk1DnwaWxnap7OAktLkPdJa7qPy170re6fGP3f6DdZB5D0JTcLnuxFQm9f sycA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=K5XIXMmZTfvFf0fBNdDfRdTLF3v55WIeLsFTu8+wf00=; b=QZx2dANCFOphNJvR8DMhxPVg13oBkJNmTt4S5nPSn1zWjks/vQvS0xQJct4p8BuFSH j35k9MU8kRHPRP8qAih/grGIBpYXWgJUcINaro/KDv8a++JKdgjlq3bgDdgHNdbrrQ+U QnYGjWGOPh+DUPEE3QOwPBV0k1KhUaYkIGoWDIyCMUR+Cd6vioCDWl7CxZEoSrw18xC2 ZKM6eX1D/oKBxdiOLaevNyT13uK3ChhZkHMU7YoevkbLILqycDGQ1qldso/7iUULHfb6 /+WbqbKS0VM5sy7U0XSrySwbILWRm+3eiQ25VdtjHs07PkgciQZu/b01Tq+9uelJCnWF DynA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc2si8906542edb.157.2021.07.06.05.13.21; Tue, 06 Jul 2021 05:13:43 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241617AbhGFMI2 (ORCPT + 99 others); Tue, 6 Jul 2021 08:08:28 -0400 Received: from mga04.intel.com ([192.55.52.120]:46211 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240661AbhGFLrD (ORCPT ); Tue, 6 Jul 2021 07:47:03 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10036"; a="207272505" X-IronPort-AV: E=Sophos;i="5.83,328,1616482800"; d="scan'208";a="207272505" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2021 04:40:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,328,1616482800"; d="scan'208";a="427558916" Received: from mylly.fi.intel.com (HELO [10.237.72.174]) ([10.237.72.174]) by orsmga002.jf.intel.com with ESMTP; 06 Jul 2021 04:40:02 -0700 Subject: Re: [PATCH v12 00/17] Introduce the Counter character device interface To: William Breathitt Gray , jic23@kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com, kernel@pengutronix.de, a.fatoum@pengutronix.de, kamel.bouhara@bootlin.com, gwendal@chromium.org, alexandre.belloni@bootlin.com, david@lechnology.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, syednwaris@gmail.com, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, o.rempel@pengutronix.de References: From: Jarkko Nikula Message-ID: <5bdd9ee6-86af-3bcc-43ff-418fd1a2e3e8@linux.intel.com> Date: Tue, 6 Jul 2021 14:40:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 7/5/21 11:18 AM, William Breathitt Gray wrote: > To summarize the main points of this patchset: there are no changes to > the existing Counter sysfs userspace interface; a Counter character > device interface is introduced that allows Counter events and associated > data to be read() by userspace; the events_configure() and > watch_validate() driver callbacks are introduced to support Counter > events; and IRQ support is added to the 104-QUAD-8 driver, serving as an > example of how to support the new Counter events functionality. > I quickly tested this set on top of linux-next next-20210706 and didn't see any issue with intel-qep.c. However I noticed two mutex issues in patch 15/17. Perhaps visible due the CONFIG_DEBUG_MUTEXES=y etc. I have on. I'll be out of office next few weeks so cannot test if you have a new version meanwhile but wanted to share no show stopper from intel-qep.c and those two mutex warnings. Jarkko