[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v1 04/14] xen/riscv: add <asm/csr.h> header
On Mon, 2023-01-23 at 14:57 +0100, Jan Beulich wrote: > On 20.01.2023 15:59, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/arch/riscv/include/asm/csr.h > > @@ -0,0 +1,82 @@ > > +/* > > + * Take from Linux. > > This again means you want an Origin: tag. Whether the comment itself > is > useful depends on how much customization you expect there to be down > the road. But wait - the header here is quite dissimilar from > Linux'es, > so the description wants to go into further detail. That would then > want > to include why 5 of the 7 functions are actually commented out at > this > point. > I forgot two remove them. They were commented as they aren't used now. But probably there is a sense to add them from the start. I am curious if "Take from Linux" is needed at all? Should it be described what was removed from the original header [1] ? [1] https://elixir.bootlin.com/linux/latest/source/arch/riscv/include/asm/csr.h > Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |