Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp91212lqp; Thu, 4 Apr 2024 07:53:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX99MAgSO8eAd0gJM9Ih+sUNm7DnyO2bGUS2RfA1GYt7oddNDc65l4woDwN/uglBsHqO5vf+OpiBkzQfhr/yNrKDg/82xyLxRtmZZW1QA== X-Google-Smtp-Source: AGHT+IF3+YdsAM7iNF3Cfvso5/FkRS7OGjp1MjQXRid6t/hCqKO9SsgeAvePKMG5MfnqV3lHDV+5 X-Received: by 2002:a05:6214:ca4:b0:691:e21:736c with SMTP id s4-20020a0562140ca400b006910e21736cmr2364980qvs.30.1712242403719; Thu, 04 Apr 2024 07:53:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712242403; cv=pass; d=google.com; s=arc-20160816; b=PIDJgPpo7tEwgfFpUYhduLoV/A+b/xOjVEIelSYYwilwZPVWqvZjoxHQUlnkhQazqV 6fKi+yunhdwWiY45a+K3YiFZD/Z6YMl+UwDLtLMDNMslIVkE/S4hMMlQGJgvydC2+sDn bKtx8ZtaYlW/ts64XMv+HGj9P9nOUkSL3kS7dpNo+W7MWgcsNyy/EPTWZhMTIPCiITGP 3mjTSXrEZABiE+19Gsupdn54FX5dmUw+iic7v4pIrH8/85NlBZys5XVFh/iuaO8hqSPK L3Q1aEEpPObGxukCrKChr7aCSzxmNsI0JLD2iuZvZ+iYWwUzTDhE1NTQY9yGFJoOuBg7 Gt2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FcAloi7OS5IILIsQ0ljvW71R0EJ1O/F969LT76YVwho=; fh=5CNd7ENyRnGMktC1plqWk++jwaOm8VUuLoGcS2K0mzY=; b=jQmTA67q7tNxQi5hn4AiT+FnTFa1VitsSOJpJiQ61eAKaaP0IERU0YknNSSNRoDSLb BG7jE6QDvHH6/JrbbKtru8JDwN77hGp+mhzM97UqfH1rJeirq4KRN97tROwg//bx58ry muqr8CgOW4Za3hW4gcdFSLihaTUxdgQYcRbG0cJ210ChDXzE2ri8gq8XcZZ/Nen8RIuh bnKinTBm1NHRQfBS3MbfQN3kSKVjsIXlx6lds1Il+yG0map6TL7IrfOchyHT3wRjamKH aupB/mFOg5NvL/PJzLUaPbOhfP6G+zK4NC9If53tQhwthUv0aff9GiPy83Na6ZbsndBU 7lLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QQ4d96sn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h4-20020a0cab04000000b0069682da24bcsi16379501qvb.128.2024.04.04.07.53.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 07:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QQ4d96sn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-131653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 753731C283E1 for ; Thu, 4 Apr 2024 14:52:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DFDF1C696; Thu, 4 Apr 2024 14:52:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QQ4d96sn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A34111C2AF; Thu, 4 Apr 2024 14:52:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712242351; cv=none; b=dZyQch+7+UFGkeCgEMnaxCGB0dB72wf87daie3d77S6Ab7EeXhL/k3MDkJG4ttETNV221v3fEeQmR611QITyMkFuM2uuZiESMYkrmw/oOPCpHpFPBDVFWsVB7YaP8Nww0Gs1fEZwuqqHeFwnRLEZh/EmFX8qklGyBRbnVTdFCBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712242351; c=relaxed/simple; bh=FVN+XU95iFZygTEUmTEWzjGUOeNxuFL1vZ2k7fKSY28=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kNdNB6/D1zE48QBfBjj4AKY7TLQkad69lRiDRKq1dwJdJwr1Do6lZ6PCLCMmOFc1ty4W19+ciCQJLDUy+Q0GxL8LCxkaIw2nyl9gnQbCXBDaczgPiFQP9XeZ/BnYRLNNPdPh/KcwBuoh3sevncne7NS4t2EZBKxejtxxrej933g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QQ4d96sn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6164BC433F1; Thu, 4 Apr 2024 14:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712242351; bh=FVN+XU95iFZygTEUmTEWzjGUOeNxuFL1vZ2k7fKSY28=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QQ4d96sncUwpLSXRdO3Bmos1MhA1dXSW/a4RAM3OmavozoeMqEpEcuw/x1YQ7C+bE NANpo8VvxRApMqAz3igOSWnt+K+4RYnyg3H16tgTnTgsjoqW0T2+59pNIApGekVC8Z TJCBZa+pdm4MGW6KzqwRuT7AxxWNlINIXlh0taPjKBRdF/uLRcEHu9tSUvn59l72lh DgVSNMFSSElRTnyxlYEbJm0atkhWS8DlgOoCS6DbOLDH9JqPMkIe3AdDa3ZHYu/0+s xWGG2DqJRg2xDBlJ94w+eRU5FT0uI7IN8un6YegcbCdjHljJ4lYdl+7EWHsJ+JDKwc HzzkhhwM22Lnw== Date: Thu, 4 Apr 2024 15:52:26 +0100 From: Conor Dooley To: Jason-JH Lin =?utf-8?B?KOael+edv+elpSk=?= Cc: Shawn Sung =?utf-8?B?KOWui+WtneismSk=?= , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , Houlong Wei =?utf-8?B?KOmtj+WOmum+mSk=?= , "devicetree@vger.kernel.org" , CK Hu =?utf-8?B?KOiDoeS/iuWFiSk=?= , "conor+dt@kernel.org" , "robh@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "krzysztof.kozlowski+dt@linaro.org" , "matthias.bgg@gmail.com" , "jassisinghbrar@gmail.com" , "angelogioacchino.delregno@collabora.com" Subject: Re: [PATCH v5 02/10] dt-bindings: mailbox: Add mboxes property for CMDQ secure driver Message-ID: <20240404-lankiness-devouring-d4d012b22cb9@spud> References: <20240403102602.32155-1-shawn.sung@mediatek.com> <20240403102602.32155-3-shawn.sung@mediatek.com> <20240403-conflict-detest-717b4175a00c@spud> <9b9707a4a0e285a12741fe4140680ad2578d8d2b.camel@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5sEXL4CMpiDMisKi" Content-Disposition: inline In-Reply-To: <9b9707a4a0e285a12741fe4140680ad2578d8d2b.camel@mediatek.com> --5sEXL4CMpiDMisKi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 04, 2024 at 04:31:06AM +0000, Jason-JH Lin (=E6=9E=97=E7=9D=BF= =E7=A5=A5) wrote: > Hi Conor, >=20 > Thanks for the reviews. >=20 > On Wed, 2024-04-03 at 16:46 +0100, Conor Dooley wrote: > > On Wed, Apr 03, 2024 at 06:25:54PM +0800, Shawn Sung wrote: > > > From: "Jason-JH.Lin" > > >=20 > > > Add mboxes to define a GCE loopping thread as a secure irq handler. > > > This property is only required if CMDQ secure driver is supported. > > >=20 > > > Signed-off-by: Jason-JH.Lin > > > Signed-off-by: Hsiao Chien Sung > > > --- > > > .../bindings/mailbox/mediatek,gce-mailbox.yaml | 10 > > > ++++++++++ > > > 1 file changed, 10 insertions(+) > > >=20 > > > diff --git > > > a/Documentation/devicetree/bindings/mailbox/mediatek,gce- > > > mailbox.yaml > > > b/Documentation/devicetree/bindings/mailbox/mediatek,gce- > > > mailbox.yaml > > > index cef9d76013985..c0d80cc770899 100644 > > > --- a/Documentation/devicetree/bindings/mailbox/mediatek,gce- > > > mailbox.yaml > > > +++ b/Documentation/devicetree/bindings/mailbox/mediatek,gce- > > > mailbox.yaml > > > @@ -49,6 +49,16 @@ properties: > > > items: > > > - const: gce > > > =20 > > > + mediatek,gce-events: > > > + description: > > > + The event id which is mapping to the specific hardware event > > > signal > > > + to gce. The event id is defined in the gce header > > > + include/dt-bindings/gce/-gce.h of each chips. > >=20 > > Missing any info here about when this should be used, hint - you have > > it > > in the commit message. > >=20 > > > + $ref: /schemas/types.yaml#/definitions/uint32-arrayi > >=20 > > Why is the ID used by the CMDQ service not fixed for each SoC? > >=20 > I forgot to sync with Shawn about this: > https://lore.kernel.org/all/20240124011459.12204-1-jason- > jh.lin@mediatek.com >=20 > I'll fix it at the next version. When I say "fixed" I don't mean "this is wrong, please fix it", I mean "why is the value not static for a particular SoC". This needs to be explained in the patch (and the description for the event here needs to explain what the gce-mailbox is reserving an event for). Thanks, Conor. --5sEXL4CMpiDMisKi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZg6+qgAKCRB4tDGHoIJi 0tiPAQCmKL+7qqsiglTH60MzilEx595s4NTTEM6sOmrSsCQmHwD9FA2Hgru6DIpV u2H+l/GfFPpbBLY5L/Sz6HL5EuzTfAk= =u8hN -----END PGP SIGNATURE----- --5sEXL4CMpiDMisKi--