Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3282874rdb; Wed, 13 Sep 2023 07:39:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQMn1L1VpECR6P0xBB1dCv0l+ibwDJAQkK9PLmXWy8my57jw8xZofsM0/wPkmrjzfmuzy6 X-Received: by 2002:a05:6808:19a8:b0:3a7:330d:93da with SMTP id bj40-20020a05680819a800b003a7330d93damr3654997oib.19.1694615957902; Wed, 13 Sep 2023 07:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694615957; cv=none; d=google.com; s=arc-20160816; b=QPE355pM7Z6wcrV4RQPpV88Pypvup39/Dj0cnll732qo/7ObTCX1F6zqEuJrl/ahV+ TUBBfcG0abVVuJjPBox/Ule3Wc8jHRg48O/BYCLjDGikRzI2Gx1+kHJz97+50TfvSZc3 t4uvAXCv0gdpFZQjUr1BlvTCwSDIDJU6F/z1qKsxi+2m1c78EdQbhzS8E0k2FO/8npJ+ g5nVejA374o2PsH9QQxIUVtDGqpJUDyAGzYzNMs2ThOAb343CE4IfJ7HlE7Ifnp1f3Rg xCohaY1m/75F81d10vb6KZNPV8JCRO6OiVWSSXIXpA+3tNQbTZgf2rkMt4WjzlkDxqIO TPFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dVPKyjPuFRiMX6H05C4yegFljVDNBdmN4FRlJrZXtC8=; fh=+wJYbGBaqsBVAfFRIfKRQQ/FzFM2UjW7iKlkJJfYct8=; b=iLwtUlFHweyiHuT+5FqELzgKb260yOzuox6vRfND+7QSZJzU+YZa5/kZ0K40BbEPU1 d4w5qLNrA5YR72g/6yNN8KxCjM4pcqzooROaG0WpgAl1YMRcKdNg5yoPWh4AwyDBcIZf UpfJq+W0W5JydGqmH+W9YisXA6mLrQ1yfhH5mJjmcR7kTfpYZfwN6gYOP2j5kuLhmEVi N52YV9PY0QwME74QRDUWotBSeIqS2IUkb7m30tEofXKBd1pY76QQclMa447aPdV9F48G qycX+6QLW7unwayDBBm5QL8PEgdO43oSAJ1RjyOuTGSp4qsPdAcUq6pU/qg3LpxdDjTv ngzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=DlBJopdp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e3-20020a656883000000b005694492c259si10046451pgt.282.2023.09.13.07.39.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:39:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=DlBJopdp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E26F4825CED5; Wed, 13 Sep 2023 04:38:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240429AbjIMLin (ORCPT + 99 others); Wed, 13 Sep 2023 07:38:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240363AbjIMLil (ORCPT ); Wed, 13 Sep 2023 07:38:41 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90AE7173E for ; Wed, 13 Sep 2023 04:38:37 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 50BCD218E3; Wed, 13 Sep 2023 11:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1694605116; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dVPKyjPuFRiMX6H05C4yegFljVDNBdmN4FRlJrZXtC8=; b=DlBJopdppVqDlPo0820IN+B0NKE4azUrDiJXIdKEpL7OlV6MYr3nHi2QMsbkX4If5GTMSw NvGizRK0K/HmNwxhO3Ur6reeYkbMTx8gOR9zz1u+xaGJmgkuGNayQN6qLQvBTG8SUtXD26 hVytxMzRpTNnAk+YIeojWOkv2IacXs8= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 223A113582; Wed, 13 Sep 2023 11:38:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 0PoHBzyfAWVoCwAAMHmgww (envelope-from ); Wed, 13 Sep 2023 11:38:36 +0000 From: Juergen Gross To: linux-kernel@vger.kernel.org Cc: Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko , xen-devel@lists.xenproject.org Subject: [PATCH 1/3] arm/xen: remove lazy mode related definitions Date: Wed, 13 Sep 2023 13:38:26 +0200 Message-Id: <20230913113828.18421-2-jgross@suse.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230913113828.18421-1-jgross@suse.com> References: <20230913113828.18421-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 04:38:43 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email include/xen/arm/hypervisor.h contains definitions related to paravirt lazy mode, which are used nowhere in the code. All paravirt lazy mode related users are in x86 code, so remove the definitions on Arm side. Signed-off-by: Juergen Gross --- include/xen/arm/hypervisor.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/xen/arm/hypervisor.h b/include/xen/arm/hypervisor.h index 43ef24dd030e..9995695204f5 100644 --- a/include/xen/arm/hypervisor.h +++ b/include/xen/arm/hypervisor.h @@ -7,18 +7,6 @@ extern struct shared_info *HYPERVISOR_shared_info; extern struct start_info *xen_start_info; -/* Lazy mode for batching updates / context switch */ -enum paravirt_lazy_mode { - PARAVIRT_LAZY_NONE, - PARAVIRT_LAZY_MMU, - PARAVIRT_LAZY_CPU, -}; - -static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void) -{ - return PARAVIRT_LAZY_NONE; -} - #ifdef CONFIG_XEN void __init xen_early_init(void); #else -- 2.35.3