From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 C7428426D0B for ; Tue, 11 Aug 2026 09:36:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786440987; cv=none; b=iCB1lZ0xMq6t3bv74G099gcx7gmWZSXklfGXghcGxTgZzG7IEqXr/KyodBk4+93WGN70360eUE3s/sIhwldZnxfaosIZe+iyibXfzXnmW1Pai8mZtowTya8s8n97797AQpSPjE/x9htvnUdpFutmmPet6/eCeJ5WAFNNuW+s01U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786440987; c=relaxed/simple; bh=rqfV6jbzYDUjMrVAKo4zf+EVj733XqEdjvk2G6yYi3Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ScUd7S4CDcK8uZkGU2LeTEZwtGN+WjTsSsaAPt8jAl78ZZ+ywfipkpICTnIRBuRctjqnmInSx44L32cfesrJZQiDWceZDCZyVCGVFyoRiu2EPzgk5s3STfULDTtmXMyE31fDey258jxUG6L8+w3NOAfYKnECocyQbRdHCBWhkoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com; spf=pass smtp.mailfrom=sifive.com; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b=NhxDVnck; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="NhxDVnck" Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-38ea87caafeso2073244a91.3 for ; Tue, 11 Aug 2026 02:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1786440984; x=1787045784; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=VcbzXbSdyoexmhki4K88F749nCD4aY9ew05QBhC5eME=; b=NhxDVnck9E8f4nDeg0As9Y0x6/us76S9V6iHYBKUAUBnCSqPsU9zuWzKgtqdcZltww GwvDFCd4zL+wB5Gdp4CNxTTQfmhJ/MoCoFLQG0Pd+LrpLHFGdOJtG8loLuQYuhJCwjnS c/JIXLuIXb/4q1s5RnTO1/QzURK/dnGjuUTAYL8sAvnwbHAD2ynasWxhiYpPxVALYke5 bYsJTT3oVSmFHbTVvPlKkVMhkuL0Yc4x8p0FemvT3eBKq0teQeaxykyj2sYNEezLOFv3 OaR2UDROcU2VKOy6CR9/jTNXpeTNj4eJGyd1QT1fUYVeWicwkTeYjpNUJMdZK+UBN+PK no2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786440984; x=1787045784; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=VcbzXbSdyoexmhki4K88F749nCD4aY9ew05QBhC5eME=; b=KyWzbI3H+8K+aEnslJtAo+pO2L3jCN2RfDnjVnr5p+LA4SCsfiTr/hWn8CRav1jp0f AFqapAZVUv7+X+6Iw4OeuzCcJIg7amRGQoZNDgHy4T7iWv8qq9unDrbeniLjVOmfYbhE NQScEuoj5/dJxeM0Oh+Iikaqpkt54k1FpAsAFB8hy7LGIZ/wqrprQv1n9WE5UGbPTmlm rgmNpJBYjbAdazbafb+z8Aa2Q44Gcjj8Ld6jCF/V1PoZzxDCSle/UrqYmXaVPA3fCxg4 Kr+x4awwKSGMvPV4bkqi1TEDh6nTjZ3Lpj/1DjcDcrw8EDJSvdp/QOoDSqCAo4/dXO3d hKuQ== X-Forwarded-Encrypted: i=1; AHgh+Ro5jx2C2uw4vDcYlPnQ8Sq/yWLtOXpDeBmR+oI82pT4skCIaptAibLZxnSlVcOQuKutLj0MXOzfe0RLjgY=@vger.kernel.org X-Gm-Message-State: AOJu0YzHZ9ILxU65hDc23m5DciOIJdnYCLCIb6iYuttLYapwkTffKjGE 1HUTeocB513z4rxMVwvOdCVJ2QsQalFIsDHmdb4Ryxoyr1eLSHrnobARHv1mMs9G0fY= X-Gm-Gg: AR+sD10/Uh2FysUH3JMUnjwYRAtBVQUu1fV0ZAZqVMrwtx84Pp4xCEffnj+4xKO8fGM qXFXjVgW+KU1Z5Zvt7dCoWnYHmxT5TfJE4h9ecvVbbS/aoocBkFptscAJAzSKSgI/K34Eg/6jmX ONAhJunQBuzrJBWa8b3XHkCg/6FSK2h2RCtjkKvUDotQoyH/6IKoDR/PKXJ5SgXZTHvj3TVU8gM Gn3KDQaSHsC0hDNhzjd0/VqgPWpsNDsvcqn79LTVtsEgO6J2n4Vdop21Brl9ZAU9jkfS4PpB+sb zPleuDQRCtpY+C9HRPEAEsHkRPRNxcTssh6W802c8U+3J1UZ0s8BYUH2F+MjDe57T8QXJexSD9C DBR0nZ4LAmCiESSVF+bQY8a1iQfIqjZ7zKfG7XRtbKDaYdPY0wUZrDV6EGsmvCKKlFEmSfKcBLt EDYH4swPITozPFoiNNW1rjmewD6zj3ye3SkwHoAT2uxyKHvCuX80n9GEBThJ71 X-Received: by 2002:a17:90b:2689:b0:380:f85c:94b4 with SMTP id 98e67ed59e1d1-392ec4e4a34mr2095732a91.7.1786440984022; Tue, 11 Aug 2026 02:36:24 -0700 (PDT) Received: from plin-1878 ([136.226.240.195]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-392d5190ce9sm3040036a91.1.2026.08.11.02.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2026 02:36:23 -0700 (PDT) Date: Tue, 11 Aug 2026 17:36:13 +0800 From: Yu-Chien Peter Lin To: "Rob Herring (Arm)" Cc: pjw@kernel.org, zhangchunyan@iscas.ac.cn, conor+dt@kernel.org, greentime.hu@sifive.com, robin.randhawa@sifive.com, dfustini@oss.tenstorrent.com, raymond.mao@riscstar.com, dave.patel@riscstar.com, pincheng.plct@isrc.iscas.ac.cn, linux-kernel@vger.kernel.org, darshan.prajapati@einfochips.com, linux-riscv@lists.infradead.org, junhui.liu@pigmoral.tech, akpm@linux-foundation.org, dlan@kernel.org, jim.shu@sifive.com, devicetree@vger.kernel.org, luxu.kernel@bytedance.com, krzk+dt@kernel.org, zong.li@sifive.com, anup@brainfault.org, michal.simek@amd.com, scott@riscstar.com, alex@ghiti.fr, samuel.holland@sifive.com, aou@eecs.berkeley.edu, pawandeep.oza@oss.qualcomm.com, palmer@dabbelt.com, nick.hu@sifive.com Subject: Re: [PATCH v2 3/3] dt-bindings: sifive: Add WorldGuard Checker Message-ID: References: <20260729163908.249838-1-peter.lin@sifive.com> <20260729163908.249838-4-peter.lin@sifive.com> <178534841831.3259884.2854898669055783798.robh@kernel.org> 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: <178534841831.3259884.2854898669055783798.robh@kernel.org> Hi Rob, On Wed, Jul 29, 2026 at 01:07:00PM -0500, Rob Herring (Arm) wrote: > > On Thu, 30 Jul 2026 00:39:08 +0800, Yu-Chien Peter Lin wrote: > > Add YAML binding schema for the SiFive wgChecker, a programmable > > access controller integrated in the interconnect fabric of RISC-V > > Worlds-capable SoCs. > > > > wgChecker enforces World ID (WID) based access control on downstream > > bus transactions. Each checker slot encodes a 2-bit permission field > > per WID (read/write), enabling fine-grained memory partitioning and > > device isolation between execution contexts. Violations are reported > > via bus errors, interrupts, or both, selectable and lockable per slot. > > > > The binding registers wgChecker as an access-controllers provider. > > Consumers (i.e. its protected device) reference it via the standard > > access-controllers phandle to declare their access requirements. > > > > Also document the sifive,trustedwid property for the /cpus node, > > identifying the privileged WID authorized to configure all checkers > > on the platform. > > > > Link: https://github.com/riscvarchive/security/blob/main/papers/worldguard%20proposal.pdf > > Signed-off-by: Yu-Chien Peter Lin > > Reviewed-by: Zong Li > > Reviewed-by: Jim Shu > > --- > > .../devicetree/bindings/riscv/worlds.yaml | 9 + > > .../bindings/sifive/sifive,wgchecker2.yaml | 356 ++++++++++++++++++ > > 2 files changed, 365 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/sifive/sifive,wgchecker2.yaml > > > > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Documentation/devicetree/bindings/sifive/sifive,wgchecker2.example.dtb: uart@1c1000 (ns16550a): $nodename:0: 'uart@1c1000' does not match '^serial(@.*)?$' > from schema $id: http://devicetree.org/schemas/serial/8250.yaml > Documentation/devicetree/bindings/sifive/sifive,wgchecker2.example.dtb: uart@1c1000 (ns16550a): Unevaluated properties are not allowed ('access-controllers', 'reg-names' were unexpected) > from schema $id: http://devicetree.org/schemas/serial/8250.yaml Will fix. Thanks, Peter Lin