Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-02-01 Thread Alistair Francis
On Tue, Jan 31, 2023 at 10:31 PM Bin Meng wrote: > > On Mon, Jan 30, 2023 at 7:19 AM Alistair Francis wrote: > > > > On Thu, Jan 26, 2023 at 10:03 PM Bin Meng wrote: > > > > > > On Tue, Jan 24, 2023 at 9:42 AM Alistair Francis > > > wrote: > > > > > > > > On Tue, Jan 24, 2023 at 11:24 AM Bin M

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-31 Thread Bin Meng
On Mon, Jan 30, 2023 at 7:19 AM Alistair Francis wrote: > > On Thu, Jan 26, 2023 at 10:03 PM Bin Meng wrote: > > > > On Tue, Jan 24, 2023 at 9:42 AM Alistair Francis > > wrote: > > > > > > On Tue, Jan 24, 2023 at 11:24 AM Bin Meng wrote: > > > > > > > > On Mon, Jan 23, 2023 at 11:58 AM Alistai

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-29 Thread Alistair Francis
On Thu, Jan 26, 2023 at 10:03 PM Bin Meng wrote: > > On Tue, Jan 24, 2023 at 9:42 AM Alistair Francis wrote: > > > > On Tue, Jan 24, 2023 at 11:24 AM Bin Meng wrote: > > > > > > On Mon, Jan 23, 2023 at 11:58 AM Alistair Francis > > > wrote: > > > > > > > > From: Alistair Francis > > > > > > >

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-26 Thread Bin Meng
On Tue, Jan 24, 2023 at 9:42 AM Alistair Francis wrote: > > On Tue, Jan 24, 2023 at 11:24 AM Bin Meng wrote: > > > > On Mon, Jan 23, 2023 at 11:58 AM Alistair Francis > > wrote: > > > > > > From: Alistair Francis > > > > > > If the CSRs and CSR instructions are disabled because the Zicsr > > >

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Jesse Taube
> From: Alistair Francis > > If the CSRs and CSR instructions are disabled because the Zicsr > extension isn't enabled then we want to make sure we don't run any CSR > instructions in the boot ROM. > > This patches removes the CSR instructions from the reset-vec if the > extension isn't enabled.

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Alistair Francis
On Tue, Jan 24, 2023 at 11:24 AM Bin Meng wrote: > > On Mon, Jan 23, 2023 at 11:58 AM Alistair Francis > wrote: > > > > From: Alistair Francis > > > > If the CSRs and CSR instructions are disabled because the Zicsr > > extension isn't enabled then we want to make sure we don't run any CSR > > in

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Bin Meng
On Mon, Jan 23, 2023 at 11:58 AM Alistair Francis wrote: > > From: Alistair Francis > > If the CSRs and CSR instructions are disabled because the Zicsr > extension isn't enabled then we want to make sure we don't run any CSR > instructions in the boot ROM. > > This patches removes the CSR instruc

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Alistair Francis
On Mon, Jan 23, 2023 at 1:58 PM Alistair Francis wrote: > > From: Alistair Francis > > If the CSRs and CSR instructions are disabled because the Zicsr > extension isn't enabled then we want to make sure we don't run any CSR > instructions in the boot ROM. > > This patches removes the CSR instruct

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Alistair Francis
On Mon, 2023-01-23 at 17:14 -0500, Jesse Taube wrote: >  > From: Alistair Francis >  > >  > If the CSRs and CSR instructions are disabled because the Zicsr >  > extension isn't enabled then we want to make sure we don't run any > CSR >  > instructions in the boot ROM. >  > >  > This patches remove

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Daniel Henrique Barboza
On 1/23/23 00:57, Alistair Francis wrote: From: Alistair Francis If the CSRs and CSR instructions are disabled because the Zicsr extension isn't enabled then we want to make sure we don't run any CSR instructions in the boot ROM. This patches removes the CSR instructions from the reset-vec

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Alistair Francis
On Mon, Jan 23, 2023 at 8:25 PM Daniel Henrique Barboza wrote: > > > > On 1/23/23 00:57, Alistair Francis wrote: > > From: Alistair Francis > > > > If the CSRs and CSR instructions are disabled because the Zicsr > > extension isn't enabled then we want to make sure we don't run any CSR > > instru

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Daniel Henrique Barboza
On 1/23/23 00:57, Alistair Francis wrote: From: Alistair Francis If the CSRs and CSR instructions are disabled because the Zicsr extension isn't enabled then we want to make sure we don't run any CSR instructions in the boot ROM. This patches removes the CSR instructions from the reset-vec

[PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-22 Thread Alistair Francis
From: Alistair Francis If the CSRs and CSR instructions are disabled because the Zicsr extension isn't enabled then we want to make sure we don't run any CSR instructions in the boot ROM. This patches removes the CSR instructions from the reset-vec if the extension isn't enabled. We replace the