Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 0EAEE2F8E9D for ; Thu, 11 Jun 2026 12:22:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781180573; cv=none; b=O8a1aT2dCPatZbXXKxOgyoICrAznm34azTgG7S2So/wjCIs32prJzWLBKcwUAQaAkMVCjSc0aOnukacy/bgsVmQa90lkEFPz56KTkpYuCrAwYxcrmJKdCz7YClaXDlD8p10shWmztu98X2x1p+pnHTOUt26sm2Qnw+O70I63CGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781180573; c=relaxed/simple; bh=6mybAxFWA9piKMYdQTC95b5ZGi6YKc2Dvduxn+GK1Rs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gN1LY8PirIX6a0W/sU5dR8LPC78iaamPx6+TL9HjZ+IT8nSS+WwJ4Npd5TNP5S2t8MsYtgzqP8PmwqktpFLM06JgtNbyDzl92uFGh3Y57TbWu+LYYmEpV+AIz9VqVaMm4Da95omn/Kbx3g9bz9VaVzsfiXb6cp5OwEFM58NM1Tk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sZuwcPG3; arc=none smtp.client-ip=209.85.167.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sZuwcPG3" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5aa68e5175dso808621e87.3 for ; Thu, 11 Jun 2026 05:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1781180569; x=1781785369; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=3UVAPv+vJYyMdfCgAAqYJ+tpswqCocudVoYqqRm2LCg=; b=sZuwcPG3VczZISaPBGPUIykdEVbYJmqWYESl0nQwgXSBnWyTgIQx+NZWRAXknB/oBd i7jzaBuPwUV5Eaz1P9UvlsuO+18UVjbHf2PKL8Mltx8H09UjN3nvf2tL+fcKDz1ylKuY 1pHLnMxxk7Gju4UrFZsszu2s0brHQs4i0PXmmsR+4Pr+50dOEbXGIq3D+7RVMFMTVIoM euvfJGEKm2UELN6qTQ2z6G2pb81APsN/FIxtGLiDDSDfXIgFZkXG/KJZe1EJuXlGxCSk h1Wy9jsHN/7KsPEyYyxKQ88nzCXu9QbGQZXgzHnQBwXriPQdJhDu5tDVuiQzCZhR46Yk qS5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781180569; x=1781785369; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3UVAPv+vJYyMdfCgAAqYJ+tpswqCocudVoYqqRm2LCg=; b=myHohqlP6MXdU31MK3F7CTzEpoZ60N2UK7CSBefGshnzh2+6tKpJrFcSFWwvah4IrP UF/Csj47UNbVsBaKkZtsN046osZNPKYnSktkz/vwL9dKLshq/6qaU1QXpkn49yIqiifi 5hyUY3E9LrHxIGIHSx1Ye9GN7alUy2d0IeutUd2Ya0CzjGVTfqMoHnAlilefG7InSkHb aQYnphk9Id9q3/2ENcrIukKu7Lj2HmfO6ZRUFKjaacm8Zs8CBbr04fFQNvyW4e1qZvzp ahwzO8xDG9u8Ln0Rmf26ocmn0uIttp+pnkWi0W0M/XuJQN8znY1i4PngZDGd1MYuauaA yTyQ== X-Forwarded-Encrypted: i=1; AFNElJ8FS44gHPM9iZPR9akxBJ0cLODPk+lZW9wVGy3WOXx14+NTvZjK4liW06r51H3OtMD2Dbe/pvXm//jee6XD@vger.kernel.org X-Gm-Message-State: AOJu0Yzm+cjJK7gpx4Fe0c+hB4DS+ffbLBuZNDBT8hq9HUzh9nAVXTPw H1CzImyXACr9izxeIZvElXfNGTc/1B1w4TZ5yb/YLA/+Q9MptqW/fiMtSYeN5i7AMqs= X-Gm-Gg: Acq92OE+DEqIA5qJ0+vN1xTTe7doOM9JYQbFKaozf316jB510R824MA7/rbmdbrXmK9 iLwTWFg/uXiqonJU05+vy5bMjgj80nEAQ4jIPi07H8oRwc3JZx9wVsdVisQ1De0vANr9PP226zX NjJ2UnhJBf9vc8wG0+T3aI/4tIo30yDuemNuSvL7Ah3V0Po3CWRLUp7wzywQzRXxI/zu96WJbNe 1x+rOhzaGcMmZzRW4oR6yoiVimEjzT70Wzh06cuwOFldRvYrTL0HIDi56JruUHIgZ34GkHZVy+R 7b9FkkUbIcTZfE5PortESOXQV5bV19sTvEZugnBjmMRHM7Jus6KyPHEJm4M4BmwxdOcBUx9G+W3 qR0ePwOceuir/gNOirrVhjw5FIbY1AWMc7qgyB4a7Pb/K6XTHRPHRuRYPyFMpc+RvlcoSpnCMi2 lvq85WUkAWlPUcqEb0dMc3Y+HO+M7P718pi7rTtM62q0WjutPF7uZJBSkiU17pKhs6aK6Afwkz2 7WHPnXkdbRywzn3 X-Received: by 2002:a05:6512:1548:b0:5ad:2ac0:9fb0 with SMTP id 2adb3069b0e04-5ad2ac0a109mr69074e87.4.1781180569120; Thu, 11 Jun 2026 05:22:49 -0700 (PDT) Received: from [192.168.1.100] (91-159-24-186.elisa-laajakaista.fi. [91.159.24.186]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5aa7b8fc8d9sm6258927e87.28.2026.06.11.05.22.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2026 05:22:48 -0700 (PDT) Message-ID: Date: Thu, 11 Jun 2026 15:22:47 +0300 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 2/9] media: qcom: camss: csiphy-3ph: Fix lane mask calculation To: david@ixit.cz, Robert Foss , Todor Tomov , Bryan O'Donoghue , Bryan O'Donoghue , Mauro Carvalho Chehab , Luca Weiss , Petr Hodina , "Dr. Git" , Cory Keitz , Loic Poulain , Hans Verkuil , Nihal Kumar Gupta Cc: Frank Li , Konrad Dybcio , Kieran Bingham , Sakari Ailus , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, stable@vger.kernel.org References: <20260610-qcom-cphy-v8-0-cd4387785179@ixit.cz> <20260610-qcom-cphy-v8-2-cd4387785179@ixit.cz> From: Vladimir Zapolskiy In-Reply-To: <20260610-qcom-cphy-v8-2-cd4387785179@ixit.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/10/26 21:28, David Heidelberg via B4 Relay wrote: > From: David Heidelberg > > The lane mask must be multiplied by 2, but this was accidentally omitted. Fortunately this computed lane mask value has never been used expectedly by csiphy-3ph users. > > Fixes: c94d21ffa814 ("media: camss: Add CSIPHY files") > Cc: stable@vger.kernel.org > Suggested-by: Nihal Kumar Gupta > Signed-off-by: David Heidelberg Fixes shall be the first patches in any series, please reorder for v9. Then, formally it looks like a fix, but to my understanding it's just a noop change against the current upstream codebase, thus the change is not justified to gain the Fixes tag, see Documentation/process/stable-kernel-rules.rst. > --- > drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c b/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c > index dac8d2ecf7995..7c8c0e41bc62f 100644 > --- a/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c > +++ b/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c > @@ -1114,17 +1114,17 @@ static void csiphy_gen2_config_lanes(struct csiphy_device *csiphy, > static u8 csiphy_get_lane_mask(struct csiphy_lanes_cfg *lane_cfg) > { > u8 lane_mask; > int i; > > lane_mask = CSIPHY_3PH_CMN_CSI_COMMON_CTRL5_CLK_ENABLE; > > for (i = 0; i < lane_cfg->num_data; i++) > - lane_mask |= 1 << lane_cfg->data[i].pos; > + lane_mask |= BIT(lane_cfg->data[i].pos * 2); > > return lane_mask; > } > > static bool csiphy_is_gen2(u32 version) > { > bool ret = false; > > After dropping Fixes tag and cc to stable, Reviewed-by: Vladimir Zapolskiy -- Best wishes, Vladimir