Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp287484imn; Fri, 29 Jul 2022 06:58:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tXttZDw1i7iN2i8+b8C6iUBshxV7V9hHKRCkeoj7V6cPcvVVUInyysGVo2o14ISsM0SGK3 X-Received: by 2002:a17:906:98c8:b0:72b:3a31:6cc3 with SMTP id zd8-20020a17090698c800b0072b3a316cc3mr2935988ejb.597.1659103102017; Fri, 29 Jul 2022 06:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659103102; cv=none; d=google.com; s=arc-20160816; b=ommzjpg2Mtwj2vqP6YjZ8TdEeiFweovopbjzfqzN2RKThOTNG12raal9Nt4j6zXAZH nywkxlzVJFpYey9no4tl+IlA6klYEV+F7JeR5N+kU7iKfOVt3lidZzl2mQ8YyiXKIlT0 xYOH9srLkd8g3FX5wQ6LgbnoFJ2+a7xeXUa7cQGAUtotta+qMMbcu6/LYOkDj6tEzZVZ Im7FvKUYCzMV0QIHKw+0z5mdLw7U+LuNZfhl7UF3Quz69l1ll12tuzc6nuw4jetguofw oJyhgYBLnZ4B7aBIvzNxCpk7TMqatjDSQVl67SzbNaz1tm7slh1OHB5pQbBQVqISkS88 udJw== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=tMxPr0Lef2neweoLGsYk7K3Rnge938US2kNI8g1jvs8=; b=U015uJbubP8leZIjgWxexyyNh2XKZCnJDid+fss3XBzY54urqB4J+YeEAahdQMYk/N TdTUQAijY54GYgOFIkHgFZ37rM8C7JOm7ySE8FlT8v7B0EC2WIjf44+1mWLO5W5pCnzo hpLpYC3lQ5lc9vWggGCgIQQB70HDQ74/KEPqPiewgiyvaMEGsU5EBrMVWr8KP/6tkVol kJ46Yva9yU2gP0U0cvFYPQ8Zs7V6JWQ7dNZy9Ri2+qTtdgq7MzvngZ/wAXU2baUwCrL9 nqioXeNdiQJMtIcMR76Rcaaxgt9FT+JNWK0Hof+rCA18h1OBK2eOXiSbbQGM/cMBn0y9 YGwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MER5t0Tu; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=a5reKtOq; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f4-20020a17090624c400b006f8ee02afbbsi2974202ejb.513.2022.07.29.06.57.57; Fri, 29 Jul 2022 06:58:22 -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=@suse.cz header.s=susede2_rsa header.b=MER5t0Tu; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=a5reKtOq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235283AbiG2Nzm (ORCPT + 99 others); Fri, 29 Jul 2022 09:55:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235996AbiG2Nzj (ORCPT ); Fri, 29 Jul 2022 09:55:39 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DDF166AF0 for ; Fri, 29 Jul 2022 06:55:36 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CA47E2100F; Fri, 29 Jul 2022 13:55:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1659102934; h=from:from:reply-to:reply-to: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=tMxPr0Lef2neweoLGsYk7K3Rnge938US2kNI8g1jvs8=; b=MER5t0Tu+UFMApl6c0ph1SFAM6AnFJ1rmJP7zkKQXqUc9/p9pNz1O7/IZwjOp9Y4PJ3Ot2 kqld92mpg0yHmBRcKAU7lNBxD5P+vZBxfzP8zMm8hcQnijZUvHxP/QPt89O04mX4FV4bBw 1Zbfr1YyieqTiVwt6QZEuXhId/HrVRo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1659102934; h=from:from:reply-to:reply-to: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=tMxPr0Lef2neweoLGsYk7K3Rnge938US2kNI8g1jvs8=; b=a5reKtOqwU1PwgT/9+gjgQh+PKbMYjPjVbs7Yfo8ubfdjzilYux/0WU33yYEHtg5shLBo0 J5raeUgg4nNwGHDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 94DA513A8E; Fri, 29 Jul 2022 13:55:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id DPjBItbm42KWWAAAMHmgww (envelope-from ); Fri, 29 Jul 2022 13:55:34 +0000 Date: Fri, 29 Jul 2022 15:55:32 +0200 From: Petr Vorel To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , David Sterba Subject: Re: [PATCH v2 1/1] drivers/base/cpu: Print kernel arch Message-ID: Reply-To: Petr Vorel References: <20220729125141.12786-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no 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 Hi Greg, > On Fri, Jul 29, 2022 at 02:53:44PM +0200, Petr Vorel wrote: > > Hi all, > > > 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 > > > --- > > Changes v1->v2: > > * Add file into /proc/sys/kernel/ (previously it was in > > /sys/devices/system/cpu/). There are > Looks like this line ended too soon? OK, Friday. I'm sorry to be too abstracted today. I was about to explain the reason - that there are other related files osrelease, ostype. > > * Update Documentation/ABI/ (Greg) > This looks good to me, I'll queue it up after the next -rc1 is out > unless someone objects. Thanks! Kind regards, Petr > greg k-h