From nobody Sun Feb 8 13:39:09 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C1F9354AC4 for ; Wed, 17 Dec 2025 16:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765989503; cv=none; b=sCjPWpe/XVcD3PVXqkoVfEIgn6pLyIZ6DWYPSRw/fbIhwn6OSVJywuCBlbCsM4JA4ylabnFIT8DF7eSsyW92CMcuC1NN4mxKlyudcM84YqwdzqJZkrDCjtxnVd/N4QcL2cxnTjNAQdU/fGGEN2TgHTtC2FK8pTCLKLtDKGNfD0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765989503; c=relaxed/simple; bh=E+veR6+2cSgePdbrodWioXAfnSexN8OysNj6CBOfguc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hjr/O4EUUbv+zd+Ll5LLxc58wOI/yYVAD0CgeCZLmgYO0CA9wL1f/kfBiU81tD932hCEao0VyDzh1FbVzJPXs/yEYmaG5xc7BkEgW5kiWaJMxCLZzejVe0KVMfjYlJgP8KQt1WP9Myfwv5Fh2QyeQJDyRtCrGbVASfd8ih7qMsE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7612A106F; Wed, 17 Dec 2025 08:38:13 -0800 (PST) Received: from e123572-lin.arm.com (e123572-lin.cambridge.arm.com [10.1.194.54]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 100133F5CA; Wed, 17 Dec 2025 08:38:18 -0800 (PST) From: Kevin Brodsky To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Ryan Roberts , Ritesh Harjani , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, Kevin Brodsky Subject: [PATCH] mm: Add basic tests for lazy_mmu - fix for powerpc Date: Wed, 17 Dec 2025 16:38:12 +0000 Message-ID: <20251217163812.2633648-2-kevin.brodsky@arm.com> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20251216201403.4647a4f9861d3122ee9e90d7@linux-foundation.org> References: <20251216201403.4647a4f9861d3122ee9e90d7@linux-foundation.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add MODULE_IMPORT_NS() for symbols referenced on powerpc. Signed-off-by: Kevin Brodsky --- Andrew, please squash this into the last patch in the series ("mm: Add basic tests for lazy_mmu"). Thanks! --- mm/tests/lazy_mmu_mode_kunit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/tests/lazy_mmu_mode_kunit.c b/mm/tests/lazy_mmu_mode_kunit.c index 2720eb995714..1c23456b467e 100644 --- a/mm/tests/lazy_mmu_mode_kunit.c +++ b/mm/tests/lazy_mmu_mode_kunit.c @@ -2,6 +2,9 @@ #include #include =20 +/* For some symbols referenced by arch_{enter,leave}_lazy_mmu_mode on powe= rpc */ +MODULE_IMPORT_NS("EXPORTED_FOR_KUNIT_TESTING"); + static void expect_not_active(struct kunit *test) { KUNIT_EXPECT_FALSE(test, is_lazy_mmu_mode_active()); base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8 --=20 2.51.2