Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1220397pxb; Tue, 17 Aug 2021 06:43:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVJPKXAbjLc97YepjmlLLQ0B67HAxwxZbs38cpGSa8sgzUSPPFvlb4Huvt+FJmzsxEJgIL X-Received: by 2002:a05:600c:2150:: with SMTP id v16mr287684wml.143.1629207835107; Tue, 17 Aug 2021 06:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629207835; cv=none; d=google.com; s=arc-20160816; b=pejDgm7NMRVO+99zYOIJZ8zObtuDhHEwxVnsHufUGqcRKHFwO3DAxPN4oNcAV9sKM6 4PgDAts2Hmm6N8uckVp7LAv7sx7bnp84XHJV6CNkM9+ICCEPBFiQRfxiiF8ZgGJeTVd0 RMdYeArKPY07Z8MNM88oe/KWgBsuuPw7hAugSE4V1To860i+y20+55ENwHBwQjoLPYe2 LjyDOIXpTAapAUKFhvG0IndfGLIsXHhTC0G6GjrrQDcy3/qIU+4cP6D5KLo4Z2EsesEh 17KSD4qLSEIcgPTtl42iIZz8YuECv07hac1agp/vNX5qlMhindAKJOLUM7sD+nwwRsAw 9ZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=jHpIn+5g/tRisH9BISQp7MQRTo/xtxnwFV7iOPqt0+E=; b=myRkFKvP3evDF7pp+nCjLiU3mDqTT99B9F/hnLkfoM2ESHhKlBf0/DvKXg9lx0l2dj EPRIXYO1g5u6N76WNc6ITWp4A7dJ+h71kqhLNubFg9uvt8GrwLa2XGHz7gZJvKYTgQbk 6wkm+ZpYIvSJH/d9ju1v/5rkikRofoD6J9zTSYKhyAOdDOObxJzsoOFie3fb/n+h9KbK gehetmoevC5LhTKxzC35MZSvhy1pYjO6mT0duhs03sn1Sawpjfalew8ylxaxj+mIfRR+ M2+uHucDYIeoCDXn/9nvREuaViS/nKQUU09bdj2S54VOyvDzHjO6edSIePJaq24Fql+O gYtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si2882060ejy.385.2021.08.17.06.43.30; Tue, 17 Aug 2021 06:43:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240145AbhHQNmZ (ORCPT + 99 others); Tue, 17 Aug 2021 09:42:25 -0400 Received: from mga17.intel.com ([192.55.52.151]:33633 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239981AbhHQNmJ (ORCPT ); Tue, 17 Aug 2021 09:42:09 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10079"; a="196351088" X-IronPort-AV: E=Sophos;i="5.84,329,1620716400"; d="scan'208";a="196351088" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 06:39:18 -0700 X-IronPort-AV: E=Sophos;i="5.84,329,1620716400"; d="scan'208";a="510474984" Received: from favalosr-mobl1.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.209.164.120]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 06:39:17 -0700 Subject: Re: [PATCH v5 01/12] x86/paravirt: Move halt paravirt calls under CONFIG_PARAVIRT To: Juergen Gross , Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Andy Lutomirski , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , x86@kernel.org, linux-kernel@vger.kernel.org, Deep Shah , "VMware, Inc." References: <20210804181329.2899708-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210804181329.2899708-2-sathyanarayanan.kuppuswamy@linux.intel.com> <057170db-9382-eb40-7bcb-4ec1de4aae62@suse.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: Date: Tue, 17 Aug 2021 06:39:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/17/21 6:28 AM, Juergen Gross wrote: > I guess you have been lucky and all users of arch_safe_halt() and halt() > are directly or indirectly including asm/paravirt.h by other means. > > There might be configs where this is not true, though. > > In any case I believe you should fix your patch to let asm/irqflags.h > include asm/paravirt.h for the CONFIG_PARAVIRT case. Ok. I will include it. #if defined(CONFIG_PARAVIRT) && !defined(CONFIG_PARAVIRT_XXL) #include #endif -- Sathyanarayanan Kuppuswamy Linux Kernel Developer