All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/char: Fix build when CET-IBT is enabled
@ 2022-09-26 11:05 Andrew Cooper
  2022-09-26 11:14 ` [For 4.17] " Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andrew Cooper @ 2022-09-26 11:05 UTC (permalink / raw)
  To: Xen-devel
  Cc: Andrew Cooper, Jan Beulich, Marek Marczykowski-Górecki, Henry Wang

https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Fixes: 022e40edd4dc ("drivers/char: allow using both dbgp=xhci and dbgp=ehci")
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
CC: Henry Wang <Henry.Wang@arm.com>
---
 xen/drivers/char/ehci-dbgp.c | 2 +-
 xen/drivers/char/xhci-dbc.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/drivers/char/ehci-dbgp.c b/xen/drivers/char/ehci-dbgp.c
index 8a0b95850609..bb9d3198d9f2 100644
--- a/xen/drivers/char/ehci-dbgp.c
+++ b/xen/drivers/char/ehci-dbgp.c
@@ -1465,7 +1465,7 @@ static struct ehci_dbgp ehci_dbgp = { .state = dbgp_unsafe, .phys_port = 1 };
 
 static char __initdata opt_dbgp[30];
 
-static int __init parse_ehci_dbgp(const char *opt)
+static int __init cf_check parse_ehci_dbgp(const char *opt)
 {
     if ( strncmp(opt, "ehci", 4) )
         return 0;
diff --git a/xen/drivers/char/xhci-dbc.c b/xen/drivers/char/xhci-dbc.c
index 5f92234a9594..43ed64a004e2 100644
--- a/xen/drivers/char/xhci-dbc.c
+++ b/xen/drivers/char/xhci-dbc.c
@@ -1282,7 +1282,7 @@ struct dbc_dma_bufs {
 static struct dbc_dma_bufs __section(".bss.page_aligned") __aligned(PAGE_SIZE)
     dbc_dma_bufs;
 
-static int __init xhci_parse_dbgp(const char *opt_dbgp)
+static int __init cf_check xhci_parse_dbgp(const char *opt_dbgp)
 {
     struct dbc_uart *uart = &dbc_uart;
     struct dbc *dbc = &uart->dbc;
-- 
2.11.0



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

* [For 4.17] Re: [PATCH] drivers/char: Fix build when CET-IBT is enabled
  2022-09-26 11:05 [PATCH] drivers/char: Fix build when CET-IBT is enabled Andrew Cooper
@ 2022-09-26 11:14 ` Andrew Cooper
  2022-09-26 12:09 ` Luca Fancellu
  2022-09-26 12:22 ` Jan Beulich
  2 siblings, 0 replies; 7+ messages in thread
From: Andrew Cooper @ 2022-09-26 11:14 UTC (permalink / raw)
  To: Xen-devel; +Cc: Jan Beulich, Marek Marczykowski-Górecki, Henry Wang

On 26/09/2022 12:05, Andrew Cooper wrote:
> https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> Fixes: 022e40edd4dc ("drivers/char: allow using both dbgp=xhci and dbgp=ehci")
> ---
> CC: Jan Beulich <JBeulich@suse.com>
> CC: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
> CC: Henry Wang <Henry.Wang@arm.com>

Sorry - forgot to tag For-4.17 in the subject.

~Andrew

