Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp58443rdb; Fri, 5 Jan 2024 02:39:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfz9eQ8wpLGr6PfAEPEBo7b2TAh6JjWQSk7LL5Zoa93dQY4QjUACxYM2C27f8NznTeSMts X-Received: by 2002:a05:6e02:1b09:b0:360:76c2:652d with SMTP id i9-20020a056e021b0900b0036076c2652dmr91983ilv.50.1704451192512; Fri, 05 Jan 2024 02:39:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704451192; cv=none; d=google.com; s=arc-20160816; b=LmBNNOIE41F8BKf6Xaljk0Ad8Z3pIjheNhk6vBAKPo5iThtE0McVenRgvG18AdvW5N EnSf+pfJ37p06N25SAuvzKkwRC1sCA0ubZnLCo69ftQG4bp23YN5c96gp8TPHMzOWGiv w9HTTq+0fETxRztDi8K0DsjIPDA7hOmgc2U4Hy2F8QO44j8G9P0IdlWJgB2pnPlxg9a5 Qu5tEryKbTe6Uo3ieh4si6ub5lddt9g6TMfBSC2vl2FEOLEwF1x1KX+9qD9C8wDBzo5Y vJwIxhWKvVkUPiap7w8EPvXcCCppF2hEIG8EVt9MKmOWvCuzymawyZkqQrsy8BcBFsD8 wGgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aYVk8A2W+FUtJ8Xy1Wnlgo/2i74l4ok4AKaqwgOLkgQ=; fh=ZCadSpYh97dd3wU7ZZn2IcUNEy+q0JV0spJeFSoxcC0=; b=Q92jvsa7tjTDrhrTLhnyrZ54gP0X1nfxDXV1xytGJSPReEHgowGqiQJRUz5RA53Vy6 Ed24eeQlbCJNzQh/gQFrJIHZNSXcSHISi7Vf/vgscO3eK4Z21BvPurt1XeYfBTKAe/Rm I3BqP3eILSSuTK+o2JL3Nu9SAA4zfXB/BV9Q80rNCRDoc9zwWsChDuhMbNWdDxcP/upJ 3DaquSgFJsInQqgDCJzlJ2XVrwXEmeAMoOjPY5qSzHEWTc8H7Xz+3aKApNjR5EExmm2o +6aDJLcLak3tUb8aCLBRPg6OBHJO49EAzRMxH6RxJsZAhPN4UFG7GooX0idjI4Km7PUg yWcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B4n0J9fo; spf=pass (google.com: domain of linux-kernel+bounces-17764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l24-20020a656818000000b005cdb499acc4si1079130pgt.169.2024.01.05.02.39.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 02:39:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B4n0J9fo; spf=pass (google.com: domain of linux-kernel+bounces-17764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1A09CB252CC for ; Fri, 5 Jan 2024 10:37:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBB87286B5; Fri, 5 Jan 2024 10:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="B4n0J9fo" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B313A250E9 for ; Fri, 5 Jan 2024 10:36:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1d4a2526a7eso9319275ad.3 for ; Fri, 05 Jan 2024 02:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704450962; x=1705055762; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aYVk8A2W+FUtJ8Xy1Wnlgo/2i74l4ok4AKaqwgOLkgQ=; b=B4n0J9fo8Ijo8Pif/PrLgphBQxS+cnNkdD0yjCVLLWzjSL+MgVnsRRGSPrLje1yc4O Vk3bTc7kkFjGWcuXHeVM5Hk6HNo63tUGjxmfsr9/g0AdsiFeAtZhYQ74ai/i7zpWlyfX s+vazXxvZTmYnhx/NF2wqbuXRDMfWUl7xIoeJGVtyKZ7hhou0mltw1sUIj99fagILEUj cVn6lr7/M8y0ufeamZYHPuH+quR1j1nJFBWOPtaNKMn625Dg1G1+WZCQLNJi9fVGbNFf Yl70CMhxLmtleVgriNhbymQKCQZuRDjQWyNEdU//udzx7/4K/i4T0qHYZ91Eo5fCBtOR zBeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704450962; x=1705055762; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aYVk8A2W+FUtJ8Xy1Wnlgo/2i74l4ok4AKaqwgOLkgQ=; b=Q9JFKS8GDNm0p16ZZ/OMQXD6DXD20pZ+86FKo/zf4q2uw3rxG08mwKTP/1gMGT3t50 VqX4/OY08YGAElcftZub799x12E99IjClUVbdlvhujGjGIZDKtdHPsvjfdAL66IhzqXW 4dkGQbI5TY4XUf9s6WcwA2pYl7OCg+8Ce5YBwLHCyvUZgZcUj41xVx0JGh5BJPKhOsLo wGklJN4a0AEf6USfxewMlAzIylzU8CWZzI2Anpcfoju688H9q2M8DVCowZZDOeyRGWIc cs25Kvp65u2KAB2wNHqFSFKKLi5ACuhXdzCEMakZJg3NdlrX0BG959JVRiQ50ObUbN3V uaMQ== X-Gm-Message-State: AOJu0YwqX2UGE9ndgcoahwz2/xlv2TCllVG8ZP7XIpVgf/84EfEtgtJX yDNTOItCJ8T/z8iP6P2rLYwMyk1wKUaJrw== X-Received: by 2002:a17:903:1c4:b0:1d4:2732:5cfb with SMTP id e4-20020a17090301c400b001d427325cfbmr1971565plh.100.1704450962074; Fri, 05 Jan 2024 02:36:02 -0800 (PST) Received: from localhost ([122.172.86.168]) by smtp.gmail.com with ESMTPSA id g13-20020a170902d5cd00b001d08bbcf78bsm1103069plh.74.2024.01.05.02.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 02:36:01 -0800 (PST) Date: Fri, 5 Jan 2024 16:05:59 +0530 From: Viresh Kumar To: Konrad Dybcio Cc: Bart Van Assche , Dmitry Osipenko , Thierry Reding , "Rafael J. Wysocki" , Stephen Boyd , Viresh Kumar , Vincent Guittot , "James E.J. Bottomley" , Jonathan Hunter , "Martin K. Petersen" , Alim Akhtar , Chanwoo Choi , Kyungmin Park , MyungJoo Ham , Nishanth Menon , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-tegra@vger.kernel.org, Avri Altman , Bjorn Andersson , Dmitry Baryshkov Subject: Re: [PATCH] OPP: Remove the unused argument to config_clks_t Message-ID: <20240105103559.jj4vbo4fnhodayvx@vireshk-i7> References: <64ee255e-9a5a-405e-b342-e91c55bd95ce@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 04-01-24, 13:56, Konrad Dybcio wrote: > > > On 4.01.2024 13:53, Konrad Dybcio wrote: > > > > On 3.01.2024 11:48, Viresh Kumar wrote: > >> The OPP core needs to take care of a special case, where the OPPs aren't > >> available for a device, but in order to keep the same unified interface > >> for the driver, the same OPP core API must take care of performing a > >> simple clk_set_rate() for the device. > >> > >> This required the extra argument, but that is used only within the OPP > >> core and the drivers don't need to take care of that. > >> > >> Simplify the external API and handle it differently within the OPP core. > >> > >> This shouldn't result in any functional change. > > Hi, so this apparently breaks serial on Qualcomm platforms using > > "qcom,geni-debug-uart".. I'm seeing garbage on the console, likely > > meaning that ratesetting wasn't done. > > +CC Bjorn, Dmitry > > Probably also worth noting it only happens when an OPP table is present > in the device tree. Found the issue. Dropped the patch for now. Not sure if there is a clean way of handling it right now. -- viresh