From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72E4533F8B7 for ; Fri, 3 Jul 2026 08:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783067121; cv=none; b=loj1F/GUL7/fKUoor7HC76WrONClMYo/doCXsCfaVOn80riUGRez9DMU8/WcygK6VxcuxrXlyfsTn1NDEsZb30XY2UnmR7kbqG90CxiQh1d0uEqQ58U2XHCx1qpW2V6DTIaeixwMkexzEp2RTMSLKnmMe918dISpvcUQSCyz+Zg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783067121; c=relaxed/simple; bh=FMD/ZdR5TV/zMpIaXaekNOgBHrcVT9Hf7I5g9Mfv/xI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rmxIeGzFNi5+y3tpXNBOJ3Brv4ms3XKStaiA/MP9x8KYPVl1W/Y3UOe8wbuPdv5SEDunZrD/e68RHlp5CUGZr6U8Xyh1hOOwJa5wcHkbd9qDsYCIDttNPUOmpcaVztV1jqD9/oAm61B/JbYsinBwZKmA2YU3PVXxhQEz0MM39M8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Os+GC+hH; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Os+GC+hH" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-493b61b52b6so1678075e9.1 for ; Fri, 03 Jul 2026 01:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1783067118; x=1783671918; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=yxHYpki4yEEhqIJwGY1xJ1lg0TosZM+PSkKjRYtqjgc=; b=Os+GC+hHMQkfgqxPFwtpcjfUFeDUXDrf5RlC1bAZYewXZlBRFJY/dz2Ffn0/h8cXzz +tY1L272fS+oTayj5xKzShUaJ8cJqY5AHXSX0TYCCB4H0y5tjuKh07sjWxwJauaCoBfy j1N7PP3AGIiC7sxNZKaeEGZsi8y2G4Los8TZM6UNGutn1kX1zXYQ9v9ew9KUASHFUpRn r/H+SD33Mbe/flHkLiKLoKzrt4sRjGpr3iaxQAG+JFm6gQ9Fij6SuRSAj4DosElKRfgD N+eWst96LQNkZKGP1ZDwpJ1PoHwzac0YjTcwx3cEGqgVLobgMqci08QSsC9T3djva+TN ZNzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783067118; x=1783671918; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=yxHYpki4yEEhqIJwGY1xJ1lg0TosZM+PSkKjRYtqjgc=; b=Z9v+7jikH8zzNyf21b7WVeiBtSO9RIOFwLmLK8YXswAk9oq9BES29Eh/svzsqeIqVk Wkr8LEPEfMgqWLfqwTTTa4c3x0fiMAWj52vcM3K0TPATC+0QxnjUxLo6niyVptPHFiuA 6tc/RiEfSXNmqyKeBDVJvar6607GdMgw/g5KjwtW0oHzVAVhRHqbOE+10jxJUtbFL6RH b822TTeFSY9paYS2RV7GKoFuO140cC7P6JkInUx17Kjs8hixESOfJCImqf+LCOA7oFE5 W7Xq/jS8BwWg0zQBCyg9J/9iWO03YNnjzWen2YLdhD3GUyQwOn3ta4u8zh1BYBsCX4MV ZdUA== X-Forwarded-Encrypted: i=1; AFNElJ/QUreWTUY+3iq2eFOxgJBoxnqhnJj8myWKvE/5lbbWOXU7AFBzp3z94djc4t2vm31BJf68WQrtH0ngbX0=@vger.kernel.org X-Gm-Message-State: AOJu0YyXiorDRms8bhr8ZzpxZWIxLnGMQwKGHA6RYmnWoT0IZ7GvGQO9 ZF4v+eNopOTztU+ULJPkeP98I8K1IZCtr0VEUCWee46JyO0cHxWAHrOVXZVeItZFcH0= X-Gm-Gg: AfdE7cnft9Ss9G2pNAvEhIIyUNr4LzzHthnPeL2UqrecKQpKgAM+1mCKIsy9JMMTBMB wt5btBsYexfeG01Ye/CqFBKfMC/5T87+olIUA6M4vW3ft+N/br00WLLs90xKkz25b3kuEb3Q4Hm txMLt+yK8Vpbd+yyOh4BLM0i+unWfK6KV00XS2/fIMM7x/5BOvpvIGjrKbSBb2+VF6VqopBjd4Z CZh1ewaBk4wuuZhJ1jMJS3MMp81iQ46lYyJOIe2WX99rh1Hgwez+wBWYcS0QTuJDGMyHfC8kic7 GsIiN6W47kx3zJt4ijWkQHzG0bnh+ZSAP4GvcUMIAEVuNOcbe2kT24QLD/fqa09STCmTC7rfJ+h mS2styhY7uXWpJ905RSnOAKarZw98pkcoejEWvDPyz/jX3M1aD1k4f6SQ9EKE0/8P9vZ1dTJ1Ga XaqGR1BIZ3kgHRyNY= X-Received: by 2002:a05:600c:a4a:b0:493:a96b:fa0b with SMTP id 5b1f17b1804b1-493c9bc6d44mr45352795e9.24.1783067117809; Fri, 03 Jul 2026 01:25:17 -0700 (PDT) Received: from pathway.suse.cz ([176.114.240.130]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493ccdab27dsm28999435e9.4.2026.07.03.01.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2026 01:25:17 -0700 (PDT) Date: Fri, 3 Jul 2026 10:25:15 +0200 From: Petr Mladek To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Nathan Chancellor , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes , live-patching@vger.kernel.org, shuah@kernel.org, linux-kselftest@vger.kernel.org, Zelin Deng Subject: Re: [PATCH] kbuild: unset sub_make_done before calling kselftest build system Message-ID: References: <20260703-makefile-unset-submake-done-v1-1-6899248f3d6a@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260703-makefile-unset-submake-done-v1-1-6899248f3d6a@linutronix.de> On Fri 2026-07-03 08:04:08, Thomas Weißschuh wrote: > The kselftest build system may recourse back into kbuild when building > test modules. In that case kbuild needs to parse the new flags passed > from the command line, instead of using the ones inherited from the > kbuild invocation. > > Force that command line reevaluation. > > The same was done for scripts/install.sh in commit 14ccc638b02f9ec > ("kbuild: cancel sub_make_done for the install target to fix DKMS") > > Reported-by: Zelin Deng > Closes: https://lore.kernel.org/all/20260525083721.27857-1-zelin.deng@linux.alibaba.com/ It is great that you added references to the related commit and the original thread. > Fixes: c9bb03ac2c66 ("kbuild: reduce output spam when building out of tree") > Signed-off-by: Thomas Weißschuh I believe that this is reasonable solution: Acked-by: Petr Mladek Zelin, could you please provide your Tested-by, please? Best Regards, Petr PS: I could take this via livepatching tree. But feel free to take it via kbuild tree. I am going to wait few days until the discussion settles down.