> ---
>  xen/drivers/char/ehci-dbgp.c | 2 +-
>  xen/drivers/char/xhci-dbc.c  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/xen/drivers/char/ehci-dbgp.c b/xen/drivers/char/ehci-dbgp.c
> index 8a0b95850609..bb9d3198d9f2 100644
> --- a/xen/drivers/char/ehci-dbgp.c
> +++ b/xen/drivers/char/ehci-dbgp.c
> @@ -1465,7 +1465,7 @@ static struct ehci_dbgp ehci_dbgp = { .state = dbgp_unsafe, .phys_port = 1 };
>  
>  static char __initdata opt_dbgp[30];
>  
> -static int __init parse_ehci_dbgp(const char *opt)
> +static int __init cf_check parse_ehci_dbgp(const char *opt)
>  {
>      if ( strncmp(opt, "ehci", 4) )
>          return 0;
> diff --git a/xen/drivers/char/xhci-dbc.c b/xen/drivers/char/xhci-dbc.c
> index 5f92234a9594..43ed64a004e2 100644
> --- a/xen/drivers/char/xhci-dbc.c
> +++ b/xen/drivers/char/xhci-dbc.c
> @@ -1282,7 +1282,7 @@ struct dbc_dma_bufs {
>  static struct dbc_dma_bufs __section(".bss.page_aligned") __aligned(PAGE_SIZE)
>      dbc_dma_bufs;
>  
> -static int __init xhci_parse_dbgp(const char *opt_dbgp)
> +static int __init cf_check xhci_parse_dbgp(const char *opt_dbgp)
>  {
>      struct dbc_uart *uart = &dbc_uart;
>      struct dbc *dbc = &uart->dbc;


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

* Re: [PATCH] drivers/char: Fix build when CET-IBT is enabled
  2022-09-26 11:05 [PATCH] drivers/char: Fix build when CET-IBT is enabled Andrew Cooper
  2022-09-26 11:14 ` [For 4.17] " Andrew Cooper
@ 2022-09-26 12:09 ` Luca Fancellu
  2022-09-26 15:07   ` Andrew Cooper
  2022-09-26 12:22 ` Jan Beulich
  2 siblings, 1 reply; 7+ messages in thread
From: Luca Fancellu @ 2022-09-26 12:09 UTC (permalink / raw)
  To: Andrew Cooper
  Cc: Xen-devel, Jan Beulich, Marek Marczykowski-Górecki, Henry Wang



> On 26 Sep 2022, at 12:05, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
> 
> https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763

Is this link permanent? Otherwise I think we should put just the reason of failure
as commit message.

Cheers,
Luca



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

* Re: [PATCH] drivers/char: Fix build when CET-IBT is enabled
  2022-09-26 11:05 [PATCH] drivers/char: Fix build when CET-IBT is enabled Andrew Cooper
  2022-09-26 11:14 ` [For 4.17] " Andrew Cooper
  2022-09-26 12:09 ` Luca Fancellu
@ 2022-09-26 12:22 ` Jan Beulich
  2022-09-26 15:03   ` Andrew Cooper
  2 siblings, 1 reply; 7+ messages in thread
From: Jan Beulich @ 2022-09-26 12:22 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: Marek Marczykowski-Górecki, Henry Wang, Xen-devel

On 26.09.2022 13:05, Andrew Cooper wrote:
> https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> Fixes: 022e40edd4dc ("drivers/char: allow using both dbgp=xhci and dbgp=ehci")

Reviewed-by: Jan Beulich <jbeulich@suse.com>

I'm sorry for having missed this during review - we were well aware this
is likely to be happening (and I'm quite certain it'll happen again).
Any news on the status of the compiler side patch?

Jan



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

* Re: [PATCH] drivers/char: Fix build when CET-IBT is enabled
  2022-09-26 12:22 ` Jan Beulich
@ 2022-09-26 15:03   ` Andrew Cooper
  2022-09-27  1:45     ` Henry Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Cooper @ 2022-09-26 15:03 UTC (permalink / raw)
  To: Jan Beulich; +Cc: Marek Marczykowski-Górecki, Henry Wang, Xen-devel

On 26/09/2022 13:22, Jan Beulich wrote:
> On 26.09.2022 13:05, Andrew Cooper wrote:
>> https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763
>>
>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
>> Fixes: 022e40edd4dc ("drivers/char: allow using both dbgp=xhci and dbgp=ehci")
> Reviewed-by: Jan Beulich <jbeulich@suse.com>

Thanks.

>
> I'm sorry for having missed this during review - we were well aware this
> is likely to be happening (and I'm quite certain it'll happen again).
> Any news on the status of the compiler side patch?

Nothing yet.  There are other more urgent fixes, and outstanding issues
with this one (has false negatives through function pointer casts), and
all bounded by no time.

~Andrew

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

* Re: [PATCH] drivers/char: Fix build when CET-IBT is enabled
  2022-09-26 12:09 ` Luca Fancellu
@ 2022-09-26 15:07   ` Andrew Cooper
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Cooper @ 2022-09-26 15:07 UTC (permalink / raw)
  To: Luca Fancellu
  Cc: Xen-devel, Jan Beulich, Marek Marczykowski-Górecki, Henry Wang

On 26/09/2022 13:09, Luca Fancellu wrote:
>
>> On 26 Sep 2022, at 12:05, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>>
>> https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763
> Is this link permanent? Otherwise I think we should put just the reason of failure
> as commit message.

The link is stable, yes.

~Andrew

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

* RE: [PATCH] drivers/char: Fix build when CET-IBT is enabled
  2022-09-26 15:03   ` Andrew Cooper
@ 2022-09-27  1:45     ` Henry Wang
  0 siblings, 0 replies; 7+ messages in thread
From: Henry Wang @ 2022-09-27  1:45 UTC (permalink / raw)
  To: Andrew Cooper, Jan Beulich; +Cc: Marek Marczykowski-Górecki, Xen-devel

Hi Jan and Andrew,

> -----Original Message-----
> From: Andrew Cooper <Andrew.Cooper3@citrix.com>
> Subject: Re: [PATCH] drivers/char: Fix build when CET-IBT is enabled
> 
> On 26/09/2022 13:22, Jan Beulich wrote:
> > On 26.09.2022 13:05, Andrew Cooper wrote:
> >> https://gitlab.com/xen-project/xen/-/jobs/3083068950#L1763
> >>
> >> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> >> Fixes: 022e40edd4dc ("drivers/char: allow using both dbgp=xhci and
> dbgp=ehci")
> > Reviewed-by: Jan Beulich <jbeulich@suse.com>
> 
> Thanks.

I think this patch should definitely be merged in 4.17, do you agree?

Anyway, in case the release ack tag is needed:
Release-acked-by: Henry Wang <Henry.Wang@arm.com>

Kind regards,
Henry

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

end of thread, other threads:[~2022-09-27  1:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 11:05 [PATCH] drivers/char: Fix build when CET-IBT is enabled Andrew Cooper
2022-09-26 11:14 ` [For 4.17] " Andrew Cooper
2022-09-26 12:09 ` Luca Fancellu
2022-09-26 15:07   ` Andrew Cooper
2022-09-26 12:22 ` Jan Beulich
2022-09-26 15:03   ` Andrew Cooper
2022-09-27  1:45     ` Henry Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.