All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pragnesh Patel <pragnesh.patel@sifive.com>
To: u-boot@lists.denx.de
Subject: [PATCH v7 19/22] sifive: dts: fu540: Enable L2 Cache in U-Boot
Date: Mon, 11 May 2020 07:07:22 +0000	[thread overview]
Message-ID: <MWHPR13MB0944EAE913E58BC0EACB749CE5A10@MWHPR13MB0944.namprd13.prod.outlook.com> (raw)
In-Reply-To: <CAMty3ZB_KKNan8ofHuu1Y1NziHR9giAwuZeGD7XUUgtAZ_gG5A@mail.gmail.com>

>-----Original Message-----
>From: Jagan Teki <jagan@amarulasolutions.com>
>Sent: 11 May 2020 12:25
>To: Pragnesh Patel <pragnesh.patel@sifive.com>
>Cc: U-Boot-Denx <u-boot@lists.denx.de>; Atish Patra
><atish.patra@wdc.com>; Palmer Dabbelt <palmerdabbelt@google.com>; Bin
>Meng <bmeng.cn@gmail.com>; Paul Walmsley <paul.walmsley@sifive.com>;
>Troy Benjegerdes <troy.benjegerdes@sifive.com>; Anup Patel
><anup.patel@wdc.com>; Sagar Kadam <sagar.kadam@sifive.com>; Rick Chen
><rick@andestech.com>
>Subject: Re: [PATCH v7 19/22] sifive: dts: fu540: Enable L2 Cache in U-Boot
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>On Mon, May 11, 2020 at 11:35 AM Pragnesh Patel
><pragnesh.patel@sifive.com> wrote:
>>
>> >-----Original Message-----
>> >From: Jagan Teki <jagan@amarulasolutions.com>
>> >Sent: 10 May 2020 15:02
>> >To: Pragnesh Patel <pragnesh.patel@sifive.com>
>> >Cc: U-Boot-Denx <u-boot@lists.denx.de>; Atish Patra
>> ><atish.patra@wdc.com>; Palmer Dabbelt <palmerdabbelt@google.com>;
>Bin
>> >Meng <bmeng.cn@gmail.com>; Paul Walmsley
><paul.walmsley@sifive.com>;
>> >Troy Benjegerdes <troy.benjegerdes@sifive.com>; Anup Patel
>> ><anup.patel@wdc.com>; Sagar Kadam <sagar.kadam@sifive.com>; Rick
>Chen
>> ><rick@andestech.com>
>> >Subject: Re: [PATCH v7 19/22] sifive: dts: fu540: Enable L2 Cache in
>> >U-Boot
>> >
>> >[External Email] Do not click links or attachments unless you
>> >recognize the sender and know the content is safe
>> >
>> >On Sun, May 3, 2020 at 12:57 PM Pragnesh Patel
>> ><pragnesh.patel@sifive.com> wrote:
>> >>
>> >> Hi jagan,
>> >>
>> >> >-----Original Message-----
>> >> >From: Jagan Teki <jagan@amarulasolutions.com>
>> >> >Sent: 02 May 2020 22:43
>> >> >To: Pragnesh Patel <pragnesh.patel@sifive.com>
>> >> >Cc: U-Boot-Denx <u-boot@lists.denx.de>; Atish Patra
>> >> ><atish.patra@wdc.com>; Palmer Dabbelt
><palmerdabbelt@google.com>;
>> >Bin
>> >> >Meng <bmeng.cn@gmail.com>; Paul Walmsley
>> ><paul.walmsley@sifive.com>;
>> >> >Troy Benjegerdes <troy.benjegerdes@sifive.com>; Anup Patel
>> >> ><anup.patel@wdc.com>; Sagar Kadam <sagar.kadam@sifive.com>; Rick
>> >Chen
>> >> ><rick@andestech.com>
>> >> >Subject: Re: [PATCH v7 19/22] sifive: dts: fu540: Enable L2 Cache
>> >> >in U-Boot
>> >> >
>> >> >[External Email] Do not click links or attachments unless you
>> >> >recognize the sender and know the content is safe
>> >> >
>> >> >On Sat, May 2, 2020 at 10:12 PM Pragnesh Patel
>> >> ><pragnesh.patel@sifive.com>
>> >> >wrote:
>> >> >>
>> >> >> Hi Jagan,
>> >> >>
>> >> >> >-----Original Message-----
>> >> >> >From: Jagan Teki <jagan@amarulasolutions.com>
>> >> >> >Sent: 02 May 2020 21:49
>> >> >> >To: Pragnesh Patel <pragnesh.patel@sifive.com>
>> >> >> >Cc: U-Boot-Denx <u-boot@lists.denx.de>; Atish Patra
>> >> >> ><atish.patra@wdc.com>; Palmer Dabbelt
>> ><palmerdabbelt@google.com>;
>> >> >Bin
>> >> >> >Meng <bmeng.cn@gmail.com>; Paul Walmsley
>> >> ><paul.walmsley@sifive.com>;
>> >> >> >Troy Benjegerdes <troy.benjegerdes@sifive.com>; Anup Patel
>> >> >> ><anup.patel@wdc.com>; Sagar Kadam <sagar.kadam@sifive.com>;
>> >> >> >Rick
>> >> >Chen
>> >> >> ><rick@andestech.com>
>> >> >> >Subject: Re: [PATCH v7 19/22] sifive: dts: fu540: Enable L2
>> >> >> >Cache in U-Boot
>> >> >> >
>> >> >> >[External Email] Do not click links or attachments unless you
>> >> >> >recognize the sender and know the content is safe
>> >> >> >
>> >> >> >On Sat, May 2, 2020 at 3:39 PM Pragnesh Patel
>> >> >> ><pragnesh.patel@sifive.com>
>> >> >> >wrote:
>> >> >> >>
>> >> >> >> Add L2 cache node to enable cache ways from U-Boot
>> >> >> >
>> >> >> >This and 20/22 doesn't relate to SPL MMC boot?, if yes please
>> >> >> >send them separately.
>> >> >>
>> >> >> This series is for replacing FSBL and all the patches are related to that.
>> >> >> IMHO it's better to add all FSBL functionality in one series.
>> >> >
>> >> >You mean does it break existing FSBL flow? if yes add proper
>> >> >commit message, but I am able to boot SPL MMC w/o this?
>> >>
>> >> Cache ways are enabled by FSBL also and if I will send cache ways
>> >> patches separately then it will a duplicate way of enabling cache
>> >> ways if
>> >someone using FSBL.
>> >
>> >Sorry I didn't get you.
>> >
>> >If we cannot include these changes does U-Boot SPL break existing FSBL?
>>
>> No, U-Boot SPL does not break without this.
>>
>> As of now, we also want to support FSBL flow and FSBL also enabled the
>> Cache ways for U-Boot proper and if someone use this patches of L2
>> cache enable ways will FSBL then it will be a duplicate work of cache enable
>ways.
>
>My question is what if we don't add this change at all?

