lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230227091857.2406-1-longpeng2@huawei.com>
Date:   Mon, 27 Feb 2023 17:18:55 +0800
From:   "Longpeng(Mike)" <longpeng2@...wei.com>
To:     <mst@...hat.com>, <jasowang@...hat.com>
CC:     <stefanha@...hat.com>, <sgarzare@...hat.com>,
        <arei.gonglei@...wei.com>, <yechuan@...wei.com>,
        <huangzhichao@...wei.com>,
        <virtualization@...ts.linux-foundation.org>,
        <linux-kernel@...r.kernel.org>, <eperezma@...hat.com>,
        Longpeng <longpeng2@...wei.com>
Subject: [PATCH v4 0/2] vdpasim: support doorbell mapping

From: Longpeng <longpeng2@...wei.com>

This patchset supports doorbell mapping for vdpasim devices.

v3: https://lore.kernel.org/lkml/20230213070446-mutt-send-email-mst@kernel.org/T/
v2: https://lore.kernel.org/lkml/CACGkMEtdT5fG=ffbpQadkGmzHf6Ax-+L50LsriYqJaW++natMg@mail.gmail.com/T/

Changes v3->v4:
    - use WRITE_ONCE  [Jason]
    - start/stop periodic work when create/destroy vdpasim device  [Jason]

Changes v2->v3:
    - add a new callback named get_vq_notification_pgprot to vdpa_config_ops [Jason]
    - remove the new added module parameter 'parameter' [Jason]
    - opencode the schedule/cancel_delayed() [Jason]

Changes v1->v2:
    - support both kick mode and passthrough mode. [Jason]
    - poll the notify register first. [Jason, Michael]

Longpeng (2):
  vdpa: support specify the pgprot of vq notification area
  vdpasim: support doorbell mapping

 drivers/vdpa/vdpa_sim/vdpa_sim.c | 67 ++++++++++++++++++++++++++++++++
 drivers/vdpa/vdpa_sim/vdpa_sim.h |  3 ++
 drivers/vhost/vdpa.c             |  4 +-
 include/linux/vdpa.h             |  9 +++++
 4 files changed, 82 insertions(+), 1 deletion(-)

-- 
2.23.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