From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF017430CE2 for ; Tue, 11 Aug 2026 17:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786469122; cv=none; b=txbKMowq5j0IKLPtoiLxYAa+V/iGcjHiTrKQKLNa5hAXcyc/wIzzKW3WET41FepqxZW1dS9SE/36iFD5OVf7pI9c81D/AwqA1ij4vpf+CmodrSuH6MoZpSzo6MokLfFUn8wVzFVs20yYOBUEvgA6f9zf10hrKQA0n2gYBeKov1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786469122; c=relaxed/simple; bh=fr1a0mTx5esZDwVp945mOEtEBnRbo3yPEGgNZXt/qKg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lAF7bHwm9SqJdh97mAYe1lOKH3rH8nAqTalR/AKOTEg1aMQNE0SHDS5kYbNrmhn/L1nPZMATBJZQUpgrYs7u2VDck3Cy4IBop+Toozo7A4yuuHY6dYKHGPY3Ff6vFdnaXYDNwb+Cs5d+WQzBCyRWRba6ZbdiuXxZuFmqyWPJR3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=GQjEYgqg; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="GQjEYgqg" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E16C31477; Tue, 11 Aug 2026 10:25:15 -0700 (PDT) Received: from localhost (unknown [10.2.196.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D1973F632; Tue, 11 Aug 2026 10:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786469119; bh=fr1a0mTx5esZDwVp945mOEtEBnRbo3yPEGgNZXt/qKg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GQjEYgqg7lgSm7xoQRdLO/Pql+DznHBqN+A13y5Rb7I36DX+5o9aIF68G7M0siXl4 Rft4dJ5aaZsoxxtHYBG2YqOdb6joHw5hl/QM8z1cUO3msRSjtDHHcdv7O5nvU2+g64 lTmszU+BuHJfmU4sGhy6Xj+6BZ5Z7HdYK8vFqD6U= Date: Tue, 11 Aug 2026 18:25:17 +0100 From: Leo Yan To: Yeoreum Yun Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, suzuki.poulose@arm.com, mike.leach@arm.com, james.clark@linaro.org, alexander.shishkin@linux.intel.com, jie.gan@oss.qualcomm.com Subject: Re: [PATCH v9 11/13] coresight: etm4x: remove s_ex_level from config Message-ID: <20260811172517.GI15499@e132581.arm.com> References: <20260725113645.57519-1-yeoreum.yun@arm.com> <20260725113645.57519-12-yeoreum.yun@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260725113645.57519-12-yeoreum.yun@arm.com> On Sat, Jul 25, 2026 at 12:36:43PM +0100, Yeoreum Yun wrote: [...] > -static u64 etm4_get_access_type(struct etmv4_config *config) > +static u64 etm4_get_access_type(struct etmv4_config *config, > + const struct etmv4_caps *caps) > { Is it possible to retrieve drvdata from config? Something like: drvdata = etm4_get_drvdata_from_config(config); If this is feasible, we wouldn't need to modify so many functions to add the *caps argument.