Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10224963rwb; Fri, 25 Nov 2022 02:27:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5g6BtbUPQKylP9Sq5LZlwx+dkgbx6hA1F2IssVApljyF0P5ALdOF0FXXW2Gv7pAvdy9dgz X-Received: by 2002:a17:906:2650:b0:7b2:c004:55fe with SMTP id i16-20020a170906265000b007b2c00455femr25965929ejc.742.1669372052474; Fri, 25 Nov 2022 02:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669372052; cv=none; d=google.com; s=arc-20160816; b=yNIxB4bQZ543hwBAKAafMjCcih+FUGfKqzKe64iDmpNkEtgTRZwmNbuPy004WASJwc 4CxTw88h1E1dGYo39sRmx//dxkLj2agsgH2UUoDmPeIyYmvzMqGAvVTzsXFss2KWV5ww elF0nq6/7NbFeRjs4DkuLpmO9qFRegVV056nZWZjPrl2WiToiI9JLjJ4waFrLod60Enq E8dIyovqGsOvmJkyCBiGsm6ZXI8lp9m2n9dI23WN3OK7kr65KbcbyN98dBPveU9ebUf0 CfB18C9km1rg4lG9JA34XXH9NVqzqn5UhHnRkT+Dx2HAq8XNXu3kQ8EXx4JUwdwTv/Hi 67KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:dkim-signature:from; bh=YRPnORy9ghMlm6bMW/HwcUwyjymDsPNQMAZfp8edSwQ=; b=KwUtD1MWtgtQTHMmH4d9r7Ny7FsTDM95qtvkeTI0wlTYw/9XR8j+k8psVHBogqXPOt +FROCU69I52QVJqqefFUatI4SWW9WqfrK2XW9g37L6jqdbzx4PH/YmNCTn8N68wld0BV bSwi5Hx6ovaHbAQ7TajCHNu6O6I2saYLfLCFbgCBRjCHweNRksfqTjY9x1wFRvTZkqJJ QCe9nk9PLL/VwESyMhCH+16t6P63qHFOsqZtTNKxXKw7v2eJgSyTonXPqcSi606wubps tB6y85MBEHD2PDsO3W2haCibgGpws2mc6cQo7FKbRfWzFW/Aw7YAarDRSsnyf5l6Kml6 dpPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hT2CbsJ0; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aOgtf8G3; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs36-20020a1709072d2400b0073dc32ccd9fsi3231420ejc.104.2022.11.25.02.27.11; Fri, 25 Nov 2022 02:27:32 -0800 (PST) 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=@linutronix.de header.s=2020 header.b=hT2CbsJ0; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aOgtf8G3; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229531AbiKYJm5 (ORCPT + 86 others); Fri, 25 Nov 2022 04:42:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbiKYJmo (ORCPT ); Fri, 25 Nov 2022 04:42:44 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C0322188D for ; Fri, 25 Nov 2022 01:42:39 -0800 (PST) From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669369356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YRPnORy9ghMlm6bMW/HwcUwyjymDsPNQMAZfp8edSwQ=; b=hT2CbsJ0u5GL16fEd8V8rW7ltp3AXMsOFLB8T9ZKHakVcXdAvvosVYAWLj0C5UYmuR38YR ht6hU5p2r0h69ib0l9GEgVsteaYLQqEczue5VW6WsuxvUm87PV+b7zodOLIPEyQ9s+g0lq B3jsinaq4gbDwWc/qzrVfSJ1ULhB+8cz6dDK11ntUc8IjrPJoZxFXUK+/NIe95Hxcx7gK7 nbqJHydA8/whdY1utSQzceMc5h8EFvv8voCM6By2Sp0/uNm4MCXZJjZxmliUhXZzp+J1zN tjeZDpWWHjnLRndr/KB9LOTIfyaTJcxEg99OoqXLa7/UYUFq4D+WWH5PKdfA9w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669369356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YRPnORy9ghMlm6bMW/HwcUwyjymDsPNQMAZfp8edSwQ=; b=aOgtf8G3edUAW1Cck5MZRgQ59BPlTwOuv3ivk8Kpr+kxjGuNcNbctEdgLnkUFO/bZEFtB0 E8HOzt8tIxDk2VAg== To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Roland Mainz , "H. Peter Anvin" , Borislav Petkov , Dave Hansen , Ingo Molnar , Thomas Gleixner Subject: [PATCH 0/3] x86: Provide a vdso for getcpu on x86-32. Date: Fri, 25 Nov 2022 10:42:13 +0100 Message-Id: <20221125094216.3663444-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 This tiny series provides getcpu in vdso on x86-32. Due to the setup RDTSCP now also returns CPU and node information like x86-64 does. The usage of RDTSCP + vdso has been tested in a VM with 64bit kernel and 32bit binary and a 32bit kernel. Sebastian