Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp156251lqb; Tue, 16 Apr 2024 11:28:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqHtVDV2hegfdKjgX0omhMHCLtlMp1o/jvhUipjcunl3h1Wl7vjrQ5UE/V0tfKPklAlEoECO/BxukAWNePrEWJuYEt/XyYvKLShMqcDw== X-Google-Smtp-Source: AGHT+IFDHyJnz3BkBSs0gC7VTw3vDdQ3FpjoLdONNoV++WshybcTJ4s4q4hXnKKh14iRT4xceYQg X-Received: by 2002:a05:6a21:32a7:b0:1a3:b155:1cd2 with SMTP id yt39-20020a056a2132a700b001a3b1551cd2mr19601902pzb.10.1713292109323; Tue, 16 Apr 2024 11:28:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713292109; cv=pass; d=google.com; s=arc-20160816; b=oVxeEWG1LYNUZ5nbC3I2eittU4/xMe15uUKIUar2UqbsvmNFRfMmaAz7AWJlKnq4MP RGtZDZRZ8lLvd6u8nUKknjEFQCyhZiXZnFHedPFBTgFdQEZzgs8pMbvRzEEDzc1El+9K PyxwDoHzt0+26zDRECdrab9GlD5jrSuxwNuZw5+qlQjT4Y2qCw58aDF0rzGke8OaJ3g9 uJourWEmcho+PzfoAvyUlSz5gJc6GVjv7nhHFRXorw+wro2Js5FCzjpVyrPdlPVhA7TN At9qDg87051J0iiDjSOimpEaxQYcKpcx2PdyRB8eK+6fw+Qv4rcvRPZEbVmDW44rbrzn IpUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=C9DulbNSCu/nFXG9Z7dqR8C5Xn4LGm1+ZTa85JzPkc8=; fh=hQVZb0/aIiybuVMXRj1EwRDd++N3uq8LsMS6wNBYHaQ=; b=ZJinN3fJENM+Yz6CeF2rvGksUcXs+uUIKFXGal+wjghREyBksLU6wERiPRD/Q5Yi0i idYU3/pHblEZKyOhBfuQIOwAaL6pmJFrpPRMzd3QfQuDAN0JJszMghM9LGxNdIOttGv4 tAmEHutAUv8e0XtoPYolu8z4KzyVbwlh4t8hBfHxWPUEmPGi02aO702vBXa9JzxZMIMx NlENpCoeF3dwSjbFzsy3aUa3+HyqQnHpBzNBe2ltTTjzW1FiuPNaI1SYNmbCwNu2gwiy LVdKc2oFNLsbch6QqNrAvVrcxj0NdAnOlhMVdMHVfNceLROVJSZnylkjCz/wOdkk10OQ GB0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-147383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b20-20020a056a000a9400b006ecf315898asi10317337pfl.166.2024.04.16.11.28.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 11:28:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-147383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0B7C4B21D99 for ; Tue, 16 Apr 2024 18:28:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70E8F13664B; Tue, 16 Apr 2024 18:28:19 +0000 (UTC) Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71C5110A14 for ; Tue, 16 Apr 2024 18:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713292099; cv=none; b=Ww47f/SySL9/IMopmSWTKjJiXHvGdJiWE5IyPLhjivdJz8XXj0zvtxAQyP6CaENzZFICZfCjKuFFTZuS6UPBDDf6HjRF/z8faORMFxRYhmsGfcpUZSdi0q6DS6nbk2qvzd4oLfmOAhCjjqII/W4FvDrqYTaTsxuVthlFIGOXtf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713292099; c=relaxed/simple; bh=DpOIL9VVFpGRMgCQIGA0RxK2sa4UYb5bFvqDxaX5ZuM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gX/7EM3XDJ2v/k8INPmsOjyfcMqeNSptb+JenptrlNKJOGaxMVrsB+j1H/pjTmFcVTvf6L3FRiD3yUurWLeeQ7Kcx7MVeUB7pJLLgPLcRU7fmuQypP3RzLfqoi6CrbK8IJ8YBF2su1osmST9j7wC9SZwBA/C6qwRR8sfUtP6KPQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 4903D40E0187; Tue, 16 Apr 2024 18:28:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XDGfqRSM1Pap; Tue, 16 Apr 2024 18:28:12 +0000 (UTC) Received: from zn.tnic (pd953020b.dip0.t-ipconnect.de [217.83.2.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4E0A640E016C; Tue, 16 Apr 2024 18:28:04 +0000 (UTC) Date: Tue, 16 Apr 2024 20:28:03 +0200 From: Borislav Petkov To: "H. Peter Anvin" Cc: "Xin Li (Intel)" , linux-kernel@vger.kernel.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org Subject: Re: [PATCH v2 1/1] x86/fred: Fix INT80 emulation for FRED Message-ID: <20240416182803.GIZh7DMyPNHphpa9JA@fat_crate.local> References: <20240416175804.3328999-1-xin@zytor.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Tue, Apr 16, 2024 at 11:23:24AM -0700, H. Peter Anvin wrote: > (I think there is actually less than half the code left. This could be > further cleaned up by inlining the common code, Yeah, was just thinking about that too. I'd say, though, let's let the FRED code settle, we start using it and then we can always unify common stuff later if it turns out that it won't diverge anymore. > but if I were still maintainer I would not want that for x86/urgent. > This patch has the very nice property for x86/urgent purposes that it > doesn't touch non-FRED code at all.) Right. I'd let Xin work in all those comments and then I'll pick it up. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette