Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp315518lqb; Tue, 16 Apr 2024 17:34:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmn9YtW1rCZMuGe4Vw6GwuW1W9XYUbccXEE+SuoavAAkBAl1/GBxaCfg9ygAVDL88WQO9EJ9MhI8o34PuQ3e9E6yrClB2uASA/VUuCoA== X-Google-Smtp-Source: AGHT+IHfMJsyYAY4Gyk8y82QI1lQQzMhlVKnStVrNP9rDp7JFMaiAIrEY2MaMnYECdOY6hzgSH/W X-Received: by 2002:a17:902:cf4a:b0:1e4:32b9:c39d with SMTP id e10-20020a170902cf4a00b001e432b9c39dmr15646263plg.13.1713314096729; Tue, 16 Apr 2024 17:34:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713314096; cv=pass; d=google.com; s=arc-20160816; b=bvkb2QxFN5/hsbudfRmqkHHf9IwB8B5ov38BEDPO+1sVCeqCQ2r+DF0GhImd2GOlEt 7MvsLWZ7jRAb0CsyC9mevDWRrdDRoMkLixkIOFYHcNP9Gkqi1uqZt/qAoZuEixF7hkPA WF1Gzn9X8XwI+JkWRaHqnsU8F1NFdHYxNt3sZaqTyfJi00X8Ii/mhVeSXzagw7bO7H0A WKVl8QTs9p1I7JYDywU9FPBGH1KJFxn0hM4KLvXzR1eMvkNrCYsTwWO6pVS9GwTEtN9x ZjlIU5NA49aKky01epSyNejKkBS8bTRg7jaG3yc4CtR0JSX3xzawYY6NZpIuHrVaklfK Pzsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=yKCPeGd9SYcDB4rlgTO3GZ6PUnpW3Lm5DsYKGNpWRYU=; fh=qfHCYFn00CUF7pCCkKZ4atPGmtzAAk+K28625pFZ7HM=; b=cSRjhm5a2f53GFMzKFxihRXJ0s1x1FkvhKUTKFy+fzN5aoV1ITMMvsZBSd2ZUur2AK tXFbTvIPe0hDstUj6jvf1g+FaE10jjM1RNhspL50C+Zo1+17cLgunfDZZwSJkY/LW/US m+o2WafYw26ZGcFKUm5ys+WSrGmSkftn0+sXbA8NtSINIgHpWWRjrPUQaawqz0nTY40s A0RmdWlAqO9dL2DlXHKqYN99sg37o4Duz1WQOK1sg/t5cg70AZiBBdws2nxO/+Db/vjH 96Ih4ALeVAiCCMQMF0LSV4PNGKQodxI7gsRZWJKtM4y/6fxkoTM2VU9oINnhw5qv2GBN JeGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=uNkXE46n; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-147806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n4-20020a170902f60400b001dcc8769137si10797502plg.598.2024.04.16.17.34.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 17:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=uNkXE46n; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-147806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 EF687B22585 for ; Wed, 17 Apr 2024 00:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FDCFEBE; Wed, 17 Apr 2024 00:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="uNkXE46n" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 6A69C4685 for ; Wed, 17 Apr 2024 00:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713314080; cv=none; b=sHUWQU8QtI8VAM4HjEfhoVcBm/6N3qWle4AWO+eInwyDQZuU/QDcfLhKsJxTYWOoHzoxFq0DHgGNvhcATvHrqMzr3DxcMcCqSBBpFfwfD/2141vrXIamei5ROUU55HQBca6EhKpdUSHyiFt4tkZgm/DYIed1rGsI/SfQA+ggXgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713314080; c=relaxed/simple; bh=QcQ5CwIdJPBpAiEUOMxmQT8OLzK8+XohcwiHGYdlD08=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=sOqNr4BRYk2WmnvtWognj5qC/udSCnpxZ1gO+X95JBe+7e3ly/+NfM75+B4Id/RchG8BW+t0aDs7qkg4+lZxYNvOI6+t9yCqqnXJJrHLb6czXUx25GQfVPzjuWSzfRz90fp/Wh2V0yeyJewrexBpTEWTHR0FwwilMZDl8ogh2d4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=uNkXE46n; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-615073c8dfbso101693887b3.1 for ; Tue, 16 Apr 2024 17:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713314078; x=1713918878; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=yKCPeGd9SYcDB4rlgTO3GZ6PUnpW3Lm5DsYKGNpWRYU=; b=uNkXE46nug6U7+Tx0/9dCbzeGNzW6wFtParN2EJbtRfLTzOqXruV8XY6sislZTeJ8g KqKVX0Q95gkgsemPW1eYJ2yzdd921yULnRohdUVx8z79E4eWs0F1K+i/jDetHNoxbopi G6GUqEed5H/Uiy/XGCEQ68ed/LFfHpjaPD5++8b5jdRkbB7J9/dKfjQH5lomY5fZgPUb RhNlknfsozKKTvVxd3L8gkPTbrtXSZ5sp7AfMG9ObIBLNieanHSK//mrSjbbyCFaSaFD aaPmag5Y2SK//ddPCCYRCWK7FZMS4uqnmX9bFggfyz8ElZF3yoCNJGi+Z6S03B5SSTiy /Sfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713314078; x=1713918878; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yKCPeGd9SYcDB4rlgTO3GZ6PUnpW3Lm5DsYKGNpWRYU=; b=flmrShwJsoN4sD+l1t1CwDBzFd/MWPBuoVouOAoq6Cz9skSbitBzBWA56fLhktKDY1 RSHQDqyL0Dkt3CVovdHiXzdwuSQSGJbTbiznvpxStE4dB3cbB+a1a6eCTPREQSZT++i+ nq0tS766Iw21gz9BqF+o3MzADjMEJc2My8w5mKIo6Vdsbo6U4HHxL8jks14vpGEYGsMm 6OOyojyOTG0wCxRaFR7/HnsGVHsxUlCe9h0DCXkCvsTd3RrC7V0hlW7X2cUUNnf31q79 cxzU43PMfpHJSLtGctG83DYJSHRG4zZh7KeHDCXphG0KS5gyGatvLjhOhC3vNnf2DH+I f53A== X-Gm-Message-State: AOJu0Yzp0HHW0KlJY2GRqjVpBP1tINwU5AksCi3R5+d6QgnqNu/zhAFS +wuFGIOJ64YlnAAlsEVHr26hztNkOCGNFR5qrMCSQx74knfDzsHE9EMTj0ho3x6NDaSuqI5mZPl qyA== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:1883:0:b0:dd9:312c:83c8 with SMTP id 125-20020a251883000000b00dd9312c83c8mr1574843yby.10.1713314078597; Tue, 16 Apr 2024 17:34:38 -0700 (PDT) Date: Tue, 16 Apr 2024 17:34:36 -0700 In-Reply-To: <20240405223110.1609888-2-jacob.jun.pan@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240405223110.1609888-1-jacob.jun.pan@linux.intel.com> <20240405223110.1609888-2-jacob.jun.pan@linux.intel.com> Message-ID: Subject: Re: [PATCH v2 01/13] x86/irq: Move posted interrupt descriptor out of vmx code From: Sean Christopherson To: Jacob Pan Cc: LKML , X86 Kernel , Peter Zijlstra , iommu@lists.linux.dev, Thomas Gleixner , Lu Baolu , kvm@vger.kernel.org, Dave Hansen , Joerg Roedel , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar , Paul Luse , Dan Williams , Jens Axboe , Raj Ashok , Kevin Tian , maz@kernel.org, Robin Murphy , jim.harris@samsung.com, a.manzanares@samsung.com, Bjorn Helgaas , guang.zeng@intel.com, robert.hoo.linux@gmail.com Content-Type: text/plain; charset="us-ascii" "KVM" in the scope would be nice. On Fri, Apr 05, 2024, Jacob Pan wrote: > To prepare native usage of posted interrupt, move PID declaration out of > VMX code such that they can be shared. > > Signed-off-by: Jacob Pan > --- > arch/x86/include/asm/posted_intr.h | 88 ++++++++++++++++++++++++++++ > arch/x86/kvm/vmx/posted_intr.h | 93 +----------------------------- > arch/x86/kvm/vmx/vmx.c | 1 + > arch/x86/kvm/vmx/vmx.h | 2 +- > 4 files changed, 91 insertions(+), 93 deletions(-) > create mode 100644 arch/x86/include/asm/posted_intr.h Acked-by: Sean Christopherson