Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp106639lqj; Thu, 11 Apr 2024 11:07:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXcw6s60YpxChxHAxefFAK+MQok1D3bDl/+cCKXEv+HMUuZ71U0VwLrC7dAf0WkSLhmQli+HTodmgCF1kE8Dxbp7vWbKuHEu2objJfmHw== X-Google-Smtp-Source: AGHT+IE5GlXh7koQKUae8T9xiO0tPrypfX+52UxEz5oWnqhBtQHeuJkd8U0eGV5wnd9ZyVJ8EZ0J X-Received: by 2002:a17:906:33d9:b0:a51:b2a6:8bf3 with SMTP id w25-20020a17090633d900b00a51b2a68bf3mr289929eja.66.1712858831013; Thu, 11 Apr 2024 11:07:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712858830; cv=pass; d=google.com; s=arc-20160816; b=rvdqXI2pQpcgV5VJz20zguLbyScRQ7TVKOi7HLdUHXbtfx/c6pdl0M4UrlyeAQMuQD GrPd8BdE861KwNqMlCfFWainSVos5VqtZjPgJb++SIXBr8YxHtyeyVwnQ15Ussx5+7kt Y4JVQjOQQl67X/oq9nT7dw4gxu7gqgGvL+hKGlZOoeNRnGSPgRhGkxli2FJV66NxMY/D bbmqWaTxXpW/j2XpfS+f/4ekdhRpBK04xYPgjJaLbaNadBm2ZlwoadR0E5+srMTeeNuS XxEraJlfi505uHW9ZR4DQ0rgM22wW6V2BLkO6u4NTgECH+NS6cAmjuTkyR8aER0x8hQ7 +JCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=2wTUqTQtgvQyM18Dhq/k4fpzYZdQqJPvUTC2E4JdRxA=; fh=/gYub3iSIHkxIpteuX5I8yj1T9++Auvc+3WOskwu9pQ=; b=E65oIVR62wYXcZiWkUw+8+u0NAUkhNNK9kipqe5AkmoZ4mevpbRI/HPwrWcQyE1jLD 06b7wBBfH2RI75PqyI2C0Ep5t6O7AcSYitcZirt4DlbTlFT4+WoJ/fXFpV8bBtYSbGzM vtqyvbqCstY7Q+geYKXJOB+qgiMWb96MdpEB+bwn5eDzV0gN630wBwoDysbEXMaXLUL7 D4+1de59G3ZEVKzIP4x3CvisBPpVn73rmFpPGd2hM3x23wamUDV9NO9KowEdf+abfzGK 3BsHpyTLenwKjLwnrdQQFW4QGJKMyk6aGTxUgFGCGWYdbW4+GnOVrdSLCUtjfkXorLEd qFfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kslvmO+F; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-141359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fx12-20020a170906b74c00b00a522c0f6d30si339886ejb.651.2024.04.11.11.07.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 11:07:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kslvmO+F; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-141359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3A8261F243B9 for ; Thu, 11 Apr 2024 18:06:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2402C4AEE0; Thu, 11 Apr 2024 16:54:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="kslvmO+F"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="pM6Es389" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 B6B5B4AEC7; Thu, 11 Apr 2024 16:54:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712854474; cv=none; b=GOdacvkSME35uHaNIU88jMiOlJkqUDDwM1Z/bC0FgQPz/XcZj9pDX6DzS7qUdETfBXvz7CeLyL4tv1TFGeadHY3nJBYVbfNlAm3xp/4+8B5IIgqblgRp2Ip47DBrcljmNYmi/0uhY8ky4OiVeDUb/+lOJ2qqOlHeyCh4CSQkSQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712854474; c=relaxed/simple; bh=o/tmf2oibS7VzJrQxRvlbljTniqkXceSKBc/IFbdGOY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=dqZBIeNrphtLzIKNmZBGX9h5cTIWHZAV8V1gtLn4VYqow4lmVpwtl+wQ3wsvJZDR3YA8EYX7+xGEguoLkyTZ+oB9kb5XNpGDwLcVjnEe7xseTo+z2HN9LYMhnM7f3lXLIQ9fRMjFRkmQA8+GZmB49NoBVjrWT+LyWs/TTV/MZvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=kslvmO+F; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=pM6Es389; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712854470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2wTUqTQtgvQyM18Dhq/k4fpzYZdQqJPvUTC2E4JdRxA=; b=kslvmO+FslCXd5W2BFBZX8HpBEnlhhIADzj8HE+DbTVQalyvywrsscrz/UROsFQzCD+xhe 8I1w8dA2sMA1stfODUUz2OCyV5clkE+t2Ppd+XcF9CQasqBScwNqC41NTtQy92bKWczRsT HJkSR5rfnNBbfELVnTTxTiL7DJlUNOyxT5npARyAW0swQuf/S1gPm6mN068M5iCF+Qo71H hapoeEn5y04mUxGTb+mn3zoF7yH6aVaEPyMuLxAYbePnpiFCsPy90UtqgscLuXSVOba1Ai 8rzG3H/5Rb6c3FMwX/w2OnjY1kTKWho9R2X2TL6LYWlXz/JukLXnzDzaIO4jng== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712854470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2wTUqTQtgvQyM18Dhq/k4fpzYZdQqJPvUTC2E4JdRxA=; b=pM6Es389nCt1cbDZ319st+cDLEYe7fzoejBOJa3LwYHngJ3SbIKpi4EBig8SxCrS26yQb9 bzzy/xUomegvtyCg== To: Jacob Pan , LKML , X86 Kernel , Peter Zijlstra , iommu@lists.linux.dev, Lu Baolu , kvm@vger.kernel.org, Dave Hansen , Joerg Roedel , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar Cc: Paul Luse , Dan Williams , Jens Axboe , Raj Ashok , "Tian, Kevin" , maz@kernel.org, seanjc@google.com, Robin Murphy , jim.harris@samsung.com, a.manzanares@samsung.com, Bjorn Helgaas , guang.zeng@intel.com, robert.hoo.linux@gmail.com, Jacob Pan Subject: Re: [PATCH v2 08/13] x86/irq: Install posted MSI notification handler In-Reply-To: <20240405223110.1609888-9-jacob.jun.pan@linux.intel.com> References: <20240405223110.1609888-1-jacob.jun.pan@linux.intel.com> <20240405223110.1609888-9-jacob.jun.pan@linux.intel.com> Date: Thu, 11 Apr 2024 18:54:29 +0200 Message-ID: <87bk6f262i.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri, Apr 05 2024 at 15:31, Jacob Pan wrote: > > #ifdef CONFIG_SMP > diff --git a/arch/x86/kernel/idt.c b/arch/x86/kernel/idt.c > index fc37c8d83daf..f445bec516a0 100644 > --- a/arch/x86/kernel/idt.c > +++ b/arch/x86/kernel/idt.c > @@ -163,6 +163,9 @@ static const __initconst struct idt_data apic_idts[] = { > # endif > INTG(SPURIOUS_APIC_VECTOR, asm_sysvec_spurious_apic_interrupt), > INTG(ERROR_APIC_VECTOR, asm_sysvec_error_interrupt), > +# ifdef CONFIG_X86_POSTED_MSI > + INTG(POSTED_MSI_NOTIFICATION_VECTOR, asm_sysvec_posted_msi_notification), > +# endif > #endif > }; Obviously lacks FRED support...