Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1565124rwe; Thu, 1 Sep 2022 23:03:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR7+3NeXkm+D5H8t8tmMnvsn80087Nl1d76H05KJQB4Jpn0BIkHI5pGpBbJWdGQwvEM5SeCR X-Received: by 2002:a17:907:9610:b0:741:757d:62a9 with SMTP id gb16-20020a170907961000b00741757d62a9mr17575363ejc.726.1662098627087; Thu, 01 Sep 2022 23:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662098627; cv=none; d=google.com; s=arc-20160816; b=itsfGf7LfJXTyh/AYooH/jHK1PXfZ86DfkeWjfuHx0PGPzehkIZZKC17YT6Qc0YaY7 +4dS2QHLVcXZ2vpTyswdfKVynzLf2XX71dRRwOs0d6I87vloBLcYAfE9lf/T/ebooIeL Us+YqjDCtsFJ4CLh6d3sk2WOszaG0Jf3u1J/cdpa8vPZPuc9mKk5qaOVxdtuJ4+H2kYu GMeLY3GKlHPQw++TZDdhfjEu9GGDucEHkWdtEcgZX/R1QgwIR3hKzLkHS9+GS1OTUY+j l00CbDyI4eqm54QvpbSQtqa+SWQWBTH9OSgc7mmPSAgqBydAltDhNaKHy7Ju16dTwu62 EkGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ARIRPhUwOciHwaBBxBnf/pmOtKE+Tn/5xs7IVPAMY+Y=; b=Sbh7qKDQi9NAr2ycxnn5oDF2D0owBCfnlEW7Lp6bbUPerdfQtejh06SpgduPdDRIM/ 35QRSHptHljSJH6ftT8l7Ms0lmg8xb7lXmPZh1CIRfeIhb6OqRy82c3h7knKyEqOtHfi 5K85ZgThdjK0XWRvbWdK54XDNdxkKdBZskDrhVR4faGm6ErLcIXJ/A2HVxZI8v+EupaG NbRVmVFNsd9vjpDMzZID/jWO2epXGAvQeQ6wigT8O3aPW9WcZo88k0yjYt0XkqG/rCLD Fz6tDg77mSomhhNmpeLqsi2yV2Frh2fjpDywqAX+GjMC9oEtXoyZ/c+lO0PXs5zC8aGH iS+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HObci4PZ; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr2-20020a170907720200b0073d78033578si1181645ejc.622.2022.09.01.23.03.18; Thu, 01 Sep 2022 23:03:47 -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=@linuxfoundation.org header.s=korg header.b=HObci4PZ; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235099AbiIBF4R (ORCPT + 99 others); Fri, 2 Sep 2022 01:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232927AbiIBF4O (ORCPT ); Fri, 2 Sep 2022 01:56:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B30374D167 for ; Thu, 1 Sep 2022 22:55:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6F3D6B829E1 for ; Fri, 2 Sep 2022 05:55:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1A2BC433B5; Fri, 2 Sep 2022 05:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662098129; bh=1TFOSeFUslgObcTNBOkzRO2aJyYzjTZ+POXZAASLeQs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HObci4PZ2uDOVeAI1+swxi8TUo+3vAYi3QBNJJGeyWZjktrioSXqltrL8tHc8oD40 TZi9sZtvRIjo6XG+R1t6VrtFYu6EkjwPy5FaSI/JS5r9W9RjQ9iHbMmjgh9+TauG6j d2PumfVY+gvYXIM7zmlgExjFeC0ki419CRTr3oe4= Date: Fri, 2 Sep 2022 07:55:26 +0200 From: Greg Kroah-Hartman To: Petr Vorel Cc: linux-kernel@vger.kernel.org, Andrew Morton , Eric Biederman , "Rafael J. Wysocki" , David Sterba Subject: Re: [PATCH v3 1/1] kernel/utsname_sysctl.c: Print kernel arch Message-ID: References: <20220901194403.3819-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220901194403.3819-1-pvorel@suse.cz> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, Sep 01, 2022 at 09:44:03PM +0200, Petr Vorel wrote: > Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch. > > This helps people who debug kernel with initramfs with minimal > environment (i.e. without coreutils or even busybox) or allow to open > sysfs file instead of run 'uname -m' in high level languages. > > Signed-off-by: Petr Vorel Acked-by: Greg Kroah-Hartman