Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp514672ybg; Fri, 12 Jun 2020 07:31:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEGtw5KZOyvfWNIM97MJxbhHDFKe7UsPU/oIMumszkxoaDhmruTYPaMFelKUrBk2/a91RO X-Received: by 2002:a17:906:af76:: with SMTP id os22mr12992032ejb.191.1591972273141; Fri, 12 Jun 2020 07:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591972273; cv=none; d=google.com; s=arc-20160816; b=0BLXQL7Lpnas07IQZIRToe41W5ilpJoDe+bFRLbkZK8eq0tWRj0vVtCs1iSYq+SQow IrV/ocq/WlWJBvDtLfoVwnZAjC9+TGVgSWB82jTyUvYFPJBcbtJsheDTRVJdnBSCQ4/k 4xRWxaEj42tek0zxJO4Oy5kw+z3gNhxM/rIzMX9pxHplogHOrfYTBv3lC0L/PRt+2cCi EMtwQRHc/tRVozPMMNGB+DvQtY6Z1UgSu6nr6wW81CPzNAFUGccy4vbMovWVVhQfUk0r NWccU2vXnxHfJwYETGLCNkN21z2vFfMy3s7HvznAPWYYFeRobCA+q9o3yVZdznmCLFiu n69g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=7VXV5WQNHN1mQmIJTfQ/JXY1z4j66dpspOrWipDAibA=; b=HxCbJiB4FwvJvWMOoQXOGA53d7HiyW0ZXmWs2aCkAkaCEmH0LNBriMA08jcoiQ9wxP 5zrkEao3kM7VN1vjGBEJ0Rh+2hU+6N3G14ETz0YEtKIRQbrX4gFRIVMg9vTAgFvm0gtP w8dsGyBC090JzO5+ueTlhymrgzeDMb7Ap2HG7//GIZitTqm3n7HRI5H0+xQ3igihgnIm oJKO/az/yEhLAUzN/6iKifP9Vh82ngTbDVngpQ2Lnl0ZbTzRixUdP1Z0a41W07qXS6WM Eq+K7tn3JLW5PiCOe1H8EgXF96n1Gbi4Z4FVlEPtRQOUbmuLMK2lmc5keLLo64hZFa+H 1llQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KRigTL2P; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e11si3650645ejh.44.2020.06.12.07.30.49; Fri, 12 Jun 2020 07:31:13 -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=@gmail.com header.s=20161025 header.b=KRigTL2P; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgFLO27 (ORCPT + 99 others); Fri, 12 Jun 2020 10:28:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgFLO26 (ORCPT ); Fri, 12 Jun 2020 10:28:58 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38B85C03E96F for ; Fri, 12 Jun 2020 07:28:58 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id c35so6578292edf.5 for ; Fri, 12 Jun 2020 07:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7VXV5WQNHN1mQmIJTfQ/JXY1z4j66dpspOrWipDAibA=; b=KRigTL2Plp/Srv11vk7lzbWGOA97w13+GYhokFhtivV5NrXW5l/dC95O2+zODstwse qPv8IydI7l3/lBQE8HWOANhRrfdNa5P/gzXstxfvRY7foFS1ICfEx2KAUD5aAs2z8h2f jQwcaneg/ywxCLy/tgjQIbuI65Fj47OhtkWntrs60vgulb2kBujM6/FUVk+az11YXV1f w0XkwsQmejU5hKZu6Fk9ImZDceJ7ibF2IY5L6ok9anYwcKBb6UUfvIegQdeqErCWtK/Z pn7PJShpS7HJb9J8oNjw33fwqQ+OI8e4+x8FvIwGrx1FPGULdh1ETLFABT0WBLg4PoNE 0rYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=7VXV5WQNHN1mQmIJTfQ/JXY1z4j66dpspOrWipDAibA=; b=oBSEIBT20bEcBP34ZqM4QyhOG6e6HPdZZ4pKZHlZfSoFeoPVtlfgBU4LUpdTl8qtJl 8Cc2p6udDuzgUh/nbxRCqkLsgym+KwaGg6W+E2DP9C3WgoT8tpDPL9jwGTUvY11PuAvh DDLW8aE3OG5vDtWAB35YCsQHqB1eOr+4KJvtOZCSXq/6Wl8yZFqmSm6tv2JTuUB6XX/x 4Uba6ZQZ6ZRtr/ZH+rsbJyst2qOY3ib2bO9Wf5dkt09FLNMVF6WndVu5WurraSQBWs44 ryH0QTT+8V5ANg7hC1E5mm13vgS1BMYoEasqXW748tncElLcbJ6oaG77R4CPyOkASUp1 jAIw== X-Gm-Message-State: AOAM533R+ogm1P3nExLAQT+xlY/rUE9DNn9jPYjbUCRxmLiMlazPEd7W HyccAjn8qas0Tir5/gh0xI6QH84w X-Received: by 2002:a05:6402:1750:: with SMTP id v16mr12333329edx.137.1591972136759; Fri, 12 Jun 2020 07:28:56 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id t5sm3244701eds.81.2020.06.12.07.28.55 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Jun 2020 07:28:55 -0700 (PDT) Date: Fri, 12 Jun 2020 14:28:55 +0000 From: Wei Yang To: Andy Shevchenko Cc: Wei Yang , Andy Shevchenko , Andrew Morton , Geert Uytterhoeven , Christian Brauner , Linux Kernel Mailing List Subject: Re: [Patch v2] lib: test get_count_order/long in test_bitops.c Message-ID: <20200612142855.l22qslnmx4upddhl@master> Reply-To: Wei Yang References: <20200604122805.d2ndjmkmti6wl3nz@master> <20200605230610.bizp2j23ivyma5rn@master> <20200605171629.d931068c1a4d720d8faa2704@linux-foundation.org> <20200608223112.ftncszh7hfnmqj3m@master> <20200609091649.GX2428291@smile.fi.intel.com> <20200609230241.gdqebrspmucnru5k@master> <20200610220613.ets3envsukjstvlu@master> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 11, 2020 at 10:25:07AM +0300, Andy Shevchenko wrote: >On Thu, Jun 11, 2020 at 1:06 AM Wei Yang wrote: >> On Wed, Jun 10, 2020 at 01:17:28PM +0300, Andy Shevchenko wrote: >> >On Wed, Jun 10, 2020 at 2:06 AM Wei Yang wrote: >> >> On Tue, Jun 09, 2020 at 12:16:49PM +0300, Andy Shevchenko wrote: >> >> >On Mon, Jun 08, 2020 at 10:31:12PM +0000, Wei Yang wrote: >> >> >> On Fri, Jun 05, 2020 at 05:16:29PM -0700, Andrew Morton wrote: >> >> > >> >> >... >> >> > >> >> >> The test on 64bit machine pass. Since I don't have a 32bit machine by hand, >> >> > >> >> >Out of curiosity what that machine is? >> >> > >> >> >> >> It is a Intel Xeon Gold CPU. >> > >> >I suppose it's x86 (and not ia64). >> >In this case you can always build an i386 configuration and test on a >> >32-bit "machine". >> > >> >> Yes, you are right. While last time I tried to run a 32bit guest, it took me a >> lot of time to setup. If my understanding is correct, to run on a 32bit >> machine, we not only need the kernel but a whole 32bit system. This means I >> need to re-install a 32bit system. And I found many distro doesn't support >> 32bit system any more. >> >> Do you have a better way to setup the environment? > >Yes, BuildRoot is your friend. I have a branch [1] to make it suitable >to create bootable images for x86 machines. There is a quick >instructions what it does provide. > >[1]: https://github.com/andy-shev/buildroot/tree/intel/board/intel/common > Many thanks for your instruction. I will take a look into this. >-- >With Best Regards, >Andy Shevchenko -- Wei Yang Help you, Help me