Message ID | 1034fa44a9b589a18f89b7849877c00ee0a362d5.1686080337.git.oleksii.kurochko@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | xen/riscv: introduce identity mapping | expand |
Hi Oleksii, On 06/06/2023 20:55, Oleksii Kurochko wrote: > Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> > --- > xen/arch/riscv/include/asm/config.h | 2 ++ > xen/arch/riscv/include/asm/current.h | 2 ++ > xen/arch/riscv/include/asm/early_printk.h | 2 ++ > xen/arch/riscv/include/asm/mm.h | 2 ++ > xen/arch/riscv/include/asm/page-bits.h | 2 ++ > xen/arch/riscv/include/asm/page.h | 2 ++ > xen/arch/riscv/include/asm/traps.h | 2 ++ > xen/arch/riscv/include/asm/types.h | 2 ++ > xen/arch/riscv/mm.c | 2 ++ > xen/arch/riscv/setup.c | 2 ++ > 10 files changed, 20 insertions(+) > > diff --git a/xen/arch/riscv/include/asm/config.h b/xen/arch/riscv/include/asm/config.h > index 38862df0b8..3ae35f57b3 100644 > --- a/xen/arch/riscv/include/asm/config.h > +++ b/xen/arch/riscv/include/asm/config.h > @@ -1,3 +1,5 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ The default license for Xen is GPL-2.0-only. So any particular reason to diverge? Cheers,
Hi Julien, On Wed, 2023-06-07 at 11:20 +0100, Julien Grall wrote: > Hi Oleksii, > > On 06/06/2023 20:55, Oleksii Kurochko wrote: > > Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> > > --- > > xen/arch/riscv/include/asm/config.h | 2 ++ > > xen/arch/riscv/include/asm/current.h | 2 ++ > > xen/arch/riscv/include/asm/early_printk.h | 2 ++ > > xen/arch/riscv/include/asm/mm.h | 2 ++ > > xen/arch/riscv/include/asm/page-bits.h | 2 ++ > > xen/arch/riscv/include/asm/page.h | 2 ++ > > xen/arch/riscv/include/asm/traps.h | 2 ++ > > xen/arch/riscv/include/asm/types.h | 2 ++ > > xen/arch/riscv/mm.c | 2 ++ > > xen/arch/riscv/setup.c | 2 ++ > > 10 files changed, 20 insertions(+) > > > > diff --git a/xen/arch/riscv/include/asm/config.h > > b/xen/arch/riscv/include/asm/config.h > > index 38862df0b8..3ae35f57b3 100644 > > --- a/xen/arch/riscv/include/asm/config.h > > +++ b/xen/arch/riscv/include/asm/config.h > > @@ -1,3 +1,5 @@ > > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > > The default license for Xen is GPL-2.0-only. So any particular reason > to > diverge? Thanks for a remark. There is no any particular reason for that. I copied it from on of a file from RISC-V arch directory. I'll change it to GPL-2.0-only in the next version of the patch series. ~ Oleksii
diff --git a/xen/arch/riscv/include/asm/config.h b/xen/arch/riscv/include/asm/config.h index 38862df0b8..3ae35f57b3 100644 --- a/xen/arch/riscv/include/asm/config.h +++ b/xen/arch/riscv/include/asm/config.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef __RISCV_CONFIG_H__ #define __RISCV_CONFIG_H__ diff --git a/xen/arch/riscv/include/asm/current.h b/xen/arch/riscv/include/asm/current.h index d87e6717e0..b08f204df4 100644 --- a/xen/arch/riscv/include/asm/current.h +++ b/xen/arch/riscv/include/asm/current.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef __ASM_CURRENT_H #define __ASM_CURRENT_H diff --git a/xen/arch/riscv/include/asm/early_printk.h b/xen/arch/riscv/include/asm/early_printk.h index 05106e160d..c11693bbe1 100644 --- a/xen/arch/riscv/include/asm/early_printk.h +++ b/xen/arch/riscv/include/asm/early_printk.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef __EARLY_PRINTK_H__ #define __EARLY_PRINTK_H__ diff --git a/xen/arch/riscv/include/asm/mm.h b/xen/arch/riscv/include/asm/mm.h index 500fdc9c5a..3b04131628 100644 --- a/xen/arch/riscv/include/asm/mm.h +++ b/xen/arch/riscv/include/asm/mm.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef _ASM_RISCV_MM_H #define _ASM_RISCV_MM_H diff --git a/xen/arch/riscv/include/asm/page-bits.h b/xen/arch/riscv/include/asm/page-bits.h index 4a3e33589a..94190b3c61 100644 --- a/xen/arch/riscv/include/asm/page-bits.h +++ b/xen/arch/riscv/include/asm/page-bits.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef __RISCV_PAGE_BITS_H__ #define __RISCV_PAGE_BITS_H__ diff --git a/xen/arch/riscv/include/asm/page.h b/xen/arch/riscv/include/asm/page.h index a7e2eee964..8e8ec9ee36 100644 --- a/xen/arch/riscv/include/asm/page.h +++ b/xen/arch/riscv/include/asm/page.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef _ASM_RISCV_PAGE_H #define _ASM_RISCV_PAGE_H diff --git a/xen/arch/riscv/include/asm/traps.h b/xen/arch/riscv/include/asm/traps.h index f3fb6b25d1..2e896e0913 100644 --- a/xen/arch/riscv/include/asm/traps.h +++ b/xen/arch/riscv/include/asm/traps.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef __ASM_TRAPS_H__ #define __ASM_TRAPS_H__ diff --git a/xen/arch/riscv/include/asm/types.h b/xen/arch/riscv/include/asm/types.h index 0c0ce78c8f..7505663efe 100644 --- a/xen/arch/riscv/include/asm/types.h +++ b/xen/arch/riscv/include/asm/types.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef __RISCV_TYPES_H__ #define __RISCV_TYPES_H__ diff --git a/xen/arch/riscv/mm.c b/xen/arch/riscv/mm.c index ab790f571d..b50641a80e 100644 --- a/xen/arch/riscv/mm.c +++ b/xen/arch/riscv/mm.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #include <xen/compiler.h> #include <xen/init.h> #include <xen/kernel.h> diff --git a/xen/arch/riscv/setup.c b/xen/arch/riscv/setup.c index c4ef0b3165..befbd07fde 100644 --- a/xen/arch/riscv/setup.c +++ b/xen/arch/riscv/setup.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #include <xen/compile.h> #include <xen/init.h>
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> --- xen/arch/riscv/include/asm/config.h | 2 ++ xen/arch/riscv/include/asm/current.h | 2 ++ xen/arch/riscv/include/asm/early_printk.h | 2 ++ xen/arch/riscv/include/asm/mm.h | 2 ++ xen/arch/riscv/include/asm/page-bits.h | 2 ++ xen/arch/riscv/include/asm/page.h | 2 ++ xen/arch/riscv/include/asm/traps.h | 2 ++ xen/arch/riscv/include/asm/types.h | 2 ++ xen/arch/riscv/mm.c | 2 ++ xen/arch/riscv/setup.c | 2 ++ 10 files changed, 20 insertions(+)