Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2967299ybt; Mon, 29 Jun 2020 11:41:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx18NSb6+2k0l7ziYUSdnDO8/61DoZUMNmjsaa8kl9SRXhj1zrjcXChJZPANw5b3UaFhgwx X-Received: by 2002:a50:d6dd:: with SMTP id l29mr19238388edj.345.1593456095619; Mon, 29 Jun 2020 11:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593456095; cv=none; d=google.com; s=arc-20160816; b=0NUaP/gSLsyb5QRYOJGUIQZ8b+RHD33KyoQrmddSsAfp4eoVvtYlxoPh761beypWps v/ck62PWxcUWMvP5J86mZfH/1J/lDQ8h/vf3UZrJaY0L8Iz6GGu19KdaycXGB5ON8Ggk fYGVdJTrNWT2Zs5Tg5Q0OCCq1oLeUK0LIOjmcYu/7a+0+xQmdoJqUR32alzMQGfcYQWM 0dNDXb+wbq6/AKTd8ilpsdzgC5shzUiSuxamtX6FdAoEdIFDVYigQfQWmZk9npyKRx0o Zi578LWlbhl6Sxwak/XblHOQ+0TGYS4wunhnr7gSeBpM5s5BKJC5fUhI+upRbS2Hz4IF PtCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=CdnJeINjAo0u9IrQAY6qqQB+rXbOe50j0XKNsyTrkP0=; b=w79gQe3W1o2BIaRQOE9f/Fj8DasHNYfAU0yrfECjvT0vjKckli4Q8ySg2LcqMT5ygx LSOsBgVX0c1kwrpSCJW97Uz4cBpMWXJ7jZUi0rNCxLr1oClaua8xb4YNHo0w9MyCtHdp fzz13lgVy2n8HZcgvIyNYPcKU7MQBZ+O38IGaS7D1t6yCgB0Jic+KHTT/+G4UQeGA0Qf vPPXM+4LgwW+IDuuXj5VPisNtIvXkOdac+EUXVIm4EHQD3PP7L10Byue9buFukcoTYe2 G9iVoSlX7YC7XHA9x3GTyxQ4fUAivDedEPmSsk6/tpL4XZB7/sNx4Q7zd/F6OVDdElSp Iizg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=znzomeGJ; 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 a20si278329ejb.361.2020.06.29.11.41.12; Mon, 29 Jun 2020 11:41:35 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=znzomeGJ; 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 S1727051AbgF2Sk1 (ORCPT + 99 others); Mon, 29 Jun 2020 14:40:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:60572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728167AbgF2SkP (ORCPT ); Mon, 29 Jun 2020 14:40:15 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 99E9323D6B; Mon, 29 Jun 2020 13:22:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593436951; bh=yOH9Px7xVSmNfzSVpvbBpqmuiCQSgKoq+a38kHqIvgs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=znzomeGJ/GfbNcF+5ZnhUcAlMqeiqwSoc52iW5wJAeb7DKq+GOyZpg2qyev2E7u44 RdgDFJCSrbrHQ+WZCx+taVcl48kB+PlVjTZyDIYT8mKgWzGaNv0Uv90TABDpKqVo4c 6LUnn+d/BIvGXS65lWnk+uNTvsH/zH34K9oxR5GI= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jptjx-007KON-RM; Mon, 29 Jun 2020 14:22:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 29 Jun 2020 14:22:29 +0100 From: Marc Zyngier To: Chanwoo Choi Cc: Enric Balletbo i Serra , =?UTF-8?Q?Heik?= =?UTF-8?Q?o_St=C3=BCbner?= , MyungJoo Ham , Kyungmin Park , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, kernel-team@android.com, stable@vger.kernel.org Subject: Re: [PATCH v2] PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent In-Reply-To: <154fe5b6-6a05-c2b7-3014-2f7b9c2049f9@samsung.com> References: <20200622152824.1054946-1-maz@kernel.org> <784808d7-8943-44ab-f15a-34821e6d4d5f@samsung.com> <87tuyue142.wl-maz@kernel.org> <3de68490-d788-e416-dd5f-d4d6e7eca61a@collabora.com> <154fe5b6-6a05-c2b7-3014-2f7b9c2049f9@samsung.com> User-Agent: Roundcube Webmail/1.4.5 Message-ID: <636bcc73fa658747626e36d71bfcc4f9@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: cw00.choi@samsung.com, enric.balletbo@collabora.com, heiko@sntech.de, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, kernel-team@android.com, stable@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-06-29 12:29, Chanwoo Choi wrote: > Hi Enric and Mark, > > On 6/29/20 8:05 PM, Enric Balletbo i Serra wrote: >> Hi Chanwoo and Marc, >> >> On 29/6/20 13:09, Chanwoo Choi wrote: >>> Hi Enric, >>> >>> Could you check this issue? Your patch[1] causes this issue. >>> As Marc mentioned, although rk3399-dmc.c handled 'rockchip,pmu' >>> as the mandatory property, your patch[1] didn't add the >>> 'rockchip,pmu' >>> property to the documentation. >>> >> >> I think the problem is that the DT binding patch, for some reason, was >> missed >> and didn't land. The patch seems to have all the required reviews and >> acks. >> >> https://patchwork.kernel.org/patch/10901593/ >> >> Sorry because I didn't notice this issue when 9173c5ceb035 landed. And >> thanks >> for fixing the issue. > > If the 'rockchip,pmu' propery is mandatory, instead of Mark's patch, > we better to require the merge of patch[1] to DT maintainer. It is way too late. Firmware exists (mainline u-boot, for one) that do not expose the new property, and you can't demand that people upgrade. This is an ABI bug, and we now have to live with it. So, yes to fixing the DT, and no to *only* fixing the DT. Thanks, M. -- Jazz is not dead. It just smells funny...