Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1177099imm; Wed, 1 Aug 2018 11:28:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc24NMv8kB7ciuayf6JThoZgpDvCgKOeqU2HoAyugZO83O/zjJvFJPUkXSfOGrnz09KWyEQ X-Received: by 2002:a17:902:bd07:: with SMTP id p7-v6mr26188279pls.32.1533148103209; Wed, 01 Aug 2018 11:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533148103; cv=none; d=google.com; s=arc-20160816; b=UcvOYT1Uq0OZQOPjSjKkp3e3fx6QUsVN/ADxiwsev8Bp3HyQwKA+BaS/5r9GE7G+YY 49CU2sSTlEQUGpXYsxRFNYg9V5wBD0mTLIAfsSV2AcZMVAl4dnfIZ0qdBDu+JkMNtB/u CS4h/g+jFid+rRVuQGbokiJHqVf6NDOLvgQPZXTe3N/Uh+Y6OJB6mOiPUkEnq8J6P8Gj tLH7WCP+5wdD/xo4jHgEswZA/2eaV0qHjy43l5xPJbHcc6rEFAnGEUdjUu+6xNwY4GnG CAijCbRHMIYKjVG+BCkvknI6SHfX7l8NnUd4OJowWmZNLZAPWiobxh+hMOOhkY18N+NO fH5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=EgiTVaT1vi417/rmIQuwLo/IgbFMFWItgC5MKxWfRBA=; b=E6YugV8KmUahtZbRDuUr8VJpZp19SWkLJz3o7FioGYKULt/NuCGxvsYndXXd4ddAVm tR/7ItDeURerPyexB4Y5PtloTROuOEaCBNYhCOuUH8PRHPbhDVBnszgFz+jpd+ajr4fZ XuFXX5pHtmDT07pZjUQj96b1x7nu7Xi5Y3T3vqirTVEhpcuV5yS75oKFiSkf2dapXVp7 oW6MpGUrlTeKB6jEd1Fygh7i7rMzeykXDneNpgkh+l7rJYDCk9ByFhDycXsbCSQy6Jsm ZFuF5XpsD9oudG9Y7wwFmMCaRTHpiK9KFwB3gGyrkaPQ9v3u3Rsz/noGXPbRHptHJziP f2zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eZl7Dt1J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a90-v6si15667673plc.285.2018.08.01.11.28.08; Wed, 01 Aug 2018 11:28:23 -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; dkim=pass header.i=@kernel.org header.s=default header.b=eZl7Dt1J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733017AbeHAUNo (ORCPT + 99 others); Wed, 1 Aug 2018 16:13:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:35788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732853AbeHAUNo (ORCPT ); Wed, 1 Aug 2018 16:13:44 -0400 Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 867FE208B2; Wed, 1 Aug 2018 18:26:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533148003; bh=pVM4BKnqPi2fTlZ24OtIL8k403Y3Tzpvs4BzktUQv8A=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eZl7Dt1J964KzSAnbqbENXnqCuHcco4A/BX1iqS8qd5U5ckrJBugZmqIxq5oMBZZ2 xi2IhBQ8AvVQeTlipu/356C3pvzO5Z4Jeh/oLEMXhpyjqYebwbCaTGfwTBMSdGUWA9 FN0oGe9w6UNOE7lFxqrhaFaqkJ+zc5KokWEXHjzg= Received: by mail-qt0-f180.google.com with SMTP id y5-v6so20956795qti.12; Wed, 01 Aug 2018 11:26:43 -0700 (PDT) X-Gm-Message-State: AOUpUlFpF7J28w14BN9usBV5GFE7ylZ4svsgLUV6qTU/SX6uv2mkNSQo 29JVRz1m0sUlBMLRU1d+Lw8BY/vmuVqPwMlT8g== X-Received: by 2002:ac8:2c72:: with SMTP id e47-v6mr27572573qta.60.1533148002668; Wed, 01 Aug 2018 11:26:42 -0700 (PDT) MIME-Version: 1.0 References: <20180725093649.32332-1-hch@lst.de> <20180725093649.32332-7-hch@lst.de> <20180731224630.GB12168@rob-hp-laptop> <20180801071635.GC20224@lst.de> In-Reply-To: <20180801071635.GC20224@lst.de> From: Rob Herring Date: Wed, 1 Aug 2018 12:26:31 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/6] dt-bindings: interrupt-controller: RISC-V PLIC documentation To: Christoph Hellwig Cc: Thomas Gleixner , Palmer Dabbelt , Jason Cooper , Marc Zyngier , Mark Rutland , devicetree@vger.kernel.org, Albert Ou , "linux-kernel@vger.kernel.org" , linux-riscv@lists.infradead.org, Stafford Horne , Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 1, 2018 at 1:12 AM Christoph Hellwig wrote: > > On Tue, Jul 31, 2018 at 04:46:30PM -0600, Rob Herring wrote: > > Perhaps this should be 'sifive,plic0' > > Excepet for the fact this the old name has already been in shipping > hardware and release of qemu and other emulators it should. Not really my problem that they didn't follow the process and upstream their binding first. But this alone is just a string identifier, so I don't really care that much. If things are really a mess, then the next implementations will have to have better compatible strings. More likely, I'll just see folks trying to add various properties to deal with all the differences. You could always define a better compatible and leave 'riscv,plic0' as a fallback to avoid breaking things. > > Normally this would have an SoC specific compatible too. Sometimes we > > can get away without, but it doesn't seem like the PLIC is very tightly > > specified nor has common implementations. > > It is a giant f***cking mess to be honest. Adding a highlevel spec > to the ISA but not a register layout is completely idotic, but if you > look at the current riscv-sw list this decision is still defended by > SiFive / the RISC-V foundation. The whole stale of the RISC-V platform > Ecosystem is rather pathetic unfortunately, and people don't seem to > be willing to learn from past good practice nor mistakes in ARM land. Interrupt controllers are where the differentiation is. ;) Rob