Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1320750pxb; Fri, 27 Aug 2021 06:25:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFN8IKwoBKdlhXMVdnQyjjFKMYZWtV+jm311m5fmOKP1c6AGfSNu5EXMvWC8731PG7cYew X-Received: by 2002:a17:907:960b:: with SMTP id gb11mr5297454ejc.517.1630070748131; Fri, 27 Aug 2021 06:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630070748; cv=none; d=google.com; s=arc-20160816; b=tMIxsbK3oc+rxUwL3Rv0GdxB/gZAFtlLKfJwzMLEiXJgQky+OMIoezGokv7XERWQwS /59DvHeFA31dI2oZ6eoNKHFmrEeStb/H0+CXBHD0kIrFO+zmTNYuy+HMYbQgbUS53Ho+ vV4kFou947SoRkgCBhwAbcuLO4wQ3WfMtA/GjcMtnKJbXa3j7U4U019L0Q8bvze0Yj+p ZQvjtoPtd8H7OZg02e5fdBByZnhIGYu/LmK0WHX4FEw7ZpaY3MOTVq9zQOteF2z8BWzV CmPK+ZTVcBFFuLZ5YTQkROyV8iyaNNG8jG+ywRCDcPf5ocaGl3A16Qm5CPwwOU/PlW2Y tnDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=yaGWS2mNGo/O89Wt5360ZAoxLiFBLspY0JWxebIhYkk=; b=OZCkqCRJHIoNv7mn124eEZwoKodgnbz3A8Ur0JsxHZIMRxcmEIjgVW8Mlek6/2lume JLCe1Fkm+5AlJ5AcmCBk+IZbz2iNKdbOdE7GKQzRity7jI0p1xevIBHMKq7A8TXDY5Z3 4tISpU5WRkC4Wvrz5RcpVjIK3soRDZ/YaHUfWqJMobQixa7cM9fcIcU9dXIIpZbLO8uO cDoQP3tnQcek3Ae7Ag6O0Xa7EnToJyHg3rUoQRaYFiEoxeZk4/BUPlNT+9cmvYBJwc+a ov1dJA4ddIWoa7ligty//pyEP2f+B6oknxYOLqOc2FMBgv2EJKHjqujiiUAkMvVM5aHv 6nuw== 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 mp36si6807009ejc.478.2021.08.27.06.25.23; Fri, 27 Aug 2021 06:25:48 -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 S245276AbhH0NX5 (ORCPT + 99 others); Fri, 27 Aug 2021 09:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245275AbhH0NXp (ORCPT ); Fri, 27 Aug 2021 09:23:45 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFBC4C061757 for ; Fri, 27 Aug 2021 06:22:56 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Gx0l14C20z9tk8; Fri, 27 Aug 2021 23:22:53 +1000 (AEST) From: Michael Ellerman To: linuxppc-dev@lists.ozlabs.org, sxwjean@me.com Cc: mpe@ellerman.id.au, paulus@samba.org, efremov@linux.com, oleg@redhat.com, benh@kernel.crashing.org, ravi.bangoria@linux.ibm.com, linux-kernel@vger.kernel.org, aneesh.kumar@linux.ibm.com, christophe.leroy@csgroup.eu, Xiongwei Song , npiggin@gmail.com In-Reply-To: <20210807010239.416055-1-sxwjean@me.com> References: <20210807010239.416055-1-sxwjean@me.com> Subject: Re: [PATCH v2 0/4] Some improvements on regs usage Message-Id: <163007017202.52768.7618867123198912679.b4-ty@ellerman.id.au> Date: Fri, 27 Aug 2021 23:16:12 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Aug 2021 09:02:35 +0800, sxwjean@me.com wrote: > From: Xiongwei Song > > When CONFIG_4xx=y or CONFIG_BOOKE=y, currently in code we reference dsisr > to get interrupt reasons and reference dar to get excepiton address. > However, in reference manuals, esr is used for interrupt reasons and dear > is used for excepiton address, so the patchset changes dsisr -> esr, > dar -> dear for CONFIG_4xx=y or CONFIG_BOOKE=y. > > [...] Applied to powerpc/next. [1/4] powerpc: Optimize register usage for esr register https://git.kernel.org/powerpc/c/4f8e78c0757e3c5a65d9d8ac76e2434c71a78f5a [2/4] powerpc/64e: Get esr offset with _ESR macro https://git.kernel.org/powerpc/c/cfa47772ca8d53d7a6c9b331a7f6e7c4c9827214 [3/4] powerpc: Optimize register usage for dear register https://git.kernel.org/powerpc/c/4872cbd0ca35ca5b20d52e2539e7e1950f126e7b [4/4] powerpc/64e: Get dear offset with _DEAR macro https://git.kernel.org/powerpc/c/d9db6e420268b2d561731468a31f0b15e2e9a145 cheers