Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5867600pxj; Wed, 23 Jun 2021 10:35:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1sBbeW8Of+5W/hnBub67Gs9RTCRK0i0AeI6rS+MSycL7SwVBjvGB8Pn1ZXasKrYQtyqIj X-Received: by 2002:a02:ccf2:: with SMTP id l18mr677096jaq.128.1624469704041; Wed, 23 Jun 2021 10:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624469704; cv=none; d=google.com; s=arc-20160816; b=tOh9xzb4qoBsy7GQ2lzrvDobj2Qk0qScVNRI6jNJ3LFC2am9Q8p1tIxq8xYvGJxtVH ia9zi86rVnz1aGDD7pBIzp30RQ+Tb6fajam/2VSEEzJHAIJbi1OtZmPOjYj7VOZa1bIa xOf2AtSSJ6QbGNck507GhbKVuTdw4218c+y326Li1uJnkcGeI00B6LfVp425Vzawjx6z EtiCT7kmF6w/gxUpy0P+CGaqHE8R5m5ygtRkhrVxl5gyAWjtVVwahecUTRWwkmW1fB0L umBb/5s6Y91jf9fbbUezfBHRYza5eE2hdtBQQ412VQ3/+G/YQzG3UTn2paVvr6vGTzCE E+8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=IIQCwdK7TFh8FgtUV+3MnvrVYUHcl6vu82d9dovgdYY=; b=oT036yqeyuYHScCFa3smHaC62t2N0Hn3qFCfj3n+aIl8h4MlCRzwzAJr50ldHZiUHn 98SOmfD8PsnWWireKyjy8ocX7L/doz1zZYZ0RPSDQdowa5Ybz9p2DhPvSwXYBEloSGHb ILjuedf6e3MfTwWKjedG9YMfjo9wxlUk2huSZ7Pl6dhP/8eKgMT53BznFyLjtoWBiSU+ qeOzc3oyAMK0I1xoh91/m7w8m/gW6unNuUUzpsOuGwpJ/9mpMmNumHCclL0PPN8pvW7V dDs5EL/75ukzJYeN7bt+Dyf9HsBM+SjHEMB6ZcDegmtvYAIM1mwT5eJmiSYXKMjTAieY vs/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=iuMOXjUT; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g25si522629jan.88.2021.06.23.10.34.49; Wed, 23 Jun 2021 10:35:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@mg.codeaurora.org header.s=smtp header.b=iuMOXjUT; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbhFWRg4 (ORCPT + 99 others); Wed, 23 Jun 2021 13:36:56 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:62839 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbhFWRgz (ORCPT ); Wed, 23 Jun 2021 13:36:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1624469678; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=IIQCwdK7TFh8FgtUV+3MnvrVYUHcl6vu82d9dovgdYY=; b=iuMOXjUT3FeWQ0Lv8uoppXSZHVqnBmlgjOHzu6wxwfrbkzIUBVTKF0WOybvdJzFfd4aBLnSp +OZ1SZ1vBpkpxV5h0ngfX1wi4M2WdeuT/GrSLIGpKZw/Jl94xRZzeDrUEXgP1+w6TkWHORs1 b38K7XiDHz8f6y2GJyvDMCS7evo= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 60d3708fd2559fe392e00866 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 23 Jun 2021 17:34:07 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 88512C43145; Wed, 23 Jun 2021 17:34:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6E217C43217; Wed, 23 Jun 2021 17:34:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6E217C43217 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Bhaumik Bhatt Cc: Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH v4 4/6] ath11k: set register access length for MHI driver References: <1620330705-40192-1-git-send-email-bbhatt@codeaurora.org> <1620330705-40192-5-git-send-email-bbhatt@codeaurora.org> <20210521135152.GL70095@thinkpad> <87h7i0juxt.fsf@codeaurora.org> <37184e28dcc952ba9ad5ed0dc2c1a6da@codeaurora.org> Date: Wed, 23 Jun 2021 20:34:02 +0300 In-Reply-To: <37184e28dcc952ba9ad5ed0dc2c1a6da@codeaurora.org> (Bhaumik Bhatt's message of "Mon, 14 Jun 2021 10:49:51 -0700") Message-ID: <87fsx8h4dx.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Bhaumik Bhatt writes: > Hi Kalle, > > On 2021-06-14 09:02 AM, Kalle Valo wrote: >> Manivannan Sadhasivam writes: >> >>> On Thu, May 06, 2021 at 12:51:43PM -0700, Bhaumik Bhatt wrote: >>>> MHI driver requires register space length to add range checks and >>>> prevent memory region accesses outside of that for MMIO space. >>>> Set it before registering the MHI controller. >>>> >>>> Signed-off-by: Bhaumik Bhatt >>>> Reviewed-by: Hemant Kumar >>> >>> Reviewed-by: Manivannan Sadhasivam >>> >>> Kalle, should we do immutable branch for this patch or I can pick >>> it up via MHI >>> tree (if there are no other patches expected from ath11k for this >>> controller)? >> >> I'm not expecting any conflicts with this, and if there are, they >> should >> be easy for Stephen or Linus to fix. So it's easiest to route this via >> your tree. But I'm not giving my ack yet, see below. >> >> I'm worried that this patchset breaks bisect. Every patch in the >> patchset should not break existing functionality, what if only patches >> 1-3 are included in the tree but not patch 4? Wouldn't ath11k be broken >> then? I didn't review the whole patchset, but I suspect the fix is to >> include the ath11k change in the actual mhi patch which changes the >> functionality. So that way we would not have a separate ath11k patch at >> all. >> >> Also I'm not able to test this patchset at the moment. Can someone else >> help and do a quick test with QCA6390 to verify these doesn't break >> ath11k? > > I have requested someone to try and test this patch series with QCA6390. > > I or the testers will get back to you with the test results when they > are available. > > As far as your concerns go, you can choose to pick patches 1-3 and > that would be just fine. > > Things will break if patchset 4 is _not_ in place with patchset 6 > being part of the tree. > > It would, however, be nice to pick the whole series instead and ensure > that the functionality MHI introduces for boot-up sanity is in place > for any controllers such as ath11k. Just to be clear, this is not about me picking up any patches separately. I was instead making sure git-bisect works correctly, as it can randomly choose to test any commit in the tree. But based on your description everything seems to be in order in this patchset and bisect will work correctly. git-bisect is an important tool for me when I'm searching the root cause for ath11k regressions, that's why I'm so careful to make sure it works. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches