Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp804940lqo; Fri, 17 May 2024 01:58:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVb9pAlcHKyM5J/HBrFBpLevNB6WWAJAtqaEv1OXp0pcpygErxkpM/YU6r17zi889uA68TUAV+adAzZ33QU5CCrAl3KxiTfdbXZpDjPVA== X-Google-Smtp-Source: AGHT+IFWjb97T6WYu6vLxBii00iGE6WLXzSYUUCCe6V7HaGJh0XddK/ukdpG9dHgJCqzUIIX6Tqy X-Received: by 2002:a05:622a:5917:b0:43a:ac99:4bb5 with SMTP id d75a77b69052e-43dfdb825d3mr255769701cf.51.1715936316007; Fri, 17 May 2024 01:58:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715936315; cv=pass; d=google.com; s=arc-20160816; b=bNIDUKnMXgzCEpRGoa4L8Ihg9jyjdEL6BpaRV7HBUa44lNkrkadL3bLGNQ7N4EWbhH s+cMIOaZqzwsYx9bIYZaGguPkZxtQPqQYPo4PH88CjoF1E8zlVf9L/9ah2Xyy9oA23TP oEIXUox/sIOKdFOrQtBAC5glRkhL+u+/X9VbYN6d4cn0FB46wjDl84UPnwBRJwjusB4G 1ijkTQJc6rhG1jKoLk2jXctNibaumiuLonaRAz74N2U3TQf7ZwMRiv1at3ylNuFWcyRe m99/8tQvtlfPgLTH6wtyLMgTYs0UMyaGUppusaakH0hEMfWa6I84+/VyiYpO2xm+8oWG YjtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WXEIiwHqeogB7g3eJChPlM4JmbteA+j2Ygd7KOJ9e/w=; fh=395nQBCE0bsMBGtlv2vaVZI7dxIBD93UoNKI+fEg+rY=; b=t/Tc3TE1nfpZWrylJoFVAdg0T7+LrjTLP/mkyMvEsJGqcTjYlMzPs+rxMqjWxnAQGa rstmC1a+yfgllJRmOdmUbqLdBhymLbBZpkBgyHcdNkDRj0i2Igyc73zExLJCCxM2SvUX LRxqqzMm29IYyvUsGwhOn2EFidS9v0vNmP7aBUgy1vTF55pHXx1qg/9GXYkFz0cBzEwA K3p0NNyv15y7PoRg8auz1sCSUhOxe2A+ongmTdTKMnmEs8zjMVIE05eHLxFnR/qGq3kD Oy4GhtkGPKHCVY4JaYZJtfHYg0lyyW+nnqmY3yJe1t6FBUlnjcIOH7OfeR14wvB3EOnb /XHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S5JvALA+; 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-181887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e120a518bsi120723741cf.592.2024.05.17.01.58.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:58:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S5JvALA+; 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-181887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181887-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A42041C20F81 for ; Fri, 17 May 2024 08:58:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EB921DDF5; Fri, 17 May 2024 08:58:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="S5JvALA+" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 CA30523770 for ; Fri, 17 May 2024 08:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715936304; cv=none; b=HBvSmatIuhV1UQEYAzOQ2twJwCST75IXMeM+68W67TkOcLbi/gAW6DKHjTkD8li+QlyCrSlvb1pjWNgKtNBVIMcSMX54dNQut2giAKj9dgTRXC81xiWU32Nwds+rvTDaHWya3BSZihHr7K1iFwZYFDmlsemtkGKjpjxnTkQh8GI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715936304; c=relaxed/simple; bh=fh/EhHYv7kPstMXk8bNVt+vHBJv+tYraANwKXrpuKLE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Axb/s2j/05Wr88ZmwpJgRB0Nv0fVegBhcj9GgKpT50ElcQ+2Cb12RSqGBtzvl7bHJGkMqQbVa1v2KgrDQPEsmsM8C8M+57nY7A8Du7AyDj6OiJFzvpXAe0aUuJ+WnKd0rU/IO+a2pngTrxxzSj1rVPQ7nTzuIHY6ZNO2z3K21X0= 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=S5JvALA+; arc=none smtp.client-ip=209.85.167.44 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-lf1-f44.google.com with SMTP id 2adb3069b0e04-51ffff16400so2792262e87.2 for ; Fri, 17 May 2024 01:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715936301; x=1716541101; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WXEIiwHqeogB7g3eJChPlM4JmbteA+j2Ygd7KOJ9e/w=; b=S5JvALA+XsizQSD+TZyYEIBf3CNIFZuinBO7TYWOlKfYtokAK2zH2d6Ds4TevMVcVd YVeOKMyxFT4CooMl44Z4tpPliKUpSRdxjJgwW3+YFeQu45fihGxQTidxFNlgFXtEUF6j 2YhKT08x9cr/xnSr0pqFGhnNMb3TBB0IUclSM9e8XYSSRSjZqrkyy33XCwiGkh1hcaO1 w2RVFWIs7W+CEcxJlxxs3ieBEDngnOZObdD8f9/lXbF7KJa9a0Gp0k4nCResfakWdw5U 8YlgDbW0cROeUOQQE2GrBeIxdR1zYXAZbXvSRzqEnmEjRz5meseZf2KnyU2UhmKnbPpN v7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715936301; x=1716541101; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WXEIiwHqeogB7g3eJChPlM4JmbteA+j2Ygd7KOJ9e/w=; b=L2dXcmr01EpedpEyO0Gc5N1S6y+13Gz/Ra5yl8pXTVWzIOAMxcIbgQrF5cihAMIuGm DlJM27hOrZV/tT2x+Z9Uh0+CjnGABEYh5ah43M9Y3wADRnuLo714KMnOu2FIKP1fuGN1 kOFEhVBVje7Bf6FguYvE5YHcoPQ570IhxsDFC9GlvyKhShxzQsno+/VUYjXKyAX09T5b oiRFkZ4BMNThsOxmpHaqAuFBDRTvDJekTP4xDJ89WF6/JT5S1NSx+iI6iFI0XSQGadFb 2rJZ6xuhFbVgJ7EdzRZT3IzM2N8qawhFIUTxY5xEOlexigFlrmNwa3q5CDjdSlyEC8vZ e3CA== X-Forwarded-Encrypted: i=1; AJvYcCXpojDr3WjvdOOZKTYGb/ESYufk5PC04TnnP50PAqFy8uOCztdv1riL8Bzgi/wfks39Dv7v1OLovwkOBSCKqa0m/Trsj5qNTJebyWbP X-Gm-Message-State: AOJu0YzTv9qD05MOQml0ypkk7gTe7a0AELvwlLhfG0A8U3kPVo4P6CAt HTWorsS4+V0NjNvgBRfOkeN1JgbdeHvYpxKgKXOVDtxxEMTDZb3xcgvZvolVNM8= X-Received: by 2002:a05:6512:542:b0:51d:9e17:29f0 with SMTP id 2adb3069b0e04-5220fd7c89emr16576217e87.24.1715936301003; Fri, 17 May 2024 01:58:21 -0700 (PDT) Received: from [10.91.1.133] ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a69148b97sm637788566b.114.2024.05.17.01.58.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 May 2024 01:58:20 -0700 (PDT) Message-ID: Date: Fri, 17 May 2024 10:58: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 1/7] hwspinlock: Introduce refcount Content-Language: en-US To: Chris Lew , Bjorn Andersson , Baolin Wang , Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , Jonathan Corbet , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Konrad Dybcio Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Richard Maina References: <20240516-hwspinlock-bust-v1-0-47a90a859238@quicinc.com> <20240516-hwspinlock-bust-v1-1-47a90a859238@quicinc.com> From: Bryan O'Donoghue In-Reply-To: <20240516-hwspinlock-bust-v1-1-47a90a859238@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 17/05/2024 00:58, Chris Lew wrote: > + unsigned int refcnt; Why int and not refcount_t ? Have you an argument for or against use of one over another ? --- bod