From patchwork Fri Jan 27 11:39:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suzuki K Poulose X-Patchwork-Id: 49286 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp787628wrn; Fri, 27 Jan 2023 03:45:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXvLUOfJbRgC49yj6sGjBXXUNcGm+ALV86+riJkaScjntRSX3agqcc5pcKhHKN94apHvmAJD X-Received: by 2002:a17:902:7c0c:b0:193:b58:2b0c with SMTP id x12-20020a1709027c0c00b001930b582b0cmr38192359pll.23.1674819900716; Fri, 27 Jan 2023 03:45:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674819900; cv=none; d=google.com; s=arc-20160816; b=iwP1DLaG+auLYKQF3ZWY0g0AbSWerYuZiWpTqI4EZyzYTepT+OOJ54y/0I42yc7vsT 8dQAWE+tD8A30+L4fqyrXUUkrtVg2FO3IOuiRklYRU5Dip1VpEm5bgDGY0rIgD9CFwUY NhMtmqhDU0UhRIfe4hlnpw/yE1JmSTiizoaHV99MJ1nrXrSGv1jd4l1OSjFz3NeqMsdY O0K63ccLlojb1HynGrPsaKaP7AUr3HrQt4V5ah6biJPAam/h7Q6O8t7ydyuK3zgniPs3 WHQ52gvYwEMVf48uY7fXSWcVOYfH/HYsrJKjpv0MjFZBXkwuEV/WufHDFOdE8sjgP02S Vnqw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tNKPqb35Zitonxahtf2aMrPunLzAn5+7c9Rlg249+ZU=; b=cmk71Vo8Ky2aJYrC+lR7By0eq3Ft9SVstrfXvWTlZ6DrEWSBbc94xvxWXBLfX/Pffx yCjM0ufnb5lhN0vslDhDmb2/A/mgpWp9Ge6u59+XccLcjuk6eC5FP0ptW2sa1IRDPl+X ypf3+xEf0l2wu99fSW4j6/NFfHjCtZ80KI7WCfaxeImogN49tfAi50AAaqAmrKOWXVVs 6wyATJlhWa40C3SM/EF+3O2+F7xPld4lmL1OP9rfwoEMbCkJGYfIm4HaTcnnpAlb5ZJT hmsa03W8FhCI5hYeouBWsi2NChgcwJAg2s2jq9hboFiTiOpSP7IAMfAxxIEi00ulswjb IEhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a170902f54800b00189847745f1si4885609plf.395.2023.01.27.03.44.47; Fri, 27 Jan 2023 03:45:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232334AbjA0Lks (ORCPT + 99 others); Fri, 27 Jan 2023 06:40:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234168AbjA0Lkg (ORCPT ); Fri, 27 Jan 2023 06:40:36 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 648F2C650; Fri, 27 Jan 2023 03:40:18 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 86EAB15BF; Fri, 27 Jan 2023 03:40:36 -0800 (PST) Received: from ewhatever.cambridge.arm.com (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F3FB23F64C; Fri, 27 Jan 2023 03:39:51 -0800 (PST) From: Suzuki K Poulose To: kvm@vger.kernel.org, kvmarm@lists.linux.dev Cc: suzuki.poulose@arm.com, Alexandru Elisei , Andrew Jones , Christoffer Dall , Fuad Tabba , Jean-Philippe Brucker , Joey Gouly , Marc Zyngier , Mark Rutland , Oliver Upton , Paolo Bonzini , Quentin Perret , Steven Price , Thomas Huth , Will Deacon , Zenghui Yu , linux-coco@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC kvmtool 02/31] script: update_headers: Ignore missing architectures Date: Fri, 27 Jan 2023 11:39:03 +0000 Message-Id: <20230127113932.166089-3-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230127113932.166089-1-suzuki.poulose@arm.com> References: <20230127112248.136810-1-suzuki.poulose@arm.com> <20230127113932.166089-1-suzuki.poulose@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756175952036857707?= X-GMAIL-MSGID: =?utf-8?q?1756175952036857707?= Ignore missing architectures for header updates, for use with older kernels. Signed-off-by: Suzuki K Poulose --- util/update_headers.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/update_headers.sh b/util/update_headers.sh index 789e2a42..bdfb798c 100755 --- a/util/update_headers.sh +++ b/util/update_headers.sh @@ -48,6 +48,7 @@ copy_optional_arch () { for arch in arm64 mips powerpc riscv x86 do + [ -f $LINUX_ROOT/arch/${arch} ] || continue; case "$arch" in arm64) KVMTOOL_PATH=arm/aarch64 copy_optional_arch asm/sve_context.h ;;