Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1411347rwb; Wed, 9 Nov 2022 17:55:41 -0800 (PST) X-Google-Smtp-Source: AMsMyM55is66CNLrUvmK0lqRsFliVDTQVdlNhI9QWIL/DUp6OVbW0zrF82qLI1boJeapKf5xAXue X-Received: by 2002:aa7:8883:0:b0:56c:6c76:cbc2 with SMTP id z3-20020aa78883000000b0056c6c76cbc2mr61406069pfe.25.1668045341344; Wed, 09 Nov 2022 17:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668045341; cv=none; d=google.com; s=arc-20160816; b=s0iVay4sHTwyqESs/cbP/a4KqRnK3CqRsej5vUtxWgrROwbFPPjdZH+QUu7LUSNqrN w/ZeP+TpuJgzU4wenOdrYiqdLUzCI32yIiVParYfL1E8rDUm6M7Z6tfRbSWO/ZjUhZjf 2yTWKP03c1bn1UXIIPOuaBsNt/yhLBW4HKat0zbPCO1sIHG4pjCVvLw+Y5N3V12iI9si BPcE30ojhZ69DzydImeUo4A/J3cIUXrUl04ArbGfGPX972kcmKmGK8D8ABwHsAgGrcqS bRcfT9tjoep8Z+w8L3FhxNlVxlQtzctGavRCdSGR3VqVpt9eIT0xKdaVnZfR2LHsbujT iWnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3lBtbVkZS1O7YbzecaVkeQEW2VLlO/W425Vba7t3Ot0=; b=AE1Y5EQLl6Jm2zMx/C5lYpOIbkJg4yW2HsZp+aC7fmayJena9UpX18hD5BVt1C16AK t55Y1xUowQWZ9ZE3LcLCaDoqpghBpcU92K9bCzDqNIXTIIdBzgk095v/TAo9r8nAkp08 wgYhrJrETnInHu4snOhNHzjV78aHsCJ0az/LnbmxiwExYqNLiZe5ZeN62sg3aQ2TNUzY zKOOu9wJGteCOM3LFfCkwvpyzIt95tQia9p9k7tvPAfQGsOQYjdCXd5PG/RE/MZ7Q4yo uw72mxkfWRxJ7T74fH3zAeKS/fRP3VeoJEVG72TnyhAbKEYWy0p5eT75kwwIp2oHcU5s FY2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=HFXqzbHS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a634a53000000b00438806c7b2bsi18724305pgl.154.2022.11.09.17.55.29; Wed, 09 Nov 2022 17:55:41 -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; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=HFXqzbHS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232243AbiKJBpN (ORCPT + 92 others); Wed, 9 Nov 2022 20:45:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232153AbiKJBo6 (ORCPT ); Wed, 9 Nov 2022 20:44:58 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBDCF29C9B for ; Wed, 9 Nov 2022 17:44:55 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id z3so264278iof.3 for ; Wed, 09 Nov 2022 17:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3lBtbVkZS1O7YbzecaVkeQEW2VLlO/W425Vba7t3Ot0=; b=HFXqzbHSbg052lZLmDmPZwoSQW8Tcdiy9UvPmwrDN031z+6KJT93GpalKkBT25HFk2 s8o0+MlC1yWdSmfaZX72pgxEfuCum3Zw2+wGp3G2oBXK8oVeW69xvVnOoHnnSVeMkj/q 8pm6JgGR7V6LGOP9ntA2wb6y+LN0qyI2LSmok= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3lBtbVkZS1O7YbzecaVkeQEW2VLlO/W425Vba7t3Ot0=; b=v9jWJ3+88ep3stSSiZnYOCLnXQyg2JrEdLus4h76E1t+YexzzdNQMWI/KiuMcs9YZG PCamv8ryJhFx0DEnpvY4Yp2RRhg8zq/fEPZUGOMeuGHBwnAUokRlLYHim+C4iMVPuC9O ZDZM7Oo/Rm9hOtBoSvTrUYoetzPaGBL7PIOYn5uNHDJ3uNHgp8oVRc2s8f6Xhac8uJeI nLE3KtwOKgcsLMTvsoJ8+nPULXveC/qZBo1gC+yxNfAB9/q8ejkTtbqab+5mSFPgvNv8 PolwuvHnZcqDlwFPhdb9xT0TKT7jGRNSYpb2H8HJ2DZaGUo4xOipIxeNqa4QWYvCOQqG X1CQ== X-Gm-Message-State: ACrzQf22joOzTQtlM9ZxVDLxU0Yfbq4GacE1UEu+GPCGUmUsQis1PMlm KP/FTq6EhDIXm1yDyk1Rf8MI5tZox3xq3w== X-Received: by 2002:a02:6062:0:b0:375:631f:111e with SMTP id d34-20020a026062000000b00375631f111emr2392394jaf.123.1668044695147; Wed, 09 Nov 2022 17:44:55 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id d12-20020a92d78c000000b003002947096asm5366733iln.65.2022.11.09.17.44.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Nov 2022 17:44:54 -0800 (PST) Message-ID: Date: Wed, 9 Nov 2022 18:44:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v2 1/2] selftests: proc: Fix proc-empty-vm build error on non x86_64 Content-Language: en-US To: Andrew Morton , Punit Agrawal Cc: shuah@kernel.org, adobriyan@gmail.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan References: <20221109221104.1797802-1-punit.agrawal@bytedance.com> <20221109160243.0db030ca1cbae5f180af3855@linux-foundation.org> From: Shuah Khan In-Reply-To: <20221109160243.0db030ca1cbae5f180af3855@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On 11/9/22 17:02, Andrew Morton wrote: > On Wed, 9 Nov 2022 22:11:03 +0000 Punit Agrawal wrote: > >> The proc-empty-vm test is implemented for x86_64 and fails to build >> for other architectures. Rather then emitting a compiler error it >> would be preferable to only build the test on supported architectures. > > Why does it fail? What would be involved in making it available > on other architectures? > I have the same question and also don't like adding TEST_GEN_PROGS_x86_64 Please see my comments on the two patches regarding this. thanks, -- Shuah