xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] coverage: GCC coverage libfdt Makefile fix
@ 2019-05-16 11:13 Viktor Mitin
  2019-05-16 11:13 ` [Xen-devel] " Viktor Mitin
  2019-05-16 11:26 ` Wei Liu
  0 siblings, 2 replies; 12+ messages in thread
From: Viktor Mitin @ 2019-05-16 11:13 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Stefano Stabellini, Wei Liu, Viktor Mitin

The patch resolves 'xencov' crashes in case of Aarch64.

All the .init.* sections are stripped after boot,
it means that anything in .init.data cannot be accessed anymore.
The build system explicitly compiles any .init binary without gcov option.
The problem is coming from libfdt.
The entire library is moved to .init using:
$(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
So we need to tell the top Makefile to filter out libfdt.

Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
---
 xen/common/libfdt/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
index d81f54b6b8..c075bbf546 100644
--- a/xen/common/libfdt/Makefile
+++ b/xen/common/libfdt/Makefile
@@ -3,6 +3,7 @@ include Makefile.libfdt
 SECTIONS := text data $(SPECIAL_DATA_SECTIONS)
 
 obj-y += libfdt.o
+nocov-y += libfdt.o
 
 CFLAGS += -I$(BASEDIR)/include/xen/libfdt/
 
-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Xen-devel] [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:13 [PATCH] coverage: GCC coverage libfdt Makefile fix Viktor Mitin
@ 2019-05-16 11:13 ` Viktor Mitin
  2019-05-16 11:26 ` Wei Liu
  1 sibling, 0 replies; 12+ messages in thread
From: Viktor Mitin @ 2019-05-16 11:13 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Stefano Stabellini, Wei Liu, Viktor Mitin

The patch resolves 'xencov' crashes in case of Aarch64.

All the .init.* sections are stripped after boot,
it means that anything in .init.data cannot be accessed anymore.
The build system explicitly compiles any .init binary without gcov option.
The problem is coming from libfdt.
The entire library is moved to .init using:
$(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
So we need to tell the top Makefile to filter out libfdt.

Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
---
 xen/common/libfdt/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
index d81f54b6b8..c075bbf546 100644
--- a/xen/common/libfdt/Makefile
+++ b/xen/common/libfdt/Makefile
@@ -3,6 +3,7 @@ include Makefile.libfdt
 SECTIONS := text data $(SPECIAL_DATA_SECTIONS)
 
 obj-y += libfdt.o
+nocov-y += libfdt.o
 
 CFLAGS += -I$(BASEDIR)/include/xen/libfdt/
 
-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:13 [PATCH] coverage: GCC coverage libfdt Makefile fix Viktor Mitin
  2019-05-16 11:13 ` [Xen-devel] " Viktor Mitin
@ 2019-05-16 11:26 ` Wei Liu
  2019-05-16 11:26   ` [Xen-devel] " Wei Liu
                     ` (2 more replies)
  1 sibling, 3 replies; 12+ messages in thread
From: Wei Liu @ 2019-05-16 11:26 UTC (permalink / raw)
  To: Viktor Mitin; +Cc: xen-devel, Julien Grall, Stefano Stabellini, Wei Liu

On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
> The patch resolves 'xencov' crashes in case of Aarch64.
> 
> All the .init.* sections are stripped after boot,
> it means that anything in .init.data cannot be accessed anymore.
> The build system explicitly compiles any .init binary without gcov option.
> The problem is coming from libfdt.
> The entire library is moved to .init using:
> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
> So we need to tell the top Makefile to filter out libfdt.
> 
> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> Signed-off-by: Julien Grall <julien.grall@arm.com>
> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>

Reviewed-by: Wei Liu <wei.liu2@citrix.com>

Although I would like to ask you to adjust the subject to be more
specific:

  coverage: filter out libfdt.o

if you agree, this can be done while committing.

Wei.


> ---
>  xen/common/libfdt/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
> index d81f54b6b8..c075bbf546 100644
> --- a/xen/common/libfdt/Makefile
> +++ b/xen/common/libfdt/Makefile
> @@ -3,6 +3,7 @@ include Makefile.libfdt
>  SECTIONS := text data $(SPECIAL_DATA_SECTIONS)
>  
>  obj-y += libfdt.o
> +nocov-y += libfdt.o
>  
>  CFLAGS += -I$(BASEDIR)/include/xen/libfdt/
>  
> -- 
> 2.17.1
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:26 ` Wei Liu
@ 2019-05-16 11:26   ` Wei Liu
  2019-05-16 11:30   ` Andrew Cooper
  2019-05-16 11:37   ` Julien Grall
  2 siblings, 0 replies; 12+ messages in thread
From: Wei Liu @ 2019-05-16 11:26 UTC (permalink / raw)
  To: Viktor Mitin; +Cc: xen-devel, Julien Grall, Stefano Stabellini, Wei Liu

On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
> The patch resolves 'xencov' crashes in case of Aarch64.
> 
> All the .init.* sections are stripped after boot,
> it means that anything in .init.data cannot be accessed anymore.
> The build system explicitly compiles any .init binary without gcov option.
> The problem is coming from libfdt.
> The entire library is moved to .init using:
> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
> So we need to tell the top Makefile to filter out libfdt.
> 
> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> Signed-off-by: Julien Grall <julien.grall@arm.com>
> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>

Reviewed-by: Wei Liu <wei.liu2@citrix.com>

Although I would like to ask you to adjust the subject to be more
specific:

  coverage: filter out libfdt.o

if you agree, this can be done while committing.

Wei.


> ---
>  xen/common/libfdt/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
> index d81f54b6b8..c075bbf546 100644
> --- a/xen/common/libfdt/Makefile
> +++ b/xen/common/libfdt/Makefile
> @@ -3,6 +3,7 @@ include Makefile.libfdt
>  SECTIONS := text data $(SPECIAL_DATA_SECTIONS)
>  
>  obj-y += libfdt.o
> +nocov-y += libfdt.o
>  
>  CFLAGS += -I$(BASEDIR)/include/xen/libfdt/
>  
> -- 
> 2.17.1
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:26 ` Wei Liu
  2019-05-16 11:26   ` [Xen-devel] " Wei Liu
@ 2019-05-16 11:30   ` Andrew Cooper
  2019-05-16 11:30     ` [Xen-devel] " Andrew Cooper
  2019-05-16 11:37   ` Julien Grall
  2 siblings, 1 reply; 12+ messages in thread
From: Andrew Cooper @ 2019-05-16 11:30 UTC (permalink / raw)
  To: Wei Liu, Viktor Mitin; +Cc: xen-devel, Julien Grall, Stefano Stabellini

On 16/05/2019 12:26, Wei Liu wrote:
> On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
>> The patch resolves 'xencov' crashes in case of Aarch64.
>>
>> All the .init.* sections are stripped after boot,
>> it means that anything in .init.data cannot be accessed anymore.
>> The build system explicitly compiles any .init binary without gcov option.
>> The problem is coming from libfdt.
>> The entire library is moved to .init using:
>> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
>> So we need to tell the top Makefile to filter out libfdt.
>>
>> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
>> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> Reviewed-by: Wei Liu <wei.liu2@citrix.com>
>
> Although I would like to ask you to adjust the subject to be more
> specific:
>
>   coverage: filter out libfdt.o
>
> if you agree, this can be done while committing.

+1

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:30   ` Andrew Cooper
@ 2019-05-16 11:30     ` Andrew Cooper
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Cooper @ 2019-05-16 11:30 UTC (permalink / raw)
  To: Wei Liu, Viktor Mitin; +Cc: xen-devel, Julien Grall, Stefano Stabellini

On 16/05/2019 12:26, Wei Liu wrote:
> On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
>> The patch resolves 'xencov' crashes in case of Aarch64.
>>
>> All the .init.* sections are stripped after boot,
>> it means that anything in .init.data cannot be accessed anymore.
>> The build system explicitly compiles any .init binary without gcov option.
>> The problem is coming from libfdt.
>> The entire library is moved to .init using:
>> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
>> So we need to tell the top Makefile to filter out libfdt.
>>
>> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
>> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> Reviewed-by: Wei Liu <wei.liu2@citrix.com>
>
> Although I would like to ask you to adjust the subject to be more
> specific:
>
>   coverage: filter out libfdt.o
>
> if you agree, this can be done while committing.

+1

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:26 ` Wei Liu
  2019-05-16 11:26   ` [Xen-devel] " Wei Liu
  2019-05-16 11:30   ` Andrew Cooper
@ 2019-05-16 11:37   ` Julien Grall
  2019-05-16 11:37     ` [Xen-devel] " Julien Grall
  2019-05-16 11:39     ` Wei Liu
  2 siblings, 2 replies; 12+ messages in thread
From: Julien Grall @ 2019-05-16 11:37 UTC (permalink / raw)
  To: Wei Liu, Viktor Mitin; +Cc: xen-devel, nd, Stefano Stabellini



On 16/05/2019 12:26, Wei Liu wrote:
> On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
>> The patch resolves 'xencov' crashes in case of Aarch64.
>>
>> All the .init.* sections are stripped after boot,
>> it means that anything in .init.data cannot be accessed anymore.
>> The build system explicitly compiles any .init binary without gcov option.
>> The problem is coming from libfdt.
>> The entire library is moved to .init using:
>> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
>> So we need to tell the top Makefile to filter out libfdt.
>>
>> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
>> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> 
> Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> 
> Although I would like to ask you to adjust the subject to be more
> specific:
> 
>    coverage: filter out libfdt.o
> 
> if you agree, this can be done while committing.

There are more than that the title to fix on commit. The Signed-off-by 
and does not match the From for instance.

I initially suggested the change, so Suggested-by would be more 
suitable. And then Viktor needs to add his signed-off-by.

Also, could we also fix libelf at the same time?

Cheers,

-- 
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:37   ` Julien Grall
@ 2019-05-16 11:37     ` Julien Grall
  2019-05-16 11:39     ` Wei Liu
  1 sibling, 0 replies; 12+ messages in thread
From: Julien Grall @ 2019-05-16 11:37 UTC (permalink / raw)
  To: Wei Liu, Viktor Mitin; +Cc: xen-devel, nd, Stefano Stabellini



On 16/05/2019 12:26, Wei Liu wrote:
> On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
>> The patch resolves 'xencov' crashes in case of Aarch64.
>>
>> All the .init.* sections are stripped after boot,
>> it means that anything in .init.data cannot be accessed anymore.
>> The build system explicitly compiles any .init binary without gcov option.
>> The problem is coming from libfdt.
>> The entire library is moved to .init using:
>> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
>> So we need to tell the top Makefile to filter out libfdt.
>>
>> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
>> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> 
> Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> 
> Although I would like to ask you to adjust the subject to be more
> specific:
> 
>    coverage: filter out libfdt.o
> 
> if you agree, this can be done while committing.

There are more than that the title to fix on commit. The Signed-off-by 
and does not match the From for instance.

I initially suggested the change, so Suggested-by would be more 
suitable. And then Viktor needs to add his signed-off-by.

Also, could we also fix libelf at the same time?

Cheers,

-- 
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:37   ` Julien Grall
  2019-05-16 11:37     ` [Xen-devel] " Julien Grall
@ 2019-05-16 11:39     ` Wei Liu
  2019-05-16 11:39       ` [Xen-devel] " Wei Liu
  2019-05-16 12:20       ` Viktor Mitin
  1 sibling, 2 replies; 12+ messages in thread
From: Wei Liu @ 2019-05-16 11:39 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, nd, Wei Liu, Stefano Stabellini, Viktor Mitin

On Thu, May 16, 2019 at 11:37:33AM +0000, Julien Grall wrote:
> 
> 
> On 16/05/2019 12:26, Wei Liu wrote:
> > On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
> >> The patch resolves 'xencov' crashes in case of Aarch64.
> >>
> >> All the .init.* sections are stripped after boot,
> >> it means that anything in .init.data cannot be accessed anymore.
> >> The build system explicitly compiles any .init binary without gcov option.
> >> The problem is coming from libfdt.
> >> The entire library is moved to .init using:
> >> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
> >> So we need to tell the top Makefile to filter out libfdt.
> >>
> >> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> >> Signed-off-by: Julien Grall <julien.grall@arm.com>
> >> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> > 
> > Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> > 
> > Although I would like to ask you to adjust the subject to be more
> > specific:
> > 
> >    coverage: filter out libfdt.o
> > 
> > if you agree, this can be done while committing.
> 
> There are more than that the title to fix on commit. The Signed-off-by 
> and does not match the From for instance.
> 
> I initially suggested the change, so Suggested-by would be more 
> suitable. And then Viktor needs to add his signed-off-by.
> 
> Also, could we also fix libelf at the same time?

+1. Viktor?

Wei.

> 
> Cheers,
> 
> -- 
> Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:39     ` Wei Liu
@ 2019-05-16 11:39       ` Wei Liu
  2019-05-16 12:20       ` Viktor Mitin
  1 sibling, 0 replies; 12+ messages in thread
From: Wei Liu @ 2019-05-16 11:39 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, nd, Wei Liu, Stefano Stabellini, Viktor Mitin

On Thu, May 16, 2019 at 11:37:33AM +0000, Julien Grall wrote:
> 
> 
> On 16/05/2019 12:26, Wei Liu wrote:
> > On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
> >> The patch resolves 'xencov' crashes in case of Aarch64.
> >>
> >> All the .init.* sections are stripped after boot,
> >> it means that anything in .init.data cannot be accessed anymore.
> >> The build system explicitly compiles any .init binary without gcov option.
> >> The problem is coming from libfdt.
> >> The entire library is moved to .init using:
> >> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
> >> So we need to tell the top Makefile to filter out libfdt.
> >>
> >> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> >> Signed-off-by: Julien Grall <julien.grall@arm.com>
> >> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> > 
> > Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> > 
> > Although I would like to ask you to adjust the subject to be more
> > specific:
> > 
> >    coverage: filter out libfdt.o
> > 
> > if you agree, this can be done while committing.
> 
> There are more than that the title to fix on commit. The Signed-off-by 
> and does not match the From for instance.
> 
> I initially suggested the change, so Suggested-by would be more 
> suitable. And then Viktor needs to add his signed-off-by.
> 
> Also, could we also fix libelf at the same time?

+1. Viktor?

Wei.

> 
> Cheers,
> 
> -- 
> Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 11:39     ` Wei Liu
  2019-05-16 11:39       ` [Xen-devel] " Wei Liu
@ 2019-05-16 12:20       ` Viktor Mitin
  2019-05-16 12:20         ` [Xen-devel] " Viktor Mitin
  1 sibling, 1 reply; 12+ messages in thread
From: Viktor Mitin @ 2019-05-16 12:20 UTC (permalink / raw)
  To: Wei Liu, Julien Grall, nd; +Cc: xen-devel, Stefano Stabellini

Hi All,

Thank you for replies. Will do all the mentioned updates and will send
patch v2 after retesting it on target board (with libelf Makefile
update).

Thanks

On Thu, May 16, 2019 at 2:40 PM Wei Liu <wei.liu2@citrix.com> wrote:
>
> On Thu, May 16, 2019 at 11:37:33AM +0000, Julien Grall wrote:
> >
> >
> > On 16/05/2019 12:26, Wei Liu wrote:
> > > On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
> > >> The patch resolves 'xencov' crashes in case of Aarch64.
> > >>
> > >> All the .init.* sections are stripped after boot,
> > >> it means that anything in .init.data cannot be accessed anymore.
> > >> The build system explicitly compiles any .init binary without gcov option.
> > >> The problem is coming from libfdt.
> > >> The entire library is moved to .init using:
> > >> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
> > >> So we need to tell the top Makefile to filter out libfdt.
> > >>
> > >> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> > >> Signed-off-by: Julien Grall <julien.grall@arm.com>
> > >> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> > >
> > > Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> > >
> > > Although I would like to ask you to adjust the subject to be more
> > > specific:
> > >
> > >    coverage: filter out libfdt.o
> > >
> > > if you agree, this can be done while committing.
> >
> > There are more than that the title to fix on commit. The Signed-off-by
> > and does not match the From for instance.
> >
> > I initially suggested the change, so Suggested-by would be more
> > suitable. And then Viktor needs to add his signed-off-by.
> >
> > Also, could we also fix libelf at the same time?
>
> +1. Viktor?
>
> Wei.
>
> >
> > Cheers,
> >
> > --
> > Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] coverage: GCC coverage libfdt Makefile fix
  2019-05-16 12:20       ` Viktor Mitin
@ 2019-05-16 12:20         ` Viktor Mitin
  0 siblings, 0 replies; 12+ messages in thread
From: Viktor Mitin @ 2019-05-16 12:20 UTC (permalink / raw)
  To: Wei Liu, Julien Grall, nd; +Cc: xen-devel, Stefano Stabellini

Hi All,

Thank you for replies. Will do all the mentioned updates and will send
patch v2 after retesting it on target board (with libelf Makefile
update).

Thanks

On Thu, May 16, 2019 at 2:40 PM Wei Liu <wei.liu2@citrix.com> wrote:
>
> On Thu, May 16, 2019 at 11:37:33AM +0000, Julien Grall wrote:
> >
> >
> > On 16/05/2019 12:26, Wei Liu wrote:
> > > On Thu, May 16, 2019 at 02:13:54PM +0300, Viktor Mitin wrote:
> > >> The patch resolves 'xencov' crashes in case of Aarch64.
> > >>
> > >> All the .init.* sections are stripped after boot,
> > >> it means that anything in .init.data cannot be accessed anymore.
> > >> The build system explicitly compiles any .init binary without gcov option.
> > >> The problem is coming from libfdt.
> > >> The entire library is moved to .init using:
> > >> $(OBJCOPY) $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s)) $< $@
> > >> So we need to tell the top Makefile to filter out libfdt.
> > >>
> > >> Reported-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> > >> Signed-off-by: Julien Grall <julien.grall@arm.com>
> > >> Tested-by: Viktor Mitin <viktor.mitin.19@gmail.com>
> > >
> > > Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> > >
> > > Although I would like to ask you to adjust the subject to be more
> > > specific:
> > >
> > >    coverage: filter out libfdt.o
> > >
> > > if you agree, this can be done while committing.
> >
> > There are more than that the title to fix on commit. The Signed-off-by
> > and does not match the From for instance.
> >
> > I initially suggested the change, so Suggested-by would be more
> > suitable. And then Viktor needs to add his signed-off-by.
> >
> > Also, could we also fix libelf at the same time?
>
> +1. Viktor?
>
> Wei.
>
> >
> > Cheers,
> >
> > --
> > Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-05-16 12:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 11:13 [PATCH] coverage: GCC coverage libfdt Makefile fix Viktor Mitin
2019-05-16 11:13 ` [Xen-devel] " Viktor Mitin
2019-05-16 11:26 ` Wei Liu
2019-05-16 11:26   ` [Xen-devel] " Wei Liu
2019-05-16 11:30   ` Andrew Cooper
2019-05-16 11:30     ` [Xen-devel] " Andrew Cooper
2019-05-16 11:37   ` Julien Grall
2019-05-16 11:37     ` [Xen-devel] " Julien Grall
2019-05-16 11:39     ` Wei Liu
2019-05-16 11:39       ` [Xen-devel] " Wei Liu
2019-05-16 12:20       ` Viktor Mitin
2019-05-16 12:20         ` [Xen-devel] " Viktor Mitin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).