Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp287198pxa; Tue, 4 Aug 2020 05:48:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsaTxmWC9c7hvsLXSyWFjZqOnprFV8JeUFJ0txN0vm9UL497zlWSWLkPtuMlHkHrdJPrwx X-Received: by 2002:a17:906:74d0:: with SMTP id z16mr20932963ejl.51.1596545280106; Tue, 04 Aug 2020 05:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596545280; cv=none; d=google.com; s=arc-20160816; b=0Qw7m5pXMSCQ2D3cXU9o8WKabtn9Wbadolrpc2MMvwLBC6UBoa7F/lOQq3SLOB3+M2 NwBxyWpymyZfF98hl/p+Xizckz/2CTvT5qguBa+Ydy1yiOz3MnNEJ+lRBMavwqTPh8cE BKxyHFB7hwVsMphorXGN8uyDC1ms2wQIMlCVL/IJOCxBB6LOkhqGumHxoPlp73qpZudA qndmLp82Pmmwbjtn90Ri5wb2onuVn4t5eTGakTbQa5Jdx/0ZMfHTr19ruyHystMhcZoZ G22f+diS2BxrPciMuY2tWUHlnUaU34LvGZuM9rN90qXu3oI/K0rZ0TGq0e6L7jEqLsmJ zlKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kh3fLdhtAK8iltYl6aGsCpfSwDzQcJQDII6+Lr3Ir4w=; b=o5RZktbKnxWwK53rLNSGiw+hseU3eQN44R43OC93rr7xr+iSf2dD5frFL4HKHuBr+9 i/juq4R9WqKa6yCMiLWTt1UIXuI5g33wopMSBT8pApOrh9zMvlPGK5TjwOc8snbfNAtZ LSkh6yLzPd3jU1hNtvpJBOczciIuiWfbEchUrj5rs1p9/S6gbOjWDR3cnw1aBH2q53FT REKA7fb84cOI0INDlEAAR4X2DsRWp/PNZCjbOHqP8im8UlOI1xSxQ5agCBpTA06yaWaj 176nY6V1k1PyauNIoIouuLIxJT7apbJTWK6PGOOFFaY3qw2CvagHA/vQCJYW0GEDcEUq IAAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nMnqkLp9; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 38si6751901edq.297.2020.08.04.05.47.37; Tue, 04 Aug 2020 05:48:00 -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; dkim=pass header.i=@linaro.org header.s=google header.b=nMnqkLp9; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728416AbgHDMrP (ORCPT + 99 others); Tue, 4 Aug 2020 08:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726660AbgHDMoW (ORCPT ); Tue, 4 Aug 2020 08:44:22 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16174C06174A for ; Tue, 4 Aug 2020 05:44:22 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id d190so2537606wmd.4 for ; Tue, 04 Aug 2020 05:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kh3fLdhtAK8iltYl6aGsCpfSwDzQcJQDII6+Lr3Ir4w=; b=nMnqkLp9MyaD7mVBWPOdpipOJAA/A+eqGB2+7v2AnGvajHcTmtJGzfEa8AObnk3OGO X6yzj+zqibdmVd52uW6BsVLE1twlWOD8iHOgBNZ4VGgtFVF3pWYXGAqPfb8l+53YHRNG fkEUw2haM1Xyld8Y5Y4NGy7cZi9KRdEu+s1yEngpns9vBqo+5u5vyUfrDXyt3ivwb/rB clg/7E3xKGUCx24uRr1RBdN9jkogBMFaY3KQRg6bWxxmOvo5fYHBnXt+k0Nf+/PDBu2f s6HexrWOx4jElhs7Dd34qf7UdiQd6LCDGnCq2XOnNawU9uylFjuZkOHE2fgbsJFmSbff SnFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kh3fLdhtAK8iltYl6aGsCpfSwDzQcJQDII6+Lr3Ir4w=; b=oabJUsKn5bJ2yODlvSjnFk3AXQq0Db2WFFcHmyOb6/4qP7EmXEv6M4Yn3qx/F9UwBI D8Eay7LxmU6U3HXa3WcOLACUIND9ya+JMasCVTlasEuF2X8CYKVaDFRiH1hjPxrACL2B YrB7Giy4sEhYqdKjnh9wNVeOqY6NVKX+XFPuS3HY7sgGPLcfYu+Tt6as1g1nukhmgL6R s6eV0YYMpFuu5xXvSI4nhY8AxqJmqavqL7/QDRuPXPQne3BnF53kPZL3xMZKmfrVz7Us LIe+Rf3jk0S//u/8ED4s1aK/o2P5DMkXBzhDWrb/aEB5STQDGlADXnhAMhDU61b9XVLT hw5Q== X-Gm-Message-State: AOAM53253db4DT6Zgzj8Bw1LsCONeP8A2mEI7mmvy9aDd7uvWoGbjc+P TC+RMDsQDo1pc2E5qKJEULmrDw== X-Received: by 2002:a1c:7702:: with SMTP id t2mr3859731wmi.169.1596545060810; Tue, 04 Aug 2020 05:44:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r206sm4554096wma.6.2020.08.04.05.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 05:44:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9218B1FF8C; Tue, 4 Aug 2020 13:44:17 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@arm.com, maz@kernel.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH v1 2/3] arm64: gate the whole of pci-xgene on CONFIG_PCI_XGENE Date: Tue, 4 Aug 2020 13:44:16 +0100 Message-Id: <20200804124417.27102-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200804124417.27102-1-alex.bennee@linaro.org> References: <20200804124417.27102-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a little weirder as bits of the file are already conditioned on the exiting symbol. Either way they are not actually needed for non-xgene machines saving another 12k: -rwxr-xr-x 1 alex alex 86033880 Aug 3 16:39 vmlinux.orig* -rwxr-xr-x 1 alex alex 85652472 Aug 3 16:54 vmlinux.rm-thunder* -rwxr-xr-x 1 alex alex 85639808 Aug 3 17:12 vmlinux* Signed-off-by: Alex Bennée --- drivers/pci/controller/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile index 8fad4781a5d3..3b9b72f5773a 100644 --- a/drivers/pci/controller/Makefile +++ b/drivers/pci/controller/Makefile @@ -47,6 +47,4 @@ obj-y += mobiveil/ obj-$(CONFIG_PCI_THUNDER) += pci-thunder-ecam.o obj-$(CONFIG_PCI_THUNDER) += pci-thunder-pem.o -ifdef CONFIG_PCI -obj-$(CONFIG_ARM64) += pci-xgene.o -endif +obj-$(CONFIG_PCI_XGENE) += pci-xgene.o -- 2.20.1