Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3559111rdb; Wed, 13 Sep 2023 16:21:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNGAyXmaE8k7sGMBClDjkL77lOTxX8ChV+Bav8I7FJvD09+8IAhrNYgigQkEHHns+Bm3Rd X-Received: by 2002:a17:902:ea0e:b0:1c0:7e86:4f6 with SMTP id s14-20020a170902ea0e00b001c07e8604f6mr4949175plg.14.1694647314437; Wed, 13 Sep 2023 16:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694647314; cv=none; d=google.com; s=arc-20160816; b=0LA3G9vgbMWh1U2yf3j2WgpuEv3aMkvJM8cZW4my4oOH5RxV5b6m4yxgu7RWbxgVY9 C8dKkpyhOvrNj/3h+3clW669JvrM3RH0M1NUoV0s7mHADxx3l191DGTZBe11UHz+ih5I jYuumPqoygPY3OCHpA/XMn2aTIMxEoKjruFik0hlRzgya/JN7rDUrLVqBMpINtd/ThqX Z01DrszR1Sqs+6KZ2g1/6IqnOtvqk2vzCsPt9JKeEvdL/vRI6xR9K9DRHqrCVfwSPUpj 05A6lPPyZpNdQKkcx8DItyRNMm5jNNxM+XKKlUDvcbnb02Boc5OcOl6dMjf1Fh7F/nmt 51lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=r47MaegV2PJK/e0NwzF2RBoJjZIhbfIMD6ZJ7G3ndH4=; fh=4zvVikPzRYHZdG+FkYpGVmkHmvXwBesCMcmTGFkBUAw=; b=Fnb/06+wrgnKKDzb2QQ4rSFIhQGheuUOd+Lhok4SxyJTvfxG4T7zl5eONc0jqWZQeH j+b+F7UUhqmUFjXjRYc8Idjopk8MbPurs7OnRakiGC/z3ufFu8dD/1HaR3kFhBw/oNUi dOJ95w++bd/5OFcKMXFx9VUfnPOYdTbwFYWQDQuXKVKP/EciD0U84DX5NLIGhwYmIxQ3 rAvpMLmsGIa37Vmjrk00AGwoFzZmN7E5w/ZAJ5LMJx6a4djZQ9BIm2xJiYNSguioYgOu w+9mYwsb0ForJ2KJJ5UlZ33wGR90wqY1sKKsek9YqVIIMEf8Vk1AKLDkjIaCXpLE3t8/ W1NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ro3uh6il; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id v10-20020a170902d08a00b001b9eb349550si306464plv.391.2023.09.13.16.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 16:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ro3uh6il; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 07236801B9E2; Wed, 13 Sep 2023 16:07:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233062AbjIMXHJ (ORCPT + 99 others); Wed, 13 Sep 2023 19:07:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjIMXHI (ORCPT ); Wed, 13 Sep 2023 19:07:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12FE51BCB for ; Wed, 13 Sep 2023 16:07:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F26D2C433C7; Wed, 13 Sep 2023 23:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694646424; bh=ff4Xglxtnbq7pMTBdXo/zVGkPU3zPuCRWBB6q8+lHzQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Ro3uh6ilWqg62WQdB59QKFPdBxd9k5F9ZvjGq9dmM++9OsZJBn8IDIV/KSIzTNYWt jo0VWNH50+2+vTCvsrxad6rGpp+BDrZGVrr2XhLHpL4/5/D7NAd+vsypFnvV1KyOzQ /OPFMGnuApBQqNp/UNo2U1MloPOzrE/7smTfoQWaFP6m49jE35lust8QTw2wIvIgnr kTN3cVHzDRLzQwBPsMMBc3gTPAOaQ0e8wPtrGvRUzuWMgVBkXqoajEGd4CfZepBISJ PTzDDWYctZMwpG5vY7YXYw+QbHmMH1t7//Gwm03ZbWj2ES5HqFmebnOpdTwXVzqI0x /2JS6TWueCfbg== Date: Wed, 13 Sep 2023 16:07:01 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: Juergen Gross cc: linux-kernel@vger.kernel.org, Stefano Stabellini , Oleksandr Tyshchenko , xen-devel@lists.xenproject.org Subject: Re: [PATCH 1/3] arm/xen: remove lazy mode related definitions In-Reply-To: <20230913113828.18421-2-jgross@suse.com> Message-ID: References: <20230913113828.18421-1-jgross@suse.com> <20230913113828.18421-2-jgross@suse.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 16:07:11 -0700 (PDT) On Wed, 13 Sep 2023, Juergen Gross wrote: > 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 Acked-by: Stefano Stabellini > --- > 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 >