Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp855522lqb; Wed, 17 Apr 2024 12:47:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUQQUFscVI5psCli6F0LshHHG05QlA9BkpbWJGO16y4CeFNrLD9PSiYFeBmmB+jRGocJhN++pxEv7pHQEImpRK1qQJvr0VXYoWu269GA== X-Google-Smtp-Source: AGHT+IErRl9Hvb65SoAZWOwBM1B6q44LrbP3gMHtZ0yX6kA8xAnW6KksFSiXfNX3iIDUzCaAfLg/ X-Received: by 2002:a17:90a:1216:b0:2a4:9441:13d3 with SMTP id f22-20020a17090a121600b002a4944113d3mr402337pja.12.1713383221102; Wed, 17 Apr 2024 12:47:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713383221; cv=pass; d=google.com; s=arc-20160816; b=RH8VmMD6ZAlGKizlAJnDwJLKkOKbephMSjARtktdcWfP8c62ylfzFPbpw19WR9zzU8 DbtYzrm3cw/QBIP/ux6ZHeDwEIFj+WcL4PX1aHl169e5QnDzRqJX4R6G1TnFAmYY+016 WVqJbiJ45v1j0ABuJa19mYfx4VPrjHMJNJDe0bgOZnkecowEnhO7KpVm4G9JgqIiN/Yv tAP5xqrzlywVy6O7XFxQxZOtaV4hKu7OpFpZ7Zfp2AyL48Sv9nAj/wYcz8BkfVvvPJSX UTvGEdWawaZVDs7y/rb7Ig+Dv4NzzqQ7/r2tWUxpLy9TFjhlHo1btrid153+l3Gt0OMi UUPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=3BUF34vkpclqjKXrG7i0Lsw+Ovez9PKRz4CfeUX6EGQ=; fh=rXZk697K2zFBQilX8zx5y2iRfUka5FnpffTxRNT3VG0=; b=Pe//Jl8LcsnyfnmVxpqOfcvLcp4UkLWGakap6R0Gy+Q+xA+qigOAgot7zFScF0BTs0 HW/mjrDvoSKnbRVweLVo/lnTnqlVHDrXCAvIaHFGb4c5Id94HH2hyiSqoHFQF28r6DLK e3eUIVqRkn9IQl9CO+xJLuEO0sJ/zsgoQ8i1hi/bJIRbBEjZ4d1xcJAY7/e8rxsXvuXA 4TL/rI+Fak8yN0JTIHyNSlYttaEHpJ4x9nOLgOH+VsRzSel/do5zGSN59IXGGeeee+TR 5e9uCYsmq2XgtYYBMBSpzzsbzAVYmJmLx09eiyjh2SGZALggYNkbnwgue975EK74rACN OSyA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KWD0C9J9; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-149052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b22-20020a637156000000b005dbefa1fb3asi12339107pgn.578.2024.04.17.12.47.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 12:47:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KWD0C9J9; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-149052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7BE0B281C93 for ; Wed, 17 Apr 2024 18:29:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79800174EC1; Wed, 17 Apr 2024 18:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KWD0C9J9" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 29CE217109A; Wed, 17 Apr 2024 18:29:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713378545; cv=none; b=JhAWJBFObvZtwAt1QK4ZSEBBt/0dT0OrDwAC3+1EE5bfTOAiAMwKiIqIsqXk722sUZEGrLjKajP8tgPwfAlzhw/kcL01D/gBcYo+bedehmB+DRSPhAf6TlX6J+p3DBGH0alTfcTeHKll4Tc7dnPqYscpNuhvE39SX/2yHadXXVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713378545; c=relaxed/simple; bh=7JxodzQRkS4oLXtGyeYNgNUOYAZp5D+/snGgqcQC0YI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jHUZMlWXGfosDAUnAmmFfn1ZvkmnIJrn/Sv0DWvIvqy7AAOlDCc+QESDNoTHAocpdHwHMWNo4W6tA69J1IbxAT1ByAj9W+FDovJhgy7vFAsWXcqLr1b3SlWeL15iTgvykyK7DQlRnzaFoXQur07T0qqRkUKYhAafX5fc/x/SubQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=KWD0C9J9; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713378544; x=1744914544; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7JxodzQRkS4oLXtGyeYNgNUOYAZp5D+/snGgqcQC0YI=; b=KWD0C9J9ZkG1JL45yPDa02z7DRhMK994m0fTOtUEqhdYYt1ypfjC3Y2P PFpchHEJgqZKaSbCwg9rK0+vHWDX8Ouz0aYYLkaEtSz2DcGNemEdDqa/1 xeMAqANjjOOtCu3Sb19d2pDI4J+TFA0GDw/Yvn5REPYPE0Lf6e38UsHG5 waKdIMhPhLeKMNlwmuHMoyHCOMhrr1ugDzbC73wW8yjYeWh3PHKTfKlCi HmqSeciXvSHfadYla9+x8lk0p3zyVMLnsOXR8zQiP7cx3fA7027AF6KF9 yr4EEMaWuJtRhGQeToUOq0vXfcBRHBTW8cv43ruTuen5IRYxrkaAtgTiR g==; X-CSE-ConnectionGUID: pYwIUtkyTJyW0SJ1X4JTzg== X-CSE-MsgGUID: Z0PfnnTIQ5ynxffg8bLx5g== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="19494053" X-IronPort-AV: E=Sophos;i="6.07,209,1708416000"; d="scan'208";a="19494053" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2024 11:29:04 -0700 X-CSE-ConnectionGUID: d1axhKYFRM+l2l6LO09SLQ== X-CSE-MsgGUID: sYo3gvWTTcyX9Sjfi/U3kA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,209,1708416000"; d="scan'208";a="23306516" Received: from jacob-builder.jf.intel.com (HELO jacob-builder) ([10.54.39.125]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2024 11:29:03 -0700 Date: Wed, 17 Apr 2024 11:33:37 -0700 From: Jacob Pan To: Sean Christopherson 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, jacob.jun.pan@linux.intel.com Subject: Re: [PATCH v2 01/13] x86/irq: Move posted interrupt descriptor out of vmx code Message-ID: <20240417113337.4a594901@jacob-builder> In-Reply-To: References: <20240405223110.1609888-1-jacob.jun.pan@linux.intel.com> <20240405223110.1609888-2-jacob.jun.pan@linux.intel.com> Organization: OTC X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit Hi Sean, On Tue, 16 Apr 2024 17:34:36 -0700, Sean Christopherson wrote: > "KVM" in the scope would be nice. will change to "KVM: VMX:" > > 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 Thanks, Jacob