Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5483825ybl; Tue, 27 Aug 2019 05:31:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9QSpsxlEtkOoJUUeebddmGUiWeGAvdV5ivo7w9xIVNWcVFhhTE0ObCLfFXOdLm//LcTX5 X-Received: by 2002:a17:90a:2841:: with SMTP id p1mr25533478pjf.101.1566909098379; Tue, 27 Aug 2019 05:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566909098; cv=none; d=google.com; s=arc-20160816; b=FvEBQj0EZZ2UwFY6wGjDyPRfN7rQI/tPimpyH14HAp6EaZk3GSI6/aNumem2Kd2DWD Du9Xgt/mcStK6Ecry6wrYo+CWGH83EBek1R8vqOCy6cMbt8zIY6KeOkKDlguApQABZ6R FGoFE0/lD3aWWbKZkvjtO/RGskrt+KUtHlQDLZvB6Ujs00sojmXwS4j+3YJSuScwTsDT RRNDFZ7t93W1N0f30KZijM8fL3Af4B8FAyld+ZbOTRRMqqrCmqKE3BKkXFEASryPgqAE y/Rj52stOXRH6Ojf1TaI/+pAG52DILnXzl2pe3U8FdyG+Y5IEd6RkjoprTFlk+qKRze/ vhSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version; bh=aQgUrji3JLkWxgHqWnOkvsVYptayYJD4EEVcvouCxbo=; b=nY3GTdecECXaTK0+8XmQ23CRa77NsrqS/7YYh8pyoR6otwPU5uRE9ak2loM8K7veZ4 434/iUBW6bP8R8WKSe/IKXu+U4sSZKgAThDT5jZsT4QaKfZf/vKdMvSdvNDZxi27xLpE 4n8i+Rh1x9yXuBwUdQyun5jpCE2Nx7r46410rohaviRZb0kyLoE9eItt4Js6vgFk9l/M OmIa6CB5t7rPRWJR6dN6YcsbGlPCkGvZV1VEbdJ18Hk/PAeLE52esTsy1LlW85Q1qXz9 6O9ejeK3Vh3iJacdgfGaiLSA6RdWj/2uu/4I8iWl+G6IkUtEj++mSdhwOtIqw9XVRmHi LvsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si2436600pjs.72.2019.08.27.05.31.20; Tue, 27 Aug 2019 05:31:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729353AbfH0MaR (ORCPT + 99 others); Tue, 27 Aug 2019 08:30:17 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]:35179 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfH0MaR (ORCPT ); Tue, 27 Aug 2019 08:30:17 -0400 Received: by mail-ot1-f48.google.com with SMTP id 100so7681607otn.2; Tue, 27 Aug 2019 05:30:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=aQgUrji3JLkWxgHqWnOkvsVYptayYJD4EEVcvouCxbo=; b=Zl/FXfOrb6F4m/6ElfLObflx9UxbIxCoFeOjmlT7xuTvJBxED6U7auJakymz7hCRP5 mTMor/1ZqX9seccYMUVpfzmBMBNHctNQ6zChhk2pzCz+eXFj72AbfF4VJQkEe/Pi1OEM 5u0+m7VnCc1mMdqxfvHFDqvcqvVj29+HSqkWdrQcl1/uQGqAWO3YbvZHd/5Y9a1MGSNw U9shXm8rCEQ/14KRfGz06z6PaVF5xzLE5APYr1BDptUBfGkVpncdxLYb0F8QtWKp8Ik8 AxYf1ovRf6oICJfjDTJhaw29RbvhaQg2pFlDHFfLK0tImMqyyuLv/WV5dZz9t+bjFNg6 8NjA== X-Gm-Message-State: APjAAAUROdIgau3XMruHA2pQNy2LAxB1z4guvMZVsgFEDsUyfTDoW/AL +RQyWCmo8aXIoXE+w6o5fZrv/il9SCyvMukUPD4= X-Received: by 2002:a9d:7a90:: with SMTP id l16mr19835500otn.297.1566909015712; Tue, 27 Aug 2019 05:30:15 -0700 (PDT) MIME-Version: 1.0 From: Geert Uytterhoeven Date: Tue, 27 Aug 2019 14:30:04 +0200 Message-ID: Subject: Re: dma-buf: Add selftests for dma-fence To: Chris Wilson Cc: DRI Development , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chris, When running the new dmabuf-selftests on two different systems, I get: dma-buf: Running sanitycheck dma-buf: Running dma_fence sizeof(dma_fence)=48 dma-buf: Running dma_fence/sanitycheck dma-buf: Running dma_fence/test_signaling dma-buf: Running dma_fence/test_add_callback dma-buf: Running dma_fence/test_late_add_callback dma-buf: Running dma_fence/test_rm_callback dma-buf: Running dma_fence/test_late_rm_callback dma-buf: Running dma_fence/test_status dma-buf: Running dma_fence/test_error dma-buf: Running dma_fence/test_wait dma-buf: Running dma_fence/test_wait_timeout dma-buf: Running dma_fence/test_stub dma-buf: Running dma_fence/race_signal_callback thread_signal_callback[0] completed 28855 passes, 3929 misses thread_signal_callback[1] completed 28846 passes, 3918 misses thread_signal_callback[0] completed 37179 passes, 37179 misses thread_signal_callback[1] completed 37184 passes, 37183 misses and dma-buf: Running sanitycheck dma-buf: Running dma_fence sizeof(dma_fence)=64 dma-buf: Running dma_fence/sanitycheck dma-buf: Running dma_fence/test_signaling dma-buf: Running dma_fence/test_add_callback dma-buf: Running dma_fence/test_late_add_callback dma-buf: Running dma_fence/test_rm_callback dma-buf: Running dma_fence/test_late_rm_callback dma-buf: Running dma_fence/test_status dma-buf: Running dma_fence/test_error dma-buf: Running dma_fence/test_wait dma-buf: Running dma_fence/test_wait_timeout dma-buf: Running dma_fence/test_stub dma-buf: Running dma_fence/race_signal_callback thread_signal_callback[0] completed 3423 passes, 2148 misses thread_signal_callback[1] completed 2360 passes, 9 misses thread_signal_callback[0] completed 4028 passes, 4028 misses thread_signal_callback[1] completed 8080 passes, 8079 misses Unfortunately it is not clear to me if this is good or bad? Perhaps the test output can be improved, e.g. with a clear PASS/FAIL output? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds