From patchwork Tue Nov 17 09:40:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 7634361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 46D72BF90C for ; Tue, 17 Nov 2015 09:44:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B79D20465 for ; Tue, 17 Nov 2015 09:44:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 85BC520461 for ; Tue, 17 Nov 2015 09:44:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zycm7-0005Li-0B; Tue, 17 Nov 2015 09:42:07 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyclq-000559-3m for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 09:41:52 +0000 Received: by wmvv187 with SMTP id v187so217681798wmv.1 for ; Tue, 17 Nov 2015 01:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RccS8E/ltDPVfLRjdyVjitpQYq+BxmvKDga9lvdn7Jw=; b=WkxPNPkznWqQojSl5ujxmQBFF3a7f32paDWyTu++Q1Jhtr+b92OV/kWgEOtitantX6 /v08/rMAFN0yELbItF7pr583jgf5r8mjn690WhQkd0qOuT94468qQi+7TAiySMGFJAke uO8mzPPNPKyZWuBN5BGgahduAADJNxc1Cwp2YNX6YkF4uxQEpMaudIw42m2j6TUrktHE TJimD6d1gMuEdZazoHu+W2PZhHhregX7v0NWll9V24oGjG1CKMEXVLIGIcxeQtstsraW uTf0YehFra9XtdH8mtRNezhH6ESUkKemUjp9Qdd3TCLHgiCmwP6dINt7XjNPSq5FH0OA pnAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RccS8E/ltDPVfLRjdyVjitpQYq+BxmvKDga9lvdn7Jw=; b=jChQJhhXUfwS8ihs6kMURVyqLbcN+XB4kAm8ns+NCJoyuw5MiSijgrSPk68BMc0ifv 8DUvqwhz8r84Vl0mrMuBZvZ7KDd5NurJ8SewSiVkJxTjvsbL2v8mjWGzYe4xNMm/hg9g PEJjnkdLQJh7jlT3QsZsCLNkMlOa8Ru4O3s/crZHxUe4Jwt8t7A5JuB6Aa04yu8yG1W5 M8eY5+BocNWwaDheFc0CXks0rtD6QznciOhZJAMl9l/rGU27UAFSjRzTKNg3abqmjpxF abwzlmYhrSefKkzvCsBoxYS39Q6k1aXBiafGc0Mcn41u3ndUlIHrwtH2uMpwDcmBArUh Vcjg== X-Gm-Message-State: ALoCoQktb0Wns11uwbXWYBha7ArRDJMQPoyyaUy6EvnpZ+BU94UEnzc2hnXC3o5GVZSpBioQ1LRr X-Received: by 10.28.26.78 with SMTP id a75mr1433051wma.13.1447753288614; Tue, 17 Nov 2015 01:41:28 -0800 (PST) Received: from localhost ([78.129.251.54]) by smtp.gmail.com with ESMTPSA id bk2sm39002035wjc.3.2015.11.17.01.41.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:41:27 -0800 (PST) From: shannon.zhao@linaro.org To: ian.campbell@citrix.com, stefano.stabellini@citrix.com, keir@xen.org, jbeulich@suse.com, andrew.cooper3@citrix.com, julien.grall@citrix.com, xen-devel@lists.xen.org Subject: [PATCH v3 02/62] acpi/NUMA: Build NUMA for x86 only Date: Tue, 17 Nov 2015 17:40:01 +0800 Message-Id: <1447753261-7552-3-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> References: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_014150_512723_EA1DFF36 X-CRM114-Status: GOOD ( 10.89 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, hangaohuai@huawei.com, ard.biesheuvel@linaro.org, shannon.zhao@linaro.org, christoffer.dall@linaro.org, peter.huangpeng@huawei.com, david.vrabel@citrix.com, zhaoshenglong@huawei.com, linux-arm-kernel@lists.infradead.org, roger.pau@citrix.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Naresh Bhat NUMA is currently not supported for ARM in Xen. Add a new compilation option HAS_NUMA for NUMA. Configure and build NUMA only for x86 architecture now. Signed-off-by: Naresh Bhat Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao --- xen/arch/x86/Rules.mk | 1 + xen/drivers/acpi/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index 42de328..5b8eaed 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -3,6 +3,7 @@ HAS_IOPORTS := y HAS_ACPI := y +HAS_NUMA := y HAS_VGA := y HAS_VIDEO := y HAS_CPUFREQ := y diff --git a/xen/drivers/acpi/Makefile b/xen/drivers/acpi/Makefile index bbb06a7..3bb626e 100644 --- a/xen/drivers/acpi/Makefile +++ b/xen/drivers/acpi/Makefile @@ -3,7 +3,7 @@ subdir-y += utilities subdir-$(x86) += apei obj-bin-y += tables.init.o -obj-y += numa.o +obj-$(HAS_NUMA) += numa.o obj-y += osl.o obj-y += pmstat.o