linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken
@ 2022-06-30 19:16 Michael S. Tsirkin
  2022-07-01  1:07 ` Jason Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2022-06-30 19:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jason Wang, Cornelia Huck, virtualization

This option doesn't really work and breaks too many drivers.
Not yet sure what's the right thing to do, for now
let's make sure randconfig isn't broken by this.

Fixes: c346dae4f3fb ("virtio: disable notification hardening by default")
Cc: "Jason Wang" <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 drivers/virtio/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index e1556d2a355a..afb9051e0125 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -31,11 +31,12 @@ if VIRTIO_MENU
 
 config VIRTIO_HARDEN_NOTIFICATION
         bool "Harden virtio notification"
+        depends on BROKEN
         help
           Enable this to harden the device notifications and suppress
           those that happen at a time where notifications are illegal.
 
-          Experimental: Note that several drivers still have bugs that
+          Experimental: Note that several drivers still have issues that
           may cause crashes or hangs when correct handling of
           notifications is enforced; depending on the subset of
           drivers and devices you use, this may or may not work.
-- 
MST


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

* Re: [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken
  2022-06-30 19:16 [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken Michael S. Tsirkin
@ 2022-07-01  1:07 ` Jason Wang
  2022-07-01  7:11 ` Cornelia Huck
  2022-07-20 11:16 ` Thorsten Leemhuis
  2 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2022-07-01  1:07 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: linux-kernel, Cornelia Huck, virtualization

On Fri, Jul 1, 2022 at 3:16 AM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> This option doesn't really work and breaks too many drivers.
> Not yet sure what's the right thing to do, for now
> let's make sure randconfig isn't broken by this.
>
> Fixes: c346dae4f3fb ("virtio: disable notification hardening by default")
> Cc: "Jason Wang" <jasowang@redhat.com>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Acked-by: Jason Wang <jasowang@redhat.com>

> ---
>  drivers/virtio/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index e1556d2a355a..afb9051e0125 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -31,11 +31,12 @@ if VIRTIO_MENU
>
>  config VIRTIO_HARDEN_NOTIFICATION
>          bool "Harden virtio notification"
> +        depends on BROKEN
>          help
>            Enable this to harden the device notifications and suppress
>            those that happen at a time where notifications are illegal.
>
> -          Experimental: Note that several drivers still have bugs that
> +          Experimental: Note that several drivers still have issues that
>            may cause crashes or hangs when correct handling of
>            notifications is enforced; depending on the subset of
>            drivers and devices you use, this may or may not work.
> --
> MST
>


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

* Re: [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken
  2022-06-30 19:16 [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken Michael S. Tsirkin
  2022-07-01  1:07 ` Jason Wang
@ 2022-07-01  7:11 ` Cornelia Huck
  2022-07-20 11:16 ` Thorsten Leemhuis
  2 siblings, 0 replies; 4+ messages in thread
From: Cornelia Huck @ 2022-07-01  7:11 UTC (permalink / raw)
  To: Michael S. Tsirkin, linux-kernel; +Cc: Jason Wang, virtualization

On Thu, Jun 30 2022, "Michael S. Tsirkin" <mst@redhat.com> wrote:

> This option doesn't really work and breaks too many drivers.
> Not yet sure what's the right thing to do, for now
> let's make sure randconfig isn't broken by this.
>
> Fixes: c346dae4f3fb ("virtio: disable notification hardening by default")
> Cc: "Jason Wang" <jasowang@redhat.com>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  drivers/virtio/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>


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

* Re: [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken
  2022-06-30 19:16 [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken Michael S. Tsirkin
  2022-07-01  1:07 ` Jason Wang
  2022-07-01  7:11 ` Cornelia Huck
@ 2022-07-20 11:16 ` Thorsten Leemhuis
  2 siblings, 0 replies; 4+ messages in thread
From: Thorsten Leemhuis @ 2022-07-20 11:16 UTC (permalink / raw)
  To: Michael S. Tsirkin, linux-kernel
  Cc: Jason Wang, Cornelia Huck, virtualization

Hi, this is your Linux kernel regression tracker.

On 30.06.22 21:16, Michael S. Tsirkin wrote:
> This option doesn't really work and breaks too many drivers.
> Not yet sure what's the right thing to do, for now
> let's make sure randconfig isn't broken by this.
> 
> Fixes: c346dae4f3fb ("virtio: disable notification hardening by default")
> Cc: "Jason Wang" <jasowang@redhat.com>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  drivers/virtio/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index e1556d2a355a..afb9051e0125 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -31,11 +31,12 @@ if VIRTIO_MENU
>  
>  config VIRTIO_HARDEN_NOTIFICATION
>          bool "Harden virtio notification"
> +        depends on BROKEN
> [...]

Michael, just wondering: together with c346dae4f3fb this patch afaics
fixes a 5.19 regression I've been tracking. It's now for 10 days in
next, but not yet mainlined. Is that intentional or do you still plan to
submit it in this cycle?

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I deal with a lot of
reports and sometimes miss something important when writing mails like
this. If that's the case here, don't hesitate to tell me in a public
reply, it's in everyone's interest to set the public record straight.

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

end of thread, other threads:[~2022-07-20 11:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30 19:16 [PATCH] virtio: VIRTIO_HARDEN_NOTIFICATION is broken Michael S. Tsirkin
2022-07-01  1:07 ` Jason Wang
2022-07-01  7:11 ` Cornelia Huck
2022-07-20 11:16 ` Thorsten Leemhuis

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).