Received: by 10.223.185.116 with SMTP id b49csp517713wrg; Wed, 14 Feb 2018 02:45:13 -0800 (PST) X-Google-Smtp-Source: AH8x224b6as+Qm5uGnvibtfYSwpWk0dIoOhKcMmuuKWTr7/a79sZGo2ij8ko+JtH0WAYLyswb+x2 X-Received: by 2002:a17:902:22f:: with SMTP id 44-v6mr4033460plc.418.1518605113585; Wed, 14 Feb 2018 02:45:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518605113; cv=none; d=google.com; s=arc-20160816; b=y1GVEqw5TY/EJzUluzRS4NEi+a+hfQDLtp63KqLax8EQpkv0cUBNin6Rdc2OTfY8Vv yepIRYWaidjSLE+x0a9K0gLkEHx+nVJjn/FmBQJ3xMv5bgGC5Lef6oTj+a9++5hipPqp R7vjNIEpiYNDyKGQGwzGjqo/vmKp3E/gX670kHQv6Ao6CE9XO/PonW5lO/GlC5VTF7Ct FNFNnsY9YPR66BRU7hDM/9SDz1SCVV/YlYiP9N2nvPDzjDJsUDnKjuRjCgF85LwdTVf5 8x0/+zqsnA2h6NiaXjwqEu/98IL7ccVSmnox6ZyKdTQmLPetsk2TMPFUBrv6zbgZkN4B TUCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=wgNfUhtyxJwR6OOyA1l6i/hrqjnsQY8hlmZdgkU/MFk=; b=o0vVgM0MDvhpWcYWYmgEB3uaWe/xEMb9xecGiED4nmotW8117Vsq5zSK6tnOZ6i+Bx keJG6YxNBdYGEV3V/cVC63mAERIX7u+1ztr4lwxSe/scCUSiyWboPx0aSIbzhv59FTCZ aWJ0Mm7hqj3I+ZU9JFUnI1sRRN/6Ux3iiXAZoM/CKHxC/pt/oqggFq5GyScACAA7OcI+ fwfspVOc9wm5TutXdZ40gAjb1iFgo//7OmyLFBr3X7a1FF3ah7sLB55y2SMAVcPWIHxn ADKWP8L+IAFd3Fd3v5J9YQDTuYtR7zs6xnnvpzo1peJnQ7gpZ1DaGc2ZplK8RBvrlz6/ NWiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si1264143plu.508.2018.02.14.02.44.58; Wed, 14 Feb 2018 02:45:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967226AbeBNKnp (ORCPT + 99 others); Wed, 14 Feb 2018 05:43:45 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35943 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967093AbeBNKno (ORCPT ); Wed, 14 Feb 2018 05:43:44 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 8CE1A80161; Wed, 14 Feb 2018 11:43:42 +0100 (CET) Date: Wed, 14 Feb 2018 11:43:42 +0100 From: Pavel Machek To: Andy Lutomirski Cc: Mark D Rustad , Adam Borowski , Linus Torvalds , Joerg Roedel , Andy Lutomirski , Joerg Roedel , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , LKML , Linux-MM , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long Subject: Re: [PATCH 00/31 v2] PTI support for x86_32 Message-ID: <20180214104342.GA12209@amd> References: <1518168340-9392-1-git-send-email-joro@8bytes.org> <20180209191112.55zyjf4njum75brd@suse.de> <20180210091543.ynypx4y3koz44g7y@angband.pl> <20180211105909.53bv5q363u7jgrsc@angband.pl> <6FB16384-7597-474E-91A1-1AF09201CEAC@gmail.com> <0C6EFF56-F135-480C-867C-B117F114A99F@amacapital.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <0C6EFF56-F135-480C-867C-B117F114A99F@amacapital.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2018-02-11 11:42:47, Andy Lutomirski wrote: >=20 >=20 > On Feb 11, 2018, at 9:40 AM, Mark D Rustad wrote: >=20 > >> On Feb 11, 2018, at 2:59 AM, Adam Borowski wrote: > >>=20 > >>> Does Debian make it easy to upgrade to a 64-bit kernel if you have a > >>> 32-bit install? > >>=20 > >> Quite easy, yeah. Crossgrading userspace is not for the faint of the = heart, > >> but changing just the kernel is fine. > >=20 > > ISTR that iscsi doesn't work when running a 64-bit kernel with a 32-bit= userspace. I remember someone offered kernel patches to fix it, but I thin= k they were rejected. I haven't messed with that stuff in many years, so pe= rhaps the userspace side now has accommodation for it. It might be somethin= g to check on. > >=20 >=20 > At the risk of suggesting heresy, should we consider removing x86_32 supp= ort at some point? We have just found out that majority of 64-bit machines are broken in rather fundamental ways (Spectre) and Intel does not even look interested in fixing that (because it would make them look bad on benchmarks). Even when the Spectre bug is mitigated... this looks like can of worms that can not be closed. OTOH -- we do know that there are non-broken machines out there, unfortunately they are mostly 32-bit :-). Removing support for majority of working machines may not be good idea... [And I really hope future CPUs get at least option to treat cache miss as a side-effect -- thus disalowed during speculation -- and probably option to turn off speculation altogether. AFAICT, it should "only" result in 50% slowdown -- or that was result in some riscv presentation.] Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqEEt4ACgkQMOfwapXb+vKwvQCeIXEkHk0gIuij6jJeJ8L9JpaQ OVUAn2Jr3gvFOK5Qz+8M3nnE2T54bLHV =30Yq -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--