From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E307E92705 for ; Thu, 5 Oct 2023 14:25:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234095AbjJEOZ1 (ORCPT ); Thu, 5 Oct 2023 10:25:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234764AbjJEOXi (ORCPT ); Thu, 5 Oct 2023 10:23:38 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D50C36E99 for ; Wed, 4 Oct 2023 23:40:30 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-406619b53caso5274085e9.1 for ; Wed, 04 Oct 2023 23:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696488029; x=1697092829; darn=vger.kernel.org; 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=tROpxLYGMDkyFdqUPXWOJc3MtyUdL4H9fegc8WkclBw=; b=q6zOiG9xaqUySoXzIkqxRT8ulWdyisWkoPmPI9HKvSI67t5i4+dw9C+o6v6Db+TOVy 1BYeTbfcrU3ShqpwnPnSlMo84dni4QOcFl4KVZTXB+dLFGKs2QTDSGbqGoRqAHcFwA4V R/bRwlQWH5K82MA1SgRWKva+SS5SspVdWQmuQ+z7jdaSDKuBoGJbYHME3WCvumUGE3rX 3FyiMh9tHIvGq6al/VyJOxRS7wYedtNtc9CPw56M8DOfzvhnzm09YbVRje+eR3IkScBi FTwHuUihH/fNW8Bv5bAcrIXbBYlARZ/FB/x6Zz1TbrLnzAT1n+tfUYFKdoxVQ7aTsD/j y2CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696488029; x=1697092829; 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=tROpxLYGMDkyFdqUPXWOJc3MtyUdL4H9fegc8WkclBw=; b=PsoOmJrqTWXHM9q3jkD9PMU6PLNRyI+IbXpAfN7et9NH6dGopG1jaLbhEZB9TJ2EEc CPLQY/R7pEK1LUsBZdh/B1y/PeLpUCPbgiUa3l2IowTHGrDq+i+10ZaL2YOR7Ob+tc84 JZ8U/IdIaRugt9InKPHlcqx53cIrB4ZEd4CSKW4/NTcL2taBTbzNnL4SpKiL8w5tVH+W V30i1bV19M7jK+wDK5lm7qKI5YO4NqHZuBQQeGNTBQfGvR5bqGRhDegmYU9vlYuAF2Gi f3tJBCfQyQLfh+9jyhZ5uy2lTarTp70p5ghFmBEIAEOLxqIIfHNpSTxHrKSIm/1z+gFO 7vww== X-Gm-Message-State: AOJu0Yw4fetqC/dUJfr/DeSkaTcwvxqBa+KRbPSWLluKH4yBNghC2gvP k/E/kykKDSOTs8NvirYS+zLJDQ== X-Google-Smtp-Source: AGHT+IEVJWkytNJYJ735DpbRDrNt+oBa4NgUTSipOTb3lsNog5C0x0m1w6O5C7sBwclpPNVEDHKQGg== X-Received: by 2002:a5d:458f:0:b0:321:6ff5:9256 with SMTP id p15-20020a5d458f000000b003216ff59256mr3531020wrq.58.1696488029316; Wed, 04 Oct 2023 23:40:29 -0700 (PDT) Received: from [192.168.69.115] (tbo33-h01-176-171-211-120.dsl.sta.abo.bbox.fr. [176.171.211.120]) by smtp.gmail.com with ESMTPSA id q8-20020a05600000c800b00324ae863ac1sm970129wrx.35.2023.10.04.23.40.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Oct 2023 23:40:28 -0700 (PDT) Message-ID: <4e0c9028-832f-24cb-3bf0-1ee98d6ecdf8@linaro.org> Date: Thu, 5 Oct 2023 08:40:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 01/11] MIPS: compressed: Use correct instruction for 64 bit code Content-Language: en-US To: Gregory CLEMENT , Paul Burton , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vladimir Kondratiev , Tawfik Bayouk , Alexandre Belloni , =?UTF-8?Q?Th=c3=a9o_Lebrun?= , Thomas Petazzoni References: <20231004161038.2818327-1-gregory.clement@bootlin.com> <20231004161038.2818327-2-gregory.clement@bootlin.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20231004161038.2818327-2-gregory.clement@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On 4/10/23 18:10, Gregory CLEMENT wrote: > The code clearing BSS already use macro or use correct instruction > depending id the CPU is 32 bits or 64 bits. However, a few > instructions remained 32 bits only. > > By using the accurate MACRO, it is now possible to deal with memory > address beyond 32 bits. As a side effect, when using 64bits processor, > it also divides the loop number needed to clear the BSS by 2. > > Signed-off-by: Gregory CLEMENT > --- > arch/mips/boot/compressed/head.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé