Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp456193pxk; Wed, 9 Sep 2020 09:37:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdCwnvbBN5FEm7O1WLi6nVLTdlh3GK4zy5N2cm0TWiAEAQqgilFxw28extIrTqvX1GJo/D X-Received: by 2002:a05:6402:17b5:: with SMTP id j21mr4805161edy.276.1599669469795; Wed, 09 Sep 2020 09:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599669469; cv=none; d=google.com; s=arc-20160816; b=opWQEhT186nv0yf8MmjaGRS7I7hV2NLKMR7AD3YIlvpnfQowBHLNjDtKkPJSNVyYjE y03Ig/gnWhlrDbzXFwvsuYw9cYAcR9fluz0IAnTVN3qykHXAmVlkL9Ccr/NsQXuiioWR tGw+9qq8e90B53egefpXXYTwnnUxl1i11sWZtAsZNl2XlvlVLTVInb1NSuxtxjkYnGgd OBOO2l8IeVp9hC0PtkKamIZZKxT2YfANrz33KIkMThHcZEOZzkJ8CppK+q5CnqL10zQ5 lUDZneF0n2Uez7Ksd+DhbtID3ErrdVEWr/Q11SOPXhRcdYWB146lQME6swPduFcllbmB yGFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:references :in-reply-to:cc:to:from; bh=GV4RUXO4l+u26X5rb4HVHIaFchN8pcmpfM7qXJTRbjo=; b=u3tgfryQfg9Xzv+0wDgULRAMvmFxCeDwB35woLXynV+gR+WaZR1BylXviQQCNf+kuA GsowHbcOZrmOLhv38CHtDit+DN7uUdLYORhukuGipo5e/zBQZh93C3rAEK+cKkdmxTYF M3uExvjUXFxYayKaE4IZaQ4+RyYeT0l7cw5Jeish2Uk11JF1TxNFc5N9ZDBRNokFT4cW Gzz6mJlNOj8lv2QpIiDIbNyRb/YXHU0msBWAepbvgjhLyJEzWGW6rNyc5tGunFJjGRq9 QMRJs0V+usghRg4YNKouuoTaViuoowSgJ4tNrwvCmpaXKz/teRplRyfmE4rY5b2/WJ75 6X0w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o62si1809668edd.494.2020.09.09.09.37.26; Wed, 09 Sep 2020 09:37:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731118AbgIIQa1 (ORCPT + 99 others); Wed, 9 Sep 2020 12:30:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731127AbgIIQ1c (ORCPT ); Wed, 9 Sep 2020 12:27:32 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A000C061573 for ; Wed, 9 Sep 2020 06:27:40 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BmjVr4tTQz9sVT; Wed, 9 Sep 2020 23:27:32 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <2b69ac8e1cddff6f808fc7415907179eab4aae9e.1596693679.git.christophe.leroy@csgroup.eu> References: <2b69ac8e1cddff6f808fc7415907179eab4aae9e.1596693679.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/32s: Fix assembler warning about r0 Message-Id: <159965716573.808686.4713414935633916441.b4-ty@ellerman.id.au> Date: Wed, 9 Sep 2020 23:27:32 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Aug 2020 06:01:42 +0000 (UTC), Christophe Leroy wrote: > The assembler says: > arch/powerpc/kernel/head_32.S:1095: Warning: invalid register expression > > It's objecting to the use of r0 as the RA argument. That's because > when RA = 0 the literal value 0 is used, rather than the content of > r0, making the use of r0 in the source potentially confusing. > > [...] Applied to powerpc/next. [1/1] powerpc/32s: Fix assembler warning about r0 https://git.kernel.org/powerpc/c/b51ba4fe2e134b631f9c8f45423707aab71449b5 cheers