Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp15136lqh; Mon, 6 May 2024 09:48:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUj7T2zh3KP8PZmZDEDqQXYHg1pTtfdzuF7XLHw9YXPuajeVZr2u84aGV+XcOuuaQtGevXiFLC2n0KlaTXmcFRg/wFSbOPwu5VB/yLR/w== X-Google-Smtp-Source: AGHT+IGFwl5svnYlL10nplNAvK+PnniIZAQsOfek/Yx2ZFUFAOs5GcWq3iFlTXnGQ16go0KyoZfC X-Received: by 2002:a05:6512:1390:b0:51e:233f:767 with SMTP id fc16-20020a056512139000b0051e233f0767mr10956337lfb.45.1715014120211; Mon, 06 May 2024 09:48:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715014120; cv=pass; d=google.com; s=arc-20160816; b=ZOOLz8h/rF7pIUEXRSnmfkXF69liRBAQGKVTIFKqJzCAX5LFj6ZxzgMFyg2vDatK+M /HnEOChH3K/gvg0e+QhSnXVy7NdSpZTSh0o7R5Pk1Yr2Wl41AIspsx01hrEbVW9Zqw/h zMMAs92hmPXRH5bzDclFCqzzD3xMPBU9syCwUZ3dypE0x7gkLlpFm+9sQg5V2jq3Ngpv QnoQnZOAWz9yB/wslUhqLCzQw7MvzG63EmYcLxD2F0cENS1iEYej429o8VtHLifjhItE hTgSL7VfN5pqkwzkUdZ7Q7Oy+HQLqXo/ZnZiJsfE94Wpt4eL7IHFK7gW+38c3B1oci/w MnPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=pV60bk7MZRaPMf5SburH/KO5Udmwu+vDVJu5cC1oaZ8=; fh=xeGYqCAWOWgjtTUOGDy8WF5FVlHyH8YstOIrQlwCU0U=; b=k/QITDnTmckqoGWce1h8VucSFzAVM6H9u4Ew7EgdErsLQqSb0JPkD7Afzy+LPuZqw7 ce+k7wNZNbgOI5J3v8RbCDw9e4/7R+WL82xvDvjrAWyq4igEP1MkE9yvQySZTdNc0q9y lbvQJDbWZ6hdJv4VM9N02sre7vFXA5GBRDHZguqtZ9WNxNkTgYBIcAoR8pEQIORe4Vfs DNyij+Vv3b1aRV6FOm/6yv7dbBW2vobO1EhUweKUqFFPAdCL4Hv9FpYPITzv3leAB+NV qqe30ivz5Ipw6KlGyoyrm/3pdcEvyyk2MBi1/IgHaWZb5PtaUnH043S4YFSkpMs93WU6 8lbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RD7iEJN7; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-170190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jz10-20020a170906bb0a00b00a59c8e62ba6si1679636ejb.215.2024.05.06.09.48.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:48:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RD7iEJN7; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-170190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D11AB1F22596 for ; Mon, 6 May 2024 16:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EE7C156C60; Mon, 6 May 2024 16:48:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="RD7iEJN7" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A7B8156960 for ; Mon, 6 May 2024 16:48:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715014111; cv=none; b=OC3hx7QNiinQlP8A7khn10bYWGR7A+brStlx4slCbH+1TUQg9KstxTG8Fo7mupoYrAqhqp8ksEglmhJT6QvacZOvyGNDNMQbfwRmBaij53LRAlqCcylXT0fSJln1CYIXCth4lWYrnfUk91CmFBK5oDAp6bDruf91SzLrxDTlzaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715014111; c=relaxed/simple; bh=kP6NGaRYgrSE0QhFBjiJtMvuWvrK8Tsknf/C6p4ofYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kgJWT2K4pu2lvBRiP0ZoRYv5gfOTczqhxKY3dsIym4vxoQ+qXeJ3pEFanZ+57/uBwiEXjp9aascnUQWCfdWvE9oioqMQ7ogXs4CEtaUoo9bGVNOEwB6gu72et82EK9dPdQX+pSMQuuW5LXIwmrWJRWyCUTD12W03r6cvMYd+26I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=RD7iEJN7; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715014109; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pV60bk7MZRaPMf5SburH/KO5Udmwu+vDVJu5cC1oaZ8=; b=RD7iEJN7G9RgK+WK07ZIheuguQv4BCbZE4Mn/kzwLRMJrtUktf34XC9yKGwjW82IZWUnUP sjjRPOzzSjEz0myVUpeR0e0vc5oLPDfa2SMU6LHbTT9WHzkL39jc7yIwf+qdIktl3WtKvQ ZzxNzTYivsYATkZk1XQtMGP/EByhxLA= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-320-wPRPOGjFM3KAcUFMAidScQ-1; Mon, 06 May 2024 12:48:28 -0400 X-MC-Unique: wPRPOGjFM3KAcUFMAidScQ-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-7928e064fe9so346866185a.2 for ; Mon, 06 May 2024 09:48:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715014107; x=1715618907; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pV60bk7MZRaPMf5SburH/KO5Udmwu+vDVJu5cC1oaZ8=; b=dEQf1z/m4t7nTKnkZ9pLAJ3fkewbJkdrGMUjeCJRDZ8nUgV7RuPBnsR9o8FOLmEXE8 NhJ/EqkawKp+Sa7dzwK/2Zxg0FzLDAz1c8al68CCSzT1GFs3oVF4Cb1uJqBG0/n/utua ob1pGY4FqwHh8GkIlSlTTAg9FOQW6XGAIdkGalnTO085d6lZWj6EgUCQ/pRN00woHyTz MT5Lbl12cSjUDd5cc5OTR6DmmbakBa9A5hMyJj/GjZX4Ap2CRXJ+VS786nX4Y33Kwn22 kXEaSq9UDK1/PD34yei121uCpvmzkXgXrD8GLdrQ6GS9HNVmH6qRIwE16k87/NJa/Ebt qjEQ== X-Forwarded-Encrypted: i=1; AJvYcCXWKNRcAOMzM6YOK9PYVqPO99tHNkTK7aMSMlKqivE/hGjsQDCb39FVh8zaxMUJw2KYrnuqIrJ2IB3shxEtBwdl1PwMLVmb9o1L0xsT X-Gm-Message-State: AOJu0YzMy1kdB4aSEOWADtkNiMPWv7vq7ajvRJ5QUmJXIJBXjx8lm82G O5NgR0eGOsClNKtm/gCG+Ou661rGGnH5oBM9/i9u+m2o2FXrGd/AmSHWn/agL3665ZYy53anW8I 44gqxZjS2RQGMASWnlH1cSqGL+JPI9nuujYya+cZznuhE26HdkKwX6XdQzWJu X-Received: by 2002:a05:620a:24d2:b0:790:9b2c:fdb7 with SMTP id m18-20020a05620a24d200b007909b2cfdb7mr15426084qkn.23.1715014107709; Mon, 06 May 2024 09:48:27 -0700 (PDT) X-Received: by 2002:a05:620a:24d2:b0:790:9b2c:fdb7 with SMTP id m18-20020a05620a24d200b007909b2cfdb7mr15426057qkn.23.1715014107272; Mon, 06 May 2024 09:48:27 -0700 (PDT) Received: from klayman.redhat.com (host-82-62-247-97.business.telecomitalia.it. [82.62.247.97]) by smtp.gmail.com with ESMTPSA id b4-20020a05620a0f8400b00792a2036346sm471237qkn.63.2024.05.06.09.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:48:26 -0700 (PDT) From: Marco Pagani To: Moritz Fischer , Wu Hao , Xu Yilun , Tom Rix Cc: Marco Pagani , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] Revert "fpga: disable KUnit test suites when module support is enabled" Date: Mon, 6 May 2024 18:48:14 +0200 Message-ID: <20240506164815.31134-1-marpagan@redhat.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This reverts commit a3fad2e92c76587fe262a1a4a122045b29885354. The core components of the subsystem no longer assume that low-level modules register a driver for the parent device and rely on its owner pointer to take the module's refcount. KUnit test suites can now be safely re-enabled with loadable module support. Signed-off-by: Marco Pagani --- drivers/fpga/tests/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/tests/Kconfig b/drivers/fpga/tests/Kconfig index d4e55204c092..e4a64815f16d 100644 --- a/drivers/fpga/tests/Kconfig +++ b/drivers/fpga/tests/Kconfig @@ -1,6 +1,6 @@ config FPGA_KUNIT_TESTS - bool "KUnit test for the FPGA subsystem" if !KUNIT_ALL_TESTS - depends on FPGA=y && FPGA_REGION=y && FPGA_BRIDGE=y && KUNIT=y && MODULES=n + tristate "KUnit test for the FPGA subsystem" if !KUNIT_ALL_TESTS + depends on FPGA && FPGA_REGION && FPGA_BRIDGE && KUNIT=y default KUNIT_ALL_TESTS help This builds unit tests for the FPGA subsystem base-commit: b7c0e1ecee403a43abc89eb3e75672b01ff2ece9 -- 2.44.0