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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58216C433EF for ; Sun, 15 May 2022 10:26:54 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4L1JTS6jPCz3cdJ for ; Sun, 15 May 2022 20:26:52 +1000 (AEST) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4L1JT24Cyrz2xn8 for ; Sun, 15 May 2022 20:26:30 +1000 (AEST) 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 4L1JT22bf0z4xVP; Sun, 15 May 2022 20:26:30 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , linuxppc-dev@lists.ozlabs.org In-Reply-To: <20220406145802.538416-3-mpe@ellerman.id.au> Subject: Re: [PATCH 3/6] powerpc/85xx: Fix virt_to_phys() off-by-one in smp_85xx_start_cpu() Message-Id: <165261007731.1044560.16416277573506605965.b4-ty@ellerman.id.au> Date: Sun, 15 May 2022 20:21:17 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 7 Apr 2022 00:57:59 +1000, Michael Ellerman wrote: > In smp_85xx_start_cpu() we are passed an address but we're unsure if > it's a real or virtual address, so there's a check to determine that. > > [...] Applied to powerpc/next. [3/6] powerpc/85xx: Fix virt_to_phys() off-by-one in smp_85xx_start_cpu() https://git.kernel.org/powerpc/c/0d897255e79e26f471d10bbf72db9eee6f9cb723 cheers