[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <jzxvodlzamuta5cgupp7upkh2wjmi4n6gdvj5vceawhvw2kquc@hm4kz2qt5u2k>
Date: Wed, 3 Sep 2025 18:58:04 +0530
From: Manivannan Sadhasivam <mani@...nel.org>
To: Nitin Rawat <quic_nitirawa@...cinc.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
Ram Kumar Dwivedi <quic_rdwivedi@...cinc.com>, andersson@...nel.org, konradybcio@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, James.Bottomley@...senpartnership.com,
martin.petersen@...cle.com, linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH V3 3/5] scsi: ufs: core: Remove unused ufshcd_res_info
structure
On Mon, Sep 01, 2025 at 09:38:25PM GMT, Nitin Rawat wrote:
>
>
> On 8/21/2025 5:18 PM, Krzysztof Kozlowski wrote:
> > On 21/08/2025 13:24, Ram Kumar Dwivedi wrote:
> > > From: Nitin Rawat <quic_nitirawa@...cinc.com>
> > >
> > > Remove the ufshcd_res_info structure and associated enum ufshcd_res
> > > definitions from the UFS host controller header. These were previously
> > > used for MCQ resource mapping but are no longer needed following recent
> > > refactoring to use direct base addresses instead of multiple separate
> > > resource regions
> > >
> > > Signed-off-by: Nitin Rawat <quic_nitirawa@...cinc.com>
> >
> > Incomplete SoB chain.
> >
> > But anyway this makes no sense as independent patch. First you remove
> > users of it making it redundant... and then you remove it? No.
>
> Hi Krzysztof,
>
> The driver changes are in the UFS Qualcomm platform driver, which uses the
> definitions, while ufshcd.h is part of the UFS core driver. Hence kept in 2
> separate patch.
>
No, that is not a logical split. When the users are removed, the unused
definitions also have to be removed even if the definitions are in a different
file.
So I believe you need to remove 'ufshcd_res_info' in patch 1 and 'ufshcd_res' in
patch 2.
- Mani
--
மணிவண்ணன் சதாசிவம்
Powered by blists - more mailing lists