Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1112486imm; Fri, 3 Aug 2018 18:49:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf8v/eBHzvMk4wtdLmZQ3QzeucGTqtm0Jqb4PrmZWdGIArTZnblmfHUXaOP/TkLMY+MABdp X-Received: by 2002:a62:fd06:: with SMTP id p6-v6mr6871342pfh.167.1533347391488; Fri, 03 Aug 2018 18:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533347391; cv=none; d=google.com; s=arc-20160816; b=c3vFuxtMjAiepNB+N9AXqpoXKs4NvmN5o72NTMIxgR1kgjoDelK0TsdGoV7dXpJ5ee hbU+KahxoAkiOEQqIwdF00lpLQvU0Gx/czY3Tu15Rq5q8nMpb2HgbbzkYdG5f96oLKCS i/LW/o33u9YhiC3NhaO0uIOLz+xvvrDa+6olW6xpKzX5Vnjtvows/fMXYlbv/NFmHFtS /z4KtqNIJGFSfF3zXQUJzJRzdNr5de7JpMcmEquyRxXxfxIG72+6XJcmDdmgliodjup4 HD9zwbD4YN1CCAo75sV95wEYEnDcibVfQ4WSIjbcW7I6vBKmkIZL/oWC9hYRQYKExSW4 0qaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=iOk1r5vucdU/cKac98peLYAidXfl2VG9QlZC6vINy6I=; b=N6Fou4Zt3kHY3HDEku+jMoDDiPlRZYJMugXprsLqCufYSo0nh4sdjIg7mHJr8OnYPn S09xRjNYijPR+LDiNYaX/9KY8MFe28TowBLNzRvTO15yb1/iO9An6YREvJa/U7BN5Emw YL/gVhP3lo5mrxtUvDkrKeACdeos8er1n+akyOkGVSZGXKQTpRMOX3FoaJAgqAMKbaGp Lj6uChZPvUkswQEWXwFaz5bz9mjTpwD0p7sDXVp5v1VjK5TG1sQnYjyq5PkGclb4s0KM XRKSzWMAxsiR5rC1paYlGyCAWOuhHp849C4IpLMJh0RuY9/oBnEXtgbXjLeSWjZJtJqM OIXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=L2qlxMeS; 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 z5-v6si5520810pgn.105.2018.08.03.18.49.35; Fri, 03 Aug 2018 18:49:51 -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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=L2qlxMeS; 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 S1732150AbeHDDrd (ORCPT + 99 others); Fri, 3 Aug 2018 23:47:33 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:38711 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731986AbeHDDrc (ORCPT ); Fri, 3 Aug 2018 23:47:32 -0400 Received: by mail-pl0-f68.google.com with SMTP id u11-v6so3290932plq.5 for ; Fri, 03 Aug 2018 18:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=iOk1r5vucdU/cKac98peLYAidXfl2VG9QlZC6vINy6I=; b=L2qlxMeSu7Oz43EGkriBFTIwqICElYa5I0tEc0hkR0biwffOATjqbZyF8jNO4YLPrL mUQE1hiJioHjSyLblkiP+/0m/Izoinm8khqwWFOtOYLSUgE9PA5i2Wn5Qr9Kl1BfwD4m USb9gDyZJXpZJauneU6VPUWI22+z25H14b5Awa5oZTaGbikowNEZIfpqAlkEeioOzN+v XCzXubjjqCW657yghcxz6ibDkApkKgHQywSO6aHRGDZOVWVxC4lUsCVXkAJJei6YT3F8 eGHkHa9WMMtL81nPJ1tK9rvzYdxUHgAEB9x7dzwVZl9p93shvuZAzuMrEADpgjsEjGEP RXYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=iOk1r5vucdU/cKac98peLYAidXfl2VG9QlZC6vINy6I=; b=Lxxppni/JU5nyU2vMKvaI6JQeHRZZpq2Cr8nYmyRzYW/gbGvhIBxgIT8B1IFFRWmlY T3DVczkX+sSsAxtrgQCjJ7x5WjVeDe7Ic3dgRYsxU3fvDxcWUJORjsRnwCyAecNgRpl1 fYRMRfh/3p/6hS+K2NCh69uyT3pHSX6vx5aNorFdTIhub8ykcnMEqs/hjCJHznDlMnDo o4h7oNo5dqES18PjVL8keTjbX6MNDpUKw2RzrW0O1FANWRFNjDqamXUUVHo/i9NRx3Ls le5VbmmOqG1wI7hnuh4TMdydJObRFtA5GXL/oWQIigmhbm+T9X8esKikPbIdF9Aii/6b zhyQ== X-Gm-Message-State: AOUpUlE5X88LuLUj1xE4kTaMOZZSqpOaViea7lEmWqvE6Pt4yjV4BV1X H6XWZ6jZumkhfKSmbctvrUJfuvHzhmg= X-Received: by 2002:a17:902:163:: with SMTP id 90-v6mr5627598plb.322.1533347324548; Fri, 03 Aug 2018 18:48:44 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id m15-v6sm8813536pfk.149.2018.08.03.18.48.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 18:48:43 -0700 (PDT) Date: Fri, 03 Aug 2018 18:48:43 -0700 (PDT) X-Google-Original-Date: Fri, 03 Aug 2018 18:01:03 PDT (-0700) Subject: Re: [PATCH 6/6] dt-bindings: interrupt-controller: RISC-V PLIC documentation In-Reply-To: CC: Christoph Hellwig , tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, devicetree@vger.kernel.org, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, shorne@gmail.com From: Palmer Dabbelt To: robh@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 01 Aug 2018 11:26:31 PDT (-0700), robh@kernel.org wrote: > 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. Ya, sorry about that. FWIW, we don't consider any of the bindings stable until they're actually accepted upstream, so it's on us to fix our bootloaders to match what actually lands upstream. Luckily there's not that much hardware out there and none of it is in production, so I'm OK forcing people to upgrade bootloaders to make this all work. I think it's probably best to leave the extra compat string out of the kernel proper, as then it'll never be enshrined as a RISC-V standard. >> > 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. ;) Again, sorry about that :). The RISC-V platform specification really should have started a year ago, but I'm afraid there's just a bit too much going on on my end. If it helps any, we just submitted a plumbers dev room with one topic being the RISC-V platform spec, so I guess I'm in official trouble now it there isn't at least something to talk about by November...