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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D568FC433DF for ; Fri, 7 Aug 2020 01:13:20 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0346121744 for ; Fri, 7 Aug 2020 01:13:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="DoPP0Gly" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0346121744 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4BN6ms57dhzDqvx for ; Fri, 7 Aug 2020 11:13:17 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4BN6kl2PtJzDqtS for ; Fri, 7 Aug 2020 11:11:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=DoPP0Gly; dkim-atps=neutral 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 4BN6kk5tDLz9sPB; Fri, 7 Aug 2020 11:11:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1596762686; bh=u5zf4/bro4rM+kmKuG0gCl3w7S6mFaF1AR/q99n5TD0=; h=From:To:Subject:In-Reply-To:References:Date:From; b=DoPP0GlylvFL+XPMjoZDgsgwgOmtwyR+d1pk6p30FAdoI1F7BOtppCbOvf/p8opGj 8GNZeRUV0x/ltHwssZ39e2t4dRHBzcgZBh3kPo3uMSneS+SDiGx1RYkNFZxqJR2EFc fzDURYa/IfrsdZTVs18/NCUjZKRr/lg+3I/Z0foSuvZRuxcyQTB3guAbFKm54+mZZR yxsCF6atd9nfAOOE8xlyWfL3GbMfMlwEeIMgZwHPEIfvCswjSCztnvw7lAFWesOBze dPFyUTHnqL2jQ6tK0esxXK1poIjzJ2NyDhDB7oLWdEg7nVdK+kY98aL8CvD+Au6M0T JO8/YXKPZm42Q== From: Michael Ellerman To: "Aneesh Kumar K.V" , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/book3s64/radix: Make radix_mem_block_size 64bit In-Reply-To: <878sesq6yl.fsf@linux.ibm.com> References: <20200806081415.208546-1-aneesh.kumar@linux.ibm.com> <874kpgymty.fsf@mpe.ellerman.id.au> <878sesq6yl.fsf@linux.ibm.com> Date: Fri, 07 Aug 2020 11:11:24 +1000 Message-ID: <87sgczxnsz.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain 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" "Aneesh Kumar K.V" writes: > Michael Ellerman writes: > >> "Aneesh Kumar K.V" writes: >>> Similar to commit: 89c140bbaeee ("pseries: Fix 64 bit logical memory block panic") >>> make sure we update different variables tracking lmb_size are updated >>> to be 64 bit. >> >> That commit went to all stable releases, should this one also? >> > > radix_mem_block_size got added recently and it is not yet upstram. But > the drmem_lmb_info change can be a stable candidate. We also need this > > I will split this as two patches? Yes, sounds good. cheers > modified arch/powerpc/include/asm/drmem.h > @@ -67,7 +67,7 @@ struct of_drconf_cell_v2 { > #define DRCONF_MEM_RESERVED 0x00000080 > #define DRCONF_MEM_HOTREMOVABLE 0x00000100 > > -static inline u32 drmem_lmb_size(void) > +static inline u64 drmem_lmb_size(void) > { > return drmem_info->lmb_size; > } > > -aneesh