From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D66501419BF; Tue, 27 Feb 2024 13:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709042010; cv=none; b=bLVGsgPz7CPsX8R6cpgBgS5zDu6jum+qyhBdOcTMdmxnVb5FZnTlyVAbK7bqR5oiVFUSPurAL5T1G/FP699vvcllHVJd8SecTgWoJXhKgnl3MV1qTBpilffZc26VZ7YrhoBcqEvLSUfzn9bT2QUVJtWRFWCyX156SzxV5MZrciE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709042010; c=relaxed/simple; bh=zR3YvSKhP2rF1JeHCy+0ju4n+7+QwkSDuFAobcX80Zg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u0W7Xg2oYG9YNHD9xBLtJQ5kgcdhCcOzqI7e6mLUthNKNiMBVqjHd+uAd5yZUdR9bmbsPgSFlWkyKgeaReb2zdK88IFBYAgEwDlOx9VFBPzh5jF6c0Ys6+X3/DcYjZFm0QzMgw4/hO6jgEo51bC5g6weY7K18MFfnhWfkfHNPK4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=odZeB5JE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="odZeB5JE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6000CC43390; Tue, 27 Feb 2024 13:53:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709042010; bh=zR3YvSKhP2rF1JeHCy+0ju4n+7+QwkSDuFAobcX80Zg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=odZeB5JEs0tDUX3ieDA8LqKY02Y3yHnDtt4DS8XWebnkASNx5f2Gq+MUyrnIEWpB+ hmqZpmQD4AQC4bFKnIYjeo+9aw/3umMy4OPU+/L1rLp31bmnOutDAPyVTff5YfhB55 VxWxlFidM+o4rhDYOW57zNfQ19YQ36oq4vNUIkbc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Guenter Roeck , David Howells , Andrew Morton Subject: [PATCH 6.6 146/299] lib/Kconfig.debug: TEST_IOV_ITER depends on MMU Date: Tue, 27 Feb 2024 14:24:17 +0100 Message-ID: <20240227131630.565178217@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240227131625.847743063@linuxfoundation.org> References: <20240227131625.847743063@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Guenter Roeck commit 1eb1e984379e2da04361763f66eec90dd75cf63e upstream. Trying to run the iov_iter unit test on a nommu system such as the qemu kc705-nommu emulation results in a crash. KTAP version 1 # Subtest: iov_iter # module: kunit_iov_iter 1..9 BUG: failure at mm/nommu.c:318/vmap()! Kernel panic - not syncing: BUG! The test calls vmap() directly, but vmap() is not supported on nommu systems, causing the crash. TEST_IOV_ITER therefore needs to depend on MMU. Link: https://lkml.kernel.org/r/20240208153010.1439753-1-linux@roeck-us.net Fixes: 2d71340ff1d4 ("iov_iter: Kunit tests for copying to/from an iterator") Signed-off-by: Guenter Roeck Cc: David Howells Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- lib/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2225,6 +2225,7 @@ config TEST_DIV64 config TEST_IOV_ITER tristate "Test iov_iter operation" if !KUNIT_ALL_TESTS depends on KUNIT + depends on MMU default KUNIT_ALL_TESTS help Enable this to turn on testing of the operation of the I/O iterator