Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1407992lqj; Mon, 3 Jun 2024 23:48:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmMprcSosULeYFbjlKaBVa+Ox3HXg5XJ6t7+iCT7NRHHbA4MDdxlAQxXEOnERrVlDR29JFP/r0qKBKkeZ/Eou3TtSMeySXJo59CaPxHw== X-Google-Smtp-Source: AGHT+IFXe9tV9x8WyqgemfndUDfXLH9AQWvXkRcRU22tRadQ6n4Usnsfk0RaDe4ehRpfLBVliyJa X-Received: by 2002:a17:90a:ab0b:b0:2c2:12d:fa01 with SMTP id 98e67ed59e1d1-2c2530778a9mr2623524a91.11.1717483686815; Mon, 03 Jun 2024 23:48:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717483686; cv=pass; d=google.com; s=arc-20160816; b=P0aSFdQjdWEsGCxrWW/uosHuLURfK1gKIK4EeXbfO6ZUHaj+cOU31iPRoYcocU1uWR b14hnQqMzA5ygOvyLbZXMuSAhDh4IL1G9F/5DXly1ZthcQyRfsbYgG35jRNuZipQrbUv vANamfi4kkji15cJmW6cYpvplmZwaCsDag9+SIOLYxUr5JzOn4zyOIeBWtGPidZJ0aOS 7msSUosT0nrCYmu7fIy5RAC+s/3h51tWT8RCz+Zxmug/tYd6d9jZa5+uPkVDH8vH+nrn /ShX2pFzkQf3Z35Vsfmdh9Hvx+CY217XzkI3oq+tupJMS1F17DFOrE2XGzJh8AdFFgMN W1Ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=UhHLC2tOVmeSnYy+wtZRokMH/TpuuX1fMeaOvPUNGhw=; fh=zE5SSQ4x5OVzLpJqXDxzy2QEQj0ygG3myM9JyxrZs8c=; b=wF93Pg1z2uo9ZNFYZU/lcShs7WLe8HHfOopTGw8AcNJV1RaT2x0ilRtic4qolGX+GO 6ZCTQha+DsTtIstf8yP1lL8CeIRAm3LCZTcypVz70SBVDvpIFXSb+7Qx+7s5uLoaCNDG dvkV7nJdPndbzafAa58Srw4c1jyWgEJxB5q6AVJ6nnj5rkB79z7V4BBi+b6MNt72tn5u J5F/2K/cOdvDk/AsVaeDirpoHEwnqnKvBsMV+8WJNbM+xI1no0QmR1/Hv8YEzhn9SCg3 b3MFQ4ZL01fbdiFLVz9nLjaBSrnpgqmFQhGRitJ7SNoYnqkoO+obYoh2Uknn9Oi1uKwf R17g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kzxD40Xk; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-200118-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e09760si1762372a12.309.2024.06.03.23.48.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 23:48:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200118-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kzxD40Xk; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-200118-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7880E28900E for ; Tue, 4 Jun 2024 06:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A708B13EFE4; Tue, 4 Jun 2024 06:46:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kzxD40Xk" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28EA81386A7 for ; Tue, 4 Jun 2024 06:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717483583; cv=none; b=d++YG95fuaN+RQpjpNtQNgdZFrdMyewwPLfknvSYK3bOZQyCdNu02c2ZyJryTbZIomCZO9reiuIiWCWFybI1xOSZJ10s/XXnxZtRYfXX5AY5hy+YJyvnyGy3GGP6TT25dRnJFWy4PgqI163qJ5WxK7sKf8fYxssTelFwNAvDCTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717483583; c=relaxed/simple; bh=UhHLC2tOVmeSnYy+wtZRokMH/TpuuX1fMeaOvPUNGhw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YqXjTYuQ47kD4mjT7kBCbsWSvg0BrmUoksVlTZ/f7lJZ8oz6aOo41o5mF+83HVwh93ko+FvrdqSCjnagwZWI4d9XfnqY2dISI5jC0NRNr0aX2w05VI7EWIbb/+VEOZf09Bvr+E7e9myfgRyGNrZqVcGIx65XJaSxTypyk/fPUF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kzxD40Xk; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4214fe0067fso2195765e9.1 for ; Mon, 03 Jun 2024 23:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717483580; x=1718088380; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=UhHLC2tOVmeSnYy+wtZRokMH/TpuuX1fMeaOvPUNGhw=; b=kzxD40XklQibaA/OSgdTl+eRjmTO2+19WOJXNhiNc62CaHpo0po1ixWckklLOcRSZz ompq8JvZFqgt/m4fP75H7ihaWXhIHAFTO0KTwd2b0scfn20aZukCLW8cG/QSMXq1aEAw tQ6b1/1+pqO9p2f9QcUHPjIqJb+vP459AonoTixPr+XY9gKCxBPJmUFQ+wPh1T9fq+vB 6HZlNsL2J4sSVhjT0X0ViZzTKTz2ZBZFEdGEqY94GtQXnLaeh97pkCdwMHDIbBBHjCke YBprUqNmssWgilfD4GIYAXF7apNzJ/I18Km3oUng4NH5P4oYRVzziTiNrHMcI+9pO1k+ YRuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717483580; x=1718088380; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UhHLC2tOVmeSnYy+wtZRokMH/TpuuX1fMeaOvPUNGhw=; b=bUm3jeTVhWZJ7krVD+6VDuNdmhadBUmJ25cAa0+X6P7FACBAXtRDvdL3cTkUauynF0 gWWCgqriob4NMw+7+r8TeFRfMLXdjV49iVeQ789CQEBwERo8nLPMcV9OgR96zUZlhDXX PBNA9gIWf2qybDA0GWSG4opLmjZeRcF4fjz8Muh9sREZwsDCaHcHTxcI3POdlpOAUOgh xPzNYUor7i0cCayXtlhhQQUNBnKJJKxGcdKHsJUu36HJYtkIjaJDexA37w5hk4NCn1b0 YMez1IpcK76a6b8E5fIwrKceLXvoELJDDX7JRq64JYl6s58CKpoJbkTiynS2gdFhpL4N XcDQ== X-Gm-Message-State: AOJu0Ywpu5dHmy3Ec0PmvopsgDc1vlKu2IznP2PF2VIGe8wcPuqHsmov zH3iveyLp8Uns3az8hbjyEbBQg8fFqqR8E9Aae3MxJ27oe0ATeAJbHZ504eHDj8= X-Received: by 2002:a05:600c:1d17:b0:419:d5cd:5ba with SMTP id 5b1f17b1804b1-4212e0441e7mr88545155e9.7.1717483580520; Mon, 03 Jun 2024 23:46:20 -0700 (PDT) Received: from [192.168.2.24] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04caf05sm10480937f8f.42.2024.06.03.23.46.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Jun 2024 23:46:20 -0700 (PDT) Message-ID: <5e5f052b-df59-47fb-aed0-10b4f980f151@linaro.org> Date: Tue, 4 Jun 2024 08:46:18 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] soc: qcom: icc-bwmon: Allow for interrupts to be shared across instances To: Sibi Sankar , andersson@kernel.org, konrad.dybcio@linaro.org, djakov@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, srinivas.kandagatla@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, quic_rgottimu@quicinc.com, quic_kshivnan@quicinc.com, conor+dt@kernel.org, dmitry.baryshkov@linaro.org, abel.vesa@linaro.org References: <20240604011157.2358019-1-quic_sibis@quicinc.com> <20240604011157.2358019-3-quic_sibis@quicinc.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9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Qt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240604011157.2358019-3-quic_sibis@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 04/06/2024 03:11, Sibi Sankar wrote: > The multiple BWMONv4 instances available on the X1E80100 SoC use the > same interrupt number. Mark them are shared to allow for re-use across > instances. Would be nice if you also mention you checked that it is safe to have both devm and shared interrupts (so you investigated possibility of race on exit path). Best regards, Krzysztof