Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1538067pxb; Fri, 6 Nov 2020 12:16:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyj+VTEk1DL+ZlKbzqkX/Gp7T2Iac5CTyTW7IgTnx9wmypUkhaIAFpKBD8LFBsM01cVxl0X X-Received: by 2002:a17:906:6545:: with SMTP id u5mr3732402ejn.346.1604693808335; Fri, 06 Nov 2020 12:16:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604693808; cv=none; d=google.com; s=arc-20160816; b=Pc/tdPap1+HfM1so+fuDuKhWc8Bwqa1NVYhcXwYpsmsKcueE52szTkv+5kkaeHtgAh jH/P/WWXAiMRaF501dMMFCLmlw5zBvpXbaF+65l9nDeqF5A8ySB/KaKAv3uif/hun9va QzN0tcJFwZGUqb2pUL/IwkBWGlRw7DPwfWkU9EU/3NgBWMETanTpr4mDvNE4EvE+RGB2 UzJGRF0ZSrwQbbejylw67q8wbknTJrOnl6N55mMrLCYGngU5h565VjhiOJgFvcKlZ6Ck GY/k8QXakB64SDTnwYh8TVZMp1ZU4WBWOxbtgmRuz+H+NN7JPzpqmZGn7UrTWj/Rjq6k Y4NA== 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=HknRaMwrIYdX/xZyUFtQWWgJWZ4ozlSDotxSubUVQAQ=; b=X4ubnyWO4VwpsPseQQ5ygMxwwXTeEzQ981MYl8C5fLMAFpgbCV+4sFtn2XLxdeSnWb LFNiE6pXtJRfOyIWjEg2x0d4KrMPGdlpcfRmzDaid9csgLMtvPhzwzguNaGHUwZv146R T7/AoYFmAutqIp9TsgnVC6GH+7FNiCy4sYzJxElNA5iCbnoRgYObFDp22vtiV7uv76Ot x8WgAXIgOYe5j7+0CMTlR+CZiyPfoQCJEVgmwFRUbtc0231f/lhJEq1i76hz9JlQXtIE APt6QkuqQlLrFL1br+xqboJtW/qJdI5owoZsacitDZpDIrWGXwigpXN3AqQHblC4hULb tXEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v23si1672416ejo.131.2020.11.06.12.16.24; Fri, 06 Nov 2020 12:16:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728376AbgKFUMv (ORCPT + 99 others); Fri, 6 Nov 2020 15:12:51 -0500 Received: from mail-ej1-f66.google.com ([209.85.218.66]:33427 "EHLO mail-ej1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728140AbgKFUMv (ORCPT ); Fri, 6 Nov 2020 15:12:51 -0500 Received: by mail-ej1-f66.google.com with SMTP id 7so3640781ejm.0; Fri, 06 Nov 2020 12:12:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HknRaMwrIYdX/xZyUFtQWWgJWZ4ozlSDotxSubUVQAQ=; b=EhoHFzQmsDzZ1sWdFl6K6ugFVxJ5UlNi5ManfXN8J8XWJVGFo92AmXVD5U5QHcn1yB +rDMBqN7MZ5m2vmKHYLCE/EEg0GWvjolK09M/HyavJWJmAArJS6EvvY5Siztu8X8kwp6 cgdW1dbtpAdSU55YTSnC23z666vCAYEwpYplNf2flPaCLuWj8nQY6tfZ98k759Up45mc EvmTWKHko/0jjlXtYrY+Zp2NdYtH6OV+xlzXGhm+uQjHrYvkp+LlM7B5ze31ilG44IHj sISFY4O3MGMxsIQetVP523N3yAEKh00qmcAh9NO5kEeF9Ssxh0EOYXMARUSRmKpLzsah U/Vw== X-Gm-Message-State: AOAM5315cXbT80zKqcdOpxQAlOI6NsWucF+CGCn1NLDCqhOMbG13UjOL zQLIaWDAATnHDgcu0cv0Adg= X-Received: by 2002:a17:906:3fc1:: with SMTP id k1mr3604375ejj.287.1604693567656; Fri, 06 Nov 2020 12:12:47 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id c4sm1661734ejx.9.2020.11.06.12.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 12:12:46 -0800 (PST) Date: Fri, 6 Nov 2020 21:12:45 +0100 From: Krzysztof Kozlowski To: Pavel Machek Cc: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Jonathan Bakker , Sasha Levin Subject: Re: [PATCH 4.19 107/191] ARM: dts: s5pv210: move PMU node out of clock controller Message-ID: <20201106201245.GA332560@kozik-lap> References: <20201103203232.656475008@linuxfoundation.org> <20201103203243.594174920@linuxfoundation.org> <20201105114648.GB9009@duo.ucw.cz> <20201105195508.GB19957@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201105195508.GB19957@duo.ucw.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 05, 2020 at 08:55:08PM +0100, Pavel Machek wrote: > Hi! > > > > > The Power Management Unit (PMU) is a separate device which has little > > > > common with clock controller. Moving it to one level up (from clock > > > > controller child to SoC) allows to remove fake simple-bus compatible and > > > > dtbs_check warnings like: > > > > > > > > clock-controller@e0100000: $nodename:0: > > > > 'clock-controller@e0100000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' > > > > > > > +++ b/arch/arm/boot/dts/s5pv210.dtsi > > > > @@ -98,19 +98,16 @@ > > > > }; > > > > > > > > clocks: clock-controller@e0100000 { > > > > - compatible = "samsung,s5pv210-clock", "simple-bus"; > > > > + compatible = "samsung,s5pv210-clock"; > > > > reg = <0xe0100000 0x10000>; > > > ... > > > > + pmu_syscon: syscon@e0108000 { > > > > + compatible = "samsung-s5pv210-pmu", "syscon"; > > > > + reg = <0xe0108000 0x8000>; > > > > }; > > > > > > Should clock-controller@e0100000's reg be shortened to 0x8000 so that > > > the ranges do not overlap? > > > > > > Signed-off-by: Pavel Machek (CIP) > > > > I don't think this commit should be backported to stable. It is simple > > dtbs_check - checking whether Devicetree source matches device tree > > schema. Neither the schema nor the warning existed in v4.19. I think > > dtbs_check fixes should not be backported, unless a real issue is > > pointed out. > > I agree with you about the backporting. Hopefully Greg drops the > commit. > > But the other issue is: should mainline be fixed so that ranges do not overlap? Yes, it should be. This should fail on mapping resources... I'll take a look, thanks for the report. Best regards, Krzysztof