Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2187964pxb; Fri, 25 Mar 2022 12:39:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH2HJw5rF2yJ2E5uKYe9YMc5J7b3NEUOO/ITJDFBF6pGk1OdaflCeR94gdwJChazBhbfU+ X-Received: by 2002:a17:902:f60f:b0:151:4f66:55b4 with SMTP id n15-20020a170902f60f00b001514f6655b4mr13365247plg.127.1648237182187; Fri, 25 Mar 2022 12:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648237182; cv=none; d=google.com; s=arc-20160816; b=YNgpEyVfkZd2AT2PO9DPSewratsuPXPcnJXiY7YeT46SBSr+4oiNZrKyPHGILD1pl4 cfCAo0AJXyEU495RMTZKrN2muJ8SJ9/VcnUoexgE8EfjPuoYKX1t4Z/4fOTEO3jIBoG8 iJcrtGdECKXn5SyfdZ35z4xo0kRVM3kglPDdYHXu6nP0J1Wq3ZCkuaEDd8wZA4t+D5r7 oAqLtDINDXD69HI01nb1AG/MN2mqLThdzikFAHJ4kAD3Rm1exZtctNgS03N2N6KXgLkO 37wDuKZCeK0hAqw6R0Fd1qFCAl24ECMUjWcFHiBGX07sYlfoPuNSExCEmlxMwTNsVzwt KE7A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=uzUtMlMUd1IXg+EKJtmTFQNZsOnG6D5eD7yULBI8dvw=; b=DwWuDEL1RXYGEIaqIMa1X6EOCvaLer1SNEt3Ewt8/gWWJdxPfmlkvq5Heg2NRlBAmo pWV8pzQ9SiHCJkPIVU4v8+n2MA7mw/LOGhREONAESWZ3+rNCrPSgG4J6mWw2OFFEeGa4 YuN+Gga8/u5tO+1kaVlNh63PnqjvW/tlYUEeGL7TlCsOPsoHgtLE+0h0S2lUNutbshLL MMUVK+G0spFSBpQW2kvHJp2pHVzqcTbNjfTtEeN7K6d46CEyRqQ+tH1eEH4xk91l5dtm 4fvOht8MpmutRw+7cbkHJWtIRGJEE9eskmemEJrRywKKMgPspsbNzjru1EUZspeeis3U oCsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JqvlNDn2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q9-20020a170902eb8900b00153b2d16415si3012353plg.29.2022.03.25.12.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:39:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JqvlNDn2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 67D18184632; Fri, 25 Mar 2022 11:30:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357771AbiCYCem (ORCPT + 99 others); Thu, 24 Mar 2022 22:34:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357767AbiCYCek (ORCPT ); Thu, 24 Mar 2022 22:34:40 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83297B97; Thu, 24 Mar 2022 19:33:06 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id z19so2265181qtw.2; Thu, 24 Mar 2022 19:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uzUtMlMUd1IXg+EKJtmTFQNZsOnG6D5eD7yULBI8dvw=; b=JqvlNDn2FGsVLxshI49rQ+8zQjmV89cfIwMG6WLgc9rkFhQ7kczF3p7rqZ4SphexL8 LkEsswGZeer8mdy4BOs9AXKSjRg06TTgI828nSfBDkgwkqa/o8pqF8ZiMTHQV1jqFUwb abxzYHb6NrflWjIVlq6PYhWmVlajQoZvVbvHPOU0XQewW7iwkRtiUAKJ6eaBl9UiJG2E CpkffWI7CLnmdrBCjabz2wWi7lPvuAitpfHce7NkXY9bm0rb6DiO80igTaLCixx68uKH SvDvBZm5p/yF+sJ/AGctV1K/JoHgoV2AmLkKzeYrxj+tStqfczK898qNVtAmRkxPFblw fn6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uzUtMlMUd1IXg+EKJtmTFQNZsOnG6D5eD7yULBI8dvw=; b=yad5BcfwHNlsqEB4ihP2yYu7CkWzd0LqWrhI3bLM3LbjjEVtWQ3TMqRyqOpWtH+SE4 CUTArm/kpsbjeilXX2v7cjtzPIWyFAh12492pc0LmfuuAG9GboyCusByUuwl0Yb9QuNz v3UmIrePXRfuMJ376vjNnVTjMOLn6QN4kjYu2WYPTDTUwSKDSaQl+nWqmpKvs/HgYiYJ DbVJHdkIekhWaF4QuWzB132AHXhd79rsT1QNUIdE6+crOfKzCFvg1HI+K0ddgngvkEDc JTmcnihaI+sg+tPDYXqGtGzdqAoMrdKM+rhJJ+AbvKfMMZCjN8JlxwMAzUZ9C6BkR0wy WfzA== X-Gm-Message-State: AOAM5318EYwKdxOo6/3hCIMRnIbMTi4mldtFqf4uq1Hhh639UNm498pQ RXOsCGeG7ow04mocnG+AbzIztSZFRPo= X-Received: by 2002:a05:622a:14d1:b0:2e2:3242:4c25 with SMTP id u17-20020a05622a14d100b002e232424c25mr7277904qtx.1.1648175585647; Thu, 24 Mar 2022 19:33:05 -0700 (PDT) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id j8-20020a05622a038800b002e236535929sm3842533qtx.32.2022.03.24.19.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 19:33:04 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 194C527C0054; Thu, 24 Mar 2022 22:33:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 24 Mar 2022 22:33:03 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehtddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeeuohhquhhnucfh vghnghcuoegsohhquhhnrdhfvghnghesghhmrghilhdrtghomheqnecuggftrfgrthhtvg hrnhepieeuveejleehudetfeevfeelgfejteefhedvkedukefggedugefhudfhteevjedu necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegsohhquhhnodhmvghsmhhtphgruhhthhhpvghr shhonhgrlhhithihqdeiledvgeehtdeigedqudejjeekheehhedvqdgsohhquhhnrdhfvg hngheppehgmhgrihhlrdgtohhmsehfihigmhgvrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Mar 2022 22:33:02 -0400 (EDT) From: Boqun Feng To: Wei Liu Cc: Vitaly Kuznetsov , linux-hyperv@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Dexuan Cui , Michael Kelley , David Hildenbrand , linux-kernel@vger.kernel.org, Boqun Feng Subject: [PATCH v2 0/2] Drivers: hv: balloon: Temporary fixes for ARM64 Date: Fri, 25 Mar 2022 10:32:10 +0800 Message-Id: <20220325023212.1570049-1-boqun.feng@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v1: https://lore.kernel.org/lkml/20220223131548.2234326-1-boqun.feng@gmail.com/ Changes since v1: * Wording changes suggested by Michael Kelley. Since Hyper-V always uses 4k pages, hv_balloon has some difficulties working on ARM64 with larger pages[1]. Besides the memory hot add messages of Hyper-V doesn't have the information of NUMA node id of the added memory range, and ARM64 currently doesn't provide the conversion from a physical address to a node id, as a result the hv_balloon driver couldn't handle hot add properly when there are more than one NUMA node. Among these issues, post_status() is easy to fix, while the unballoon issue and the hot-add issue requires more discussion. To make the hv_balloon driver work at the best effort, this patchset fixes the post_status() and temporarily disable the balloon and hot-add accordingly. Looking forwards to comments and suggestions. Regards, Boqun [1]: https://lore.kernel.org/lkml/20220105165028.1343706-1-vkuznets@redhat.com/ *** BLURB HERE *** Boqun Feng (2): Drivers: hv: balloon: Support status report for larger page sizes Drivers: hv: balloon: Disable balloon and hot-add accordingly drivers/hv/hv_balloon.c | 49 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 44 insertions(+), 5 deletions(-) -- 2.35.1