Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp284189rdb; Fri, 5 Jan 2024 09:38:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHbuKXNihkQHz3C1m88N80l1H5H3FdM2sxdcwWuooPgpqXnl5cVegBNtscuYh8M5iyAbxQa X-Received: by 2002:a05:6358:718b:b0:174:f664:5771 with SMTP id t11-20020a056358718b00b00174f6645771mr2772036rwt.48.1704476334864; Fri, 05 Jan 2024 09:38:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704476334; cv=none; d=google.com; s=arc-20160816; b=TCRy8mYjrTBlGkJMcxvYNXhdpa50lz/pLmFK3TQKqFzDBE0uZlFpwDoSnM9pBSr/td rNOUHzy1r+eJUME0m2tSnOVVRVad34xi28vqKsixpu3VUdzmliH8p0YTPPdZ2bOFFHVl ujkCrW71HK6BIbF5OkKykuPSJurT/8rmMFmjlJPD6ZHuZubb0cdqihQUDa352UT/JmX7 BhQqlbdBNwyWPH0dEieVhVM2SaiQL+QIibId4UhQVjDAqYST4JCbnqH0mrro97zbc16L M4tNFFfNVGZAV0eb4s2Y2+iEzf5AgQ16aDilqCznoDS8+vCT3hQaD+VyecCm1LIiVoJw Qg7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=EuEZczdUv3gZvL7IiLeH7OBOW4EIGVkBa564euOCBMM=; fh=l7zyWlxXNKLkerjTrbssPmvG7TZDb1ICfrUBEdRrkn4=; b=MUMV/Rs2WmN3iinoD/oxFYOFZ8exuL6ulxfjYySdIHLyNI3UygKV7lv853yj5l+5Yl 3oifbeSwVLlmOy1+u/MyzVJ0GuCpbkt41RWWW8goEMX2io5iGF9AZJTGIgo5MPOf5En2 3FUDLWEwcqCRoz/7x6zVPGCraqYK3SEUl4BoemHuTlKGVMhRlxuInEIcQMPQcc/Q8HoX qhDjjiNPqJnf+8LW2XDO5/P1Bt8pDb1s6EMwRUajSgCWaK0oxAtnMibCxQuffz9XgrZA me0X0odLR3Wc5OMtpu54iOl5FiQLH2BDMLdhHJSbKg3rzB9+yXk4lzLIHFZdN9W/F8W+ LH4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ZAGkAHS+; spf=pass (google.com: domain of linux-kernel+bounces-18125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18125-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b19-20020a63cf53000000b005be1955657esi1572346pgj.127.2024.01.05.09.38.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 09:38:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ZAGkAHS+; spf=pass (google.com: domain of linux-kernel+bounces-18125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18125-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8166A28562B for ; Fri, 5 Jan 2024 17:38:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C30A7347D1; Fri, 5 Jan 2024 17:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="ZAGkAHS+" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23FB534545 for ; Fri, 5 Jan 2024 17:38:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5572ffdba53so888369a12.1 for ; Fri, 05 Jan 2024 09:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1704476320; x=1705081120; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EuEZczdUv3gZvL7IiLeH7OBOW4EIGVkBa564euOCBMM=; b=ZAGkAHS+Gj/WhACN9MKcrGl88H3AgkREc5CjZlgEWvFWEbja8QHSbDOddwlbL9Yh9P GKA+q/6gR+Dv5ClYvSMA0SqFNlBBU+C7sI1xhqc2ngp/GPd0We7jEzLh8dFWSTq1eeo+ +xQx924k0a542hBJlgEuMdPYI4UvksAaJeWiw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704476320; x=1705081120; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EuEZczdUv3gZvL7IiLeH7OBOW4EIGVkBa564euOCBMM=; b=nrXlrVOVas37BDhbAgh0ieryW7mUDoQ3vilOLJCSl9ZF3fkHqGe8aC3wYVtSDPVaYe PqI20E61Nl4lEHij0m399Gd9DLqxNuR+Q4l1aEDUW+jVNbylWMyzAF2CKOgDE6KkC8kC Ef9bRzgZJOjMpZQgM7aLXVAbQJYio36ShyWFRUpM97NzEYLG37M73k/R7SyKLvs3LPVd st9jnIm7HQoCnf6hQvSOzQEd5OnH5Hc31NwDpWpbo1y5c0luthe38YgqQ40oSOTRY6nW SqUgFmwTAW6NPBSoRka8r+KQE0E8ukST2HTJky9MiL2i6BKomsoVQOoKFsHN2nxQYJ0h 2BlQ== X-Gm-Message-State: AOJu0YyRfQJNcY4P3eLYOZgRkgnIDJNbuGBIJmMFJEtPHoXzX0qoQORO UcmMVa9qH8ZME2w398ztVewPpQpgiDAhZmmrfG0I4ufIrE4UThrQ X-Received: by 2002:a50:cc91:0:b0:557:2a10:fd17 with SMTP id q17-20020a50cc91000000b005572a10fd17mr746753edi.45.1704476320132; Fri, 05 Jan 2024 09:38:40 -0800 (PST) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com. [209.85.218.42]) by smtp.gmail.com with ESMTPSA id bt6-20020a0564020a4600b0055510f6527dsm1178197edb.26.2024.01.05.09.38.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jan 2024 09:38:39 -0800 (PST) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a28b2e1a13fso205946966b.3 for ; Fri, 05 Jan 2024 09:38:39 -0800 (PST) X-Received: by 2002:a17:906:2257:b0:a27:a7f9:4a86 with SMTP id 23-20020a170906225700b00a27a7f94a86mr1230919ejr.39.1704476319444; Fri, 05 Jan 2024 09:38:39 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240104154844.129586-1-pbonzini@redhat.com> In-Reply-To: From: Linus Torvalds Date: Fri, 5 Jan 2024 09:38:22 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Final KVM fix for Linux 6.7 To: Sean Christopherson Cc: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, peterz@infradead.org, paulmck@kernel.org Content-Type: text/plain; charset="UTF-8" On Fri, 5 Jan 2024 at 09:29, Sean Christopherson wrote: > > Ha! That's what I suggested too, clearly Paolo is the weird one :-) Well, it's technically one fewer operation to do it our way, but Paolo's version is (a) textually one character shorter (b) something the compiler can (and likely will) munge anyway, since boolean operation optimizations are common (c) with the 'andn' instruction, the "fewer operations" isn't necessarily fewer instructions Of course, we can't currently use 'andn' in kernel code due to it being much too new and requires BMI1. Plus the memory op version is the wrong way around (ie the "not" part of the op only works on register inputs), but _evenbtually_ that might have been an argument. Linus