Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp649633rwb; Thu, 18 Aug 2022 09:44:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR6v2UCDUMHDU+MskLTux+KshJXdhaNWAn/ty7eh8Fe/03WFr95Nlmzr6Yz0b9ECuRctU4C3 X-Received: by 2002:a17:902:e84d:b0:16d:c9a0:e502 with SMTP id t13-20020a170902e84d00b0016dc9a0e502mr3542570plg.125.1660841050493; Thu, 18 Aug 2022 09:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660841050; cv=none; d=google.com; s=arc-20160816; b=TT4xhfLcWNrHAwpY+TnS/WsgqsxNaGSoBSbF3iDhgtKs6AMpj+fTHYD7ka/HpV+BvZ fG1IfX1vzx21ts4d28GOzwgxK9YCuIDgByaRlsoDcvXquuIpKSu4I4IsvfjLstZ1ctkU Mkb4Zw0MZQQIalfmlJnbkB0FW47uR8vRWmy3R7v+tvEK3okAsPH+dGZkxYfnHkKXlOve wPeMCGmBtWrzhhZbXubs2rHmt3EL11CFfrYxeW7A0ZzfN6TGRxgR6aPgy+h4V6i5doJL tu17gCSvK2Gmmm35EBof/dlmBRIdIpIcTIIPY6rjM9h/wnFAHVFAAR2/TAXf6eTKHmsA wIzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=EsZP3ELRo6TTGsFBmByT42JNw5wBc7RlaMRIBETg5Gc=; b=BgUJWoeUOmjjAyYQVzPlLmkDrhFoa6NGB0IOyA7MJy41pynmZxB0awlyi8OBB+BnJl mN5YWUnnum0yscqiTfM3EiysToOncLUFsaF8pYEGjBRo6KM8wpugzkyCXtWLqt3t9Edj j4tTSS/6aJxOi7zMLgOpwPpAfV8pxikfkFOpez44syZ28fo80cwzCZthSuMAJYJOTec9 qOT20HEAFIROa12PEfMxE+yDdqOFG0YZ+rC7gC0f0iTWS44n5xJJCxgYfkkZBOalFxnd UrYh00VctoLOhF8elHprdnv+TYOKTDsWHX8++VSbPmoXoRRaXqidhQL3vjP/7WP3fWtG k2UA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a17090ac58a00b001fac1b39457si3078793pjt.163.2022.08.18.09.43.58; Thu, 18 Aug 2022 09:44:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344824AbiHRQg7 (ORCPT + 99 others); Thu, 18 Aug 2022 12:36:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343580AbiHRQg5 (ORCPT ); Thu, 18 Aug 2022 12:36:57 -0400 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EE3ABD28E; Thu, 18 Aug 2022 09:36:55 -0700 (PDT) Received: by mail-io1-f42.google.com with SMTP id z72so1480198iof.12; Thu, 18 Aug 2022 09:36:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=EsZP3ELRo6TTGsFBmByT42JNw5wBc7RlaMRIBETg5Gc=; b=Zp2w9mVrisi8zlrYNsIIKp9yEvxq/4/fQRSqXMDGCG+MXBk6OqDys0DJoeVMgvIO4X De1eJmQGlA4ZR8f+0LaXP0eLLF7A2TZO9/rwwNxejv7lG1EXOOS+90RNFvxSKw3qzmE4 K8uL0SQ19ui8oCwNAYi2QnO1ruTYBGDxVBkH/a53XyMK0dIMn0lkl6QXAUUxftF7Mwes FD2jFtuxTP4nXs1uJ4xOaVSlbnCTLH9Kp1UCo9KJz8ire6Kfx8qC9TvyqvlkwJK5ha/V +lsgftTnXKTnOA5uJE9DbBR2TSXMRsQUrdqsHUsPicNJYDjNu/XQuTI/xqwGFfxFQI/t 1wFw== X-Gm-Message-State: ACgBeo0VbclgPS7c71bpk+pHlqRiH/kDQVAjxJJ/LUNCouAmsDTtunHb UxV2FOKD1VilVpnDfM84rA== X-Received: by 2002:a05:6602:330e:b0:67b:9fed:49db with SMTP id b14-20020a056602330e00b0067b9fed49dbmr1740842ioz.54.1660840614873; Thu, 18 Aug 2022 09:36:54 -0700 (PDT) Received: from robh.at.kernel.org ([2607:fb90:647:4ff2:3529:f8cd:d6cd:ac54]) by smtp.gmail.com with ESMTPSA id b40-20020a0295ab000000b003427281824csm756542jai.128.2022.08.18.09.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 09:36:54 -0700 (PDT) Received: (nullmailer pid 1996636 invoked by uid 1000); Thu, 18 Aug 2022 16:36:48 -0000 Date: Thu, 18 Aug 2022 10:36:48 -0600 From: Rob Herring To: Conor Dooley Cc: Thomas Gleixner , Marc Zyngier , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , Anup Patel , Conor Dooley , Guo Ren , Sagar Kadam , Jessica Clarke , Andrew Jones , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, qemu-riscv@nongnu.org Subject: Re: [PATCH v3 2/4] dt-bindings: interrupt-controller: sifive,plic: add legacy riscv compatible Message-ID: <20220818163648.GD1978870-robh@kernel.org> References: <20220817201212.990712-1-mail@conchuod.ie> <20220817201212.990712-3-mail@conchuod.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220817201212.990712-3-mail@conchuod.ie> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 17, 2022 at 09:12:11PM +0100, Conor Dooley wrote: > From: Conor Dooley > > While "real" hardware might not use the compatible string "riscv,plic0" > it is present in the driver & QEMU uses it for automatically generated > virt machine dtbs. To avoid dt-validate problems with QEMU produced > dtbs, such as the following, add it to the binding. > > riscv-virt.dtb: plic@c000000: compatible: 'oneOf' conditional failed, one must be fixed: > 'sifive,plic-1.0.0' is not one of ['sifive,fu540-c000-plic', 'starfive,jh7100-plic', 'canaan,k210-plic'] > 'sifive,plic-1.0.0' is not one of ['allwinner,sun20i-d1-plic'] > 'sifive,plic-1.0.0' was expected > 'thead,c900-plic' was expected > riscv-virt.dtb: plic@c000000: '#address-cells' is a required property > > Reported-by: Rob Herring > Link: https://lore.kernel.org/linux-riscv/20220803170552.GA2250266-robh@kernel.org/ > Signed-off-by: Conor Dooley > --- > .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 5 +++++ > 1 file changed, 5 insertions(+) Reviewed-by: Rob Herring