Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp952903imn; Tue, 26 Jul 2022 14:03:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tTjSIAhN5exC/m6s1ZOs6WCc5kx8KVQJT2AYw8oV8eseUmDqMKsKTYk5kLt9cac720A3Bc X-Received: by 2002:a05:6402:13c1:b0:43b:e330:9bbf with SMTP id a1-20020a05640213c100b0043be3309bbfmr16884312edx.417.1658869426813; Tue, 26 Jul 2022 14:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658869426; cv=none; d=google.com; s=arc-20160816; b=vPeYJdrUrITKU+HMnMX3rHX7CoCFKV6LKnum6P8TyRrYxQfv+WXrpjsnBOEJHkIkqN qbX1677Q3R3TMznOz/T7cLPqfAo6DaKKGIEtgC88+t2b3ep4by37iJltwR5m2v175ePV G6ndvLlXpCgh7o2hBnBs20jHXiicCesH5Mc/5uGHjtsMPC+zVW/C9U3D+yRCWp2riFiC BLQxErhmH1UEWcZSCZbEWaiIwHJgdIhZa4KDJ9ObHEvvZkFaVjoIwWOgP3kjPRPJ25cF MEMp+DgWWvmDNYUL8tA7Gs3R5O4uu04BBWDVqxy+7f05xL4wndEUqf+bLhqrXLWmWxdm OCgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SCbzcnRoXkiamtSXlne81U8f+vR3j3GE5M+4vscq2sc=; b=SpkGLAZi9u+sXHTdcPLvYnQYCkNLxBD8sk3R5VFNzoAENDUhAlcAF7EQLkv7IREd2c jE45SbirzjxuON0TCeP0vCgp70Z0FAWWTJtbDHAkAA9LWRB12cHs+6GJ7kQySbBw0lZg MhgzFxDccx7YWj/Lh9sOoys3x1973MgmKRgjEni7GzCiptjc027hNY1WIVTWnGz1CbhM okyK2qC5hBlsCZAKVENUf9N9y/De9Co69x4WJY4UfEKqaVJ5xc+/fw6uN8HjYznYjauq sepFdgAQDtm4gu2RV40Ni4BAu3JdOwhgPk/xJCfKcdUuH6WkJiOH1W+2Vcm1kyH753lu YGXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NfS+0hNr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho32-20020a1709070ea000b00711d54647bdsi19088585ejc.479.2022.07.26.14.03.12; Tue, 26 Jul 2022 14:03:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NfS+0hNr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239831AbiGZU0U (ORCPT + 99 others); Tue, 26 Jul 2022 16:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239799AbiGZU0S (ORCPT ); Tue, 26 Jul 2022 16:26:18 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FA7B17065 for ; Tue, 26 Jul 2022 13:26:16 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id x91so19046875ede.1 for ; Tue, 26 Jul 2022 13:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SCbzcnRoXkiamtSXlne81U8f+vR3j3GE5M+4vscq2sc=; b=NfS+0hNrCJyXM32ZQ5he5a2I24pM/fmUJX0SeLd00f/c62yqVB46pTiaWNp8cgjAIM 0enHnLvSax6YWp/NSGPM1OwCieMq6vcfe1/6dVupcEVDqL2lnAlH7sKYc2qj1h2A1J8O 0fOxPlkQ0lB/c8EwFrW5W5jfQDsE9JhhCy2Oqkeyb8mkpUcqYWrKirtmC9xFBH7ikGlo 9uAsIXrXbVz2DMBCs2KEUK/PH4rfPicJo8rn7bXVFv0ZQZhgH+93V1k0/l1x+/eA4TBG RKu6bK0PP/AMLAdqEiBfxxAGE5HBvGV9t6xNJN/W13AVylc0aQZfHGD7a7KwKUODcqqk Yvcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SCbzcnRoXkiamtSXlne81U8f+vR3j3GE5M+4vscq2sc=; b=u7du/CL6htW8tS0wsaTPy1KmaUl9ggGqMz46ik6K1+vi1GPf0TyQNVjcOJ2AU1dDIi gvYElq+kiZUNOLvUfXLx9IiMfbhhl6XDW++7juPkFhUCVoUZH9mgVz7ZgPcCPDBUmz24 8BY+s3JlFBJWxgqozADwjcAm+3WIdhkm6PjJPQaLBhqDp3vI2aJavESOWX6qUqZg9Oh2 zBh94QTS+KXtR+bMz3nxjTs1SrmkPNId3ikumu1eoLP06ZGzTiHWfvyh9us5kzS7km/h fGlsaC8RNMgcWKrl3Bo1s5pWKLg8Z2MnCqe5zURGku4ZL6bvBiE+yW/7b6TCNrCDp1Ba kPWg== X-Gm-Message-State: AJIora9fjGy0lDIBfqbC7J1IxZoNjTGmh/9kqYw72wjg3HNlIDScx4Iy /TojqxCZZo78IX/hY4uSvdYyLIMOhbVMQKPcJ17kDg== X-Received: by 2002:a05:6402:4507:b0:43b:b8df:571d with SMTP id ez7-20020a056402450700b0043bb8df571dmr8264202edb.230.1658867174676; Tue, 26 Jul 2022 13:26:14 -0700 (PDT) MIME-Version: 1.0 References: <20220711162713.2467476-1-dlatypov@google.com> <20220711204859.3DDD5C34115@smtp.kernel.org> <20220726200741.2DDA2C433C1@smtp.kernel.org> In-Reply-To: <20220726200741.2DDA2C433C1@smtp.kernel.org> From: Daniel Latypov Date: Tue, 26 Jul 2022 13:26:03 -0700 Message-ID: Subject: Re: [PATCH] clk: explicitly disable CONFIG_UML_PCI_OVER_VIRTIO in .kunitconfig To: Stephen Boyd Cc: David Gow , Brendan Higgins , Linux Kernel Mailing List , KUnit Development , linux-kselftest@vger.kernel.org, Shuah Khan , linux-clk@vger.kernel.org, Maxime Ripard Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 26, 2022 at 1:07 PM Stephen Boyd wrote: > > The other option of using function redirection on the io read() > > write() functions exists, and would be a bit simpler in the > > short-term, but would probably result in a lot of tests reimplementing > > this, and also would have some performance impacts, as the I/O > > accesses wouldn't be able to be inlined if KUNIT is enabled. > > > > That sounds OK to me because nobody is enabling KUNIT in production, > right? You'd think so, but... Android GKI [1] is enabling it. I had thought as =m, but maybe it was =y. I can't find a good link for it now, but e.g. here's a patch they're carrying to prevent KUnit from running built-in tests [2] They could just carry another patch if we go down this route, but it goes to show that there might be others out there w/ reasons to do this. [1] https://source.android.com/devices/architecture/kernel/generic-kernel-image [2] https://android.googlesource.com/kernel/common-patches/+/refs/heads/master/android-mainline/ANDROID-GKI-Disable-KUnit-built-in-testing.patch