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 5ECB231329E for ; Mon, 24 Nov 2025 17:04:51 +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=1764003891; cv=none; b=FHm7vl/WFBPkJGQFjSZMQBAhHKCBJtX2yYK8ro1he5TIW++So+wNSvDGcowiAc9eSUszUp3YOm1XGVvzIUvEVqJesnbUlJJ/6z3LKD8nWUHbFph/puio+1hAJW1yptXkR555p/7OOI8Jnp6hlQO+yo/U1EZ0LKR0n3FeWVOsXDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764003891; c=relaxed/simple; bh=S8Qrg4iC2yFDCaP1xktH5LChT86VwXzFCdOf6j/SW90=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T9H4K1bjdo6iE3I7o3fN1zNJuCst1Z7QqiqugYaISvOj4YOFhEJuKW7TmMGw/wlLzf7gCp42ZnKD28EVwSARifwRRGp0bwszq0INTREGgrc/jZ1gK/Mu1E9aG7p0vvNTwv+sIPsJlOsE8wgSJxzEuiNwCqQXZu+j95GmhgK7eno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ozLhTwis; 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="ozLhTwis" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD4B8C4CEF1; Mon, 24 Nov 2025 17:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764003891; bh=S8Qrg4iC2yFDCaP1xktH5LChT86VwXzFCdOf6j/SW90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ozLhTwisGPVHdVMpnBmWnfSEk1gY7IbGb+GqIiObQDXU+pzI+npScjcyDVTnzlycS +na6JWOBGQBDkjXx31M2mCjS4xtDIsNTf5arVXUzgs41Dm6VoKrSsAeTMyg8OVGLJ8 Xbw+aj+Kfz49W4fztQ9xGzfoPzmHVcZ7L64kwJZk= Date: Mon, 24 Nov 2025 18:04:48 +0100 From: Greg KH To: Shrikanth Hegde Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, tglx@linutronix.de, yury.norov@gmail.com, maddy@linux.ibm.com, srikar@linux.ibm.com, pbonzini@redhat.com, seanjc@google.com, kprateek.nayak@amd.com, vschneid@redhat.com, iii@linux.ibm.com, huschle@linux.ibm.com, rostedt@goodmis.org, dietmar.eggemann@arm.com, christophe.leroy@csgroup.eu Subject: Re: [PATCH 16/17] sysfs: Provide write method for paravirt Message-ID: <2025112409-rockstar-shortcake-1892@gregkh> References: <20251119124449.1149616-1-sshegde@linux.ibm.com> <20251119124449.1149616-17-sshegde@linux.ibm.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20251119124449.1149616-17-sshegde@linux.ibm.com> On Wed, Nov 19, 2025 at 06:14:48PM +0530, Shrikanth Hegde wrote: > This is a debug patch which could be used to set the range of CPUs as > paravirt. > > One could make use of this for quick testing of this infra instead of writing > arch specific code. This allows checking some corner cases by providing custom > cpumasks which isn't possible with arch method. > > echo 100-200,600-700 > /sys/devices/system/cpu/paravirt > cat /sys/devices/system/cpu/paravirt > 100-200,600-700 > > echo > /sys/devices/system/cpu/paravirt > cat /sys/devices/system/cpu/paravirt > > Signed-off-by: Shrikanth Hegde > --- > This is currently not meant be merged, since paravirt sysfs file is meant > to be Read-Only. Hence the documentation hasn't changed. If this method is > really helpful, then can consider including it depending on the > discussion. As you added this to this series, if it is picked up, it WILL be merged :( Please try a "Nacked-by:" or something else to keep patches from being applied. Or better yet, send them as a totally separate series. thanks, greg k-h