[PATCH] Revert "riscv: cpu: fu740: clear feature disable CSR"

Green Wan green.wan at sifive.com
Wed May 19 09:52:39 CEST 2021


Hi Leo and Bin,

I have the 'binman' patch for unmatched ready. So, we can pick up the
'binman' series first.

I plan to create a v10 patchset that includes the fu740 series on top of
'binman' patch and 'split CLINT' patchset and appends 'clear feature
disable CSRs' and 'binman change for unmatched'. But I keep the
pcie_dw_common.c compilation fixes in the separated patch. (already posted)

What do you think of it? If there is no further revisement needed, I can do
the patch.

Many thanks,
- Green

On Tue, May 18, 2021 at 10:35 PM Green Wan <green.wan at sifive.com> wrote:

> Hi Leo,
>
> I just posted the patch for pcie_dw_common.c compilation error. Please
> check and see if it works. Thanks.
>
> Hi Bin and Leo,
>
> And I'll check the 'binman' patch series soon. See if we can have both
> binman and fu740 patchset ready.
>
> Regards,
> Green
>
> On Tue, May 18, 2021 at 9:12 PM Green Wan <green.wan at sifive.com> wrote:
>
>> As I mentioned before, pcie_dw_common.c is not part of fu740 patch. The
>> error is actually nothing to do with fu740 patchset. Even I fix those
>> warning message. It will not be in same patch series.
>>
>> - Green
>>
>> Leo Liang <ycliang at andestech.com>於 2021年5月18日 週二,下午8:00寫道:
>>
>>> On Tue, May 18, 2021 at 05:56:08PM +0800, Bin Meng wrote:
>>> > Hi Green,
>>> >
>>> > On Tue, May 18, 2021 at 5:43 PM Green Wan <green.wan at sifive.com>
>>> wrote:
>>> > >
>>> > >
>>> > >
>>> > > On Tue, May 18, 2021 at 3:45 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>>> > >>
>>> > >> Hi Green,
>>> > >>
>>> > >> On Tue, May 18, 2021 at 3:38 PM Leo Liang <ycliang at andestech.com>
>>> wrote:
>>> > >> >
>>> > >> > On Fri, May 14, 2021 at 11:45:30AM +0800, Green Wan wrote:
>>> > >> > > Hi Bin,
>>> > >> > >
>>> > >> > > Thanks, I'll include that revert. Just traced back the git log.
>>> My original
>>> > >> > > patch is based on fu740. I guess it was merged to fu540 since
>>> fu740 series
>>> > >> > > wasn't present yet.
>>> > >> > >
>>> > >> > > Hi Rick,
>>> > >> > >
>>> > >> > > Not sure whether you'll pick fu740 series soon or if any parts
>>> need more
>>> > >> > > revisement. Do you prefer that I append both this revert and
>>> "disable CSR"
>>> > >> > > patch to fu740&unmatched patch series? If so, I will create v9
>>> patch and
>>> > >> > > include these 2 patches.
>>> > >> > >
>>> > >> > > Or if you prefer to keep them separate from fu740 series, we
>>> can wait for
>>> > >> > > fu740&unmatche patch merge and I'll create a separate patch for
>>> this revert
>>> > >> > > and CSR disable.
>>> > >> > >
>>> > >> > > What do you think? Many thanks.
>>> > >> > >
>>> > >> > > Regards,
>>> > >> > > - Green
>>> > >> > >
>>> > >> >
>>> > >> > Hi Green,
>>> > >> >
>>> > >> > Could you please append the "disable CSR" patch to fu740
>>> unmatched patch
>>> > >> > and send a v9 patch ? Thanks!
>>> > >> >
>>> > >>
>>> > >> I think you will need some update per this patch as well:
>>> > >>
>>> http://patchwork.ozlabs.org/project/uboot/patch/20210511120412.25065-1-bmeng.cn@gmail.com/
>>> > >
>>> > >
>>> > > Hi Bin
>>> > > I updated the change to [patch v9 1/8]. Thanks,
>>> > >
>>> > >>
>>> > >>
>>> > >>
>>> > >> Hi Leo,
>>> > >>
>>> > >> What's your plan for the binman patch series?
>>> > >>
>>> > >> If the binman patch series go first, Green needs to update Unmatched
>>> > >> to use binman as well.
>>> > >
>>> > >
>>> > > Hi Leo/Bin,
>>> > >
>>> > > Are we referring to
>>> https://lists.denx.de/pipermail/u-boot/2021-May/448885.html?
>>> >
>>> > This one:
>>> http://patchwork.ozlabs.org/project/uboot/list/?series=242992
>>> >
>>> > > I'd prefer to have a separated patch work to track binman changes.
>>> Thanks,
>>> >
>>> > Actually that's why I asked Leo the plan. If your patch go before my
>>> > patch, then I will need to do an additional patch to convert
>>> > unmatched.
>>> >
>>> > But if mine go first before yours, you will have to respin another
>>> > version to do the convert in the first place.
>>> >
>>> > Leo, please let us know your plan.
>>> >
>>>
>>> Hi Bin/Green,
>>>
>>> I was thinking picking Bin's patch first,
>>> because Green's patch could not pass CI.
>>> (Due to some format warning being treated as error
>>> when compiling drivers/pci/pcie_dw_common.c)
>>>
>>> At the meantime, we should come up with some fixes to pass CI.
>>> Then Green could send his patch with binman,
>>> or a seperate patch to track binman utility.
>>>
>>> What do you guys think?
>>>
>>> Best regards,
>>> Leo
>>>
>>>
>>> > Regards,
>>> > Bin
>>>
>>


More information about the U-Boot mailing list