Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3297217rdb; Thu, 16 Nov 2023 06:04:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtTbbO8+2XbEp8l9wC+32CQyGDWCrsmPPpv5cSYTZbRZ/eKC0gDwTIvsLg9gbzaxdfz0D5 X-Received: by 2002:a17:90b:1bc3:b0:281:e1:af1d with SMTP id oa3-20020a17090b1bc300b0028100e1af1dmr9889337pjb.18.1700143465181; Thu, 16 Nov 2023 06:04:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700143465; cv=none; d=google.com; s=arc-20160816; b=zbM75mRCH7E19OOAJVFO+MrPBwiOsb4n8u5dsR04QoUXUGb4mKA9fUvuDXkRmFKRb4 IFeJnIZNeiQkqAPS3UNkg1utYtR99XSw5QlufviSTKVUtLLJu90lVuKV9xF+4Ntuc9LK iScnTBmf7hNdZGTkBhCiYU5WTMAIxBvUHjyf0BSUEvZNyZr/EGh9Fd5T0Z5hIZs98iWF uBfWQzdPE4FPOjtibgvpVvY0avFG0x1TOMiI4vRQQcEJ+tj8K+Lp2IeDQbYdoU0kqiJu dvxE+7qCTWM5WNgxMPFBQerCkZW3RVqNxX8avqDSYKxYiuXo0bOx/zOb6XNkXmRb0JxL 0zig== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vYSuX8zETbrNeJCiGGLyauY0woKa9PUc4qz4cUipu/U=; fh=71pRHvwOP11nL8uCupv7h3qagMFTTR93WIeI6VtLj8k=; b=lNMujbgex0AKD9ewlCMVXqz0Ny9Zi0cq0tJCEq7KXCRW2Bah/mmuAN1Kbz31FxENrk wRtJEUhklJEXGdaRvm6ryssDEu9l5Vs3Bh/CWHX/PrRokFthqKu28xz7PSB6rG09Zwgg +V0yIRdAT6HlEoV6Z0ibDZva0IZyptoYIEYhxlXejHeEcsQTk2daBMg4srNBtN4PGxli /2tZXhrYbr6rxW2nIYW6gpuOG5Iy0L3IgGb6LwfJDEO5p/PMnlD0hyrJiLCwcKkms9qJ WQLQgRASI8j/7zjfB7ezHVhiFZnEPT6ZeODR/ueSh+j+Zt5YYQ2cfiTU6TFu65rov0l6 aDgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMQAzl1J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ha19-20020a17090af3d300b002803e9ddb0fsi1999190pjb.129.2023.11.16.06.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 06:04:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMQAzl1J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1742380DFA59; Thu, 16 Nov 2023 06:04:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345411AbjKPODK (ORCPT + 99 others); Thu, 16 Nov 2023 09:03:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345312AbjKPOCz (ORCPT ); Thu, 16 Nov 2023 09:02:55 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441DA1FD8; Thu, 16 Nov 2023 06:02:36 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83B9EC433C7; Thu, 16 Nov 2023 14:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700143355; bh=3d0Qc1WI2uyDpZOPa1FKam+nYjh1nVrhRDwnYe0liYk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hMQAzl1JxTPxFub/lrXbHVRfo2OvhFZdPwJVXRCxYXVhgC2GOwiJtDU/JkgOgurA/ DdrXl9mbOjkW21Y2xkOXxgP/igvB73iEOGPWyBytRofAU7kJmraL8e5gyyKL7209Yq uBqqiKqaoKBZE+1L7pYOvs3L9leNh/p5eeMGjtZG2R42ADGdWbcOfMUGNPa1WFHuaF ttHGoYyoKrtDGzkaz58mVudiCi+1HugoHie2jx1dBza/WmhG2LgkwJbQOmp48T5LJs i3gjplA0c4Mza7Dp6MLrnkTuSBPMqwYZkj4HEM7ol112TSIoe6ffkFQ0zjUDNUk5vc yfcKUY0yCEkwA== Date: Thu, 16 Nov 2023 09:02:34 -0500 From: Sasha Levin To: Naresh Kamboju Cc: David Gow , Jinjie Ruan , Greg Kroah-Hartman , stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, kunit-dev@googlegroups.com, Daniel =?iso-8859-1?Q?D=EDaz?= Subject: Re: [PATCH 6.5 000/550] 6.5.12-rc1 review Message-ID: References: <20231115191600.708733204@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 16 Nov 2023 06:04:09 -0800 (PST) On Thu, Nov 16, 2023 at 06:45:52PM +0530, Naresh Kamboju wrote: >+ kunit team > >On Thu, 16 Nov 2023 at 05:30, Daniel D?az wrote: >> >> Hello! >> >> On Wed, 15 Nov 2023 at 15:38, Daniel D?az wrote: >> > On Wed, 15 Nov 2023 at 13:20, Greg Kroah-Hartman >> > wrote: >> > > This is the start of the stable review cycle for the 6.5.12 release. >> > > There are 550 patches in this series, all will be posted as a response >> > > to this one. If anyone has any issues with these being applied, please >> > > let me know. >> > > >> > > Responses should be made by Fri, 17 Nov 2023 19:14:03 +0000. >> > > Anything received after that time might be too late. >> > > >> > > The whole patch series can be found in one patch at: >> > > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.5.12-rc1.gz >> > > or in the git tree and branch at: >> > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.5.y >> > > and the diffstat can be found below. >> > > >> > > thanks, >> > > >> > > greg k-h >> > >> > We're seeing build regressions on Arm, Arm64, i386, x86, with KUnit >> > defconfigs (and multi_v5_defconfig on Arm32): >> > -----8<----- >> > In file included from /builds/linux/lib/kunit/executor.c:225: >> > /builds/linux/lib/kunit/executor_test.c: In function 'free_suite_set': >> > /builds/linux/lib/kunit/executor_test.c:130:30: error: invalid use >> > of undefined type 'struct kunit_suite_set' >> > 130 | kunit_free_suite_set(*(struct kunit_suite_set *)suite_set); >> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > /builds/linux/lib/kunit/executor_test.c: In function 'free_suite_set_at_end': >> > /builds/linux/lib/kunit/executor_test.c:141:49: error: invalid use >> > of undefined type 'struct kunit_suite_set' >> > 141 | if (!((struct kunit_suite_set *)to_free)->start) >> > | ^~ >> > /builds/linux/lib/kunit/executor_test.c:144:31: error: invalid >> > application of 'sizeof' to incomplete type 'struct kunit_suite_set' >> > 144 | free = kzalloc(sizeof(struct kunit_suite_set), GFP_KERNEL); >> > | ^~~~~~ >> > /builds/linux/lib/kunit/executor_test.c:145:17: error: invalid use >> > of undefined type 'struct kunit_suite_set' >> > 145 | *free = *(struct kunit_suite_set *)to_free; >> > | ^ >> > /builds/linux/lib/kunit/executor_test.c:145:15: error: invalid use >> > of undefined type 'struct kunit_suite_set' >> > 145 | *free = *(struct kunit_suite_set *)to_free; >> > | ^ >> > make[5]: *** [/builds/linux/scripts/Makefile.build:243: >> > lib/kunit/executor.o] Error 1 >> > ----->8----- >> > >> > This is with defconfig, CONFIG_KASAN=y, CONFIG_KUNIT=y, and >> > CONFIG_KUNIT_ALL_TESTS=y. To reproduce, >> > >> > tuxmake \ >> > --runtime podman \ >> > --target-arch arm64 \ >> > --toolchain gcc-13 \ >> > --kconfig defconfig \ >> > --kconfig-add CONFIG_KASAN=y \ >> > --kconfig-add CONFIG_KUNIT=y \ >> > --kconfig-add CONFIG_KUNIT_ALL_TESTS=y >> > >> > Reported-by: Linux Kernel Functional Testing >> > >> > Bisection is on-going. > >Thanks Daniel for bisecting this. > >> Bisection points to 3aed6e0618a9 ("kunit: test: Fix the possible >> memory leak in executor_test"), upstream commit >> 8040345fdae4cb256c5d981f91ae0f22bea8adcc. Reverting this commit brings >> happiness back to the build. >> >> This problem is not observed on other branches. > >stable-rc linux-6.6.y - kunit build pass >stable-rc linux-6.5.y - kunit build failed Dropping the offending patch from 6.5, thanks! -- Thanks, Sasha