From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 92BB232B105 for ; Sat, 13 Jun 2026 12:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781354924; cv=none; b=euaFfdY1C8/5rt47LNXukiQwWIe1E55JxbyByMKLYAjTV8+OuEi/IeGrlgWViafCyJ3HxGKDZ8sA8xU8dMB/ikI/+5urJJTBPI+WF2/xianakgd6n+VssYdKFCy4r+6lhnM4dpUY+mk/lvtXR22dc9fEPW/Ysz8Myuqe6gMzeg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781354924; c=relaxed/simple; bh=swe7tHyGDAS0LgqXY5o7c8Rigm+T1uVKVB09wXPt760=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=n0nIBnNQxVhsqqUrL29JH2vF3WotnMwy0pOi538Cq0NNa/gfvAAdKZbenbkB2X8wCWrux80bF016e8QaEwYTfielwpWj3bYMgiGsEJEPGAqoGD1WGEfBFw+4nU0yPlAd0MC26FRQi9KM87rHtK50ZYFUqBq6gRdK4qd+mixw6bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Vy16bRjB; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Vy16bRjB" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-490acbb0f89so12012825e9.0 for ; Sat, 13 Jun 2026 05:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781354922; x=1781959722; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=X6siKJ1w+rEnl9pZ3MoidjUGxh10zTJghXGxeG18mLU=; b=Vy16bRjB+R+62Q9Rz5R6g711rQVmGjQSQDZGNRIHGhhIgxy7YjeSHu8hIMKTvwtaPJ Si3JV7Qiw7yoNbE1yWKIum/52613DnODAwrvYY2J697Eh2QdWOnj+CH7OzyDh2zkNZhr ABPUtMlPba6deHVGe7HBqTfP0cbwKzeaDqcNfbzqrj3G2F4QtxFlyl1nQuisqOrvwMWW hI0SXjsuksdTO9fVu2JKZnm6bcw5K0llZlKEel2tIqciA8TuyBfFKg5vDvxQFb9GRw2r WR9758nP/GvYpAq2S7Yzco2x+ECrxEH3RtXMdTeIoxmoADcccZY8vNrq7OF9/dzIsxCw gozw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781354922; x=1781959722; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=X6siKJ1w+rEnl9pZ3MoidjUGxh10zTJghXGxeG18mLU=; b=fRGCW6cjnHesC9LQPlwqpUnRjgPea8GevrVqvdftZDFkka5LwMApfNZhw9VBgiuFNz 1Ls4TgaBUENUqCRifG3dg2jJSAwYV1ikoGO1eD8Ktq5ZZyYD82mxEDGlzRH4gWupVI5p 7zxbqs3xTJsNxWBxPnAS/bl3mHHflYKftB7FSKBtgudgBwOB607zovstAC/fIOrRE8zG eZOYBsqOJOZ9iqNijWMTPYwR4sw3DldpWVAz9Rjk0h2Y9k3WxU1vPlvXTE/6KvfPXs4y c3dT7gGkg4RHhAeuMaRqHMNET6E/vhwqjB17FjQkD5dK17tqiXQL3+3Hss49kitb3qhl hLiQ== X-Forwarded-Encrypted: i=1; AFNElJ8Z2pSJZcAx8LSIPLv/PsXO4BOogpprb11lgYEKYq0ceqpIVQ0Ds80XKRjqXzWyqgNdMMDSb5vH0ru9+vE=@vger.kernel.org X-Gm-Message-State: AOJu0YyoW68K8ta9F5vWHkx/7ilw4uG20wPz7PkGoFFWRyn2irq4NFjW bjIWu9XcsSfuSEwFe07fP++mMt8IoAe/55/hltVVBdFBFw8WdAwsT9+F X-Gm-Gg: Acq92OGa9uePYcuiDeUcsYxohcMORkyVOzG9IpqnUZ4LjEtQR/X1dle8CjJ/voKj0MV VAjxMUwR63MaO4Uw9RlkxQ5/JiPjl0xObkpzuJHXraOhPOivrMOoAxyATtIg29Rrr6B6ezRgRcd q6KWtdZ+nl7hjsP5c2tucHE5FMf4Rb7lbdh1UXFlHAWPXG5Tk9IzBGMzDEqE7lqG0IL9GRcnCWn I8jsi0Lj+8AUEJ2it1Qgj/ebFPYuMZdP0uSCdT+1jdHZykV9bTHxjPoZdtKw2mSy4aQlgPnu7IG uQV+xVdhM2bgBfB24IpVIzxBqtpa/FnHZhh+JifWouLtrdX0OmUj+bR4c9I7ih1Xq6Y+SASUsa0 8ktsOhwLtYdmNxN/uep+/mX7BXPNnlP/f4Lvt2IVQvtOf0ygVs3g2xoYXqLfrq3cKnmxilqeDvu GyT9T2ZgJ/4pt2fVOjOy+8ORxKmcNtycUOsxYCaVXM34xZKPE36K886UdkCSz9GiiFTDwP3ZSg+ TKldr2VJRB64FhF5EQ= X-Received: by 2002:a05:600c:3b16:b0:490:bb45:79ef with SMTP id 5b1f17b1804b1-4921fdefb5emr37427245e9.0.1781354921745; Sat, 13 Jun 2026 05:48:41 -0700 (PDT) Received: from [10.128.10.215] (195-23-151-163.net.novis.pt. [195.23.151.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490ea95c512sm88407955e9.2.2026.06.13.05.48.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Jun 2026 05:48:41 -0700 (PDT) Sender: Julian Braha Message-ID: <7206bc69-c35d-4ce7-8083-ae6586e7543f@gmail.com> Date: Sat, 13 Jun 2026 13:48:40 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] kconfig: add optional warnings for changed input values To: Pengpeng Hou , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: Jonathan Corbet , linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260611060000.23858-1-pengpeng@iscas.ac.cn> Content-Language: en-US From: Julian Braha In-Reply-To: <20260611060000.23858-1-pengpeng@iscas.ac.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/11/26 07:00, Pengpeng Hou wrote: > When reading .config input, Kconfig stores user-provided values first > and then resolves the final value after applying dependencies, ranges, > and other constraints. > > If the final value differs from the user input, Kconfig already tracks > that state internally, but it does not provide a focused diagnostic to > show which explicit inputs were adjusted. This is particularly confusing > for requested values that get forced down by unmet dependencies or > clamped by ranges. Hi Pengpeng, This change would be a huge QoL improvement for me, thank you. When I generate config files with external tooling, I need to do this check manually. It would also be helpful if config options that are removed from .config would be printed, since there are config options that are only defined in certain architectures. Tested-by: Julian Braha