Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2066097imi; Sun, 24 Jul 2022 06:18:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tgOflSHtRW0Wy7jhpXU/vN99LOw6xMSaKsBYBSnLSlF/yJ3X7rd+DCQExC9cOMgRHFw3fs X-Received: by 2002:a17:90b:4d88:b0:1f2:108:12c1 with SMTP id oj8-20020a17090b4d8800b001f2010812c1mr9618337pjb.169.1658668695596; Sun, 24 Jul 2022 06:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658668695; cv=none; d=google.com; s=arc-20160816; b=lUcbBGRbWdy9vtjuYq36WGLrzOFNG7xbP3RZ8Ngfcl3kSeZ+TxUPiCEVBoVDQ4Dwuo TSRSIihAsydKZ154g1Gj3Ppe/P8IKttw5sVONdaoVp0ykctZ9PPLM2j2FbiL+zgffq3z ArUshruRfp7aRSDbDWzgfWCO8XFQXmVwVmzhSjIbM6AEkjLw5wF+i6iFZ8B9tQyMdqDH MNwLtfcifs/5mnjPNZpNtMryYZDvtXEAfSje/7dIII2AbTNAHAuyjO56kWVrKTIs/rQo 4wxd5PGqYhYyrKwuRP8jh5lkgWcfpDzv4eQ7BMAi2LNwFmgb3d4DvgWJ2NDJicKaWhbH i6Og== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gwguV63Fi5fB1wTTDHlqLIZrWqWY7WfW5nfc8u5bpKE=; b=N8vY7qdjvtwOj9Vttox1u+w0FJlMW4Zbbmqu5J6j0f1FY6i9UmQx44fVPzTsqbVKsn Tks/x5DHxczN6vt3mFthA8G32Qls05TPIgPMUD83xoLmaa3HK2j3i5mCA74H2tHiSAvd 0OA7N+lyJoasTPvzrdJp3ZvWOitBd72g5OV+POD/QokRyhQdOw2BCKuPhCBdEzDjPWDj 3MYsWRknwxeplR9II3UStEogq5fNRcfxB+5a7xzQd1T39d56z8oDUAOK9b22tuI2RSfX HkOIvjaOEnBKK4dRIqE9VGYwfrvWDCLof6dluZ8VGE6dkBSiJ8gO6RksT8GCeu1cTzqP N8bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@angband.pl header.s=tartarus header.b=n+AHe5UD; 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 rj6-20020a17090b3e8600b001f285afb589si3738735pjb.164.2022.07.24.06.18.00; Sun, 24 Jul 2022 06:18:15 -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=fail header.i=@angband.pl header.s=tartarus header.b=n+AHe5UD; 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 S236014AbiGXMbF (ORCPT + 99 others); Sun, 24 Jul 2022 08:31:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbiGXMay (ORCPT ); Sun, 24 Jul 2022 08:30:54 -0400 Received: from tartarus.angband.pl (tartarus.angband.pl [51.83.246.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E083885 for ; Sun, 24 Jul 2022 05:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=angband.pl; s=tartarus; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gwguV63Fi5fB1wTTDHlqLIZrWqWY7WfW5nfc8u5bpKE=; b=n+AHe5UDeDKrM/fd/enGiSzNMm /eDSjcjG1KNoElE0QsCBsi2ZIZPxdBi79IFCNycHaXAJRqFgTH3spmA5ukxnQPwDwBOyKgAas+pin 0mU1M377EDShpHU7eK76Ixx4WflY7lnO5Vt5yTZ0FVCun1PDlpQrJ0JcrrzXBn7DMhL8=; Received: from kilobyte by tartarus.angband.pl with local (Exim 4.94.2) (envelope-from ) id 1oFake-004e7X-9V; Sun, 24 Jul 2022 14:30:28 +0200 Date: Sun, 24 Jul 2022 14:30:28 +0200 From: Adam Borowski To: Jan Engelhardt Cc: Greg Kroah-Hartman , Naresh Kamboju , open list , X86 ML , lkft-triage@lists.linaro.org, Borislav Petkov , Pawan Gupta , Peter Zijlstra , Josh Poimboeuf Subject: Re: RETBleed: WARNING: Spectre v2 mitigation leaves CPU vulnerable to RETBleed attacks, data leaks possible! Message-ID: References: <3139s0q2-2o3s-4334-o670-n3p223o34ps9@vanv.qr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3139s0q2-2o3s-4334-o670-n3p223o34ps9@vanv.qr> X-Junkbait: aaron@angband.pl, zzyx@angband.pl X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Sun, Jul 24, 2022 at 11:25:04AM +0200, Jan Engelhardt wrote: > On Saturday 2022-07-23 23:50, Adam Borowski wrote: > >> > We are booting the i386 kernel on an x86 machine. > > > >[..] And for quite some tasks, halved word > >size (thus ~2/3 memory usage) can overcome register starvation and win > >benchmarks. > > So how many benchmarks does a 32-bit userspace with a 32-bit kernel > win over 32-bit userspace with a 64-bit kernel? Likely none or almost none. What we want is for people to run 64-bit kernel, there are no real issues with userland. Valid uses to run 32-bit kernel: * ancient hardware (so much more prevalent than m68k we support!; non-hobbyists should upgrade to reduce power costs) * hardware to run that 100$k-1M ISA industrial control/medical imaging card (which, having ISA, is necessarily ancient too) * us devs testing the above Only the last case will have a modern CPU, thus requiring an explicit override won't hurt less educated users -- while telling the latter to grab a 64-bit kernel if their hardware isn't ancient would have other benefits for them beside just vulnerabilities. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ Aryans: split from other Indo-Europeans ~2900-2000BC → Ural → ⣾⠁⢠⠒⠀⣿⡁ Bactria → settled 2000-1000BC in northwest India. ⢿⡄⠘⠷⠚⠋⠀ Gypsies: came ~1000AD from northern India; aryan. ⠈⠳⣄⠀⠀⠀⠀ Germans: IE people who came ~2800BC to Scandinavia; not aryan.