U-Boot SPL will work without L2 cache enable patches but why we want to do this.
This series is not just for SPL mmc booting but also replacing FSBL functionality so better to cover
all FSBL stuff in one series.

I am not in favour of pulling out L2 cache patches out of this series.

>
>Jagan.

  reply	other threads:[~2020-05-11  7:07 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 10:06 [PATCH v7 00/22] RISC-V SiFive FU540 support SPL Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 01/22] misc: add driver for the SiFive otp controller Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 15:37   ` Jagan Teki
2020-05-02 15:42     ` Pragnesh Patel
2020-05-02 15:50       ` Jagan Teki
2020-05-02 16:18         ` Pragnesh Patel
2020-05-10  9:04           ` Jagan Teki
2020-05-11  5:39             ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 02/22] riscv: sifive: fu540: Use OTP DM driver for serial environment variable Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 10:06 ` [PATCH v7 03/22] riscv: Add _image_binary_end for SPL Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 10:06 ` [PATCH v7 04/22] lib: Makefile: build crc7.c when CONFIG_MMC_SPI Pragnesh Patel
2020-05-02 10:29   ` Heinrich Schuchardt
2020-05-02 11:47     ` Bin Meng
2020-05-02 12:58       ` Heinrich Schuchardt
2020-05-02 15:33         ` Jagan Teki
2020-05-04  5:45           ` Pragnesh Patel
2020-05-05 15:55             ` Pragnesh Patel
2020-05-08  5:59               ` Pragnesh Patel
2020-05-03  9:54         ` Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 10:06 ` [PATCH v7 05/22] riscv: sifive: dts: fu540: Add board -u-boot.dtsi files Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 06/22] sifive: fu540: add ddr driver Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 15:59   ` Jagan Teki
2020-05-02 16:32     ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 07/22] sifive: dts: fu540: Add DDR controller and phy register settings Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 14:41     ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 08/22] riscv: sifive: dts: fu540: add U-Boot dmc node Pragnesh Patel
2020-05-02 12:29   ` Bin Meng
2020-05-02 10:06 ` [PATCH v7 09/22] clk: sifive: fu540-prci: Add clock enable and disable ops Pragnesh Patel
2020-05-02 12:29   ` Bin Meng
2020-05-02 10:06 ` [PATCH v7 10/22] clk: sifive: fu540-prci: ddr and ethernet clock initialization in SPL Pragnesh Patel
2020-05-02 12:28   ` Bin Meng
2020-05-02 14:49     ` Pragnesh Patel
2020-05-09 11:29       ` Pragnesh Patel
2020-05-02 16:14   ` Jagan Teki
2020-05-02 16:35     ` Pragnesh Patel
2020-05-02 16:44       ` Jagan Teki
2020-05-03  8:57         ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 11/22] riscv: dts: sifive: Sync hifive-unleashed-a00 dts from linux Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 12/22] sifive: dts: fu540: Enable gpio in U-Boot SPL Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 13/22] riscv: cpu: fu540: Add support for cpu fu540 Pragnesh Patel
2020-05-02 12:32   ` Bin Meng
2020-05-02 14:38     ` Pragnesh Patel
2020-05-02 16:34   ` Jagan Teki
2020-05-03  9:16     ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 14/22] riscv: Add place-holder for driver compilation Pragnesh Patel
2020-05-02 12:43   ` Bin Meng
2020-05-02 16:27   ` Jagan Teki
2020-05-03  9:17     ` Pragnesh Patel
2020-05-10  9:12       ` Jagan Teki
2020-05-11  5:58         ` Pragnesh Patel
2020-05-11  6:53           ` Jagan Teki
2020-05-11  7:10             ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 15/22] riscv: sifive: dts: fu540: Add clock for cpus node Pragnesh Patel
2020-05-02 12:43   ` Bin Meng
2020-05-02 16:50   ` Jagan Teki
2020-05-03  8:55     ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 16/22] riscv: Enable cpu clock if it is present Pragnesh Patel
2020-05-02 12:55   ` Bin Meng
2020-05-02 18:15   ` Sean Anderson
2020-05-03  7:12     ` Pragnesh Patel
2020-05-03 17:17       ` Sean Anderson
2020-05-04  5:20         ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 17/22] riscv: sifive: fu540: add SPL configuration Pragnesh Patel
2020-05-02 12:55   ` Bin Meng
2020-05-02 10:06 ` [PATCH v7 18/22] configs: fu540: Add config options for U-Boot SPL Pragnesh Patel
2020-05-02 12:55   ` Bin Meng
2020-05-02 14:37     ` Pragnesh Patel
2020-05-02 17:04     ` Jagan Teki
2020-05-02 16:51   ` Jagan Teki
2020-05-04 15:48     ` Pragnesh Patel
2020-05-02 17:15   ` Jagan Teki
2020-05-03  7:20     ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 19/22] sifive: dts: fu540: Enable L2 Cache in U-Boot Pragnesh Patel
2020-05-02 16:18   ` Jagan Teki
2020-05-02 16:42     ` Pragnesh Patel
2020-05-02 17:13       ` Jagan Teki
2020-05-03  7:27         ` Pragnesh Patel
2020-05-10  9:31           ` Jagan Teki
2020-05-11  6:05             ` Pragnesh Patel
2020-05-11  6:54               ` Jagan Teki
2020-05-11  7:07                 ` Pragnesh Patel [this message]
2020-05-11  7:25                   ` Jagan Teki
2020-05-11  7:45                     ` Pragnesh Patel
2020-05-11  8:48                       ` Jagan Teki
2020-05-11  9:00                         ` Bin Meng
2020-05-11  9:05                           ` Jagan Teki
2020-05-11  9:34                             ` Pragnesh Patel
2020-05-11  9:47                               ` Bin Meng
2020-05-11  9:55                                 ` Pragnesh Patel
2020-05-11 10:10                                   ` Bin Meng
2020-05-11 10:35                                     ` Pragnesh Patel
2020-05-12  1:20                                       ` Bin Meng
2020-05-12  7:45                                   ` Jagan Teki
2020-05-02 10:06 ` [PATCH v7 20/22] riscv: sifive: fu540: enable all cache ways from U-Boot proper Pragnesh Patel
2020-05-02 12:55   ` Bin Meng
2020-05-02 14:34     ` Pragnesh Patel
2020-05-02 10:06 ` [PATCH v7 21/22] doc: sifive: fu540: Add description for OpenSBI generic platform Pragnesh Patel
2020-05-02 12:55   ` Bin Meng
2020-05-02 14:30     ` Pragnesh Patel
2020-05-02 15:16       ` Bin Meng
2020-05-02 15:22         ` Pragnesh Patel
2020-05-02 15:27           ` Bin Meng
2020-05-02 15:29             ` Pragnesh Patel
2020-05-03  4:36             ` Anup Patel
2020-05-02 10:06 ` [PATCH v7 22/22] doc: sifive: fu540: Add description for RISC-V FU540 U-Boot SPL Pragnesh Patel
2020-05-02 12:55   ` Bin Meng
2020-05-02 16:22   ` Jagan Teki
2020-05-02 16:53     ` Pragnesh Patel
2020-05-03  4:34   ` Anup Patel
2020-05-03  6:13     ` Pragnesh Patel
2020-05-02 17:18 ` [PATCH v7 00/22] RISC-V SiFive FU540 support SPL Jagan Teki
2020-05-03  7:19   ` Pragnesh Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR13MB0944EAE913E58BC0EACB749CE5A10@MWHPR13MB0944.namprd13.prod.outlook.com \
    --to=pragnesh.patel@sifive.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.