Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C295C433F5 for ; Thu, 4 Nov 2021 15:00:05 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D2FEB61108 for ; Thu, 4 Nov 2021 15:00:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D2FEB61108 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.221606.383406 (Exim 4.92) (envelope-from ) id 1mieDV-0002uU-Lc; Thu, 04 Nov 2021 14:59:49 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 221606.383406; Thu, 04 Nov 2021 14:59:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mieDV-0002uN-IV; Thu, 04 Nov 2021 14:59:49 +0000 Received: by outflank-mailman (input) for mailman id 221606; Thu, 04 Nov 2021 14:59:48 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mieDU-0002qc-4H for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 14:59:48 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mieDT-0006Ck-WD for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 14:59:48 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1mieDT-0000pp-Uh for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 14:59:47 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1mieDE-00034f-LJ; Thu, 04 Nov 2021 14:59:32 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=Pv4EWumR8CeTeU6BT5hmNiF9s2b+PTxdBMI7cab5+m8=; b=CIc1QNJn9aLPK28hRi/CakARNR MO2L94qws5an/RRWqzV6GxHlrVg6d0wxFxRszdckaiADk+O91ZPn/gG6M8X6RDwNXXnOEeAeTfNhs +fLPGyIGEt3ad/n2wvVQGC+1D4kTEo1s9UaNjCJrdhcKYxLrRzNj9d7ZCs9LEEWfoB7A=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <24963.62794.407130.517684@mariner.uk.xensource.com> Date: Thu, 4 Nov 2021 14:59:22 +0000 To: Roger Pau =?iso-8859-1?Q?Monn=E9?= , Jan Beulich Cc: "xen-devel\@lists.xenproject.org" , Andrew Cooper , Wei Liu Subject: Re: [PATCH][4.16] x86/x2APIC: defer probe until after IOMMU ACPI table parsing [and 1 more messages] In-Reply-To: <47392789-2f10-9de7-036d-b2345a24a028@suse.com>, References: <47392789-2f10-9de7-036d-b2345a24a028@suse.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Jan Beulich writes ("[PATCH][4.16] x86/x2APIC: defer probe until after IOMMU ACPI table parsing"): > While commit XXXXXXXXXXXX ("x86/IOMMU: mark IOMMU / intremap not in use > when ACPI tables are missing") deals with apic_x2apic_probe() as called > from x2apic_bsp_setup(), the check_x2apic_preenabled() path is similarly > affected: The call needs to occur after acpi_boot_init() (which is what > calls acpi_iommu_init()), such that iommu_intremap getting disabled > there can be properly taken into account by apic_x2apic_probe(). > > Signed-off-by: Jan Beulich > --- > Based on code inspection only - I have no affected system and hence no > way to actually test the case. Do we have any tests for this ? I see it's tagged for 4.16 (and I'm favourably inclined) but I'm not sure I follow the implications. Roger Pau Monné writes ("Re: [PATCH][4.16] x86/x2APIC: defer probe until after IOMMU ACPI table parsing"): > LGTM. I cannot find any dependency between acpi_boot_init and having > initialized the apic. > > Reviewed-by: Roger Pau Monné Thanks, Ian.