From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 7DA7126D4E2 for ; Tue, 2 Sep 2025 13:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756821382; cv=none; b=qhF91O1C7ghM+4DgW06dsyls3ksrcknAoPh9QX5b73vZ0yL/sGKAq/pMvYHJobGqitw+ceyhCJ8O6XRYMrI9GALvlB5xBEt8qFsk9iU2oN0fdugsMqQ4HgD0iYrToNIWSX0I+xs3wDexYbhrkVZ4jPRXtwi35YVOJHzw6IpWwYU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756821382; c=relaxed/simple; bh=6NjUJdWqNNqnYrUOgCs1pwBPRHM8p+isi6G4JcTG2eM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=cGLfYsc7uLUSRKDkci+WhEUQLqloBL1oCMmHOu/EEUWPyDccFptSFwZcSHkGZBf/qn7l+Flm/lKpIvRBV71rtcmqN/HF5j0D0UZDkhC4ZAaFBb22z9WdoThOqKN+YuXVOBNUZOcS7XywofaxLiIXWI4FeoI+vgZ7E4EdOR+J9S4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=auY5BGJJ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=j/xgH29d; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="auY5BGJJ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="j/xgH29d" From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1756821379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QFGLCwPbLvRuNQmL03+ALFpOnprLer4a9K905eFQfIQ=; b=auY5BGJJf8ytFightob8ypip4Q2ENHhyo1FbRf8m4jyXtArhnqkGxgbVdEA3Wg+6QNAScM 1RjI6iOvhbngWk1efDk4HWySueTeqm/KilgDHHYiCUMl7cTcMQp50xfXdCkg7S7vGPKry3 KkFLESf3k8zXZkid+BccLCgXco/WhDiuexHmN21CR/cxfypzsjU2Gjlm+HGn6a/O9CC5Ih Vieac6FnH5rMLLsO7r4xItrSvDN2fhmLw8+u/Juj7UVHf/x/Yf3t07xX/KTxCaJyelnSoj qEcfSQd/vzTLeIpVFAuzWGyYOg6ggguhVoES08Ko5tqrTsVAEcY2FrQK5AHiGQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1756821379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QFGLCwPbLvRuNQmL03+ALFpOnprLer4a9K905eFQfIQ=; b=j/xgH29db3LJjlKwNCNE4fDpLbRKAWP7XArbOm02EyUSGO5wGWAdt3KaLX4/g0NtOtwSzP wXDMWkT6Y/4lYlDA== To: Michael Jeanson , LKML Cc: Jens Axboe , Peter Zijlstra , Mathieu Desnoyers , "Paul E. McKenney" , Boqun Feng , Paolo Bonzini , Sean Christopherson , Wei Liu , Dexuan Cui , x86@kernel.org, Arnd Bergmann , Heiko Carstens , Christian Borntraeger , Sven Schnelle , Huacai Chen , Paul Walmsley , Palmer Dabbelt Subject: Re: [patch V2 18/37] rseq: Provide static branch for runtime debugging In-Reply-To: References: <20250823161326.635281786@linutronix.de> <20250823161654.421576400@linutronix.de> Date: Tue, 02 Sep 2025 15:56:18 +0200 Message-ID: <87bjnt0xh9.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Mon, Aug 25 2025 at 16:30, Michael Jeanson wrote: > On 2025-08-23 12:39, Thomas Gleixner wrote: >> +static int __init rseq_setup_debug(char *str) >> +{ >> + bool on; >> + >> + if (kstrtobool(str, &on)) >> + return -EINVAL; >> + rseq_control_debug(on); >> + return 0; > > Functions used by __setup() have to return '1' to signal that the > argument was handled, otherwise you get this in the kernel log: > > kernel: Unknown kernel command line parameters "rseq_debug=1", will be > passed to user space. Duh, yes.