Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1049084imm; Wed, 8 Aug 2018 09:53:05 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyB5o+HqLm1Lms5tJ1trMjlBQP16kUlvASSAsnTVWOhVPFCIoDbZrZeaDjQb0HZYPL7i+w3 X-Received: by 2002:a63:a745:: with SMTP id w5-v6mr3380522pgo.374.1533747185338; Wed, 08 Aug 2018 09:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533747185; cv=none; d=google.com; s=arc-20160816; b=J645QvEvUYXvTOCQfOyCa51PCwczruuW9JbekIosm7Qg6IAzBEi+9Ek41C79GxGoiz ec5Qg7P20npBUeAxe4/54mUhOEkhzFNw2Ug2aYN8ykVnViXoUN2yNLH1SQrr934h+A53 do8DQoNy/XbsRqprKbdIbWYNfZxS38jGGWYQYTqaOMfvvUZHFoZS8QWaRVTHl8ks3/i3 9bd6Ww0wX+XEHcNhY0+MiKGLhlfexlnu3j+vP55evPepkgquTTGQTnnDH0P7zLmKH5c9 +G5n8jrYvTPaEa37z/HNtGhfh6xmjLOa/OfQb+6KOPO5gOCEfh9KQUPfkX6CEzpAKXiV 1q1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=h/90jIwQqSwJPH/dSSR4QIbr48DOJ+PNVp15W25sxpQ=; b=t6uwizcT0uaONyto4a9mm+4KzQteai1QN6P/M0wgpfQQ4qWT+hx02hFms/nq/grJqt TKjKWzZOILZrVKe5SyAbixpOE06lkv2jR7wZJLqFhRFja/QaXciRg2EZCdbd1ZEalpEF azr74pncwTFrxRuRwbmqOu8Tg+QKfIBFmkF2iYdBxmmtDXKopl/msWvX/h6mkW9fvAfT XSrB+FnoYnVpUvRGp4zPCE1OyIVMO093oQee2AVygf9bm9cW5WQ7mFeruBO+o3NnTY3N 2ASSQkkgpFyQ7mDhEtTXrhlN3j+SajnaAq165scoefrkqH8Ax3LyLl4xSB7AgUP4C658 Q2bQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9-v6si3951833pgf.380.2018.08.08.09.52.51; Wed, 08 Aug 2018 09:53:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728242AbeHHTMb (ORCPT + 99 others); Wed, 8 Aug 2018 15:12:31 -0400 Received: from verein.lst.de ([213.95.11.211]:38902 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727347AbeHHTMb (ORCPT ); Wed, 8 Aug 2018 15:12:31 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 8101868D60; Wed, 8 Aug 2018 18:57:29 +0200 (CEST) Date: Wed, 8 Aug 2018 18:57:29 +0200 From: Christoph Hellwig To: Marc Zyngier Cc: Christoph Hellwig , Rob Herring , Palmer Dabbelt , atish.patra@wdc.com, Thomas Gleixner , Jason Cooper , Mark Rutland , devicetree@vger.kernel.org, Albert Ou , Anup Patel , "linux-kernel@vger.kernel.org" , linux-riscv@lists.infradead.org, Stafford Horne Subject: Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation Message-ID: <20180808165729.GA6079@lst.de> References: <20180808150938.GA32274@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 08, 2018 at 05:47:40PM +0100, Marc Zyngier wrote: > The original GIC driver deals with 2.5 revisions of the architecture > (yes, there was something pre-GICv1...), and implementers have been > creative to the extreme. Still, we could have done without most of these > compat strings. Hindsight and all that jazz. > > GICv3 is a much more controlled architecture, and although people have > come up with a number of turds masquerading as implementations, it has > never been bad enough to mandate a different set of compat strings. > Also, you cannot describe that kind of stuff in ACPI, and we need to > support both, so we've come up with different ways of handling this. So the claim from SiFive is that all their current plic blocks are the same. Based on that I'd be really tempted to just match for sifive,plic (or sifive,plic1 as suggested by them), but also require each device to actually provide a board specific compatible string, just in case that something goes wrong. Which I suspect is what you are doing with GICv3, right?