Message ID | 20220516104140.1047229-8-ascull@google.com |
---|---|
State | Accepted |
Commit | 82c8610a44c6d4d38b90246f6893cb8e7b911e0c |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=gWiixWzN; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L1wpV5nfSz9s75 for <incoming@patchwork.ozlabs.org>; Mon, 16 May 2022 20:43:46 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF0288424A; Mon, 16 May 2022 12:42:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="gWiixWzN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1887884266; Mon, 16 May 2022 12:42:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x349.google.com (mail-wm1-x349.google.com [IPv6:2a00:1450:4864:20::349]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CCACD841EC for <u-boot@lists.denx.de>; Mon, 16 May 2022 12:42:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3fiqCYgYKBvUXpZriidlldib.Zljr-Yllqifpqp.abku.ab@flex--ascull.bounces.google.com Received: by mail-wm1-x349.google.com with SMTP id l38-20020a05600c1d2600b00395cf292797so3397265wms.3 for <u-boot@lists.denx.de>; Mon, 16 May 2022 03:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=q/JsNrugLsoEapTD/cgVh1bUE1+kyShw/ikhlCFf0Y8=; b=gWiixWzNgAatD03UjLwc3iLrqj53uh+3gkFSctRTQ6ngjHxuLpn1y74kzc5+osbpus glGYgYJ4/Sdf678Yn47RtF9upo8MG9Df+50qXwjZPY9opjKncC+LXTbHmA+9yqa7DENW qUclNbG9lf0yGy1wM8xmxQPhSUGkmhlIQ8GPG1XsNJFNnpUdv+RhpJIwJn6guBfRfkKz yJnBCu0Sp8rBLfQZ12FYNolO7J4b8JVjxeFAW6/XTyeHlD/QvRlGf2wpQSy1bDv5Lqqx +LO/GNZrJQw7ftNYY+RTPmFWkmoz4I6LpO7V4BnZrmhGknaDsVMMB2YiqCYrcHyK5LCZ Nxfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=q/JsNrugLsoEapTD/cgVh1bUE1+kyShw/ikhlCFf0Y8=; b=VaXhzvo9RCagqGOEQUlW7znqoMSZqu1E/irIzHWJ36g+fulKdH8U6IA0GIik8NtIto GTMATUr4Nfd97V42g4MTkBq+lEDEgGTnwcs9TpRZvsRCh+xgsBtu6J+rXHTMsxjhkzte RiZ0+7x9nYjwYnfVuplK2C5ADFXN9KEsNwCaJ4uOWHJZYpwXygGjHHYxw7ZhGURZvNOi BeESb6gJA7DPwKDa/3P+9FJ27F+OLy0Dd2OeLqLZromxd9DwHTyJA2wWEMsvELhJIeLq Hc2Kewt3DAjlN27qFwbIEWrb1aiVHATe5CUuI5hfMxnJn1ck/Fpbj487CMi639b0ihcK SOPg== X-Gm-Message-State: AOAM533JeNdNR63Q8FrIOFs8Hac5OOXriUFQ4I3YjjHBS9IyXe3YzLrF IMknQtjQAPqjk0nVNUG1d5ntmrSP1MKxvMQWNlqA7zebIBHx1Adr8dIAeHG4X9+Umg7LF5SXlTK zu3x8bANNZ0nAIuKBsyCyfrK/mCUKXohHIc0ZMDuCxoQy54FgCKSWRdeXGRY= X-Google-Smtp-Source: ABdhPJwxtwSCsKtlecx98T6kkig79WOmx85V/TlTpibPEdGi/Azp0p1ooJwUXyzU66SsM7nH4updCfpDBPQ= X-Received: from ascull.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:1510]) (user=ascull job=sendgmr) by 2002:a1c:35c7:0:b0:38e:4c59:6788 with SMTP id c190-20020a1c35c7000000b0038e4c596788mr823007wma.1.1652697726786; Mon, 16 May 2022 03:42:06 -0700 (PDT) Date: Mon, 16 May 2022 10:41:35 +0000 In-Reply-To: <20220516104140.1047229-1-ascull@google.com> Message-Id: <20220516104140.1047229-8-ascull@google.com> Mime-Version: 1.0 References: <20220516104140.1047229-1-ascull@google.com> X-Mailer: git-send-email 2.36.0.550.gb090851708-goog Subject: [PATCH v3 07/12] test: dm: virtio: Test notify before del_vqs From: Andrew Scull <ascull@google.com> To: u-boot@lists.denx.de Cc: sjg@chromium.org, trini@konsulko.com, bmeng.cn@gmail.com, Andrew Scull <ascull@google.com> Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean |
Series |
virtio: Harden and test vring
|
expand
|
diff --git a/test/dm/virtio.c b/test/dm/virtio.c index aa4e3d778e..ff1dea323c 100644 --- a/test/dm/virtio.c +++ b/test/dm/virtio.c @@ -80,8 +80,8 @@ static int dm_test_virtio_all_ops(struct unit_test_state *uts) ut_asserteq_64(BIT_ULL(VIRTIO_F_VERSION_1), features); ut_assertok(virtio_set_features(dev)); ut_assertok(virtio_find_vqs(dev, nvqs, vqs)); - ut_assertok(virtio_del_vqs(dev)); ut_assertok(virtio_notify(dev, vqs[0])); + ut_assertok(virtio_del_vqs(dev)); return 0; }