Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4024808ybl; Tue, 21 Jan 2020 11:24:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzs6UWGmSGiymOuaB4Jhkq94525qfJ9rESpYUklz7GjDTm+AiDm5BzrAOd5+SxkxfTf0KxZ X-Received: by 2002:a05:6808:30d:: with SMTP id i13mr3987244oie.144.1579634659817; Tue, 21 Jan 2020 11:24:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579634659; cv=none; d=google.com; s=arc-20160816; b=MFHA2ynm5W8Eyg9dy9jp7qAOzn1qonP5HIdagmllPncQb/HL0xzpxjZAhC5MoLbsVv ynhfN8pdNu6Fu52SZEOGJp7gmVpa66ui+gENFOW+bMbkp5KMbdALQcPf/BAc654hQqAI qpdnaQ68AgZJ9+yRCGPHs2ZcNTxTDR0KCvL1PvoTQ628X+H2wGNAwtBNWBHsNMmjxasf qCQNe1UzQEg51i/qbPKPN6RXLKKLSj065EYZzsTLgH5KUSl5OOmSEWYQGobNVz9QEXzA 1enrdgDkYopOt610sSgP31QYdxiRF3XzyaphN6XSvzhdJNehM89QFxegDZnJ0vIz2DaS nlbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YKI7RZmx8WIsu/1jkmDBgBIbsrKWimA13AS/a7z41jM=; b=txwUsGMcO/ApWTUobmUt/ddMYT4kNfQxNwHo1Gx/gbM+4GcJv4pCg+t4GUJB405zWe qAI5oL+6It0BSgD/r2/NoKVycGR7ljunItSIY2DHsGp3kzPXPEibGNNkBDW+jlrU0/vO 70508btOuUlaEoGKx/4QomSKAWYN3X1wBQnZtlW56PoWoAU2oHa4q6T2+aH15IlsUNZ4 KBfT2ge3A9hmyi31maAtDtfTvIUnvT3xwatn67Jm0Xy9+NvM8p2bQBoXuQ3KTF/3t6Hj b4ISMywcYn2t8VO7VWhQubBZcWol2Tm1x0jtT55+5+bFAOpPVtPfYGsP/aK640IQL8bd 6xOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OkVCGz+b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q131si18566241oig.203.2020.01.21.11.24.07; Tue, 21 Jan 2020 11:24:19 -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; dkim=pass header.i=@chromium.org header.s=google header.b=OkVCGz+b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729028AbgAUTXL (ORCPT + 99 others); Tue, 21 Jan 2020 14:23:11 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:41779 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727816AbgAUTXL (ORCPT ); Tue, 21 Jan 2020 14:23:11 -0500 Received: by mail-lj1-f194.google.com with SMTP id h23so4033791ljc.8 for ; Tue, 21 Jan 2020 11:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YKI7RZmx8WIsu/1jkmDBgBIbsrKWimA13AS/a7z41jM=; b=OkVCGz+bGet4DPAM/foAEd9BMUu/jrSmT5bD+lpif+woa/1qtYAWKeuae3GN1TXxFC fN0PjCyqJxDQXlc+HzwCvn72zC4m1voNdy8vYPK0I2oa076DFfMzYlcS3h8Z7dEUCVhr sYhona6mMCuJpDxIy1Tjb8BqMVtEPGCLKgWhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YKI7RZmx8WIsu/1jkmDBgBIbsrKWimA13AS/a7z41jM=; b=i+6XI06q8Rda9kmrOPQRk/41kTRmiv8t5qSBIJrwA9nGoDYoQ9mU1TxE0IBtiqA8K/ oUO3nIop8iAGmsPYmzdZUxBJdW10tSg2Q3eh+J9VaWS2Z59Y+Rsie/lQ1M8Dj8CVYOwR Dp8YVf2tgQD5+tlmcLtW+TzFIoRaJeLrcoCPlzgwmkBLcHiLXr3qXkiSUcnatbMH6iPE 1gd0o3QmCuV5iF1+SvfdMIfwgnyvHUt97Wo4zxqiuUl3y/OryITRyf8oabzP9M+T93K5 1DYtt5DYQFapyVVFvyUUy1ICn5OsaNhQXxJHTLIe8jD07GDfj+OQ3a1/AyBkZJ7yCyzQ t22g== X-Gm-Message-State: APjAAAUSpg5ul1IOoFYDaOIamzr5hwrP2YRNxBiA04W0MW56hl/yEUKS SuePQyx8VUidjMCnZslIjyoM0+LKa84= X-Received: by 2002:a2e:5304:: with SMTP id h4mr17998766ljb.75.1579634588198; Tue, 21 Jan 2020 11:23:08 -0800 (PST) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com. [209.85.208.173]) by smtp.gmail.com with ESMTPSA id s4sm19549117ljd.94.2020.01.21.11.23.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 11:23:07 -0800 (PST) Received: by mail-lj1-f173.google.com with SMTP id m26so3989416ljc.13 for ; Tue, 21 Jan 2020 11:23:07 -0800 (PST) X-Received: by 2002:a2e:b4cf:: with SMTP id r15mr15921775ljm.52.1579634586588; Tue, 21 Jan 2020 11:23:06 -0800 (PST) MIME-Version: 1.0 References: <20200117135130.3605-1-sibis@codeaurora.org> <20200117135130.3605-3-sibis@codeaurora.org> In-Reply-To: <20200117135130.3605-3-sibis@codeaurora.org> From: Evan Green Date: Tue, 21 Jan 2020 11:22:30 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/4] remoteproc: qcom: q6v5-mss: Improve readability across clk handling To: Sibi Sankar Cc: Bjorn Andersson , Philipp Zabel , Ohad Ben Cohen , linux-arm-msm , linux-remoteproc@vger.kernel.org, LKML , Andy Gross Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 17, 2020 at 5:51 AM Sibi Sankar wrote: > > Define CLKEN and CLKOFF for improving readability of Q6SS clock > handling. > > Signed-off-by: Sibi Sankar It took me awhile to wrap my head around how this new define, Q6SS_CBCR_TIMEOUT_US, sometimes replaces HALT_CHECK_MAX_LOOPS and sometimes replaces SLEEP_CHECK_MAX_LOOPS. I guess they're conceptually different but set to the same value for now? And you've fixed up a place where the wrong one was used? If you thought the distinction was meaningless I'd also be fine merging these two defines into one. Either way, assuming the above is intentional, this looks ok to me. Thanks for renaming that define. Reviewed-by: Evan Green