Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2901843pxv; Sun, 27 Jun 2021 12:26:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzXcxwHjQS4tnzpEvPz4L690RUYexIbp9eQt7ePP1SXSnwEWjApd1KT/3RVasCsMSZONeu X-Received: by 2002:a17:907:94cf:: with SMTP id dn15mr20733384ejc.476.1624821969968; Sun, 27 Jun 2021 12:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624821969; cv=none; d=google.com; s=arc-20160816; b=KpzaCIdrzpzLL+zQujkOIhE0HKWunwpZv2qdLHmwca2A8fB5KWBTdKdFp/70U7GaAT LKz+5EpkcMdz5i13qrNG4jw2gyWpw2A80Sa6Wa230Y7frxwHamYB7PAbcAjB1VvPPXn0 6ZVzr9B2d7/m2pWuzl5pjhRZwYkU0+8sJC0CZZkXvaaIW3+sg+Gi9helUOpBomLBYDXe Bt4u+XkIYdPz/GszGN/gy+IP3pOR/IW1cW6l7v0xgHY4GA0M34sxto3X+0b1S8MhSXX5 2+RWNMYJhFKhFReqtapmh3Pyu/WJCIhBENZdsneqGjhuLktAKG+GH6TobkzkVf0/yED2 JHTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references:cc :user-agent:date:subject:to:from; bh=rQjUWyeY3KXQfh46bs6qwUzuCagN6Cm7CaANltN7oBc=; b=kIJm/aZkKgQnV3tMzCvMH7ZILLEO6oYkLZDEbmPUPphBopPzK4FbvdBUKkwYaO4FqM Fl9Nkz11m1gPiMMV9u+gPbgIIC78MTgByFb/QoSh2XV3BuH5M+0bjlsd2W+zsJ7nG55A s0mWlthCq7F6f6qspk/wWi4b1peuzpOErJo1m3qM9rF59v0WLc5qHO19CpmWTgSw/2iJ 7Hbj4MyygGxOnKerF704g+3bmT/7UCUg78Slx3OH4P0HebdVaQmJHc6ZptVcNYXBlNB8 NjAtbBUWlzLKqIrJrqIqBt7YhC5v7SNaefy4qnMv3kVWKCYVNvPevUM08aJ8Qsi4YhNz 36Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si11514490edp.346.2021.06.27.12.25.35; Sun, 27 Jun 2021 12:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbhF0TWg (ORCPT + 99 others); Sun, 27 Jun 2021 15:22:36 -0400 Received: from hosting.gsystem.sk ([212.5.213.30]:57208 "EHLO hosting.gsystem.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231447AbhF0TWf (ORCPT ); Sun, 27 Jun 2021 15:22:35 -0400 Received: from [192.168.0.2] (188-167-68-178.dynamic.chello.sk [188.167.68.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id 9A4607A027B; Sun, 27 Jun 2021 21:20:09 +0200 (CEST) From: Ondrej Zary To: Marcos Del Sol Vives Subject: Re: [PATCH v3] x86: add NOPL and CMOV emulation Date: Sun, 27 Jun 2021 21:20:06 +0200 User-Agent: KMail/1.9.10 Cc: x86@kernel.org, linux-kernel@vger.kernel.org References: <20210626130313.1283485-1-marcos@orca.pet> In-Reply-To: <20210626130313.1283485-1-marcos@orca.pet> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <202106272120.07140.linux@zary.sk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 26 June 2021 15:03:14 Marcos Del Sol Vives wrote: > NOPL and CMOV are a set of instructions that were introduced to the > x86 architecture with the i686 ISA in 1995, first implemented in the > Intel Pentium Pro and Pentium II processors. > > While virtually all desktop and server systems are modern enough to > support these instructions, in the embedded market things are a little > bit different: DM&P is still manufacturing their i586-only Vortex86 > SoCs, and many embedded devices still in use are stuck on legacy SoCs > that either are i586-only (AMD Elan, AMD Geode GX1) or implement i686 > but lack the NOPL instructions (Transmeta devices, AMD Geode LX). > > This is a problem because most modern Linux distributions, such as > Debian and all its derivatives, have started compiling targeting i686, > leaving old embedded devices using binary distributions without an > easy upgrade path. > > This ultimately results in most of these embedded devices running > years old, insecure and obsolete installations, and this itself can be > seen on the DM&P's own supported OS page where the newest supported > desktop Linux distro is Ubuntu 18.04, already three years old. > > The emulation of these instructions thus allow upgrading to newer > distributions just by replacing the kernel, keeping all precompiled > binaries intact. Great, this would allow me to update my old Pentium 133 box from unsupported Debian 8 to 9, 10 and even the upcoming 11. -- Ondrej Zary