Message ID | 20230321112522.46806-1-roger.pau@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DD7ECC6FD1D for <xen-devel@archiver.kernel.org>; Tue, 21 Mar 2023 11:27:06 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.512354.792331 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1pea8Z-0006Qb-Ex; Tue, 21 Mar 2023 11:26:43 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 512354.792331; Tue, 21 Mar 2023 11:26:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1pea8Z-0006QU-9x; Tue, 21 Mar 2023 11:26:43 +0000 Received: by outflank-mailman (input) for mailman id 512354; Tue, 21 Mar 2023 11:26:42 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=oKE/=7N=citrix.com=prvs=437062dd9=roger.pau@srs-se1.protection.inumbo.net>) id 1pea8Y-0006QO-45 for xen-devel@lists.xenproject.org; Tue, 21 Mar 2023 11:26:42 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 3ef51d3d-c7db-11ed-87f5-c1b5be75604c; Tue, 21 Mar 2023 12:26:40 +0100 (CET) Received: from mail-dm6nam12lp2168.outbound.protection.outlook.com (HELO NAM12-DM6-obe.outbound.protection.outlook.com) ([104.47.59.168]) by ob1.hc3370-68.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 21 Mar 2023 07:26:36 -0400 Received: from SJ0PR03MB6360.namprd03.prod.outlook.com (2603:10b6:a03:395::11) by PH0PR03MB6955.namprd03.prod.outlook.com (2603:10b6:510:172::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Tue, 21 Mar 2023 11:26:32 +0000 Received: from SJ0PR03MB6360.namprd03.prod.outlook.com ([fe80::48a7:d1ab:897:acda]) by SJ0PR03MB6360.namprd03.prod.outlook.com ([fe80::48a7:d1ab:897:acda%6]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 11:26:31 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: 3ef51d3d-c7db-11ed-87f5-c1b5be75604c DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1679398000; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=eYhdfcpS5FFs+7N4O42zvLiZRhVnXCQFa3Y53oTxeT4=; b=N28M0nOX1FvJuVLKRwv2YV4TbGtnRWmkU0XML+cUGK5RdJ7zZFoG5LjV aUySloUsUxXQxQHi1Vh5Fd3m1ZKTEXlGlkomM8Ck/xfKQojT6zO5mA/oa 2ASgPRW7Xeq8tosquf66lrjetGnfAvqwwdf+8nUmgic5zpOHB4cwMkxJY A=; X-IronPort-RemoteIP: 104.47.59.168 X-IronPort-MID: 101599409 X-IronPort-Reputation: None X-IronPort-Listener: OutboundMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED IronPort-Data: A9a23:tfGNGKujIeqd+CWH5yy/sIANRefnVEteMUV32f8akzHdYApBsoF/q tZmKTuHPfmMZGejKY8gbYzi8B9Sv5GHzoRqSVE6/CE2F3sR+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg3HVQ+IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj6Fv0gnRkPaoQ5ASEziFMZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwcyAtVzyKqMuN0K+LQMhgl8UjC8i2FdZK0p1g5Wmx4fcOZ7nmGv+PyfoGmTA6i4ZJAOrUY NcfZXx3dhPcbhZTO1ARTpUjgOOvgXq5eDpdwL6XjfNvvy6Pk0osgf60boq9lt+iHK25mm6Co W3L5SLhCwwyP92D0zuVtHmrg4cjmAuiANtPRezkrq8CbFu7z24xOD03DASBpNqQjGHjZdcGN g870397xUQ13AnxJjXnZDW8oXiZrlsfVsBWHukS9g6A0OzX7hyfC2xCSSROAPQ2uclzSTE02 1uhm9LyGScpoLCTUWia9LqfsXW1Iyd9BXULayYJSSMG7sPlrYV1iQjAJv5nE7adj9vpFDW2y DePxAA8iK8UltUjzLig8BbMhDfEjpLOVA8uoALMQnii8Bh6daaifYWj7VWd5vFFRK6FQV2Rl HwFndWC9ucIDI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nQrea49DzQbLvAP7EHDslXSfWHm YDNQKDD/lo3wSXfjvRjRXQXDfVYUrz4ZhsOq7W84EouaIwH7wJjyxQpFi95t6GMnl5sqIwdF ZjO7+PqNKSmUCGuVvtq0FAGj8YNWp+zJXef14PmC8vHyrPG4oripGjXSR39FujYiNCb+6+Km NiT5Eew9PgE3RVrRpSXO5O9Qqh/i8ujUPPcrM1oIHG1OnIXbkcKKoKMZYBPDkiG3FO6HJXQU 94GXk5enM= X-IronPort-AV: E=Sophos;i="5.98,278,1673931600"; d="scan'208";a="101599409" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=USXbQxlXwsJ35PS6GoSN/RpmapSlqR7wFaGBYxXe4JktFa5OFH2Hnnnt1WhuUYIGI6OI0IJBlctCd/OqjSVixKO2CSvZJqR5Hbvm9koRVZtnpSdPWgg5+vuzJ6yHrup0IehcJNdouMn92VKQ6BnWmiPJbG7hletnkLEWHri3efeSM3g/d7/DM6IcvRn7oI1+Gput+S/OpAdJ4ENzD8WrQ7El67rIM9456bGWSxygslOh/8oGgDjPw4jbRhrqSFXejDOoIdoKuhLeJA5QsMxS2VZPJqoxo+kCS5e8lQaOg1/MH/cF6JV1t75GVdJD3zaEF5XPtLGIUUjFJt0FeP52Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gMHe2DakAJR71lo6we96Oa53JRvpTPWRAJgRDRsBjjM=; b=emnKWTZ2hAq4t4HXuxfJYM8lA2q53I6Ceg+Xsr3terbFZHNKhpqvCOeGHaTUsvxJBMFzzudd7d33QStlFvDURNZexS6qkbUPieg3dkv3uqRzVC0b64KTEjOXEqzzmbgYAJtVvb0lRE4u1vWTStMmCnWWj2iknigEqZkm4fih+htCYai4+ijPKxUIJIXUaUeFYAWEG18TrMeL6RHiHv61msnQ5xW1d/6K1xkXZh1ZBcs12gsjkVHaLY7kFDueMZj1JK+xnr/mBJ3AunJAjWJReOLgp4YCvCpalfiRGwl2BFJAawwxkTeVn+0xfvYSUEKlICtJ19ZLIhZOYju5bBFW4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gMHe2DakAJR71lo6we96Oa53JRvpTPWRAJgRDRsBjjM=; b=EgHUN7hmlBxj41magmGbqyDsVFAmQxAyr4r4MAq415ZTDFgEZ2DiOTHAvsyyY3n2LAju4zcWrfFB/bg722CrIlYFSyScN4/MNLvfyCQT1dk73f3ABpjRS+MV0KjxrNc/wnAwUi3VXrq/E2zmK1xsvBh0vlUgq41PMbTZxxIl4jo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com; From: Roger Pau Monne <roger.pau@citrix.com> To: linux-kernel@vger.kernel.org Cc: xen-devel@lists.xenproject.org, rafael@kernel.org, Roger Pau Monne <roger.pau@citrix.com>, kernel test robot <lkp@intel.com>, Juergen Gross <jgross@suse.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>, Stefano Stabellini <sstabellini@kernel.org>, Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Subject: [PATCH] x86/xen: move declaration/definition of xen_processor_present() Date: Tue, 21 Mar 2023 12:25:21 +0100 Message-Id: <20230321112522.46806-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.40.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO6P123CA0033.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2fe::6) To SJ0PR03MB6360.namprd03.prod.outlook.com (2603:10b6:a03:395::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB6360:EE_|PH0PR03MB6955:EE_ X-MS-Office365-Filtering-Correlation-Id: ae903580-a0e5-4a35-a426-08db29ff1eca X-LD-Processed: 335836de-42ef-43a2-b145-348c2ee9ca5b,ExtAddr,ExtFwd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ELEkkvTH7g6nD+VCJG0HdzuSjL47fZTOuu04hX01Za/jipDCzyY1awuYsE3k5GrhMRieI74vcYrujbEWO6alcrKGjgDBxdhDcnbJ+DZi7h2ECRB5phAwcIgAVxYA5gjh7ccJkCYH+xc51/dpylEEMLJUyU2R6NM02c6SlqKoFv8vogyYJku0TY7S6FYPA9L6kJuyI95yfoS+v7JYys5t/1Sc92rl5haft+Om+qwIqEH5bW1qcSp/Aw+njNHmM79NJWckFW/3Ma22rNGHzOdpqrz1Pv6sesp7WvKpKtRJfpgVdZYLSvpTlLaKf1t9JjNV0yuhFucg770TY+C6hsM9nHCL6ZOXjzAY6kyZH54B/HVBGpuH652RleK6kM5LSRuAsWrvqwKRG4ePj2gqkiSwrLd+qW4jQNKnbGl7pKsVxLZlbXfRNH112XNlSAE4f48BUbz0Z+ugJQMFG7FBeg/OHk0k6DIi2E3T79DVNyT1qtwMskpOV3YWRJFsgMui1nD+SL5Xu60LzcBDzkrJsKfaYCFdLAoiL9H2C3fqk1ZzQ1wFjpaMwrreACZKY0pbXw2Sfvdz8TgGRJBZtakBS12KS0rR8x6lka1rGlhnv2wIE2saW77mS6brz+NuqxxnBnVl X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR03MB6360.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(346002)(396003)(39860400002)(376002)(366004)(451199018)(86362001)(36756003)(83380400001)(66556008)(316002)(6916009)(4326008)(66946007)(478600001)(8676002)(186003)(66476007)(54906003)(966005)(6512007)(26005)(6506007)(2616005)(6666004)(6486002)(1076003)(38100700002)(8936002)(7416002)(5660300002)(41300700001)(2906002)(82960400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?sUFXjzozPQytRYkodln1RZLT6706?= =?utf-8?q?RzdTUvRNt5pp01s5cVhP4RK1oCIa1AY14PLmjsvdJHOMNgbhRg4uPlEJlMfTehsz9?= =?utf-8?q?vNmwf56BOMGeHG1xlbTstJfKsM8vvt87PtJlxSEdswE1i/WoPZDSsYqty8ATp30If?= =?utf-8?q?4q5iTTgoTDFyLoLdVyywP5AfCvYM+02J7SjdqGSu9Y4D5qDT/yBAATaEGyKUGgPK6?= =?utf-8?q?QAkVFYCDn1QgYvmUMha+E651926dJLaRR+uee5liUtTjp+IHWBd/awTWMRfCenFSN?= =?utf-8?q?Yp074OKhZ8t4LMsVpAeQyxOhGNO4Mdukkx16jaiIDggfzHzpV0fSKnjizOPWYU9uE?= =?utf-8?q?i0NXSOb4Y7K4rxiO0DQDM6y3Ep+02Bb5XcgLadS6CMYs998F9vgMvByFqcIzj5gPW?= =?utf-8?q?J6lpbIuPQa7ug93swWqB+ZI4YlTI147FEpuuVP5Jix7SMHn+0CpBCpZpGqWPhVW8y?= =?utf-8?q?vBa23nsGN7Tnvw8PPWdlfcxN2sKn7/rOm7xamaCmV0kROt95qVzb0HsFb5UQI4QB9?= =?utf-8?q?0ev/ropc7wojPm4+DspKc2QxltXEbYy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2SmWFhfJnnFjdVsm/EX99qrcDJwOZ73dzN?= =?utf-8?q?cZM27IQbxvY/gv/xYWK4YWS7Ei97uZrnVkg0U8UmniWykSgavHSPVE7W5EizZ+UFV?= =?utf-8?q?kGOxyjcie1VFWTbn5osQTzEsndSZSMKtSQ=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?d5DYF39cQKERpFkN?= =?utf-8?q?ddD67tbQsY9+X7fhWgpieEMew5OKPD4qwJiRC7jbc4nWttWraXJV9/Ee4qO+6/OLt?= =?utf-8?q?oZzmZbp4zdRyPoyhvDZdMVfuzPX8mk0pzPvHae1MwISy6MaLD5VsAZqO/kQ7641lq?= =?utf-8?q?485zyJtJgrF4irO2ef2vRb6xcfi3tDr/oRyyWBLJXExOWG1nxAu2WiJG8YkcY8wm1?= =?utf-8?q?hlqLigJD3oyMc977kt//sdMJAmpCrqpdx4NFA9x4BgpvQWeRQh3zZBfDM/ttJeJp4?= =?utf-8?q?LyGuT87Vc/NjPtSDcH3iSIV2mshUMQdBsK4wevt/2zmSvVIbwWxbFiFc7SNVu23dH?= =?utf-8?q?xC0lG9LeRz68Ru+IF+HaI2QCdcnj9qfo7sH+nFkxgr9zjEBx0woa6iwkE8v1DIRJX?= =?utf-8?q?S7vhfZFR2g1Z8FH+MidI+/eQCy5D3URSMR2K7CNAOOqOAb6bhq9xRjOw4ejEoBbXg?= =?utf-8?q?p3J7P28ClP68feIjdIDFpOhCPhFrqvACAzhtB9rrjfHdYuVR16UUhpUTM8okkZL58?= =?utf-8?q?Yg52hc/kr4I3gX84az78sXbPaSwIVT9K0dMKB38Dv7uEXt2lMhFKVFRMW4Gj/Ip8E?= =?utf-8?q?IQYLjC/dIq9STZBICQ2gjYhzHB1cMvSPYqDMIX2BkMV0JMH9PX5bZp4Yw+2rbTmuj?= =?utf-8?q?BqXfd+5LqJsyT4Gh0cPN1yJd341/2rsyWaaZ3eXkHukQUp5J46l1+l8NIkXxcyZbD?= =?utf-8?q?NfWz58hO3KsKmmcVkCMT1Y2KYvv5pInzgcwYLzb0L5TKQ3EI0KO7YWzABKwQvjXwZ?= =?utf-8?q?ITOM7sguCjR7oehdDE03UxANd4l4HqMKxSEeo6g0Ro2V0e36VVH/zkf4apAaaumxO?= =?utf-8?q?LiOQKl/UrxvfdhkZNgKS6PFzhXhermNlMDUNU2HK27/k+AXSmjiqTsWjQztmxIT0K?= =?utf-8?q?j40GrDLxDnw/mEsKDZpOv6oSXJ8lBm3bMJh8EEVDnyG14xEm3s9KnuPouHuEozjPP?= =?utf-8?q?2Htt8bs2f/T6PvbRe65OzQ6iv+RaGxXf3CBcSX1SuJCUoOY9rHWZtXTqZw2+W4pl1?= =?utf-8?q?CBc5Afb39LbpHX+Z7si7HQgByiCI9eHwdNAydd7Q3hLh0Co4yRJ/OCtj6hYa3sKzL?= =?utf-8?q?VspUAvM7gA=3D?= X-OriginatorOrg: citrix.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae903580-a0e5-4a35-a426-08db29ff1eca X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB6360.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2023 11:26:31.6352 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nSENi+80jsuyj0W8Ct5d7gXSNCwDuO3JRDnUDK3e1KDYCadRVEjBxhwmJw1+M8zABk5k9uQlo3gPACkXcTQSGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR03MB6955 |
Series |
x86/xen: move declaration/definition of xen_processor_present()
|
expand
|
diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h index 990a1609677e..5fc35f889cd1 100644 --- a/arch/x86/include/asm/xen/hypervisor.h +++ b/arch/x86/include/asm/xen/hypervisor.h @@ -63,14 +63,4 @@ void __init xen_pvh_init(struct boot_params *boot_params); void __init mem_map_via_hcall(struct boot_params *boot_params_p); #endif -#if defined(CONFIG_XEN_DOM0) && defined(CONFIG_ACPI) -bool __init xen_processor_present(uint32_t acpi_id); -#else -static inline bool xen_processor_present(uint32_t acpi_id) -{ - BUG(); - return false; -} -#endif - #endif /* _ASM_X86_XEN_HYPERVISOR_H */ diff --git a/include/xen/xen.h b/include/xen/xen.h index 7adf59837c25..4410e74f3eb5 100644 --- a/include/xen/xen.h +++ b/include/xen/xen.h @@ -71,4 +71,14 @@ static inline void xen_free_unpopulated_pages(unsigned int nr_pages, } #endif +#if defined(CONFIG_XEN_DOM0) && defined(CONFIG_ACPI) && defined(CONFIG_X86) +bool __init xen_processor_present(uint32_t acpi_id); +#else +static inline bool xen_processor_present(uint32_t acpi_id) +{ + BUG(); + return false; +} +#endif + #endif /* _XEN_XEN_H */
So that it doesn't break the build when CONFIG_XEN or CONFIG_XEN_DOM0 are not enabled. The current header is only included when CONFIG_XEN_DOM0 is selected, so instead place it in the top level xen.h header, and also use the dummy helper when CONFIG_X86 is not selected, as the current implementation is x86 only. Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/oe-kbuild-all/202303210729.DvRvIUla-lkp@intel.com/ Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> --- arch/x86/include/asm/xen/hypervisor.h | 10 ---------- include/xen/xen.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-)