Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3783361pxb; Mon, 9 Nov 2020 23:01:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJlSwfW1tp3MI9H4iW12sU0QPHd/Rv+xgyKenEdkNNvxnMQsdrC9k3VSsgPIDy2xD03cVI X-Received: by 2002:a17:906:911:: with SMTP id i17mr18359347ejd.40.1604991674575; Mon, 09 Nov 2020 23:01:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604991674; cv=none; d=google.com; s=arc-20160816; b=0TwJ3nJL/q83pZzRxZIrQj7Ubq8+zvhYc/+7SEzDCm6OVTZr6lQx8PMPgPN8yP+z3t Q/z/F5IQeFpXIVJPvuzc8+7gnSL00BwtOHme4qd5rOJ88noKXgDI5nGkwCPOGjl4eD1B +DXz+ZuK5WUjrDSOEkwjYEKd9bVqMlwIIikeMAlJeYZDcyaeCcVFJayiZMS54t5EuszK IMo1w2iAC+K9GOS8V2bx0DQIHBEccLZdMWPOIA/wT4NRyEgYCsW6DdsWa3ugwzwKsQKQ BIBVaBPgxN3sYGYP54RckllbhBGrTy3wy80gPRRICOkKPONrxC02mgG/18tc1EdVtXxo eT9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MXqpL7kItByjfCSnMkzD7Azj3R3aec/Bbt2Um6yjyL8=; b=qUdBjrzOMI/VZ3YDUajDv7Y1TW12wFRWo6rBq+ub3My+R43lJFhEMF3beJcJ2eTMND tpeSFFSZeovk/iJNb5tvPktFOBcfULSOtood/l8BKswSV/mHbsou9RzDdY4xtfX8z097 1fpBnfxc43XXs7Uv4r9PWojksrW+27XZjgdFS30EfkhIGpmivE+iYGiRBmrtjrcpusBN IjeA3DlCQ/XVFqyvnUC8RiePt1WWHnGUUM49JgeHDa1SC7mS78p/pIWW7C4brCnk0+8Q eCSvAcE7Dy2Oes0AL4VLLYye/BXMr0kGzft2r2XlxesF0K0jmEtXGmaAV6uYGZxsapdQ D7dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lunxwpIm; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si8818373edl.273.2020.11.09.23.00.51; Mon, 09 Nov 2020 23:01:14 -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; dkim=pass header.i=@linaro.org header.s=google header.b=lunxwpIm; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728701AbgKJG73 (ORCPT + 99 others); Tue, 10 Nov 2020 01:59:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbgKJG72 (ORCPT ); Tue, 10 Nov 2020 01:59:28 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54D54C0613CF for ; Mon, 9 Nov 2020 22:59:27 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id u2so5993967pls.10 for ; Mon, 09 Nov 2020 22:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MXqpL7kItByjfCSnMkzD7Azj3R3aec/Bbt2Um6yjyL8=; b=lunxwpImh4iSxSNdZAcaUqPfXhBiFtvV22uWD+IH/Yr3mD3NG9ZSavMNTEo+nxyrVh RCUjEnbZUYn41bGLljBXjl9ubbyAhvVWE2o8nb+MG46IBwmb499sdNkhl0Amrs792EUP XiRShQYGpZZ0D29Zxw8lZZbW6Yb3LypDptmRnfOHd7J3CfteekrmeuWuCrcimeQapAdf jzW6cj6/3yY2VRSuzjrLi+S4aPuY0UrbyHqWPLVzSzowy/frqmAVUJhEoxrMwbDGQ544 JdYJOIwP7anomOyrkgXzxnBsJIDpF6L1vXufqGHjcLHOucV6gjoC+R2LktXt4UMJEVPd gd9A== 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:user-agent; bh=MXqpL7kItByjfCSnMkzD7Azj3R3aec/Bbt2Um6yjyL8=; b=a22AtmGrHGNBIBEf77xgIzVrbu8TXfOpY6Ra6u1QMukxAk3c9FAb8NoAR18iJNYweI NnCMiYjsIXaIDrzXc8LcvgHT/gQp2l6+Zkt8iRpElBFiZCEkRmTPHddZOu+rY4mYBDjz m8Wxz+r7SccTBWUaaqQtv+qhvRA1W1wlJGPoDTVzBPtvCBA/hjyUCKmyXGuocji6gesb g+3eOjD16aG+246mVAoLXnLZVpCVsudoj6uLlErS6tEUO7d9hxiGqiBC/AfQeH5anp8z Y+qVPRASPmpo6wqcqKP3odzOMzw711rgyOPYp4Dx2SS2zDooGjbE4DBMObJKOTj7d11N iE6w== X-Gm-Message-State: AOAM5339dWJLu2cbMFe2S8cBixEnyAJaNhgEd5pKMDjVWKvV+igyJj/N SrlPqnr66iUzQu9PbW2LIakAHw== X-Received: by 2002:a17:902:70cb:b029:d7:e6da:9ad4 with SMTP id l11-20020a17090270cbb02900d7e6da9ad4mr6171070plt.48.1604991566783; Mon, 09 Nov 2020 22:59:26 -0800 (PST) Received: from localhost ([122.172.12.172]) by smtp.gmail.com with ESMTPSA id q12sm13619474pfc.84.2020.11.09.22.59.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2020 22:59:26 -0800 (PST) Date: Tue, 10 Nov 2020 12:29:23 +0530 From: Viresh Kumar To: Marek Szyprowski Cc: "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Vincent Guittot , Stephen Boyd , Nishanth Menon , digetx@gmail.com, Stephan Gerhold , linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: [PATCH 1/2] cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP table Message-ID: <20201110065923.lb53to2tjpubltkb@vireshk-i7> References: <684ff01900180c0a40ec307dacc673b24eab593b.1604643714.git.viresh.kumar@linaro.org> <2924bddd-d237-aa57-abb1-a67723770e97@samsung.com> <20201110060011.7unghpidbzobqhq7@vireshk-i7> <525e0552-0faf-44c0-9f74-c651a70bebb6@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <525e0552-0faf-44c0-9f74-c651a70bebb6@samsung.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10-11-20, 07:57, Marek Szyprowski wrote: > Hi Viresh, > > On 10.11.2020 07:00, Viresh Kumar wrote: > > On 09-11-20, 13:42, Marek Szyprowski wrote: > >> This patch landed in linux next-20201109 as commit e8f7703f8fe5 > >> ("cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP > >> table"). Sadly it causes regression on some Samsung Exynos based boards: > >> > >> 8<--- cut here --- > >> Unable to handle kernel paging request at virtual address ffffff37 > >> pgd = (ptrval) > >> [ffffff37] *pgd=4ffff841, *pte=00000000, *ppte=00000000 > >> Internal error: Oops: 27 [#1] PREEMPT SMP ARM > >> Modules linked in: > >> usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > >> CPU: 3 PID: 1 Comm: swapper/0 Not tainted 5.10.0-rc1-00007-ge8f7703f8fe5 > >> #1908 > >> Hardware name: Samsung Exynos (Flattened Device Tree) > >> PC is at dev_pm_opp_put_regulators+0x8/0xf0 > >> LR is at dt_cpufreq_probe+0x19c/0x3fc > > Does this fix it for you ? > > Yes, thanks! > > Reported-by: Marek Szyprowski > > Tested-by: Marek Szyprowski Thanks. I have fixed the original patch itself and pushed for linux-next. -- viresh