lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 3 Aug 2021 17:38:34 +0800
From:   Yongji Xie <>
To:     Jason Wang <>
Cc:     "Michael S. Tsirkin" <>,
        Stefan Hajnoczi <>,
        Stefano Garzarella <>,
        Parav Pandit <>,
        Christoph Hellwig <>,
        Christian Brauner <>,
        Randy Dunlap <>,
        Matthew Wilcox <>,
        Al Viro <>,
        Jens Axboe <>,,
        Jonathan Corbet <>,
        Mika Penttilä <>,
        Dan Carpenter <>,,
        Greg KH <>,
        He Zhe <>,
        Liu Xiaodong <>,
        Joe Perches <>,,
        virtualization <>,, kvm <>,,,
        linux-kernel <>
Subject: Re: [PATCH v10 10/17] virtio: Handle device reset failure in register_virtio_device()

On Tue, Aug 3, 2021 at 4:09 PM Jason Wang <> wrote:
> 在 2021/7/29 下午3:34, Xie Yongji 写道:
> > The device reset may fail in virtio-vdpa case now, so add checks to
> > its return value and fail the register_virtio_device().
> So the reset() would be called by the driver during remove as well, or
> is it sufficient to deal only with the reset during probe?

Actually there is no way to handle failure during removal. And it
should be safe with the protection of software IOTLB even if the
reset() fails.


Powered by blists - more mailing lists