Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 438FAC433B4 for ; Tue, 18 May 2021 13:59:20 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C4EC461184 for ; Tue, 18 May 2021 13:59:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4EC461184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1lj0FP-0001DZ-Bq; Tue, 18 May 2021 09:58:59 -0400 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lj0FM-00019o-WC for kernelnewbies@kernelnewbies.org; Tue, 18 May 2021 09:58:57 -0400 Received: by mail-qt1-x82d.google.com with SMTP id m13so7434208qtk.13 for ; Tue, 18 May 2021 06:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:in-reply-to:references:mime-version :content-transfer-encoding:date:message-id; bh=Rd1yunM0ggfsejtgf7J7rTuQ7IUkzpHj3AbwikRv3sk=; b=JnublbvhoO4TG2yozYF+bxxTx8i6C/nWyVuzb87lQ8ceKwBy314Wewp74oCi0IdLsz 64IkKK0zjeP6ijw0iYKBCp3OHkK+07uNvNWn8KhMa79sTlMcsOXy85OXxPaGvY7rBWE4 x8FY8wv11epQNTikbDLpjvgsHejf0oElUha2WWIOrrfImX7sp0DHIOHB3cPvtUu75+qF JoEPdW+O76zmZ3ZGui1Eugo+ezN7HUrp0BdhwiaVssrj8PYuKpcEy2LkCPmhVnHcxF6G rhjcsEyjHeD+OiVeIu2PFhGSwwX2Upw6GF8osvfaFg40qVX7jQKSvOSy7GyvJaiS13Jh 11+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=Rd1yunM0ggfsejtgf7J7rTuQ7IUkzpHj3AbwikRv3sk=; b=kYBT26kmqZJ2Z8g7OBBaJpfFbHY4F5F5LbkbjnLct1D+Nu/zetp0gExJQGZs8BLecu s9izhuI5m4hGjG+XYpuE5sEOni2X5bRSIMu7kizPdPyX2cSDV42UixtcyZd8zvrRJiU3 2Buhb5BEEdEAY1SFmQZbjphcfLjmV3Sa2MbJisPhZnJbP7xL61U1Bs2aqiV2z+qmhhK4 iBp8A3BwzR9SaudIHfna/8QRg4deVkQggTSfE74+JjGsj5jNtX5hxzjl22MYE4juOEql lxlesU4aajRVx6Y/BON8LonEBy+jRBVIQxn2HuwarycXunsmCIkxWkZ8SBvuUGdU/SUT I+9g== X-Gm-Message-State: AOAM531AwI/c73XVTXoPu7zcrrfjKegRPE+6owzo/8tMuN+B55LNBh9c UMtkWZOLd7VMJlsh0fUceMdO2g== X-Google-Smtp-Source: ABdhPJzXlE3/RkIvjnxon/AIvwlsgQrsGnVnoHc/0Gch2jml7PMAmIjibAa4dkVlLoqXeQiu/t6hdA== X-Received: by 2002:ac8:6b11:: with SMTP id w17mr4898986qts.143.1621346334404; Tue, 18 May 2021 06:58:54 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id b2sm12785454qkk.135.2021.05.18.06.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 06:58:53 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Hyeonggon Yoo <42.hyeyoo@gmail.com> Subject: Re: How to test device driver? In-Reply-To: <20210517235358.GA80297@hyeyoo> References: <20210517152813.GA59315@hyeyoo> <20210517235358.GA80297@hyeyoo> Mime-Version: 1.0 Date: Tue, 18 May 2021 09:58:53 -0400 Message-ID: <143013.1621346333@turing-police> Cc: jim.cromie@gmail.com, kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8703701996180016353==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8703701996180016353== Content-Type: multipart/signed; boundary="==_Exmh_1621346332_72969P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1621346332_72969P Content-Type: text/plain; charset=us-ascii On Tue, 18 May 2021 08:53:58 +0900, Hyeonggon Yoo said: > I recently was tracking syzbot report that is occured in > sound driver. I don't have the device, but was curious about > what the test method is. Depends what the bug was. > well, build tests are useful but it is not enough, we should run the > code on actual device. is it possible to make the bot test the device > (which I don't have) even if there is no syzbot reproducer? Bugs that are obvious logic errors (use after free, locking issues, failure to build because a previous commit didn't cover all cases, and so on) can often be either tested or proven correct without the actual device being available. I've lost count how many times I've reported that some device driver or other simply doesn't even *compile* because an API was changed but incomplete - stuff that a 'make allmodconfig' will find. --==_Exmh_1621346332_72969P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYKPIHAdmEQWDXROgAQKZhQ/8DqJPL9gciOcFLhUCU3Fm+Zz3y8ibI9mz 8+iruWs838gvIaO83bvTJKTc1llOC1gV0hjrDWVuTNJ/6txvf6KGIlWyLEdhDp0x SG5w0/SqnFazQNkK2NH3elsbtpa3Zr4b8ViTJmGl6zZI+s5Drx+bytH9kZoQpmy+ zYmK4Caqh4uOocy03hzlSiqpJE/6s2ZM+EqQsnibQ3PL+wEUtsok3IJ8gArkEANu rEyN/qQPxoDuDSNNVSCpSo8POETWjDTr8VucpQ0dXxt/cvfKkbdajpEAy9BQnX4s f67+L0XFcfHwanczS8hBVFam2onKKGY7Pgyy5u1QCDBIud+tqT8SWpbf+ryjMsG4 qsEfXo1UjxxKK8pSken+7mNbRcEqoBZ/4QjBTTTHO5iAMDj9W8M+u38SusQpEtzn DvPlOYJyHvHoV5cwKJ5t6jIHuDCtPaaskgxO5UJrpwP+BgP37HyTFcNTjue+9tKk cyir7ZPCT90I1G1iusY/aeSdBQpX4Tx3GwVKnwukWv1mbxhSGzOG5Xt05Ku0r1aX nWpFVlj42axb1UDs7W8QnyQLaPlnIjajnYwAfSs2oj+kvd6n4J85yjP6/VgCnVya FQnkVdZDeAnAzcrsoLyzvigZUresA1YOVNfs0P0Pm7lFzn2VquOKqa4bo+7Xde/a bm2BWeUsp+4= =2Qfj -----END PGP SIGNATURE----- --==_Exmh_1621346332_72969P-- --===============8703701996180016353== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8703701996180016353==--