Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4434545imw; Tue, 19 Jul 2022 06:36:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1toXSsQN9iZxPH+jw+Fj7Reo6Zs7cjhV/k0PgMLHohvCxl/ajaC1LxMF3jhs4H6p0b9PRZJ X-Received: by 2002:a17:907:7349:b0:72d:a080:f8b0 with SMTP id dq9-20020a170907734900b0072da080f8b0mr27619585ejc.389.1658237770379; Tue, 19 Jul 2022 06:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658237770; cv=none; d=google.com; s=arc-20160816; b=x4/Qj/YK/Wo059AO8prZcxuQ4/MFgO4WQrmpju4NLLoXGZjgE7JVVfl6SAi6L2swij ErWiI+l0vF2U4olb37iiMT/v4GANN5DfEVii+MHIEXpZBsYbFtyBn3ReCh70ev0szR8t a2z5MC3r+o3PBJ+rLmLsKaa4a4RDPk0IrVGeTnn1xUqMaqU35pkFZ3jUaQ9ZkLOAJjDi yATL8PxPV/6h5V7u3WVtLvvkSleBeYBLBbKfsl5YP6iQRu+MK1wVatXBeS+M3dB9ERK8 MiJVM0HgBbsbcgmPFcEhMoyt8ChNc1MGBkmkhlrAGtg/p1/Wb2TsTmUAualNqZVfdSUv uaTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DAx+sM+epCk246POloxFqGDCP8DOtMQTBE1kqRIyu/w=; b=H3c+c6VAZn5BdoBSdn5X8Q65AWypZRc2PW5dnfw8PPzngSQsYQ00w1chn+d9dxmNmg EomR3O76HxERnYt4anrroie9InoE/EOG8ha4mcpVRAp7Zv15AhTwkQyep05SETZfFfkT 2l5aTn5N3pUbhZbErT+d5ZQB29uPxEY1Eec6WcLfw80T0a+ytFXfDQ/u3LOrsq3WL/sJ fOND/gtdNBU7lb2sHqFYY5MEgeRmmEFz2wFTnA6oPaMsQQUMfW+629bgVD2EOBv7+f5B UoMgMsYSJe0JB6dnOn7j9g1oigLd8NbQjP6R/0QK6G4m93ijT5EOiI/GtDGiBYAkAzGW KSxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=CQR0ZxHI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020aa7d1cb000000b0043a734c7014si16829381edp.78.2022.07.19.06.35.46; Tue, 19 Jul 2022 06:36:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=CQR0ZxHI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237006AbiGSMbf (ORCPT + 99 others); Tue, 19 Jul 2022 08:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240645AbiGSM3t (ORCPT ); Tue, 19 Jul 2022 08:29:49 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2146E6B761 for ; Tue, 19 Jul 2022 05:11:28 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id b26so21315257wrc.2 for ; Tue, 19 Jul 2022 05:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DAx+sM+epCk246POloxFqGDCP8DOtMQTBE1kqRIyu/w=; b=CQR0ZxHI6uwx0XVJycb6VgAk2WHyoEF7Ew+8LLFztvRueVB/IrNfEBWhKWmUUDjX0y NR+v1ivLlT4D4pMnUVvI6XUyvTB1+seMu5Jh2lS9zjyZHrqSPJAioxCdV1KNcFwCc6jZ noC5IC8WKWPSWSy9fge5Vvxr0epeMK/yDy3Ik= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=DAx+sM+epCk246POloxFqGDCP8DOtMQTBE1kqRIyu/w=; b=Z5c7Mx+/jy0J0q62ocyd0ONNcpzuJWaJulgpqGpr6GxTv74QDZy72twnRLFQW+XCXf +MMoabpD9xie3LpJO8dXWapdsEsl9SYyM8f1VfsDBxvbkn47c3d9/QGDzjS1VN2XbQYN P3PCiGHV9sH1BdpDYvCMAeOb9c9aR9BPwNuXGkazQxklW16O48Kpo+VIo6rOr0XbIzn1 o6+JwYPe+N4tcfPOeG9yk9uveIm+Zm/FiCT6rLBh/tLleIedh33lLzGVNmn1UiZZVjqE eozRROKuyJiB/K7PHlrtEZ972Odbql2vkS1KHFsDWtLv2KgxOXAB2J8HoFb19R4c9GFg FHww== X-Gm-Message-State: AJIora9lt8kFR33aBCrvu+vW09vPc9C4TOppidHWYdV3HMj0cRlyv+pZ QoFgel7j4E6kwPIhfaNG95xDpw== X-Received: by 2002:a5d:4dce:0:b0:21d:6c49:2383 with SMTP id f14-20020a5d4dce000000b0021d6c492383mr26432082wru.159.1658232686464; Tue, 19 Jul 2022 05:11:26 -0700 (PDT) Received: from localhost ([2620:10d:c092:400::5:d58e]) by smtp.gmail.com with ESMTPSA id n30-20020a05600c3b9e00b003a2ed2a40e4sm21887233wms.17.2022.07.19.05.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 05:11:25 -0700 (PDT) Date: Tue, 19 Jul 2022 13:11:25 +0100 From: Chris Down To: Petr Mladek Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Sergey Senozhatsky , Steven Rostedt , John Ogness , Geert Uytterhoeven , kernel-team@fb.com Subject: Re: design: was: Re: [RFC PATCH v2] printk: console: Allow each console to have its own loglevel Message-ID: References: <20220714154452.GB24338@pathway.suse.cz> <20220715124935.GE2737@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.6 (2022-06-05) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chris Down writes: >Ok, I will incorporate the EINVAL return for sysctl in a separate >patch first, and then add the new sysfs one to the existing changes >for v3. :-) Thinking more about this, I will probably not change the existing kernel.printk semantics to return EINVAL, since it could silently(ish) cause regressions for existing misconfigured systems on boot. I'll just add the clamps to the new controls.