From patchwork Fri Nov 26 15:40:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 12641011 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 477EEC433EF for ; Fri, 26 Nov 2021 15:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KJVeixz61HkHf3t+DI55nPTdRRyXye7r3+aPNjC91JY=; b=3YKb4VJC1FFO5o LO7ONlcGv6ew4XRB9Sq8sA/4aOHmZDWNIHekd6dF73OMKr4KFRPr+Qj/hWicMhZwUhJpqPgxU+Muu 4Ov56AWMd71zMwDDekfBn7/4K0b6nQ07DGOLMIqG6m5IrXrA1Rnsr+oLAw0HMhyB1T5fMl6Pc4dj9 eWaxFxodDp/oaWVFlHl/hYa068Fa0hVLvnnxQbUEGumdrHpOXjjWcGLHZi5FHGxSBOzORwzqiQT/H ASMry6daNtUpl7c6V5bE7X78bMC0Sok4pZ8/w4sdN+xg6ynmLdIq9n+HbgFlEb8tgsNMd2X+AorUx fnhZTwpXRmbGGfh0arvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqdLV-00AxxX-Bj; Fri, 26 Nov 2021 15:41:05 +0000 Received: from esa3.hgst.iphmx.com ([216.71.153.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqdLS-00AxtA-PZ; Fri, 26 Nov 2021 15:41:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1637941261; x=1669477261; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=Yyd1xhd5UFPVScLX53tcVgS6s7csjjr8e3ZJXvcaHIY=; b=R9OXGFPNYYQOKHU3PW94RCjfC3qllR576w1XzySZ4IYzByGNP55ZiSoE IcxZ+RmE9lJfs+oeOvT8h0MYmbVIxIVy6KYd9hWEqx3aG0zCT//Zvnp2d VGQ2Eg6fIYtwKRFXB6XCfks/NPDvhdLwkxTLZB0LpeJxH6mnQe3A8z6UW T+FpVBVqHgGGE0Q0BUWzkhJtZ6pftLdevhH77s2wuc9RqonRRVfwqXRL5 QmWyf/+GSElGczA+rI7X08cQQYM+mPvEo0Tblrnp3gmwPQdYnc2Ho5dgS 6lBOzMPNhkQNs6FutbFpQ1YT9X7sWPQO2iJyJn6ILi22lgwWJL64Bb+9p w==; X-IronPort-AV: E=Sophos;i="5.87,266,1631548800"; d="scan'208";a="191541527" Received: from mail-mw2nam08lp2168.outbound.protection.outlook.com (HELO NAM04-MW2-obe.outbound.protection.outlook.com) ([104.47.73.168]) by ob1.hgst.iphmx.com with ESMTP; 26 Nov 2021 23:41:01 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MmF2M2JlvW4VmgZz7hbsF+fV4y8cCUz4WqijsGteyXo0bdKi9VqAGNHvwzqGqd1xsd08EbRt/VY5TTdpH9CQnZpXq2iO5mWC0HpQtKvaU0v21yYE8tCv3luBbRP8XuziFXdncrBZ6jMP1LITyGwN/A9/+LjUNs/7BiROoV55Hi8dM8Cc/nvYSnXQhVPfR1D/e1wsqKrsVdMuDbHM1Nw1evELdaNhOAEyetJKo/97lqiNtlahQF5xwHipQ+JmcCT+KjiUmgYxXOzrNT2jOAdzLCyklVZB6UJsoaiNyJAySTDxCBVrSOFcfBWp+RGiUBz/gyk8lx+DKN3AyRxc52Ek5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Fx1+8DqUGGhGvD1mIGY99MgbH1pE/0dGb3IDvhqS54w=; b=Q63FZ2tEE5uq8aOtjGSOOJpP9FsdM0ZD2kpOP3jpq360d2uSuZlYsNCXbAKxlQxqXpp1GxjVzfkfpem9mysXEG89NBoY/LZkIhS3s6BMdWeG3Pd3MkRHlyyPLIC+5j0p53J1gSXGaYzq6lvb4KKXbprlu0DO+SEsn8lgaemRxGnp/TepbNY+w9l6ivOcqcamf6xVmbm3pk1/URuedzcswqvtEHKlo2KvCKiOXSvt2UbqHncknLDQcCBprCCCremwtdLCkWl2IS308zmD53UfnU1ZU/gAM07xDZkok7GUiAhkoBERcutsciAGUHo7Ow0wtg43ULwr75C0ik7txWqJvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fx1+8DqUGGhGvD1mIGY99MgbH1pE/0dGb3IDvhqS54w=; b=xGSPKPMfhLIK0S7l47xDbrj3upFVDUdS04ywu0/WDtgb/ic0QGiSQHpjj7PUrCEY4VVV4e7sdfxJuqHeqITjwGqAwVhF5hPOIo8ZOgMWrZ2i7470pb0T/hxaI9/6bFRZZnXxapS5iG5fpndg8C0A/sWQ1k1JTM73nEiG2FAK22w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wdc.com; Received: from CO6PR04MB7812.namprd04.prod.outlook.com (2603:10b6:303:138::6) by CO6PR04MB8330.namprd04.prod.outlook.com (2603:10b6:303:135::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.19; Fri, 26 Nov 2021 15:41:01 +0000 Received: from CO6PR04MB7812.namprd04.prod.outlook.com ([fe80::8100:4308:5b21:8d97]) by CO6PR04MB7812.namprd04.prod.outlook.com ([fe80::8100:4308:5b21:8d97%9]) with mapi id 15.20.4734.023; Fri, 26 Nov 2021 15:41:01 +0000 From: Anup Patel To: Paolo Bonzini , Shuah Khan , Atish Patra Cc: Palmer Dabbelt , Paul Walmsley , Albert Ou , Alistair Francis , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Anup Patel Subject: [PATCH 3/4] KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile Date: Fri, 26 Nov 2021 21:10:19 +0530 Message-Id: <20211126154020.342924-4-anup.patel@wdc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211126154020.342924-1-anup.patel@wdc.com> References: <20211126154020.342924-1-anup.patel@wdc.com> X-ClientProxiedBy: MAXPR01CA0107.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:5d::25) To CO6PR04MB7812.namprd04.prod.outlook.com (2603:10b6:303:138::6) MIME-Version: 1.0 Received: from wdc.com (122.179.118.153) by MAXPR01CA0107.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:5d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20 via Frontend Transport; Fri, 26 Nov 2021 15:40:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 87cf417a-8310-4d53-1c96-08d9b0f325fe X-MS-TrafficTypeDiagnostic: CO6PR04MB8330: X-Microsoft-Antispam-PRVS: WDCIPOUTBOUND: EOP-TRUE X-MS-Oob-TLC-OOBClassifiers: OLM:913; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eSOjavi9CgSXDSRu5EG0czTb1ulhajkB/pdNfWhiRhSR2IH6+W+XD/1jviluL+9Bi27YbN1CMSWN1ndinCoDZe0jMQHoW57CUrsGVgX1hz8nIyuIb/WdqFc/8aebrrCmgy3p+D4ureUA0EGTT1Cz4yHDeU3BvDT/OVOEnvkVbnJEBJ9wiRAvXp8h5cfMF/Cy4WqH4WXaO5FQzTPISbd9PRxzKP+fzUKzxfyvN4xR7aYroLNVSU5XOaZtQ3FPif11fTkTA2Oz3i4jWo4tegYP1b9puZbJT2wIsZ4giw9DdnqkfWt/ZqNl2Oik+u+MdaUXFAcCO2Uj/XoQnz887qLFlJGV5KgrilvcI07C3lnXQ6g0LtxzEljYVzAIwqxute7Gh8MmiUKkrWJd2WiU2yPldQsqlwr92+heK+ZxfyOlLyPODsqIpniNfAliCUTDUhO34+nGL/WEeXDeRBLeoY9bF+SquVQzQoFfF85+LwBDhPqOtC8J/AabX0dNR8gKdhsPPZ/QhJyevqifkA5sBij+fmr4K3mTgKcM6XRlNmtCPsNjA81hnl4ljgTDRYUKh6L9/sHHbCUMKUG7GELxVSlkhLvsakpxWrGjKIuGPpJtv80HJb74lNHgA5eOPlM3TvqT3jO33ysbKHY7nOFmbrf7gk23TzzlOyhpPpXnOnHn0nr6jnluijk/FV5xR3MDAXyU8aVa/L2zqdysKH3pUmLoMw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR04MB7812.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8936002)(1076003)(54906003)(66946007)(110136005)(38350700002)(82960400001)(26005)(66556008)(186003)(44832011)(83380400001)(316002)(6666004)(4744005)(86362001)(7696005)(956004)(2616005)(7416002)(52116002)(508600001)(2906002)(5660300002)(36756003)(55016003)(8886007)(38100700002)(66476007)(4326008)(8676002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gVML5QgT5Om0z7oAlYXmNAFA6UMHL5mKL4kWT6/oK8mG3SAZpI+2Dpfjg2L9fn4IL51J57ZVH6ygF7WXNMKiTDMgDCXznSwk3v4IrB64LhUWGtQ193OrpFO5FPZbw1BH9FX5WPp1sp9Z/ZlIqaQkIHwTTY17zYcbD6Q4Woj1nBR66K7dpaKwl8cA2fud7E3D9azGlJFl2W/rDBqlXPu9QoZh2t0qcv1D6Gh4Wp3L7ZtRuvY5kybqdQzz7C9GSMDMU9uBeIgIzmplTOcw7u6Ubwpvp5nsL94FrBXqkuX08GEYdFqJe/QdxnValeqiwTRjijVq/rIo3BXrIYk0clUT8QEv+V041/IBfdZPRVC4o8UaEAAiAr9EPFwF1L8fjwC5+kOlNXD7o7umZBDmE9NwYHMlH6mp9mIYI87Zo1Wny9iIHl8CoYFDrtrFrRcKUH9drU0kJUjRV7YgbokpHlAxJfQ6BWoikE4xawBhJI/A4zvVkmTyGBKey6DACrk6BmYW/Mt+tvz9aOjp8qDFMjOOAZzm26eXaA/Bafwrm5pta5KQDioRW71atyhUwnPzaT5CT7d9rnIuBOZ5akLXwaIJDcro3JzFOYU8UaDqGPTRyYY6JEvcafDvb+ZzijuMhHFdOfoLkT4J6LiedBQU9+fyKwjhUXnF0uPdldw6iM1BJUda2ReseTRfw5RZ1TdOIzzzzap+Lsn8FYBOPEtlFXEoUWh17WD1EJDvA6qyyKI7CxApdqJATuTGrMOMg5wdELMo0kT8Fs/hewS27eVYoVr1+Tj2dOJlnE8XNRr2VMhROKPshFTPGMGmjKrD1GFuUv2oXCkOUHsUTbqzwx/Ism4WfysJz8NjSi0zbcIuVEcepxXMqsLaJCxRDmI4z3FA+VMzBzlHhbc7lxp50WvBsmVleI142gRNki3wxSvUlcF8alwow7OH8IWy9HzPdcjjdNULGI0zqtgOBlgf1ylEmtm96ZcNHaV6luNfcSvR4rnKDhXniAhYmhZUfvO3LEZjAc9PFpZSLCtfElZ5n+yEYYoHPvKj5BQPUeD6Di8vmaxHpE6iG6392z3bH8f5ur2E5oEWpCY4NQfBBPDLA8OD/BZgFwakwgx/qTBHUykG0Chc3TV4Hpy9CZcAuExXYPmi2t8sgovNm9B4GzATz2yUs5GDhVQyiqvagpdsrtP1e/meQQbvo3GFJA+ehbB7lM0Q+wkburquoHDb3LHWYQaUXqy14zYFemqubNlWxw+SDRG2sihwnCEMNKy4EV3Ht+TiWEZkpdbU4rgbCXbyrkqoAhNgUtbvsy7PSTIfG/P+bA23/X6oWAFzWg9ZKOt3stNYjPlAxkDyvkkrcetMZUOrkw7LcHHdhMX3cT6gKBKxtLqH4QGcOD1je2amNf53IzTZaaxhUyeQBFjPDmXpXLhwdLXurzg8IdG3W3BJROLC0eP+2X6CyfYFGYVHhRAUft+oVp+q2gtN+twoydSvuCUILe+dvf5MLuserP4V/+n1LB42LMUP7ga3ypcg4+PJTsHGN5GSbMpSJA/1XO1BpP9u+xyZEvi/wDgNoX9dmt6Xi4amJqpsOA9LfbGsv8VUwDP6FTfZWbj2WFnHl2rPHJOfeXPR+uCqOHycXKXNDRI+Jv1B2ck= X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87cf417a-8310-4d53-1c96-08d9b0f325fe X-MS-Exchange-CrossTenant-AuthSource: CO6PR04MB7812.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2021 15:41:01.4351 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Yofpo0voj595fe0991/FtxfdZaOUtCDjvJAxvvdT9iA8QO6XlFr9fPmudAwvpbeqh/1hfAzysZo33oiM0Hi+pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB8330 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211126_074102_875538_6D0B975B X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org We add EXTRA_CFLAGS to the common CFLAGS of top-level Makefile which will allow users to pass additional compile-time flags such as "-static". Signed-off-by: Anup Patel --- tools/testing/selftests/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index c4e34717826a..ee6740e9ecdb 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -131,7 +131,7 @@ endif CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \ -I$(LINUX_TOOL_ARCH_INCLUDE) -I$(LINUX_HDR_PATH) -Iinclude \ - -I$(