Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp748812rdb; Thu, 19 Oct 2023 19:40:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9falBN419/Ra5rsrOswDE1E+ZpDfYJ7vunC89i1U7zYT6G8CpVRXctIGYUiuvLR/y39SM X-Received: by 2002:a05:6358:5294:b0:13a:a85b:a4ce with SMTP id g20-20020a056358529400b0013aa85ba4cemr647961rwa.16.1697769606960; Thu, 19 Oct 2023 19:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697769606; cv=none; d=google.com; s=arc-20160816; b=XFmHd9y01Iy4yePWLuAfVGvyGRahCURFc1QoGGOCUH7Zz3r+MaiC/1TieGHhK923KE 8uk4h9/AyrMi1+OLQy9L7rmodtPV41xQ0NMFiKQ/t0BJdYH3SBPphcvlekqnmD4qCOKU QU1Hz9U+hfn27lwa5noXKd2ZVHbJyaHtbp/amBqJxAnH0fwlLQJJ9JXS0rymNNn+1PkD ukYDSCHw7Arj8CL8rrN8v18oWr75GggHjF43fKSrONvLfNrEqYr6kBmcq5XHsssZ1f0p Z0tA/WxKHLXHw+q6Rjwv7NrzhiGPUlTTt9WnGUYXK9i18uJzq39hbe5Iit0MChduf+AG XEEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lz1cIpfCtnTsruvtaoJEif8eNESoHNqjgS7WqcW48lQ=; fh=1BdfrYJq16A0QZJek6aOok+RVRhT9RHpuB98q9DnjeE=; b=dHndJ11MAJc/Ka2yNrUPWvbz3HYi8p9rkcJG8NE51U51hNDKcmSzbg0bVJrSCVIdzI uNy9EgndjpJP0vsEO/Ayig1ls+X7FJso37TThX//xA1ec8SLo/z5+MWeAatCQjoHg1mP OU1A0Sxjecrbdw6T1xxZkjzoruk5phX/FGnqop304yx77hF8AKsoTOPBrI8fD/TFnuFP Dk6Se9+Rtlbz8sD+/CjpgvVIkN+63HAGj6TPoE0WfsoO3vyAeWceZkDUclJyyJQiNPG5 OYhMAuU4nGIjL97tt5BApyPZ45RN+ct7r9ob9V1vzzqOeh9DX7jp7TIrtKGDwPciD7lt FE4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VkV071Ac; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h21-20020a056a00219500b006be0f482c0fsi983428pfi.63.2023.10.19.19.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 19:40:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VkV071Ac; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8F56282A8030; Thu, 19 Oct 2023 19:40:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346845AbjJTCju (ORCPT + 99 others); Thu, 19 Oct 2023 22:39:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235581AbjJTCjt (ORCPT ); Thu, 19 Oct 2023 22:39:49 -0400 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC4AC124; Thu, 19 Oct 2023 19:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697769588; x=1729305588; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=etfoBUI+RIl0nB/b1xlmfwQfjInOYn8Ns5BsaA0hVE0=; b=VkV071Ac7j9RR07FWXqUyEPH4foUFk7rqJy5rH3/EYLrYTZnXG45yrzD nDu97lSWEExdyzw9RCz3pRHUptCJXOIwXTFhCRjHb8wr6exKZXoelrW6i FYY9Tk+BOLQT8ql+c63IxOx9LyH/eZCKa/Tra8jHnYWBQCdmQhkk6mAst b8HUmac+MCPj9PpGhKRGrEBnFPP6LsETS/X7urNi0XAcHhDzi+Mkp+bAZ qZ85I5TrQOO237K4n1voCG0Y6A4/6Xj1t8NorZkA1tcd4lRj9VN7Bg4DK yJGjpL+5Amgarfjqw1ab/LJaJjOm5tb4lOF3Z09G8Z0arYHpizaVy9HaT Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="5025590" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="5025590" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 19:39:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="750761812" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="750761812" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by orsmga007.jf.intel.com with ESMTP; 19 Oct 2023 19:39:45 -0700 Date: Fri, 20 Oct 2023 10:38:38 +0800 From: Xu Yilun To: Greg KH Cc: Marco Pagani , Moritz Fischer , Wu Hao , Xu Yilun , Tom Rix , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fpga: disable KUnit test suites when module support is enabled Message-ID: References: <20231018163814.100803-1-marpagan@redhat.com> <2023101924-hunk-conjuror-2d35@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023101924-hunk-conjuror-2d35@gregkh> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 19:40:04 -0700 (PDT) On Thu, Oct 19, 2023 at 07:33:08PM +0200, Greg KH wrote: > On Thu, Oct 19, 2023 at 10:47:39PM +0800, Xu Yilun wrote: > > On Wed, Oct 18, 2023 at 06:38:13PM +0200, Marco Pagani wrote: > > > The fpga core currently assumes that all manager, bridge, and region > > > devices have a parent device associated with a driver that can be used > > > to take the module's refcount. This behavior causes the fpga test suites > > > to crash with a null-ptr-deref since parent fake devices do not have a > > > driver. This patch disables all fpga KUnit test suites when loadable > > > module support is enabled until the fpga core is fixed. Test suites > > > can still be run using the KUnit default UML kernel. > > > > > > Signed-off-by: Marco Pagani > > > > LGTM, I've tested on my machine. > > > > Acked-by: Xu Yilun > > > > Hi Greg: > > > > Could you help review and pull it in for 6.6-final if it's OK. > > > > https://lore.kernel.org/linux-fpga/2023101825-ligament-undergrad-cc4d@gregkh/ > > Needs a "Fixes:" tag please, you can provide it here in this email > thread and b4 will pick it up automatically for me. Fixes: ccbc1c302115 ("fpga: add an initial KUnit suite for the FPGA Manager") Thanks, Yilun > > thanks, > > greg k-h