Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-03-12 Thread Geert Uytterhoeven
On Thu, Jan 14, 2021 at 7:34 PM Atish Patra wrote: > On Wed, Jan 13, 2021 at 9:10 PM Palmer Dabbelt wrote: > > On Thu, 07 Jan 2021 01:26:51 PST (-0800), Atish Patra wrote: > > > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > > > 64 for RV32. Otherwise, there will be hole of 3

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-20 Thread Geert Uytterhoeven
On Sun, Jan 17, 2021 at 8:03 PM Geert Uytterhoeven wrote: > On Fri, Jan 15, 2021 at 11:44 PM Palmer Dabbelt wrote: > > On Thu, 14 Jan 2021 23:59:04 PST (-0800), ge...@linux-m68k.org wrote: > > > On Thu, Jan 14, 2021 at 10:11 PM Atish Patra > > > wrote: > > >> On Thu, Jan 14, 2021 at 11:46 AM Pa

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-17 Thread Geert Uytterhoeven
Hi Palmer, On Fri, Jan 15, 2021 at 11:44 PM Palmer Dabbelt wrote: > On Thu, 14 Jan 2021 23:59:04 PST (-0800), ge...@linux-m68k.org wrote: > > On Thu, Jan 14, 2021 at 10:11 PM Atish Patra wrote: > >> On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt wrote: > >> > On Thu, 14 Jan 2021 10:33:01 PST (

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-17 Thread Geert Uytterhoeven
Hi Atish, On Sat, Jan 16, 2021 at 2:39 AM Atish Patra wrote: > On Thu, Jan 14, 2021 at 11:59 PM Geert Uytterhoeven > wrote: > > On Thu, Jan 14, 2021 at 10:11 PM Atish Patra wrote: > > > On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt > > > wrote: > > > > On Thu, 14 Jan 2021 10:33:01 PST (-080

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-15 Thread Atish Patra
On Thu, Jan 14, 2021 at 11:59 PM Geert Uytterhoeven wrote: > > Hi Atish, > > On Thu, Jan 14, 2021 at 10:11 PM Atish Patra wrote: > > On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt wrote: > > > On Thu, 14 Jan 2021 10:33:01 PST (-0800), ati...@atishpatra.org wrote: > > > > On Wed, Jan 13, 2021 at

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-15 Thread Palmer Dabbelt
On Thu, 14 Jan 2021 23:59:04 PST (-0800), ge...@linux-m68k.org wrote: Hi Atish, On Thu, Jan 14, 2021 at 10:11 PM Atish Patra wrote: On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt wrote: > On Thu, 14 Jan 2021 10:33:01 PST (-0800), ati...@atishpatra.org wrote: > > On Wed, Jan 13, 2021 at 9:10

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-15 Thread Geert Uytterhoeven
Hi Atish, On Thu, Jan 14, 2021 at 10:11 PM Atish Patra wrote: > On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt wrote: > > On Thu, 14 Jan 2021 10:33:01 PST (-0800), ati...@atishpatra.org wrote: > > > On Wed, Jan 13, 2021 at 9:10 PM Palmer Dabbelt wrote: > > >> > > >> On Thu, 07 Jan 2021 01:26:5

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-14 Thread Palmer Dabbelt
On Thu, 14 Jan 2021 13:11:14 PST (-0800), ati...@atishpatra.org wrote: On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt wrote: On Thu, 14 Jan 2021 10:33:01 PST (-0800), ati...@atishpatra.org wrote: > On Wed, Jan 13, 2021 at 9:10 PM Palmer Dabbelt wrote: >> >> On Thu, 07 Jan 2021 01:26:51 PST (

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-14 Thread Atish Patra
On Thu, Jan 14, 2021 at 11:46 AM Palmer Dabbelt wrote: > > On Thu, 14 Jan 2021 10:33:01 PST (-0800), ati...@atishpatra.org wrote: > > On Wed, Jan 13, 2021 at 9:10 PM Palmer Dabbelt wrote: > >> > >> On Thu, 07 Jan 2021 01:26:51 PST (-0800), Atish Patra wrote: > >> > SMP_CACHE_BYTES/L1_CACHE_BYTES

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-14 Thread Palmer Dabbelt
On Thu, 14 Jan 2021 10:33:01 PST (-0800), ati...@atishpatra.org wrote: On Wed, Jan 13, 2021 at 9:10 PM Palmer Dabbelt wrote: On Thu, 07 Jan 2021 01:26:51 PST (-0800), Atish Patra wrote: > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > 64 for RV32. Otherwise, there will be

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-14 Thread Atish Patra
On Wed, Jan 13, 2021 at 9:10 PM Palmer Dabbelt wrote: > > On Thu, 07 Jan 2021 01:26:51 PST (-0800), Atish Patra wrote: > > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > > 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock > > allocation if it is request

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-13 Thread Palmer Dabbelt
On Thu, 07 Jan 2021 01:26:51 PST (-0800), Atish Patra wrote: SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock allocation if it is requested to be aligned with SMP_CACHE_BYTES. Signed-off-by: Atish Patra -

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-10 Thread Anup Patel
On Thu, Jan 7, 2021 at 2:57 PM Atish Patra wrote: > > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock > allocation if it is requested to be aligned with SMP_CACHE_BYTES. > > Signed-off-by: Atish Patra L

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-08 Thread Geert Uytterhoeven
On Thu, Jan 7, 2021 at 10:28 AM Atish Patra wrote: > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock > allocation if it is requested to be aligned with SMP_CACHE_BYTES. > > Signed-off-by: Atish Patra Te

[PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-07 Thread Atish Patra
SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock allocation if it is requested to be aligned with SMP_CACHE_BYTES. Signed-off-by: Atish Patra --- arch/riscv/include/asm/cache.h | 4 1 file changed, 4