Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1796731pxj; Sat, 5 Jun 2021 03:27:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyM3cFuPJsLhKSDw4D1O2iYBdZ2TNVh0P66X5OhYWt11RhFfV/0C9U0I6PK1fgmquk9qK4J X-Received: by 2002:a05:6402:51d0:: with SMTP id r16mr439734edd.138.1622888835815; Sat, 05 Jun 2021 03:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622888835; cv=none; d=google.com; s=arc-20160816; b=N7rs1vvpq6NJLu+2IXgtBtSUwgRWjqpctVTVzJ7pomcvB7q6YjIRpWXsI5o32AFEoB Weki5+ABcvOgaRlVpmyuiGlaswdDkMXnFIrCuZpnrd3bzCmp4NAu7btXZ/QKB3qBym8k Ajh+uZxJEgP4XYH8WM2dlcFDLAp3ZehD2XZTBBXp7vQGTlw69T0b294H/fd1TcQVXofh fb4XwYleBY80cGqi1P5BefAxKLrFla2j52OcY0vDFfMHEIeN5Xsk5FFjENnC31C3hl3f L/rkwMaYb3rY8+CWiSYgbBwnz1rWvHIFjKAqaygi/DU4QLu7OOwIXTSB3u3JhJ5udZ+b odlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=m969ISjz0Qg2RicSIh/DLDKZX7B7gGF5mGcynT3qU5g=; b=LfabVbCT8yOoE1BCFHCwKz/Wa/qirVo5YrKVkEkfFd0/porQYy5PD8yaukmyyeU0jV qrG1KpHZQy21O3MPcdi/zM2qBH7Op1ezjB0W+OqIMZ0z1m64THwcUhq4Ek7XKYn8aNpz Pca7LhJGLHZbKuSAntDh4KJNSdEWe862UX7Y2LRZFywNsQG5xkPaKW+N/azlq5jix8xb rjEetAXtR8q7XyUyZzjLkfBqljgRtwatCBhUC7Zm6U8FoawMpWo9EJYrjVBYpWeqvALa OQ8l4/baJnj+2IAc+Mcg4MZ0emc1l2QsZ9CskxT6+uTNw3gb4mFTNaHUkW5AcF+OxoTf HMbw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gg8si6884634ejc.230.2021.06.05.03.26.51; Sat, 05 Jun 2021 03:27:15 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229980AbhFEK1l (ORCPT + 99 others); Sat, 5 Jun 2021 06:27:41 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:43578 "EHLO mail-wr1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbhFEK1k (ORCPT ); Sat, 5 Jun 2021 06:27:40 -0400 Received: by mail-wr1-f43.google.com with SMTP id u7so6296873wrs.10; Sat, 05 Jun 2021 03:25:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=m969ISjz0Qg2RicSIh/DLDKZX7B7gGF5mGcynT3qU5g=; b=gSTQ2+tued6UiImWuu//oBlJfjpt/gwxvwg29XwT4DnYnd8egzGn/L0o2ogOHSgA6d rHBeSymp/nYKxg+oWHFjfFsLqyG42L42QV44U0Fksyf4Cm2MWpuOaSKivHTKx8y4STZ3 ofZdcOjBjR3hFFiqnQX4kZtjsmUrDCJaF8+yijmZz9b7bmuIakoHxI564DITRTS2a9Xv Bc7RrMofn24GuhzVvsF352dyD4JipymAreTUkotBQkS9XBCwyLIyelkc4WakHggRuwWm nNaabpWr4/vBxVjYaV5t8RPzXoHEDGP1JPRxXQTE2kxuzC2uSpcBcGbQMXvZN44S29d0 luxQ== X-Gm-Message-State: AOAM53297uQpBZUQGmdj1B+AaKbcY1FnYun40G0w8dUQjgUb8jmYInP7 WsIc5NXOgIGAmNx5WEeQHZg= X-Received: by 2002:a05:6000:2a3:: with SMTP id l3mr8155566wry.395.1622888735842; Sat, 05 Jun 2021 03:25:35 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id p187sm8242731wmp.28.2021.06.05.03.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Jun 2021 03:25:35 -0700 (PDT) Date: Sat, 5 Jun 2021 10:25:33 +0000 From: Wei Liu To: Sunil Muthuswamy Cc: Michael Kelley , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "wei.liu@kernel.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" Subject: Re: [PATCH 1/1] Drivers: hv: Move Hyper-V extended capability check to arch neutral code Message-ID: <20210605102533.uzvd4l7el2afes5i@liuwe-devbox-debian-v2> References: <1622669804-2016-1-git-send-email-mikelley@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 04, 2021 at 12:14:09AM +0000, Sunil Muthuswamy wrote: > > The extended capability query code is currently under arch/x86, but it > > is architecture neutral, and is used by arch neutral code in the Hyper-V > > balloon driver. Hence the balloon driver fails to build on other > > architectures. > > > > Fix by moving the ext cap code out from arch/x86. Because it is also > > called from built-in architecture specific code, it can't be in a module, > > so the Makefile treats as built-in even when CONFIG_HYPERV is "m". Also > > drivers/Makefile is tweaked because this is the first occurrence of a > > Hyper-V file that is built-in even when CONFIG_HYPERV is "m". > > > > While here, update the hypercall status check to use the new helper > > function instead of open coding. No functional change. > > > > Thanks for taking care of this, Michael. > > Reviewed-by: Sunil Muthuswamy Applied to hyperv-next. Thanks.