Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21271976rwd; Thu, 29 Jun 2023 13:34:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlH5fFWUEcosQy56n1eFsizzY8XqjT462OWNuz+6qnkyZAe6FLPR5dJjLqQxaMCXIiYa5QuY X-Received: by 2002:a17:90a:bd85:b0:263:70e7:1e17 with SMTP id z5-20020a17090abd8500b0026370e71e17mr503439pjr.9.1688070847683; Thu, 29 Jun 2023 13:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688070847; cv=none; d=google.com; s=arc-20160816; b=p1R2V5qbLmi91fFffOdU8T2b04t4Lv2lVTUEss4JB8UmmdETnsq/TpxXffBXy2DHX5 LFyn8cUAqqWTlu6bnlCxLdL1HhDeRi0WqcEXjtBsTFEdV043FPmPraqkBMm2f8QhYuJO phYW6iGkV7E3RiE1/j2mH0YWdcqO0cwxV+6W2AV8Blp3pfLe4/CuCfWBvRvT7/Zgkl3X jCC2DXyrzD1xIZZJqc0nBejN16EOnMDO+hpnzU+D1sY3uGBuHFVn669pusHZW7FbBf9Z FJ6032C5pcK3sr1lMVvnyA99eGhm5rV1VbGb2pLWVqNVM6b/iChwHJJJZy4fkRGWNWnS HlEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=J8xfd3Bi3FUEg2mdjjnrWh1F35O1rgPB2ctPxtJWJao=; fh=/1K3iDiRas3tYFKhfTnN/mC9LamVIcwXMaWkg1W3bU0=; b=ECjqnmFPz3uSKGQByaFa2T+1nSSTy6jGT4WtuXKcDGgaMJhH+BFBLEGfx2/lD01/b3 1pUJ6kdaPuG9wASBTWkiJf/71nEMG1zE0wBnS0RhiwqbnM4XLxHODbXuCodizLT/lYWN IWo9j40uT86cnNfoHKLDqiMzdWaySxLJIbTzlKsNNC3a/JCh2eN9srT5Ewo5Ks/et52X vgMmEq+vQr1/ri89W+kFMfO6gsTgn+H1FR+Hw12Z0pO1puvicI9ZtZGv1W9a4G7M64WQ gkXOQW2SOi+LRrpU5hIqcfhOG/B8MNljFent2q6gl1cnLdeYF6ekpKAEp0MwHQwnzx8w AZdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=LgBKMetr; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g1-20020a17090a828100b0025eab041423si12539407pjn.189.2023.06.29.13.33.54; Thu, 29 Jun 2023 13:34:07 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=LgBKMetr; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232033AbjF2TmS (ORCPT + 99 others); Thu, 29 Jun 2023 15:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbjF2TmQ (ORCPT ); Thu, 29 Jun 2023 15:42:16 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01A08210E; Thu, 29 Jun 2023 12:42:14 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-51d7f4c1cfeso1212110a12.0; Thu, 29 Jun 2023 12:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688067733; x=1690659733; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=J8xfd3Bi3FUEg2mdjjnrWh1F35O1rgPB2ctPxtJWJao=; b=LgBKMetrxewlKIGdFCcpoEPRF6NFs6XJRRca6Pvs1nL7hpytucBzWMjjhB6DivoOkT nqkSHsiswr4OJ5TPcl1HDBDEX3X01uWyUl34o8Qk7wqTqJ6XUGB/JlF/lWy6IYXXzd2j TNwn5f9XlqfqW9URN60MRZgDedy4THbCjfC0tIlbmkuATPbAb5fw5Ye67MY7fY5w4JHI 8fS5xnHf0h3e7UjdnX9E1FMiA6HgrheVR5Zwu1j+EDg37QlmB9xQlC57u7JpoGBx1OVz BO+fSSJs9wIr4JHfKqIneRTn/Fl5uapvTuJIe6LWEdaiXxurU1C2KdKply9lMOsMhrTO i5jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688067733; x=1690659733; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=J8xfd3Bi3FUEg2mdjjnrWh1F35O1rgPB2ctPxtJWJao=; b=fXnc5eJ8YTebi5Tx9oVvOeDMS68goxg6hkM0WirD0s8pYAdBVhiT3DjkWqys6Vhan5 vzZv9tilo3hBKvmHjXcv9feOrHnYV15DOqCUi7WuEj6wbdgp3rUedHS3HX9nhg2vvS8n jMn1VoDDKp814z+fC3VMSdJvehz7dUlEKnTq0iso2ru9t80j9GauIJ4ygHtYg+ocWkaf CvyAvEhrfoNfIj+uDvl86BFZsLUqGMBsnzpPj8pP22yAeF2JbPtwfL3lXgYP6UEAll4D zI3G50r9+bNppHzvPIPFbWrqCBtH3h7v5bAwVJmkxaHQ70xZ30Bu13Z7xjGTGtQWM8ol XN2w== X-Gm-Message-State: ABy/qLb0u/AK4P2YVQQtugm72o/NBSJcbTaGbnMO1uLmfEnPcciy48Cf ysBplfX0JTc9Q1vue8apuw== X-Received: by 2002:a05:6402:205c:b0:51d:91cc:32e8 with SMTP id bc28-20020a056402205c00b0051d91cc32e8mr122204edb.29.1688067733196; Thu, 29 Jun 2023 12:42:13 -0700 (PDT) Received: from p183 ([46.53.248.48]) by smtp.gmail.com with ESMTPSA id b5-20020aa7cd05000000b0051da8fd7570sm773742edw.41.2023.06.29.12.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 12:42:12 -0700 (PDT) Date: Thu, 29 Jun 2023 22:42:10 +0300 From: Alexey Dobriyan To: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= Cc: Shuah Khan , linux-kselftest@vger.kernel.org, =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, Anders Roxell Subject: Re: [PATCH 2/2] selftests/proc: Do not build x86-64 tests on non-x86-64 builds Message-ID: References: <20230629162301.1234157-1-bjorn@kernel.org> <20230629162301.1234157-3-bjorn@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230629162301.1234157-3-bjorn@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Thu, Jun 29, 2023 at 06:23:00PM +0200, Björn Töpel wrote: > From: Björn Töpel > > The proc-empty-vm test is x86-64 only. Remove that test from > non-x86-64 builds. > > Signed-off-by: Björn Töpel What's the address space size on risc-v? > --- a/tools/testing/selftests/proc/Makefile > +++ b/tools/testing/selftests/proc/Makefile > @@ -8,7 +8,11 @@ TEST_GEN_PROGS += fd-001-lookup > TEST_GEN_PROGS += fd-002-posix-eq > TEST_GEN_PROGS += fd-003-kthread > TEST_GEN_PROGS += proc-loadavg-001 > + > +ifneq (,$(filter $(ARCH),x86_64)) > TEST_GEN_PROGS += proc-empty-vm > +endif > + > TEST_GEN_PROGS += proc-pid-vm > TEST_GEN_PROGS += proc-self-map-files-001 > TEST_GEN_PROGS += proc-self-map-files-002