From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 6F16633F5B8 for ; Fri, 3 Jul 2026 08:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783067120; cv=none; b=JigY+Hpj2EG6EeNQ3wg9SZqchY+qY3WV0oiE0luBVL411EObpf/gaGEDN6lWBvcUCydnV0Y/xcTLHG/PpfpAlgt/fbYtGW5VM0pHlDFycYvLX+huI0LtDZ3k7qN8oM0MbawbBEfSzisOa2h3l8OuPf2wcwt00icdCpB77OOQWNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783067120; 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=kmVVHlARZoXbKU27/hlbdj8ZMhgGDhc+UxfSw4f6FjRByCEmK8B+McipHSyS4b4EfRq+W1ou2MFq+f7yP1X/Zuvk1Ol4vuLwLCbtwRLkvHjNhi+5EHO73cr7Ijj7FGktNZ9Bpn+IUSTa85kBdgmn0OQb5nU3MNN3s94mb3OBMiU= 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.54 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-f54.google.com with SMTP id 5b1f17b1804b1-493b61b52b6so1678065e9.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=nJ2TFhqovAUYzlfnlaTiuaOxW5xWr7rqaxiWv4AIHXFSx2Rf6lU9STptmukd1Ca+Ll gBlvorT2A9uMKWkbiBquC5utM6F+EQ1eTF3G9cYe3mCYShS+LDzW9bK0Z0tL+sx5n6WT 8M9VFUQgJaDa7qZ1OMs75PA3w2lUB2cdjhk6OR+81IIl51bbQsgFF+8R7yntKb2bQLZT XfTGFG2JPA6lj1cSOY/1S9SJ30IqDiC4BQdvAC719E1s3ODOC0rwYu6zgXtm+V9RWr5Z TrgkYWu1sVug7HMVxqOxEunwmc2Zek+tkVGxKVo8zevm3/1ZQ1HzPVEjPzfYzJ1gxhTs p4cQ== X-Forwarded-Encrypted: i=1; AFNElJ8Wm2AlsHUFac6C10M6N7C2j/v1fZWJFZ9Vd8A0Ag4HJjrGy0JVRLW2e7yOq12S72P1M7FwQNpDjCsBqFtd@vger.kernel.org X-Gm-Message-State: AOJu0YwHnEUPOGogNwPJIbj7IDBOZ0jCFLik94QFHdgJOwN4AUWlCrZW GBjwPeCJyUi4hXbpI818BcRdwYDc2ZmD6sioRlBgsAvZ5i5oug5BUhU8ze49Fn1Jz2s= X-Gm-Gg: AfdE7clIEeVX1VyDsa5R7pCt/Ggty/KxpDlcK0ZC9P5W2/NfCTRg6ueRwMnRlGnP66H 90Elo91VKSo4cyJJ+TtZr92tukuW7qOfFx5k6dQCpWK36nLjNhfCrZEurKmgUdYFMD7oJcm/SYI L6hrT0LP/Iaq0UNRW9YqLIiHxqLXqZRZuV2oveJPRH9SlQGARnpkhgwWvzmJ6sdHNYIZgEg3cHL KIjDNO0poh7jEo4fG3rxoDuMD4Qe4uLjFEaGO1GktI/VDc32OGFhkmIw0IvX731SVXDSzcnWMUD RBYNBn2KTRHtjGe+NrV3CQN4zjf0F3SBZ5g2aOLAF85gukI0SLeKihA3FmRsKupjQ+h+VSpxRFz jCHm4gl9GwZWQSEOkgrWoUZQxkytobsFJqYfSnuOwX1Bhau3JDGRzpG289h/N/QX7k7wsKLSt74 70o8fKfOU27ug245E= 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: live-patching@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.