Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2059714lqe; Tue, 9 Apr 2024 08:27:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIC13GbGFHw7HaSKMJjj07o7GKv5i8XeDkjRB21vrcl3k/c0PvUZA9HNph6a1xtMx9bnPbr1pr8BzrMa9VKwsmtSx6I4BNfUumC0zP6g== X-Google-Smtp-Source: AGHT+IG109fi+yERP+eYzXkEWc/kaUyHv78F5dITpPl9tJj4FjJ22PkwIJePRqWza6/Z05evv4tI X-Received: by 2002:a05:6359:2413:b0:17f:729a:8562 with SMTP id ls19-20020a056359241300b0017f729a8562mr230239rwb.3.1712676450218; Tue, 09 Apr 2024 08:27:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712676450; cv=pass; d=google.com; s=arc-20160816; b=SW5hDdxjcZQVkIM8NjtTbf7cV029sglWowIQ4gRiQG2vcZgIErYXtwDOwF7zxbSk8P t75FBioUF9G5sUALpgj5Ye1njjUqxg806jQAYsBckfX8q3tmbFn0PugbF2+iudWunBFW QSzESrkrs6ZHHjo91xZ6mfAQSMjveVSfJN5q5r43msMlTRbm57yLhJqd7z7QtQdxO/6n NElVfmrxrsKugrYBk4bGYyQAn2aceizvwodSqgNgMhqtcqMGrXYI4tpCBd03AiPjhP7X nxY+WN6IpJFNKadzAEPP0AsRZLjISZzisnqtTyD3C5AocerrdEbBRXN8osXCYlMkZdQ/ dnug== 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=4QUTmnmzUuh2Rjqaa+zhau3H4PZSDXoW8g69f2fm0OM=; fh=rOZfe648GjSEuhyIAMORLQxc+B3lUkA8biwiZpWymjA=; b=ig/ou4DXWdKH2y45z24qpwN9Mv5Ii4gDtmUPHEnaJW48bO+N8g4AVetjn3rmm5Y3jt oNh8Kew3NZJc1HzuYZlpAWACfaEmt1VOS+iGHroDQkBkOCWUqfygstfptBxYSqqFmeRf uyUF61u90oy7Vt8F/UlhA5OO/cZYUhs/TiWNNnjM7E7r6IAG7x0cH8+9QxMZ0Es78fGK sTEow+3y37D34rle5lWgeEEcDPwneDsA+UwoRnfE93HkhMO2O0irGz1WjD/Wcm0FwG1D 2ug1g1wAi4brrLXZ80jbE/u8Af0ZpSmbqjope2onSjVhbTp6fLKHVJ0qFAarA7cdX8+Z 2yAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NTTAoRT8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137190-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k2-20020a654342000000b005d8b8c6a98bsi8746424pgq.588.2024.04.09.08.27.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:27:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137190-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=@kernel.org header.s=k20201202 header.b=NTTAoRT8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137190-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137190-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F1C65289A18 for ; Tue, 9 Apr 2024 15:15:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CC45130AD0; Tue, 9 Apr 2024 15:10:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NTTAoRT8" 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 297BE130E2A; Tue, 9 Apr 2024 15:10:43 +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=1712675444; cv=none; b=JoB+cI70xlD1Unilhr1fPBiXt9Zxj7/Xy1Vkt5W1fYKqKSaGXj4dWVmKsXGYAFYdp0/DuFKcLj+vYMrgh+SvRGjVRXmf66xBqc/+FqSrlF/VFP7cYraatz85o81Gp5Ha6/8rUrisH+Rh7x79pNBbwsO+sGdCZOstkT0K9IHbCpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675444; c=relaxed/simple; bh=ekT0sGSo3AMhRcIQz//3SzF8DW+WDol7YcBnxFf/pyw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GZixKs45pttdz8MR/gONRleyFNbJ94NjQxndxLnZeKKrTW2LrKfn4ejMdZlmhMhJtKGGbWZp9eRrMpc6FbKMieFrAp3JO8eofEtzWEhtsxywbw1lFIxgUFykP7h5jc1lMJtxNEd7+/YYSY+ZQCvIjX5mlRuD+SJm82eq/1obrsY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NTTAoRT8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CF39C433F1; Tue, 9 Apr 2024 15:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712675443; bh=ekT0sGSo3AMhRcIQz//3SzF8DW+WDol7YcBnxFf/pyw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NTTAoRT8ckbyRuB/D0RFBxU90uJcw1DMXxt/9IhiBNPPMktexx0h677k+lTha1VrB I6rDY7fDKpiZ5tyu2jX9HWONXvOXfRPyWc87nxGrBjBR/XyavKJlEZrIB/23c9PZWL NmGoJ8I8GpyN5oteLMBIFvz7LjV1v01NVeDYBYbJz/3+Mhpu2qwOuJx1mlaLRyH5ZN 1XaWKHlXCx8g9CMZ6H84ZPTc1/YQVpqKXtoYhzfyipDyCaPiOwAYiqy+fqzRz1GOFz HlqiJ23+wJm61+Yb/oXZmIUZwvefPoxv4zUGr8FK4GB92yC7+Cxd1aDnhQL72u5Yqr pK0GAkPtqfN9A== Date: Tue, 9 Apr 2024 10:10:41 -0500 From: Rob Herring To: Luca Weiss Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Mathieu Poirier , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] Fix up qcom,halt-regs definition in various schemas Message-ID: <20240409151041.GA1141635-robh@kernel.org> References: <20240407-qcom-halt-regs-fixup-v1-0-a0ea4e2c178e@z3ntu.xyz> 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: <20240407-qcom-halt-regs-fixup-v1-0-a0ea4e2c178e@z3ntu.xyz> On Sun, Apr 07, 2024 at 11:58:29AM +0200, Luca Weiss wrote: > The original motivation is that a bunch of other schemas fail to > validate qcom,halt-regs, for example like in the following examples: > > arch/arm64/boot/dts/qcom/apq8016-sbc.dtb: remoteproc@4080000: qcom,halt-regs:0: [20] is too short > from schema $id: http://devicetree.org/schemas/remoteproc/qcom,msm8916-mss-pil.yaml# > arch/arm64/boot/dts/qcom/apq8096-ifc6640.dtb: remoteproc@2080000: qcom,halt-regs:0: [82] is too short > from schema $id: http://devicetree.org/schemas/remoteproc/qcom,msm8996-mss-pil.yaml# > arch/arm64/boot/dts/qcom/apq8039-t2.dtb: remoteproc@4080000: qcom,halt-regs:0: [32] is too short > from schema $id: http://devicetree.org/schemas/remoteproc/qcom,msm8916-mss-pil.yaml# > > While I'm actually not quite sure why these patches fix this in > the other schemas - feels like a bug/limitation in dt-schema maybe? - Was this with v2024.02? It should be a bit better there. Though it may just have different errors. The limitation is that property types and in the case of matrix's (which phandle-array actually is) range for dimensions are global. So if there's not correct dimensions for a property, the tools aren't going to decode it properly. Rob