[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/arm: extend fdt_property_interrupts


  • To: Viktor Mitin <viktor.mitin.19@xxxxxxxxx>
  • From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Date: Fri, 26 Jul 2019 13:24:18 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=epam.com;dmarc=pass action=none header.from=epam.com;dkim=pass header.d=epam.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PkQCwrE26Z1FbdXwfgvn9GDTEGUAKu2PK3Q6omL//Ow=; b=YG8WAvH4yd1pnUafoby++flNdS4bRwpEvqKBjTMSs6sb3rtB2h4ESJBq2mOHuBPaJgNMAF1mub5IyL5bGB9hpMJgnHeA+m6/RO21Gl0sh64xzCDWbvkzITDV1fT5U98QwqtHXCHGl2jVlaLn22g6+vVjqB6yzGPptvHrCaUuqhEaowI+/1OtNW8UYsutqCo84ekokWW+qwDLLvLcg7M0LN0sq36f+t4Mx3MxxmIQiuQc8NLs3adY48CGovHwFgeDnb2Qr/Sj/FuHYz/+hRydtR4LuU8xTHin92x41letfQZsYz1lkhy7k07ghn3GpTXFO0XDDcHUzm7CwVf94auG4g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EyyblccjY0YNYmkoGPaB46O3ui/giw79htpR5Vxd0p415GDMKsn5esMA2Ok2sn2C7mba4KEa6sI+vKgr8hw4FFxw17ptrLiqXlcSyUCinVJHQ5cjIjWmhiO2JQ/mARShAFq46NTKA1PaVZazCW++bqQPPGqMlzR0Ti3eanBoIDFmhYSLWkKtnS7Po4DvtXg8oyR0Dl0DiisvvZXjLHO/RtIVrfnrd67BQSSyX3xBa+/cZUZdfRw/dxozTkC50X3G6KY//BgVGKqDEQmwEDF6IyN+EBeBXoMvitNNSpX+99WbleYI+bo03qOJWGQLIi8fq5UfCGoPeJzsNmzEnyTNiQ==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Volodymyr_Babchuk@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Viktor Mitin <Viktor_Mitin@xxxxxxxx>
  • Delivery-date: Fri, 26 Jul 2019 13:24:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQ5DIG4Wp10DIaUKStsgLLIvpgKbcy2UAgAAN54CAAAptAA==
  • Thread-topic: [PATCH] xen/arm: extend fdt_property_interrupts

Viktor Mitin writes:

> Hi Volodymyr,
>
> On Fri, Jul 26, 2019 at 2:57 PM Volodymyr Babchuk
> <Volodymyr_Babchuk@xxxxxxxx> wrote:
>>
>>
>> Hello Vikor,
>>
>> Viktor Mitin writes:
>>
>> > xen/arm: extend fdt_property_interrupts to deal with other
>> > domain than the hwdom
>>
>> It is unclear what problem you are facing. Could you please elaborate
>> commit message?
>
> Original goal is to merge make_timer_node and make_timer_domU_node functions.
> For background discussion please see discussion in mail (also
> mentioned in the patch):
> [PATCH] xen/arm: merge make_timer_node and make_timer_domU_node
> https://lists.xenproject.org/archives/html/xen-devel/2019-07/msg00914.html
This is mentioned below the tearline and newer will be included in the
git history. Here is the rules:

 Write a good description for each patch:

 - The first line the top of the patch should contain a short
   description of what the patch does, and hints as to what code it
   touches

 - The description should be useful for both the reviewers and people in
   the future trying to understand what the patch does. It can be as
   short as Code cleanup -- no functional changes, or as long as it
   takes to accurately describe the bug you are trying to solve or the
   new functionality you are introducing.

It is hard to say what you are trying to solve with this change.

I can't review functional changes in your patch, because I don't
understand what you are trying to achieve.


>> Also, looks like your commit message is formatted incorrectly.
>>
> Please see below.
I was talking about commit message. I'm seeing "xen/arm:" tag both in
the subject and in the e-mail body.

>> > Tested with aarch64 qemu dom0 and dom0less boot.
>> >
>> > Suggested-by: Julien Grall <julien.grall@xxxxxxx>
>> > Signed-off-by: Viktor Mitin <viktor_mitin@xxxxxxxx>
>> >
>> > ---
>> > See discussion in mail:
>> > [PATCH] xen/arm: merge make_timer_node and make_timer_domU_node
>> >
>> >
>> >  xen/arch/arm/domain_build.c | 22 +++++++++++++---------
>> >  1 file changed, 13 insertions(+), 9 deletions(-)
>> >
>> > diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
>> > index 4c8404155a..5f68603392 100644
>> > --- a/xen/arch/arm/domain_build.c
>> > +++ b/xen/arch/arm/domain_build.c
>> > @@ -621,17 +621,19 @@ static void __init set_interrupt(gic_interrupt_t 
>> > interrupt,
>> >   *  "interrupts": contains the list of interrupts
>> >   *  "interrupt-parent": link to the GIC
>> >   */
>> > -static int __init fdt_property_interrupts(void *fdt, gic_interrupt_t 
>> > *intr,
>> > -                                          unsigned num_irq)
>> > +static int __init fdt_property_interrupts(const struct kernel_info *kinfo,
>> > +                            gic_interrupt_t *intr, unsigned num_irq)
>> Wrong indentation there.
>
> Such cases are not defined in the Coding Style document explicitly.
> See my clang-format coding style mail.
Yes, this is one of that rules that actually is not documented, but is
widely enforced.

--
Volodymyr Babchuk at EPAM
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.