Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3786975imu; Fri, 18 Jan 2019 17:52:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN4p+o6lMCc5aVaRYxBAPQo7gvIHW3iusFI4g5EXICg+FRHpRs6tTG/xqx0T8qzJDmawTpKv X-Received: by 2002:a62:c711:: with SMTP id w17mr21828440pfg.50.1547862720657; Fri, 18 Jan 2019 17:52:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547862720; cv=none; d=google.com; s=arc-20160816; b=wOmEDY76odlqA6Rq6f3Agy4nNXySMM5t1qbgp5m5K8TNcApFq6jgXZe3bfTSFP9FM7 N7rAAFlqeLh39GyUa1yawdeQTAKXfJQwde9dLKtezqbeaBvRyucnKjKOgMwjUKi+NMRQ Y0uD+1oIRgw9/vtbyvV8f4GRYeunayZ/1vH//YeL1GlZLMm2lI9DhOJNqUOagf8BCeel t/UZWxv50KwoSIblFOpT5DyaJ2+nIpKStfxGirln5rqAfHrZgyBGXvouO4823gIdfvYa sN90ckPbO9VBLN2i/RyOqoaF2b+IprE4t8x6+8GZTI5lkXmjW/f3WXWO6bKzCjmOBJu4 wafA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=CQA3PrQG60iWoWKxm0W4mWcwaneY3RteyN/39K50/2I=; b=AWTa71Xh5dss33E5suG8cHe9lB6TRqt9loArpo07UgVbcs4UJ2ECSwz5YbgQcEeuUo n1/bmi3Bmg+c4c7bfYyY2FJislR7e57LBB11zsCT2SIPm5LWJ7OUVly4OuDe602EbTbO HauWG0AQg3J9cWFi1ot4OKjL0L2JM7oAGJ1njaovBuZ/5N2cxajtu/EzpYi6GEXA5oIH 0pPQb/eW3UwIyJcRPCQO+ElZICdrksNLG63br3rPhOYFupzHHhwBv5620OrdtM4l/yjd l12eihVgq4G6qO1uI3LoVDzK14LcjB18/wYiT0UULypRmLsh0nRIShus9TlJMtfdLj+x wirA== 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 t186si6289325pfd.68.2019.01.18.17.51.44; Fri, 18 Jan 2019 17:52:00 -0800 (PST) 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 S1729093AbfASBuk (ORCPT + 99 others); Fri, 18 Jan 2019 20:50:40 -0500 Received: from utopia.booyaka.com ([74.50.51.50]:33992 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727256AbfASBuk (ORCPT ); Fri, 18 Jan 2019 20:50:40 -0500 Received: (qmail 9298 invoked by uid 1019); 19 Jan 2019 01:43:58 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 19 Jan 2019 01:43:58 -0000 Date: Sat, 19 Jan 2019 01:43:58 +0000 (UTC) From: Paul Walmsley To: Johan Hovold cc: Palmer Dabbelt , Albert Ou , Andreas Schwab , linux-kernel@vger.kernel.org, Atish Patra , Anup Patel , linux-riscv@lists.infradead.org Subject: Re: [PATCH 4/5] riscv: treat cpu devicetree nodes without status as enabled In-Reply-To: <20190118140308.9599-5-johan@kernel.org> Message-ID: References: <20190118140308.9599-1-johan@kernel.org> <20190118140308.9599-5-johan@kernel.org> User-Agent: Alpine 2.21.999 (DEB 260 2018-02-26) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Jan 2019, Johan Hovold wrote: > Follow the Linux convention and treat devicetree nodes without a status > property as enabled rather than disabled, while also allowing "ok" as a > shorthand for "okay". > > Signed-off-by: Johan Hovold Reviewed-by: Paul Walmsley ... although I probably would have phrased the commit message slightly differently - something like "Use of_device_is_available() in riscv_of_processor_hartid(), in place of an open-coded test." That frames the change as one that removes custom code in place of an existing standard function for the same purpose. - Paul